after in a terminal i do this :
login as root
Code: Select all
echo "tftp dgram udp wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot -r blksize" >> /etc/inetd.conf
Code: Select all
mkdir /tftpboot
chmod +777 /tftpboot
chown nobody /tftpboot
touch /tftpboot/prueba.txt
echo "Esto es solamente una prueba" >> /tftpboot/prueba.txt
Code: Select all
/etc/rc.d/rc.inetd restart
Code: Select all
tftp 127.0.0.1 -c get prueba.txt
cat prueba.txt
My ip : 10.48.8.64
If i access to the cisco switch like :
Code: Select all
telnet "IP"
Code: Select all
copy running-config tftp://10.48.8.64/cisco-sw.cfg
In this video works fine but on another distro -> https://www.youtube.com/watch?v=7rmUVedAp4U%Error opening tftp://10.48.8.64/cisco-sw.cfg (No such file or directory)
#copy running-config tftp://10.48.8.64
Address or name of remote host [10.48.8.64]?
Destination filename [cisco-sw.cfg]?
.....
%Error opening tftp://10.48.8.64/cisco-sw.cfg (Timed out)
i try too :
Code: Select all
sh /etc/rc.d/rc.inetd stop
killall -9 in.tftpd
/usr/sbin/in.tftpd --listen --user tftp --address :69 --secure -c /tmp/tftp