- # apt-get install xinetd tftpd
- Ensure that the following lines are in the /etc/services file:
- tftp 69/tcp
- tftp 69/udp
- Open the /etc/xinetd.d/tftp file (create it if it doesn't exist) and ensure that it contains the following:
# 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 = no }
# /etc/init.d/xinetd restart
Test the server:# tftp localhost
Thursday, January 02, 2014
Installing a TFTP server using xinetd on Ubuntu
I recently had need to redo an old server that had been running an ancient Gentoo installation for which there was no longer a software upgrade path, so I chose to install Ubuntu on it. Part of the requirements of the server were that it runs a TFTP server for hosting files for configuring embedded devices. I had previously found an article on how to setup TFTP through inetd, but I could find it, so I'm cobbling this tutorial together from various sources.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment