Category: tftpd

Install TFTP server on Linux

I needed to set up a Trivial File Transfer Protocol (TFTP) server server in order to upgrade all my routers through the CFE bootloader which load the firmware images using this protocol.

sudo apt-get install tftpd-hpa

I had to change the config file /etc/default/tftpd-hpa in order to enable the daemon mode, change the default tftp working folder (done by the option -s) and leave the default port 69.

$ cat /etc/default/tftpd-hpa

TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/home/cesare/development/tftp"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="-s -c -v"
RUN_DAEMON="yes"

Then launch the demon

sudo service tftpd-hpa start

Tested with Xubuntu 11.10 and 12.04

WordPress Themes