Sunday, March 02, 2014

tftp daemon

There are some tftp daemon options listed below.

tftpd

>sudo apt-get install tftpd
>sudo apt-get install inetutils-inetd

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

>sudo kill -HUP inetd

tftpd-hpa

>sudo apt-get install tftpd-hpa
==== /etc/default/tftpd-hpa ======
# /etc/default/tftpd-hpa

TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/var/lib/tftpboot"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="--secure"
==================================
>sudo sudo service tftpd-hpa restart
>sudo ln -sf /var/lib/tftpboot/ /tftpboot

atftpd

???

Self test

>tftp localhost
tftp>get some_local_file

No comments: