Configuring Linux TFTP server

You need to modify the configuration of Linux-based TFTP servers to support some automated features, such as service advisor.

In order to automatically put a service data file to a specified server using TFTP when a call home event is detected, the configuration file tftp must be modified to include the option that enables the creation of files on the TFTP server. Complete the following steps:

  1. Open the TFTP configuration file in the /etc/xinet.d directory.
  2. Add the -c option to the server_args argument.
  3. Save and close the file.
  4. Restart the TFTP server, using the /etc/rc.d/init.d/xinetd restart command.
The following example shows a configuration file /etc/xinetd.d/tftp with -c option added to the server argument:
Modified /etc/xinetd.d/tftp contents
                              service tftp
{
socket_type             = dgram
protocol                = udp
wait                    = yes
user                    = root
server                  = /usr/sbin/in.tftpd
server_args             = -c -s /tftpboot
disable                 = no
per_source              = 11
cps                     = 100 2
flags                   = IPv4
}