USE THESE INSTRUCTIONS AT YOUR OWN RISK

I have only done this procedure once and sharing because of the lack of information on the web on how to do this.

Some of the sellers of the TL-WR703N are shipping the routers with DD-WRT pre-installed – some with a Chinese interface, some with an English interface.

Regardless, you need telnet or SSH access to the router as upgrading via the web interface will not work.

Step 1 :

Get the OpenWRT image onto the router.
e.g.

root@DD-WRT:/tmp# wget http://192.168.1.142/openwrt/ar71xx/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin
Connecting to 192.168.1.142 (192.168.1.142:80)
openwrt-ar71xx-gener 100% |*******************************| 3840k 0:00:00 ETA

Other methods can be found here :- http://wiki.openwrt.org/doc/howto/generic.sysupgrade

Step 2 :

The TRICK is that the partition names are different between OpenWRT and DD-WRT.  Whereas all OpenWRT instructions will tell you to write to the ‘firmware‘ partition, this does not exist on DD-WRT and you have to use the ‘linux‘ partition instead.  Use the ‘mtd’ command as per the example below to write the OpenWRT image onto the router.  Note the ‘-r’ argument will reboot the router as soon as the flash is complete.  (As usual, do not power off or disconnect during the flashing!).

root@DD-WRT:/tmp# mtd -r write openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin linux
Unlocking linux ...
Writing from openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin to linux ... [e]
Connection closed by foreign host.

Please Flattr me if you found this useful :)
4 Responses to “How to install OpenWRT on a TL-WR703N that came with DD-WRT”
  1. aldweb says:

    Hello.

    I found another easier way:
    Search for “Files for reverting from DD-WRT to STOCK FIRMWARE” forum thread on the dd-wrt website (http://www.dd-wrt.com/phpBB2/viewtopic.php?p=720010). In this huge thread, there is a file for the wr703n, so called “wr703nv1_webrevert.bin”.
    After applying it, you will be back to the Chinese firmware.
    And you can then apply your great firmware for the wr703n.

    I did not test the other way yet: from openwrt to reverted Chinese firmware, then to dd-wrt.
    If anybody feels like doing it, I would be happy to know how it goes.

    By the way, I started following your work on the wr703n a few days ago and your firmware was a good start for customizing my wr703n, thanks.

    Best regards,
    aldweb

  2. Gonzzo says:

    Madox,

    Thanks for your info, quite usefull after a lot of reading with a clear answer of how to isntall Openwrt from dd-wrt.

    I have an original TP-Link WR842ND flashed by myself to dd-wrt and that wanted to move to Openwrt.

    I’ve followed your instruction (with the right firmware for this model) and everyting went perfect without any problem in a few minutes.

    Thanks again.
    Gonzzo.

  3. Steve says:

    Hey thanks for this! The only thing I might add (and maybe it’s just because I’m new to this and so I had to look it up) is to type in “cd /tmp” to get the “/tmp#”. I couldn’t figure it out why it wouldn’t do anything until I did that first!

  4. gaiageek says:

    Is it possible to use this same method to flash from OpenWRT back to DD-WRT?

    So far the only method I’ve seen outlined for doing this from OpenWRT involves flashing back to stock via USB serial connection, which I don’t have.

  5.  
Leave a Reply