Differences between revisions 2 and 4 (spanning 2 versions)
Revision 2 as of 2019-01-11 18:13:20
Size: 526
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:
Line 20: Line 19:
  584 apt-get install tftpd-hpa
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
Line 23: Line 35:
  590 in.tftpd -l atftpd /srv/tftp/ --daemon --no-fork --listen-local
Line 26: Line 38:
  596 in.tftpd -l --address 192.168.1.2
Line 28: Line 39:
  604 joe /etc/default/tftpd-hpa Check if your server is listening
Line 30: Line 41:
edita la cazzo di dir, altrimenti e' /srv/salcazzo, e pure l'IP $ 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)