assuming you run debian on your computer (probably works with ubuntu aswell)

# install TFTP
aptitude install tftp tftpd-hpa

wget [url]https://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-factory.bin[/url]
mv openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-factory.bin wdr4300v1_tp_recovery.bin

# stop daemon and run from commandline
/etc/init.d/tftpd-hpa stop
root@nbdt:~# in.tftpd --foreground -vvvvv -s --user root /srv/tftp/

root@nio:~# ls -lah /srv/tftp/
total 7.8M
drwxr-xr-x 2 root nogroup 1.0K Mar 30 17:18 .
drwxr-xr-x 3 root root    1.0K Mar 30 16:36 ..
-rw-rw-rw- 1 root root    7.8M Mar 30 16:37 wdr4300v1_tp_recovery.bin

# test
tftp> connect localhost 69
tftp> get wdr4300v1_tp_recovery.bin
Received 8152751 bytes in 0.2 seconds

# connect to Ethernet 1 Port (internal port 2)

# router has 192.168.0.86 and looks for 192.168.0.66
ifconfig -v eth0 192.168.0.66 netmask 255.255.255.0

# watch
tcpdump -vv -i eth0

# power on router while pressing WPS/Reset button for 5 seconds

(Last edited by davewood on 31 Mar 2015, 15:01)