Table of Contents

tftpd-hpa

sudo apt-get remove atftp
sudo apt-get install tftpd-hpa
dpkg -L tftpd-hpa | grep etc

sudo /etc/init.d/tftpd-hpa status
grep DIRECTORY  /etc/default/tftpd-hpa
## TFTP_DIRECTORY="/var/lib/tftpboot"
# TFTP_DIRECTORY="/srv/tftp"
# mv /var/lib/tftpboot /var/lib/tftpboot.orig
# ln -fs ../../srv/tftp /var/lib/tftpboot 
sudo touch /srv/tftp/README.txt 
# cat /var/lib/tftpboot/README.txt 
cd /tmp && busybox tftp -g  localhost -r README.txt -l /tmp/null 

atftp

sudo aptitude purge atftp tftp ; sudo apt-get install atftp busybox

sudo grep tftp /etc/inetd.conf
tftp		dgram	udp4	wait	nobody /usr/sbin/tcpd /usr/sbin/in.tftpd --tftpd-timeout 300 --retry-timeout 5 --mcast-port 1758 --mcast-addr 239.239.239.0-255 --mcast-ttl 1 --maxthread 100 --verbose=5 /srv/tftp


mkdir -p /srv/tftp ; sudo touch /srv/tftp/README.txt

cd /tmp && busybox tftp -g  localhost  -l /tmp/null -r README.txt 

TEST


C0A801DF.SUN4M       100% |***********************************************************************************************************************|  9025k  0:00:00 ETA

UBoot

MORE

tftp.txt · Last modified: 2020/09/08 20:49 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki