Installing and setting TFTPD in Ubuntu
1. Install tftpd and related packages.
$ sudo apt-get install xinetd tftpd tftp
2. Create /etc/xinetd.d/tftp and put this entry:
service tftp
{
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = nobody
server = /usr/sbin/in.tftpd
server_args = /tftpboot
disable = no
}
3. Make /tftpboot directory
$ sudo mkdir /tftpboot
$ sudo chmod -R 777 /tftpboot
$ sudo chown -R nobody /tftpboot
4. Start tftpd through xinetd
$ sudo /etc/init.d/xinetd start
Like this:
This entry was posted on October 20, 2011 at 11:52 am and is filed under Embedded with tags tftp, tftpboot, xinetd. You can follow any responses to this entry through the RSS 2.0 feed You can leave a response, or trackback from your own site.