Table of Contents

tftpd-hpa

apt-get remove atftp
apt-get install tftpd-hpa

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

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

MORE

tftp.txt · Last modified: 2020/04/20 18:24 (external edit)
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki