tftpd in Ubuntu PDF Print E-mail
User Rating: / 2
PoorBest 
Written by Bart Dorlandt   
Thursday, 31 January 2008 12:57

Thanks to David Sudjiman, I found howto setup an TFTPD server in Ubuntu. The steps to take are described below.

Install tftpd and related packages.

sudo apt-get install xinetd tftpd tftp

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
}

Make /tftpboot directory

sudo mkdir /tftpboot
sudo chmod -R 777 /tftpboot
sudo chown -R nobody /tftpboot

Start tftpd through xinetd

sudo /etc/init.d/xinetd start

5. Testing. Connect to your tftp server and put a file there

$ tftp 192.168.1.100
tftp> put test.txt

Last Updated on Friday, 13 February 2009 15:58
 


Related items: