Difference between revisions of "Atftp server"

From SME Server
Jump to navigationJump to search
(New page: == smeserver-atftp-server == Maintainer: [mailto:smeserver@batley.id.au Trevor Batley]<br> Current vesrion: 1.0-1 === Description === This contribution adds a tftp server (atftp-server) t...)
 
Line 1: Line 1:
 
== smeserver-atftp-server ==
 
== smeserver-atftp-server ==
 
Maintainer: [mailto:smeserver@batley.id.au Trevor Batley]<br>
 
Maintainer: [mailto:smeserver@batley.id.au Trevor Batley]<br>
Current vesrion: 1.0-1
+
Current vesrion: 1.0-1<br>
 +
'''''Note:''''' ''Not in smedev yet. A case of premature documentation.''
  
 
=== Description ===
 
=== Description ===

Revision as of 04:00, 28 May 2007

smeserver-atftp-server

Maintainer: Trevor Batley
Current vesrion: 1.0-1
Note: Not in smedev yet. A case of premature documentation.

Description

This contribution adds a tftp server (atftp-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.

I also have a sister contrib that uses tftp-server, if you prefer that server. It works the same as this one and is interchangeable.

Requires

  • smeserver >= 7.0
  • atftp-server >= 0.7-3

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. atftp-server is currently available in the dag repository.

yum --enablerepo=smedev --enablerepo-dag install smeserver-atftp-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 atftp server and expand all the templates etc.

config setprop tftpd status enabled
signal-event tftpd-conf

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

/etc/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 description
status disabled enabled/disabled
access private private/public/localhost private = internal interface ONLY

public = all interfaces

localhost = localhost ONLY disabled = none

user root root/nobody should default to nobody, but this doesn't work
timeout default default/300 default = 900 seconds (15 minutes)
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-atftp-server atftp-server

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

/etc/init.d/supervise/tftpd stop

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

Source

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

Bugs

Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-atftp-server component or use this link .