Difference between revisions of "Tftp server"

From SME Server
Jump to navigationJump to search
Line 98: Line 98:
 
=== Bugs ===
 
=== Bugs ===
 
Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla]
 
Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla]
and select the smeserver-thinclient component.  
+
and select the smeserver-tftp-server component.  
  
 
[[Category: Contrib]]
 
[[Category: Contrib]]

Revision as of 04:39, 28 April 2007


smeserver-tftp-server

Maintainer

Trevor Batley

Description

This contribution adds a tftp server to your smeserver (primarily used by workstations that are using the pxeboot protocol to retrieve boot images and parameters from the server).

It was produced to support my smeserver-thinclient contrib, but can be used independently.

Requires

  • smeserver >= 7.0
  • tftp-server >= 0.39

Installation

This contrib is currently held in the smedev repository (I will try to move it into smeextras or smeaddons), so the following commands will install on your smeserver.

yum --enablerepo=smedev install smeserver-tftp-server

or if you don't have the Centos base repository enabled

yum --enablerepo=smedev --enablerepo=base install smeserver-tftp-server

Officially you should then need to activate the database changes etc., but this is not required for this package.

signal-event post-upgrade
signal-event reboot

The tftpd status is controlled via the Thin Clients server-manager panel if you have installed my smeserver-thinclient contrib.

If you haven't, you'll need to enable the tftp server and expand all the templates etc.

config setprop tftpd status enabled
signal-event tftpd-conf

If for any reason the tftp server isn't running, try:

/etc/rc.d/init.d/supervise/tftpd restart

Defaults

You shouldn't need to play with any parameters (except status). The defaults and allowed values are listed below.

<prop> default <value> allowed Values
status disabled enabled/disabled
access private private/public/localhost
log normal normal/verbose/disabled
user root root/nobody
privelege ro ro/rw
timeout default default/300
UDPPort 69 any port
directory /tftpboot any directory

These settings can be set/changed via

config setprop tftpd <prop> <value>
signal-event tftpd-conf

Uninstall

yum remove smeserver-tftp-server tftp-server

Everything should be turned off, but if not, or you just want to make sure

/etc/init.d/tftpd stop

An error saying that /etc/init.d/tftpd does not exist should be returned

Source

The source for this contrib can be found in the smeserver CVS on sourceforge.

A copy is held in my contribs directory (although this is out of data as I can't get to it...)

Bugs

Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-tftp-server component.