Previous Topic

Next Topic

Setting up a TFTP server

Most Linux installations include a TFTP server and an automated method of launching the server upon receiving a TFTP request. The parent process for detecting a TFTP request and launching the TFTP server is called xinetd. However, you might have to enable the TFTP service. The TFTP file is located in the /etc/xinetd.d/ directory. The following is a sample TFTP file:

# default: off

# description: The tftp server serves files using the \

# trivial file transfer protocol. The tftp protocol is \

# often used to boot diskless workstations, download \

# configuration files to network-aware printers and to \

# start the installation process for some operating systems.

service tftp


socket_type = dgram

protocol = udp

wait = yes

user = root

server = /usr/sbin/in.tftpd

server_args = -s /tftpboot

disable = yes

per_source = 11

cps = 100 2


In this example, "disabled" is the default setting, and /tftpboot is the root directory for all client access.

To enable the TFTP service on your server, edit the disable line to read:

disable = no