Tag Archives: router

Restoring factory firmware on TP-Link TL-WR1043ND

If you have installed OpenWrt Backfire on your TP-Link TL-WR1043ND and want to restore the factory firmware than this guide is for you.

Device: TP-Link TL-WR1043ND Ver: 1.6
FCC ID: TE7WR1043NX
CPU: Atheros AR9132
RAM: 32 MB
Flash: 8 MB
Network: 4 + 1 ports (10/100/1000 Mb/s)
IP address: 192.168.1.2

Software on router before

OpenWrt Backfire
Version: 10.03.1 (r33081)

Software on router after

TL-WR1043ND_v1_130428
Version: 3.13.13 Build 130428 Rel.58290n

Host operation system is Fedora 19 (64 bit).
If you are not using Fedora 19, you should virtualize it:
Installing Fedora 19 (64 bit) in VirtualBox

I presume that you can communicate with your router.

Preparations

  1. Go to TP-Link Support site: http://www.tp-link.com/en/support/download/
    Click “TL- WR1043ND” (it’s in the 300Mbps Wireless N group)
    tplink_support
  2. Read the warning message and click “If you have read the above notice, please click here to find hardware version.
  3. My router is V1 because “Model: TL-WR1043ND Ver: 1.6” written on its back
    Click “TL-WR1043ND V1
    version_select
  4. Download the firmware by clicking “TL-WR1043ND_v1_130428
    Warning: Do NOT download an other firmware version because in case of TP-Link there may be different steps to take.
    If it doesn’t work here is a copy of it one my site: TL-WR1043ND_v1_130428.zip
    correct_firmware
  5. Decompress the firmware
     $ unzip TL-WR1043ND_v1_130428.zip
  6. Check firmware checksum
     $ sha1sum wr1043nv1_en_3_13_13_up_boot\(130428\).bin

    It should return:
    25c3c2bd86dba8bd4c68489489e28e580560bf6c wr1043nv1_en_3_13_13_up_boot(130428).bin

  7. This firmware version also contains the boot code so we have to strip it first
     $ dd if=wr1043nv1_en_3_13_13_up_boot\(130428\).bin of=wr1043nd_v1_correct.bin skip=257 bs=512
  8. Check the corrected firmware checksum
     $ sha1sum wr1043nd_v1_correct.bin

    It should return:
    6899d121113c92d93a20ae7b308bc06a3295aba0  wr1043nd_v1_correct.bin

Firmware update

  1. Copy this file in the router
     $ scp wr1043nd_v1_correct.bin root@192.168.1.2:/tmp/

    Note: My router IP address is 192.168.1.2, change it to your router IP address in all commands

  2. Login to your router
     $ ssh root@192.168.1.2

    Enter your password.

  3. Write the firmware to flash
    root@OpenWrt:~# mtd -r write /tmp/wr1043nd_v1_correct.bin firmware

    mtd

  4. Wait until “Rebooting …” appears
    Note: If you have configured your router as an OpenFlow switch before using my guide than you have to pull out the LAN cable from WAN port now and plug into a LAN port (eg. LAN1).
  5. Go to http://192.168.1.1 in your browser
    user: admin
    password: admin

    Press Enter

    login_page

Congratulation! You have just restored the original firmware.

Restoring factory firmware on Asus WL-500g Deluxe

If you have installed OpenWrt Backfire on your Asus WL-500g Deluxe and want to restore the factory firmware than this guide is for you.

Device: Asus WL-500g Deluxe
FCC ID: MSQWL500GD
CPU: Broadcom 5365
RAM: 32 MB
Flash: 4 MB
Network: 4 + 1 ports (10/100 Mb/s)
IP address: 192.168.1.1

Software on router before

OpenWrt Backfire
Version: 10.03.1 (r33081)

Software on router after

WL-500gD English Firmware
Version: 1.9.6.0

Host operation system is Fedora 19 (64 bit).
If you are not using Fedora 19, you should virtualize it:
Installing Fedora 19 (64 bit) in VirtualBox

I presume that you can communicate with your router.

Preparations

  1. Go to Asus Support site: http://support.asus.com/download/
    Type “wl-500g deluxe” in Model Name Search box
    Click Searchasus_support_search
  2. Click “WL-500g Deluxe
    found_wl500gd
  3. Select WinXP as OS
  4. Click Firmware
  5. Click “Global” in the Version 1.9.6.0 frame to download the firmware
    If it doesn’t work here is a copy of it one my site: WL500gx_1960_EN.zip
    router_page
  6. Decompress the firmware
    $ unzip WL500gx_1960_EN.zip
  7. Check firmware checksum
    $ sha1sum WL500gx_1.9.6.0_EN.trx

    It should return:
    a273a7e7c5278d4eb76c53c20492a772187ced59  WL500gx_1.9.6.0_EN.trx

Firmware update

  1. Copy this file in the router
    $ scp WL500gx_1.9.6.0_EN.trx root@192.168.1.1:/tmp/

    Note: My router IP address is 192.168.1.1, change it to your router IP address in all commands

  2. Login to your router
    $ ssh root@192.168.1.1

    Enter your password.

  3. Write the firmware to flash
    root@OpenWrt:~# mtd -r write /tmp/WL500gx_1.9.6.0_EN.trx linux

    mtd

  4. Wait until “Rebooting …” appears
    Note: If you have configured your router as an OpenFlow switch before using my guide than you have to pull out the LAN cable from WAN port now and plug into a LAN port (eg. LAN1).
  5. Go to http://192.168.1.1 in your browser
    user: admin
    password: admin

    Press Enter

    stock_firmware

Congratulation! You have just restored the original firmware.