User Tools

Site Tools


toh:tp-link:tl-wdr3600

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-wdr3600 [2013/10/28 12:29]
spiroul
toh:tp-link:tl-wdr3600 [2014/10/09 14:43] (current)
theoradicus tag phy -> nic
Line 4: Line 4:
  
 ===== Supported Versions ===== ===== Supported Versions =====
 +All versions supported in [[https://​downloads.openwrt.org/​barrier_breaker/​14.07/​ar71xx/​generic/​|Barrier Breaker 14.07]]. No patches required. 14.07 pre-built images include Luci by default as well.
 +
 ^ Version/​Model ^Release Date ^ OpenWrt Version Supported ^ Model Specific Notes ^ ^ Version/​Model ^Release Date ^ OpenWrt Version Supported ^ Model Specific Notes ^
-| 1.1 | 2012/07| trunk [[https://​dev.openwrt.org/​changeset/​33219|r33219]] | Similar to [[.:​TL-WDR4300|TP-Link TL-WDR4300]] | +| 1.1 | 2012/​07| ​Attitude Adjustment 12.09 works fine (since ​trunk [[https://​dev.openwrt.org/​changeset/​33219|r33219]]| Similar to [[.:​TL-WDR4300|TP-Link TL-WDR4300]] | 
-| 1.2 | | Attitude Adjustment 12.09 seems to work | | +| 1.2 | | Attitude Adjustment 12.09 | LEDs blue
-| 1.3 | | Attitude Adjustment 12.09 works fine | | +| 1.3 | | Attitude Adjustment 12.09 + [[https://​dev.openwrt.org/​changeset/​39408/​|wifi patch]], or trunk ([[https://​dev.openwrt.org/​changeset/​39392|r39392]]), ​LEDs blue
-| 1.4 | July 2013 | Attitude Adjustment 12.09 works fine | |+| 1.4 | July 2013 | Attitude Adjustment 12.09 + [[https://​dev.openwrt.org/​changeset/​39408/​|wifi patch]] , or trunk ([[https://​dev.openwrt.org/​changeset/​39392|r39392]])| LEDs now green, not blue| 
 +| 1.5 | December 2013 | Attitude Adjustment 12.09 + [[https://​dev.openwrt.org/​changeset/​39408/​|wifi patch]] , or trunk ([[https://​dev.openwrt.org/​changeset/​39392|r39392]])LEDs now green, not blue|
  
 +The latest firmware available is the release build [[https://​downloads.openwrt.org/​barrier_breaker/​14.07/​ar71xx/​generic/​|Barrier Breaker]], with working ethernet and dual-band wireless (disabled by default), and webUI. ​
  
-The latest firmware available is the release build [[http://​downloads.openwrt.org/​attitude_adjustment/​12.09/​ar71xx/​generic/​|Attitude Adjustment 12.09]] or the trunk build [[http://​downloads.openwrt.org/​snapshots/​trunk/​ar71xx/​|Barrier Breaker]], with working ethernet and dual-band wireless (disabled by default). ​If your wireless cannot be enabled when using wide channel modes, this may be due to the friendly ​neighbour ​"​feature"​ that prohibits operation of such a mode and you may have to use the standard modes before wireless can be enabled. For some people radio0 works only when radio2 is also enabled.  ​+If your wireless cannot be enabled when using wide channel modes, this may be due to the friendly ​neighbor ​"​feature"​ that prohibits operation of such a mode and you may have to use the standard modes before wireless can be enabled. For some people radio0 works only when radio2 is also enabled.  ​
  
-==== Info ====+Note that in 14.07 VLAN related [[#​switch.ports.for.vlans|switch driver bug]] still not fixed? ​ Fix has been included in trunk since r42653. 
 + 
 +===== Info =====
 | **[[wp>​Instruction set|Architecture]]:​** ​   | [[wp>​MIPS architecture|MIPS]] MIPS 74Kc | | **[[wp>​Instruction set|Architecture]]:​** ​   | [[wp>​MIPS architecture|MIPS]] MIPS 74Kc |
 | **Vendor:​** ​         | [[wp>​Qualcomm Atheros]] | | **Vendor:​** ​         | [[wp>​Qualcomm Atheros]] |
Line 27: Line 33:
 | **USB:​** ​            | Yes 2 x 2.0 (GL850G chip - 4 port's capable) | | **USB:​** ​            | Yes 2 x 2.0 (GL850G chip - 4 port's capable) |
  
-==== Switch Ports (for VLANs) ====+===== Installation ===== 
 + 
 +See [[.:​TL-WDR4300#​installation|TP-Link TL-WDR4300]] installation instructions. 
 + 
 +===== Switch Ports (for VLANs) ​=====
  
 ^ Port ^ Switch port ^ ^ Port ^ Switch port ^
Line 38: Line 48:
 | unknown | 6 | | unknown | 6 |
  
-Le driver du switch ​refuse de configurer un port avec des VLANs tagué et non tagué +The switch ​driver refuses to configure a port with tagged and non-tagged VLANs. 
-Il est possible ​de tagué plusieurs ​VLANs sur le même ports :+It is possible ​to tag multiple ​VLANs on the same ports:
 <​code>​ <​code>​
 root@OpenWrt:/#​ swconfig root@OpenWrt:/#​ swconfig
Line 71: Line 81:
         ports: 0t 1         ports: 0t 1
 </​code>​ </​code>​
-Tag du port 5 sur les VLANs 1 et 2, réussis+Tag of port 5 on VLANs 1 and successful:
 <​code>​ <​code>​
 root@OpenWrt:/#​ swconfig dev switch0 vlan 1 set ports "0t 2 3 4 5t" root@OpenWrt:/#​ swconfig dev switch0 vlan 1 set ports "0t 2 3 4 5t"
Line 93: Line 103:
         ports: 0t 1 5t         ports: 0t 1 5t
 </​code>​ </​code>​
-Tag du port 4 en VLAN 1, et Untag du port 4 en VLAN 2 : __**Erreurle port 4 est supprimer du VLAN 1**__+Tag port 4 in VLAN 1, and untag port 4 in VLAN 2: __**Error, port 4 is removed from VLAN 1**__
 <​code>​ <​code>​
 root@OpenWrt:/#​ swconfig dev switch0 vlan 1 set ports "0t 2 3 4t 5t" root@OpenWrt:/#​ swconfig dev switch0 vlan 1 set ports "0t 2 3 4t 5t"
Line 117: Line 127:
 </​code>​ </​code>​
  
 +===== TFTP auto recovery in revision 1.5 =====
  
-==== Flash Layout ====+At least some revision 1.5 routers contains bootloader recovery TFTP client. To activate it press and hold WPS/Reset Button during powering on until WPS LED turns on. Connect computer to LAN1. Using TCPdump, you should see ARP requests from router having address 192.168.0.86 looking for address 192.168.0.66. 
 +  
 +<​code>#​ tcpdump -ni eth0 arp 
 +ARP, Request who-has 192.168.0.66 tell 192.168.0.86,​ length 46</​code>​ 
 + 
 +Set up your computer to address 192.168.0.66,​ netmask /24 (255.255.255.0). 
 + 
 +<​code>​ 
 +# ip addr add dev eth0 192.168.0.66/​24 
 +</​code>​ 
 + 
 +Using TCPdump, you should now see request for new firmware image: 
 + 
 +<​code>​ 
 +# tcpdump -npi eth0 udp 
 +IP 192.168.0.86.2195 > 192.168.0.66.69: ​ 44 RRQ "​wdr3600v1_tp_recovery.bin"​ octet timeout 5 
 +</​code>​ 
 + 
 +Rename factory image to given name and put it into TFTP server root.  
 +-> [[doc:​howto:​generic.flashing.tftp]] 
 + 
 +:!: In case you are flashing back original firmware, make sure original firmware image name does not contain word ''​**boot**''​ -> [[#​back.to.stock.firmware]]. 
 + 
 +<​code>#​ cp openwrt-ar71xx-generic-tl-wdr3600-v1-squashfs-factory.bin wdr3600v1_tp_recovery.bin 
 +# atftpd --no-fork --daemon .</​code>​ 
 + 
 +After downloading,​ the flashing starts immediatelly. After cca. 1 minute, the router reboots automatically. 
 + 
 +=====Back to stock firmware===== 
 +-> [[doc:​howto:​generic.uninstall]] 
 + 
 +{{page>​meta:​infobox:​dangerous&​noheader&​nofooter&​noeditbtn}} 
 + 
 +With the TL-WR3600 router, there is a catch: the stock firmware is obtained from the OEM: http://​www.tplink.com/​en/​support/​download/?​model=TL-WDR3600 
 + 
 +  * 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: 
 + 
 + 
 +An example of an image file with the word "​boot"​ in it is ''​wdr3600v1_en_3_13_34_up_boot(130909).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 alternatively you can use the mtd method: 
 +<​code>​ 
 +mtd -r write /​tmp/​tplink.bin firmware 
 +</​code>​ 
 + 
 + 
 +OEM TP-Link firmware for the TL-WDR3600 with the **//boot part removed//** to revert to the original OEM firmware: 
 +  * TL-WDR3600 **//V1//** [[https://​doc-00-90-docs.googleusercontent.com/​docs/​securesc/​ha0ro937gcuc7l7deffksulhg5h7mbp1/​c36h9lrqa3uje80ocfen4eukk7m18l36/​1404280800000/​12847632745586542482/​*/​0B-pEMb4uQtg8d2Q3OUEwbUxOVmM?​h=16653014193614665626&​e=download|TL-WDR3600-V1-stripped.zip]] 
 + 
 +==== Useful Information about Stock Firmware ==== 
 + 
 +Updated versions of stock firmware have [[https://​forum.openwrt.org/​viewtopic.php?​id=46371|Firmware Recovery Mode]]. Recommend upgrading latest stock firmware before flashing to OpenWrt for the first time so you can utilise this if necessary. 
 + 
 +===== Flash Layout ​=====
  
 | 0x000000000000-0x000000020000 | "​u-boot"​ | /​dev/​mtdblock0 | | 0x000000000000-0x000000020000 | "​u-boot"​ | /​dev/​mtdblock0 |
Line 127: Line 204:
 | 0x000000020000-0x0000007f0000 | "​firmware"​ | /​dev/​mtdblock5 | | 0x000000020000-0x0000007f0000 | "​firmware"​ | /​dev/​mtdblock5 |
  
-==== Serie U-Boot ====+===== Serie U-Boot ​=====
  
 WDR3600 v1.3 Start Log original U-Boot 1.1.4 (Jan 29 2013 - 16:09:44) WDR3600 v1.3 Start Log original U-Boot 1.1.4 (Jan 29 2013 - 16:09:44)
Line 158: Line 235:
 </​code>​ </​code>​
  
-Tapez très rapidement ​**tpl** ​quand le message **Autobooting in 1 seconds** ​apparait+Very quickly type **tpl** ​when the message **Autobooting in 1 seconds** ​appears
  
 WDR3600 v1.3 U-boot ​ help : WDR3600 v1.3 U-boot ​ help :
Line 207: Line 284:
 </​code>​ </​code>​
  
-Restauration du firmware ​original (sans modifier ​U-Boot). +Restoration of original ​firmware ​(without modifying ​U-Boot). 
-**Le firmware ​doit faire 8 126 464** octets ​ce qui correspond a un firmware ​sans U-Boot. +**The firmware ​must be 8,126,464** octets ​which correspond ​to a firmware ​without ​U-Boot. 
-A ce jourles firmware ​TP-Link : wdr3600v1_en_3_13_23_up(120820),​ wdr3600v1_en_3_13_26_up(130129) ​et wdr3600v1_en_3_13_31_up(130320) ​sont sans U-Boot. +Todayfirmwares ​TP-Link : wdr3600v1_en_3_13_23_up(120820),​ wdr3600v1_en_3_13_26_up(130129) ​and 
-La version ​utilisé dans l'​exemple est wdr3600v1_en_3_13_31_up(130320) ​sur le WDR3600 v1.3+wdr3600v1_en_3_13_31_up(130320) ​come without ​U-Boot. 
 +The version ​used in the example is wdr3600v1_en_3_13_31_up(130320) ​on the WDR3600 v1.3
  
 <​code>​ <​code>​
Line 253: Line 331:
 </​code>​ </​code>​
  
-ATTENTION ​Ne continuez que si la dernière ligne affiche ​**8126464 (7c0000 hex)**+ATTENTION ​Only continue if the last line reads **8126464 (7c0000 hex)**
  
 <​code>​ <​code>​
Line 269: Line 347:
 </​code>​ </​code>​
  
-Le routeur reboot+The router reboots
  
 <​code>​ <​code>​
Line 313: Line 391:
 shadow hash password file : root:​$1$GTN.gpri$DlSyKvZKMR9A9Uj9e9wR3/:​15502:​0:​99999:​7:::​ shadow hash password file : root:​$1$GTN.gpri$DlSyKvZKMR9A9Uj9e9wR3/:​15502:​0:​99999:​7:::​
  
 +===== Bootloader Mods =====
 +  - you could read about [[doc:​techref:​bootloader]] in general and about [[doc:​techref:​bootloader:​uboot|Das U-Boot]] in particular.
  
 +==== U-Boot 1.1.4 modification for routers ====
 +Forum member [[https://​forum.openwrt.org/​profile.php?​id=72549|pepe2k]] made a modification of **U-Boot 1.1.4** for **Qualcomm Atheros** SoCs based devices (the project is still being developed, so new devices and SoCs will be supported in the future). Up to date information,​ binary images and sources can be found on official [[https://​github.com/​pepe2k/​u-boot_mod|GitHub repository]].
  
-==== Hardware Modifications ====+This modification started from [[http://​code.google.com/​p/​wr703n-uboot-with-web-failsafe/​|wr703n-uboot-with-web-failsafe]] project, but supports more devices, all modern web browsers, has a lot of improvements and other modifications (like U-Boot NetConsole, custom commands, overclocking possibilities etc.).
  
 +More information:​
  
-=== USB Modification ===+  * Official repository on GitHub: [[https://​github.com/​pepe2k/​u-boot_mod|U-Boot 1.1.4 modification for routers]] 
 +  * Discussion about this project on [[https://​forum.openwrt.org/​viewtopic.php?​id=43237|OpenWrt forum]] 
 +  * An article (in Polish) about one of the first version of this project on [[http://​www.tech-blog.pl/​2013/​03/​29/​zmodyfikowany-u-boot-dla-routerow-tp-link-z-atheros-ar9331-z-trybem-aktualizacji-oprogramowania-przez-www-i-konsola-sieciowa-netconsole/​|www.tech-blog.pl]] 
 + 
 + 
 +===== Hardware ===== 
 +==== GPIO ==== 
 +-> [[doc:​hardware:​port.GPIO]] 
 + 
 +Partially based on -> [[toh:​tp-link:​tl-wdr4300]] 
 + 
 +Tested with hw version 1.5, BB r41181 
 + 
 +^        ^               ​^ ​           ^  Voltage level at GPIO in output-mode ​ ^^  gpioX/value in input-mode when GPIO is: ^^^ 
 +^  GPIO  ^  Common Name  ^  PCB Name  ^  gpioX/​value=1 ​ ^ gpioX/​value=0 ​        ​^ ​ Floating ​ ^  Pulled to GND  ^  Pulled to Vcc  ^ 
 +|     16 | WPS Button ​ |            |                 ​| ​                      ​| ​           |                 ​| ​                 | 
 +|     17 | WiFi Switch ​ |            |                 ​| ​                      ​| ​           |                 ​| ​                 | 
 + 
 +=== Read button without hotplug === 
 + 
 +<​code>​rmmod gpio_button_hotplug 
 +echo "​16"​ > /​sys/​class/​gpio/​export 
 +echo "​17"​ > /​sys/​class/​gpio/​export 
 +echo "​in"​ > /​sys/​class/​gpio/​gpio16/​direction 
 +echo "​in"​ > /​sys/​class/​gpio/​gpio17/​direction</​code>​ 
 + 
 +<​code>​cat /​sys/​class/​gpio/​gpio16/​value 
 +cat /​sys/​class/​gpio/​gpio17/​value</​code>​ 
 + 
 +===== Hardware Modifications ===== 
 + 
 + 
 +==== USB Modification ​====
  
 The task was to make ext-root without using the default ports. The task was to make ext-root without using the default ports.
Line 334: Line 449:
 {{:​media:​tplinkwrd3600-usbmod1-small.jpg|}} {{:​media:​tplinkwrd3600-usbmod1-small.jpg|}}
  
-==== Photos ====+===== Photos ​=====
 {{:​media:​tp-link.tl-wdr3600.-.board.top.side.-.lofi.jpg}} {{:​media:​tp-link.tl-wdr3600.-.board.top.side.-.lofi.jpg}}
 {{:​media:​tp-link.tl-wdr3600.-.board.bottom.side.-.lofi.jpg}} {{:​media:​tp-link.tl-wdr3600.-.board.bottom.side.-.lofi.jpg}}
 {{:​media:​tp-link.tl-wdr3600.-.board.top.side.wlan.-.lofi.jpg}} {{:​media:​tp-link.tl-wdr3600.-.board.top.side.wlan.-.lofi.jpg}}
 {{:​media:​tp-link.tl-wdr3600.-.board.top.side.cpu.-.lofi.jpg}} {{:​media:​tp-link.tl-wdr3600.-.board.top.side.cpu.-.lofi.jpg}}
 +
 +===== Custom OpenWrt image with LuCi integrated =====
 +
 +http://​www.superwrt.eu/​en/​firmware/​tp-link-wdr3600/​
 +
  
 ===== Tags ===== ===== Tags =====
-{{tag>​GigabitEthernet 5Port 2PHY USB 2USB JTAG 802.11bgn ath9k AR9344 802.11abgn_simultan 2Ant DetachableAntenna 128RAM 8Flash MIPS MIPS32 74Kc DB120}}+{{tag>​GigabitEthernet 5Port 2NIC USB 2USB JTAG 802.11bgn ath9k AR9344 802.11abgn_simultan 2Ant DetachableAntenna 128RAM 8Flash MIPS MIPS32 74Kc DB120}}
toh/tp-link/tl-wdr3600.1382959751.txt.bz2 · Last modified: 2013/10/28 12:29 by spiroul