On Thu, Jul 28, 2016 at 9:33 AM, Marc Juul <juul@labitat.dk> wrote:



On Thu, Jul 28, 2016 at 9:29 AM, Adam Longwill <adam.longwill@metamesh.org> wrote:
Are you sure it wasn't an older model from before the lockout that had just been sitting around in someone's stock for awhile?

Pretty sure. It did not accept latest OpenWRT over TFTP nor via the Web UI. Nor did it accept the non-u.s. (non-header-fixed) DD-WRT. The older models on our shelf had no such problem.


Here are my notes on the process:

Download DD-WRT with fixed header for U.S. "locked" version.

```
wget ftp://ftp.dd-wrt.com/betas/2016/03-07-2016-r29218/tplink_tl-wdr4300v1/factory-to-ddwrt-us.bin
```

Access original TP-Link web UI on 192.168.0.1

Log in using user/pass admin/admin.

Flash the factory-to-ddwrt-us.bin using the TP-Link web UI firmware upgrade.

Log in to ddwrt web UI on 192.168.1.1

Enable SSH in services section on port 2222 (for some reason port 22 didn't work for me).

Enable SSH access in admin.

scp an OpenWRT factory image .bin file to root@192.168.1.1:/tmp/

ssh into 192.168.1.1 and run:

```
mtd -r write openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-factory.bin linux
```

OpenWRT has now been flashed.