You are on page 1of 3

How do I install and run a TFTP server?

- Ask Ubuntu

1 of 3

http://askubuntu.com/questions/201505/how-do-i-install-and-run-a-tftp...

sign up

Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

log in

tour

Take the 2-minute tour

help

sudo apt-get install xinetd tftpd tftp

sudo apt-get install xinetd tftpd tftp

service tftp
{
protocol
port
socket_type
wait
user
server
server_args
disable
}

=
=
=
=
=
=
=
=

udp
69
dgram
yes
nobody
/usr/sbin/in.tftpd
/tftpboot
no

sudo mkdir /tftpboot


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

sudo /etc/init.d/xinetd restart

tftp 192.168.1.2
tftp> get test
Sent 159 bytes in 0.0 seconds
tftp> quit
cat test

05-02-2015 09:48

How do I install and run a TFTP server? - Ask Ubuntu

2 of 3

http://askubuntu.com/questions/201505/how-do-i-install-and-run-a-tftp...

sudo chmod -R 777 /tftpboot

/tftpboot
/srv/tftp

/etc/xinetd.d/tftp
/etc/inetd.conf

/srv/tftp

atftpd

/tftpboot
pxelinux.0

sudo apt-get install atftpd

vxworks

pxelinux.0

vi /etc/inetd.conf
srv/tftp

<my dir path>

/etc/init.d/openbsd-inetd restart
/etc/init.d/xinetd restart
service tftpd-hpa restart

tftpd-hpa

05-02-2015 09:48

How do I install and run a TFTP server? - Ask Ubuntu

3 of 3

http://askubuntu.com/questions/201505/how-do-i-install-and-run-a-tftp...

05-02-2015 09:48

You might also like