Ubuntu tftp Server Howto

I am beginning the network re-design at my house and will start with deploying a Cisco 2611 router. Before I upgrade the firmware, a TFTP server must be available on the local network. I’ll use an Ubuntu workstation for this task.


This howto is Ubuntu specific, however the procedure should be almost identical on any flavor of linux with the exception of installing the package.

– Install TFTPD, TFTP, and XINETD (’sudo apt-get install xinetd tftp tftp‘)

– Create the tftp service config file (’touch /etc/xinetd.d/tftp‘)

– edit /etc/xinetd.d/tftp and add:

service tftp
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = nobody
server = /usr/sbin/in.tftpd
server_args = /tftpboot
disable = no

– Create the /tftpboot directory (’sudo mkdir /tftpboot‘)

– Assign permissions to the /tftpboot directory (’sudo chmod -R 777 /tftpboot‘)

– Change ownership to nobody on the /tftpboot directory (’sudo chown -R nobody /tftpboot‘)

– Start the xinetd service (’sudo /etc/init.d/xinetd start‘)