TFTP Server

From SysadminPunk Wiki!

Jump to: navigation, search

TFTP Server Install

Install Time: 5 minutes

  • Assuming you have Debian Installed with xinetd.
    • By default "sudo apt-get install tftpd" will add an entry to indetd.conf, but if your using xinetd there is a little bit more config..
sudo apt-get install tftpd
sudo vi /etc/xinetd.d/tftp
  • Add the Folowing
service tftp
   {
       disable = no
       socket_type = dgram
       protocol = udp
       wait = yes
       user = root
       server = /usr/sbin/in.tftpd
       server_args = -s /tftpboot
       per_source = 11
       cps = 100 2
       flags = IPv4
   }
  • Write/Quit
# sudo mkdir /tftpboot
# chmod 777 /tftpboot
  • and Finally, restart xinetd
# sudo /etc/init.d/xinetd restart
Personal tools