Differences between revisions 3 and 4
Revision 3 as of 2019-01-11 18:35:33
Size: 856
Editor: asbesto
Comment:
Revision 4 as of 2019-01-11 19:03:48
Size: 854
Editor: asbesto
Comment:
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:

OLOCAUSTO TFTPD PORCODIO

setenv ipaddr 192.168.1.1
setenv serverip 192.168.1.2
setenv bootargs 'board=WD8970'
tftpboot 0x81000000 openwrt-lantiq-xrx200-TDW8970-squashfs-sysupgrade-asbesto.bin

sf erase 0x20000 0x7a0000
sf write 0x81000000 0x20000 0x$(filesize)

reset

installa atftpd

rimuovi openbsd-inetd altrimenti CAZZI

tira su eth0 192.168.1.2

metti i file in /srv/tftp

Change the ownership of the folder and the file in it

chown nobody:nogroup -R /srv/tftp

lancialo


atftpd /srv/tftp/ --daemon --no-fork --listen-local



Check if your server is listening

$ netstat -lunp|grep 69
Check that you can in fact pull the file from your tftp server

$ tftp 192.168.0.66
tftp> get tp_recovery.bin
Received 8152633 bytes in 0.8 seconds
tftp> quit



BASTARDO DIO

TftpdHolocaust (last edited 2019-01-11 19:03:48 by asbesto)