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
tftp>get some_local_file
>sudo ln -sf /var/lib/tftpboot/ /tftpboot
atftpd
???
Self test
>tftp localhosttftp>get some_local_file
No comments:
Post a Comment