Hi Guys,
I am trying to recover a bricked WDR4300. For some odd reason, during a sysupgrade the router bricked (reboots over and over).
The script I use to sysupgrade looks like:
#!/bin/sh
cd /tmp
rm *.bin
wget http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-sysupgrade.bin
sysupgrade -v /tmp/openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-sysupgrade.bin
I configured sysupgrade.conf to carry over a directory I stored in / called scripts. It contains all my scripts to install packages, setup extroot, settings Etc. I noticed that when I did the sysupgrade, a firmware.bin that was in the /scripts director also carried over in the upgrade process along with my scripts. I also started the script via JuiceSSH from my smartphone. I'm not sure if either of those facts caused my brick. Honestly, I don't see why, since the sysupgrade script I use D'loads the proper bin file directly to the /tmp dir on the router. Anyway...
I am using tftpd in ubuntu, and set it up via these directions:
http://askubuntu.com/questions/201505/h … ftp-server
I'm trying to recover via the directions on:
https://wiki.openwrt.org/toh/tp-link/tl-wdr4300
"de-brick or OEM installation using the TFTP recovery "
I downloaded:
1. https://downloads.openwrt.org/chaos_cal … actory.bin
2. renamed it wdr4300v1_tp_recovery.bin
3. put that file in /tftpboot
I hard code my PC as 192.168.0.66, and connect a cat5 cable from my pc to lan1 on the router.
I tried ip addr add dev eth0 192.168.0.66/24 as well.
Using tcpdump -npi eth0 udp I can see the router looking for wdr4300v1_tp_recovery.bin
With tftpd running, nothing happens. The router never grabs the bin file. Is there something I am missing in the tftpd configuration? Is there a easy tftp server to use with Ubuntu for this process?
Also, I installed atftpd, and tried the below command to push the file, but that didn't work either. Is there a particular directory that wdr4300v1_tp_recovery.bin needs to live in for atftpd to push the file?
atftpd --no-fork --daemon .
Thanks.
KG