Author Topic: How to install tftp server in Debian  (Read 3648 times)

Microtech

  • Guest
How to install tftp server in Debian
« on: January 03, 2010, 05:39:25 PM »
How to install tftp server in Debian

Open a terminal window and type

$aptitude install tftpd
$aptitude install tftp
$mkdir /tftpboot
$chmod 777 /tftpboot


Edit the  /etc/inetd.conf file and change the location of director from /srv/tftp to /tftpboot

tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /tftpboot

Restart the tftpd.
$cd /etc/init.d
$./openbsd-inetd restart


You can edit /etc/hosts.allow and /etc/hosts.deny for restriction.