User Tools

Site Tools


toh:tp-link:tl-wr842nd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
toh:tp-link:tl-wr842nd [2013/11/02 11:58]
soma
toh:tp-link:tl-wr842nd [2014/05/17 19:40] (current)
red_hood
Line 3: Line 3:
  
 ===== Supported Versions ===== ===== Supported Versions =====
 +^ Version/​Model ^ Release Date ^ Supported Since OpenWrt Version ^ Model Specific Notes ^
 +| v1.0 | Nov-2011 | AA ([[https://​dev.openwrt.org/​changeset/​30508|r30508]]) | |
 +| v1.1 | May-2013 | AA ([[https://​dev.openwrt.org/​changeset/​30508|r30508]]) | Internal sticker v1.1, board rev1.0, /​proc/​cpuinfo same as v1.0. |
 +| v2.0 | June-2013 | BB ([[https://​dev.openwrt.org/​changeset/​38815|r38815]]) | |
 +
 +
 +/*  "​OpenWrt Version Supported"​ -> "Since OpenWrt Version Supported"​ -> cur "​Supported Since OpenWrt Version" ​ */
 +
 +===== Unsupported TL-WR842N chinese-only version =====
 ^ Version/​Model ^ Release Date ^ OpenWrt Version Supported ^ Model Specific Notes ^ ^ Version/​Model ^ Release Date ^ OpenWrt Version Supported ^ Model Specific Notes ^
-v1.0 | Nov-2011 Trunk ([[https://​dev.openwrt.org/​changeset/​30508|r30508]]) ​+V1 V4 2013 probably unsupportable ​only 2M flash? ​http://www.tp-link.com.cn/product_298.html |
-| v1.1 | First seen Jun-2013 | AA ([[http://downloads.openwrt.org/​attitude_adjustment/​12.09/​ar71xx/​generic/​openwrt-ar71xx-generic-tl-wr842n-v1-squashfs-factory.bin|12.09]]) | Internal sticker v1.1, board rev1.0, ​/proc/​cpuinfo same as v1.0. |+
  
 ===== Hardware ===== ===== Hardware =====
 ==== Info ==== ==== Info ====
  
-^ Model ^ TL-WR842ND ^ +^ Model ^ TL-WR842ND ​^
-^ Version ^ 1 ^ +^ Version ^ 1 ^ 2 
-| **Architecture:​** |  MIPS 24Kc V7.4  | +| **Architecture:​** |  MIPS 24Kc V7.4  ​| ​ MIPS 74Kc V4.12  | 
-| **Manufacturer:​** |  Atheros ​ | +| **Manufacturer:​** |  Atheros  ​|
-| **Bootloader:​** |  [[doc:​techref:​bootloader:​uboot|U-Boot]] ​ | +| **Bootloader:​** |  [[doc:​techref:​bootloader:​uboot|U-Boot]]  ​|
-| **System-On-Chip:​** |  Atheros AR7241 ​ | +| **System-On-Chip:​** |  Atheros AR7241 ​ ​| ​ Atheros AR9341 ​ | 
-| **Flash chip:** |  [[http://​www.spansion.com/​Support/​Datasheets/​S25FL064P_00_03_e.pdf|Spansion S25FL064P (FL064PIF)]] | +| **CPU Speed:** |  400 MHz  |  535 MHz  | 
-| **Flash size:** |    8 MiB    | +| **Flash chip:** |  [[http://​www.spansion.com/​Support/​Datasheets/​S25FL064P_00_03_e.pdf|Spansion S25FL064P (FL064PIF)]] ​|  Winbond 25Q64FV or Spansion S25FL064 ​
-| **RAM chip:** |  A3S56D40FTP -G5  | +| **Flash size:** |    8 MiB    ​|
-| **RAM size:** |  32 MiB  | +| **RAM chip:** |  A3S56D40FTP -G5  ​| ​ Winbond W9425G6JH-5 ​ | 
-| **Wireless** |  Atheros AR9287-bl1a ​ | +| **RAM size:** |  32 MiB  ​|
-| **Antenae(s)** |  2 Removables ​ | +| **Wireless** |  Atheros AR9287-bl1a ​ ​| ​ Atheros AR9341 ​ | 
-| **Ethernet:​** |  4 LAN, 1 WAN 10/​100 ​ | +| **Antenae(s)** |  2 Removables  ​|
-| **USB:** |  1 x 2.0  |+| **Ethernet:​** |  4 LAN, 1 WAN 10/​100  ​|
 +| **USB:** |  1 x 2.0  ​||
 | **Serial:** |  [[#​Serial|Unfriendly]] ​ | | **Serial:** |  [[#​Serial|Unfriendly]] ​ |
  
Line 80: Line 89:
 Password to get **root** login is **5up** Password to get **root** login is **5up**
  
-==== Recovery ====+==== Recovery ​(v1) ====
  
 Using the integrated tftp capability of the router.\\ Using the integrated tftp capability of the router.\\
Line 115: Line 124:
  
 You could try to flash directly using this method, an openwrt factory image (for this model obviously) to the router, for me it did not work, maybe you have better luck.\\ You could try to flash directly using this method, an openwrt factory image (for this model obviously) to the router, for me it did not work, maybe you have better luck.\\
 +
 +==== Recovery (v2) ====
 +
 +Using the integrated tftp capability of the router.\\
 +
 +First, enter failsafe mode:\\
 +
 +Remove the power plug from the router.\\
 +Press and hold the WPS/RESET button.\\
 +Insert the power plug without releasing the RESET button, wait a moment for the Lock LED to come on solid.\\
 +Release the RESET button\\
 +
 +Connect pc to one of the router LAN ports.
 +
 +^Device ^IP|
 +|router ip|192.168.0.86|
 +|set your pc ip|192.168.0.66|
 +
 +Set pc ip:
 +<WRAP prewrap 100%><​code>​
 +ifconfig eth0:1 192.168.0.66/​24 up
 +</​code></​WRAP>​
 +
 +Router repeatedly tries to download ''​wr842ndv2_tp_recovery.bin''​ from a tftpd server running on 192.168.0.66.\\
 +
 +Install tftpd server:
 +<WRAP prewrap 100%><​code>​
 +pacman -S tftp-hpa
 +</​code></​WRAP>​
 +
 +Download TP-LINK firmware to tftp root and rename it to ''​wr842ndv2_tp_recovery.bin'':​
 +<WRAP prewrap 100%><​code>​
 +mkdir /srv/tftpd
 +cd /srv/tftpd
 +wget http://​www.tp-link.com/​resources/​software/​TL-WR842ND_V2_130628.zip
 +unzip TL-WR842ND_V2_*.zip
 +mv wr842ndv2_en_3_14_2_up_boot(130628).bin wr842nv2_tp_recovery.bin
 +</​code></​WRAP>​
 +
 +Start tftpd server:
 +<WRAP prewrap 100%><​code>​
 +systemctl start tftpd.socket
 +systemctl start tftpd.srvice
 +</​code></​WRAP>​
 +
 +Router must in recovery mode **before** starting tftpd server, otherwise it might have problems trying to bind to the PC network interface.\\
 +
 +After some time you will see all LEDs flashing once followed by a normal restart of the router.\\
 +
  
 ====Back to stock firmware==== ====Back to stock firmware====
 +-> [[doc:​howto:​generic.uninstall]]
 +
 +{{page>​meta:​infobox:​dangerous&​noheader&​nofooter&​noeditbtn}}
 +
 +With the TL-WR842ND router, there is a catch: the stock firmware is obtained from the OEM: http://​www.tplink.com/​en/​support/​download/?​model=TL-WR842ND
 +
 +  * in case the file name of this firmware file does not contain the word **//"​boot"//​** in it, you can simply revert back to original firmware
 +  * in case the file name of this firmware file does contain the word **//"​boot"//​** in it, you need to cut off parts of the image file //before// flashing it:
 +
 +
 +The following method applies both for the V1 and V2 since the bootloader is the same size.
 +
 +
 +An example of an image file with the word "​boot"​ in it is ''​wr842ndv1_en_3_12_25_up_boot(130322).bin''​.
 +
 +Cut the first 0x20200 (that is 131,584 = 257*512) Bytes from original firmware:
 +<​code>​
 +dd if=orig.bin of=tplink.bin skip=257 bs=512
 +</​code>​
 +
 +You should transfer the firmeware image to the /tmp folder and revert back to original firmware (if availlable you can flash the firmware via the webinterface as well):
 +
 +Via the safer method using sysupgrade:
 +<​code>​
 +sysupgrade /​tmp/​tplink.bin
 +</​code>​
 +
 +Or you use the mtd method:
 +<​code>​
 +mtd -r write /​tmp/​tplink.bin firmware
 +</​code>​
 +
 +It is also possible to revert to the stock firmware using the method with tftp described in "​recovery"​. (you still need the firmware image without the boot part).
 +
 +OEM TP-Link firmware for the TL-WR842ND with the **//boot part removed//** to revert to the original OEM firmware:
 +  * TL-WR842ND **//V1//** [[http://​q.gs/​6giqZ|TL-WR842ND-V1-stripped.zip]]
 +  * TL-WR842ND **//V2//** [[http://​q.gs/​6gitN|TL-WR842ND-V2-stripped.zip]]
  
-It is possible to revert to the stock firmware using the method with tftp described in "​recovery"​. You need to use an older version of the TP-Link Firmware, newer versions didn't work. This one was good: http://​www.tp-link.com/​Resources/​software/​TL-WR842ND_V1_120424.zip 
  
 ==== Power ==== ==== Power ====
toh/tp-link/tl-wr842nd.1383389880.txt.bz2 · Last modified: 2013/11/02 11:58 by soma