?

Log in

No account? Create an account

Previous Entry | Next Entry

TFTP Server setup on Ubuntu 11.04

The original poster of this is here

Get the required packages first. 

sudo apt-get update && sudo apt-get install tftp-hpa tftpd-hpa

The default location for for TFTP files is /var/lib/tftpboot. You can set a different location later if you'd like, but you must chmod and chown the directory you choose.

sudo mkdir /var/lib/tftpboot
sudo chown nobody.nogroup /var/lib/tftpboot
sudo chmod 777 /var/lib/tftpboot

Edit the TFTP server configuration file to put the service in daemon mode and set a custom directory you may have chosen above.

sudo vi /etc/default/tftpd-hpa

Edit the file to your liking.
#Defaults for tftpd-hpa
RUN_DAEMON="yes"
OPTIONS="-l -s /var/lib/tftpboot"

Start the TFTP server. sudo /etc/init.d/tftpd-hpa start

Comments

Profile

Sunny Santosh
suntosh
suntosh

Latest Month

January 2012
S M T W T F S
1234567
891011121314
15161718192021
22232425262728
293031    
Powered by LiveJournal.com
Designed by Jamison Wieser