I recently needed a TFTP server in Ubuntu for PXE booting my MythTV system. Up until now I was using the built-in DnsMasq server, which was great. When I moved my DHCP service to my Linksys router I needed stand-alone TFTP service. Hopefully this step-by-step HowTo will help someone get up an running quickly.
sudo apt-get install tftp-hpa tftpd-hpa
sudo mkdir /var/lib/tftpboot
sudo chown nobody.nogroup /var/lib/tftpboot
sudo chmod 777 /var/lib/tftpboot
/etc/default/tftpd-hpa
#Defaults for tftpd-hpa
RUN_DAEMON="yes"
OPTIONS="-l -s /var/lib/tftpboot"
sudo /etc/init.d/tftpd-hpa start
netstat -a |grep tftp
tftp localhost -c get pxelinux.0
You will know that everyhing worked if the file pxelinux.0 now exists in your current directory.
Thursday, June 5, 2008
Configure TFTPD Server in Ubuntu
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment