Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2019-01-11 16:38:09
Size: 256
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 4: Line 4:
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
Line 5: Line 9:
  584 apt-get install tftpd-hpa sf erase 0x20000 0x7a0000
sf write 0x81000000 0x20000 0x$(filesize)

reset

}}}
Line 8: Line 17:
  590 in.tftpd -l {{{
Line 11: Line 20:
  596 in.tftpd -l --address 192.168.1.2 installa atftpd
Line 13: Line 22:
  604 joe /etc/default/tftpd-hpa rimuovi openbsd-inetd altrimenti CAZZI
Line 15: Line 24:
edita la cazzo di dir, altrimenti e' /srv/salcazzo, e pure l'IP 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

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)