How to enable TFTP services on Nodegrid

How to enable TFTP services on Nodegrid

To enable the TFTP server, you need to edit the tftpd configuration file as it is disabled by default. (as root)

vi /etc/xinetd.d/tftpd

And change the disable attribute to “no”:

service tftp
{
disable = yes                    <<<==== change this to no
socket_type = dgram
protocol = udp
flags = IPv6
wait = yes
user = root
group = root
server = /usr/sbin/in.tftpd
server_args = -s /var/opt/tftpboot
}

Then restart the Xinet Daemon with:

/etc/init.d/xinetd restart

NOTE:
  1. The root TFTP folder in under: /var/opt/tftpboot
  2. If you want different path for the root folder such as location on secondary disk, then modify the line that begins with 'server_args' and specify your custom path that must exist.
Test:

Start your TFTP Client:
Connect to the IP address of the TFTP server
Get the file (include the file name!)