Differences

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

toh:tp-link:tl-wdr4300 [2012/09/08 21:55]
bluse
toh:tp-link:tl-wdr4300 [2013/04/28 11:30] (current)
bohdan.s
Line 5: Line 5:
Manufacturer product page is [[http://www.tplink.com/en/products/details/?categoryid=2166&model=TL-WDR4300|here]], while the support download page is [[http://www.tplink.com/en/support/download/?model=TL-WDR4300&version=V1#tbl_j|here]]. Manufacturer product page is [[http://www.tplink.com/en/products/details/?categoryid=2166&model=TL-WDR4300|here]], while the support download page is [[http://www.tplink.com/en/support/download/?model=TL-WDR4300&version=V1#tbl_j|here]].
 +
 +The version 1.1 unit appears to use a SiGe SE2574L WFEs for 2.4 Ghz (20 dBm output) and SiGe SE5005L WFEs for 5 Ghz (18 dBm output)
 +
 +{{:meta:icons:tango:dialog-warning.png?nolink |Warning!}}**WARNING:** Security warning: unpatched http/tftp backdoor in **original** firmware: [[http://sekurak.pl/tp-link-httptftp-backdoor/]]
 +
===== Supported Versions ===== ===== Supported Versions =====
Line 10: Line 15:
| v1.0 | - | 2012/02 | trunk [[https://dev.openwrt.org/changeset/32683|r32683]]  | [[.:TL-WDR4310|TP-Link TL-WDR4310]].| | v1.0 | - | 2012/02 | trunk [[https://dev.openwrt.org/changeset/32683|r32683]]  | [[.:TL-WDR4310|TP-Link TL-WDR4310]].|
| v1.1 | - | 2012/06 | trunk [[https://dev.openwrt.org/changeset/32461|r32461]] | Similar to [[.:TL-WDR4310|TP-Link TL-WDR4310]]| | v1.1 | - | 2012/06 | trunk [[https://dev.openwrt.org/changeset/32461|r32461]] | Similar to [[.:TL-WDR4310|TP-Link TL-WDR4310]]|
 +| v1.2 | - | 2012/11 | [[http://downloads.openwrt.org/attitude_adjustment/12.09-rc1/ar71xx/generic/|Attitude Adjustment 12.09 RC1]] | Similar to [[.:TL-WDR4310|TP-Link TL-WDR4310]]|
 +| v1.3 | - | 2012/11 | [[http://downloads.openwrt.org/attitude_adjustment/12.09-rc1/ar71xx/generic/|Attitude Adjustment 12.09 RC1]] | Similar to [[.:TL-WDR4310|TP-Link TL-WDR4310]]|
 +| v1.4 | - | 2013/04 | Tested Snapshot 27/4/13 - No WLAN interfaces | ? |
 +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.
===== Hardware Highlights ===== ===== Hardware Highlights =====
-^ CPU ^ Flash ^ RAM ^ Network ^ WAN ^ USB ^ Serial ^ JTag ^ +^ CPU ^ Flash ^ RAM ^ Network ^ WAN ^ USB ^ Serial ^ JTag ^ VLANs
-| Atheros AR9344@560MHz  | 8MB | 128MB | 4x1 GigE | 1x1 GigE WAN| x2 v2.0| Yes | Yes |+| Atheros AR9344@560MHz  | 8MB | 128MB | 4x1 GigE | 1x1 GigE WAN| x2 v2.0| Yes | Yes | 128 |
===== Installation ===== ===== Installation =====
-  - [[doc:howto:obtain.firmware]] You //need// to download a trunk snapshot image with factory and SquashFS in the Name.+  - [[doc:howto:obtain.firmware]] Download a pre-compiled release image [[http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/|Attitude Adjustment 12.09]] or trunk image [[http://downloads.openwrt.org/snapshots/trunk/ar71xx/|Barrier Breaker]], look for openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-factory.bin. The precompiled images does not activate the wireless feature by default (you will have to use ethernet for the initial configuration), and does not include the web interface [[doc:howto:luci.essentials|LuCI]].
  - [[doc:howto:generic.flashing]] Now write this firmware-file onto the flash-chip of your device   - [[doc:howto:generic.flashing]] Now write this firmware-file onto the flash-chip of your device
- +(For a brand new router, you could just use the vendor web UI to flash the .bin image) 
-  * Download a precompiled [[http://downloads.openwrt.org/snapshots/trunk/ar71xx/|trunk image]], look for openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-factory.bin. The precompiled trunk snapshot images neither include the wireless kernel modules, nor LuCI. To use wifi, you need to install kmod-ath9k and regenerate the configuration, see [[doc:uci:wireless|wireless configuration]]. LuCI can be installed via "opkg update && opkg install luci-mod-admin-full", once you have a working internet connection.+  * To use wifi, you need to activate wifi in the configuration, see [[doc:uci:wireless|wireless configuration]]. 
 +  * The web interface LuCI can be installed and started via... 
 +<code> 
 +opkg update 
 +opkg install luci 
 +/etc/init.d/uhttpd enable 
 +/etc/init.d/uhttpd start 
 +</code> 
 +An alternate SSL enabled version of LuCI is also available (opkg install luci-ssl).
  * You can always [[doc:howto:obtain.firmware.generate|build]] your own image based on Attitude Adjustment/ trunk. Choose Atheros AR71xx/AT7240/AR913x platform and use the "TP-LINK TL-WDR4300 board support" profile.   * You can always [[doc:howto:obtain.firmware.generate|build]] your own image based on Attitude Adjustment/ trunk. Choose Atheros AR71xx/AT7240/AR913x platform and use the "TP-LINK TL-WDR4300 board support" profile.
 +
 +Images for the TP-Link 3600 are largely compatible with a simple modification to the header of the firmware image. The PCB for both models is identical, or close to identical. The third external antenna on the 4300 is on the PCB of the 3600, but not connected to an external antenna.
 +
 +**WARNING:** Do not flash the sysupgrade firmware via the vendor firmware web interface - only the 'factory' images should be flashed from the vendor firmware.
==== Upgrading OpenWrt ==== ==== Upgrading OpenWrt ====
-If OpenWrt is already installed and you wish to upgrade to a newer OpenWRT,+If OpenWrt is already installed and you wish to upgrade to a newer version, you have two methods available:
-  * Login as root via ssh+  - Flash Overwrite 
 +  - Generic Sysupgrade 
 + 
 +=== Flash Overwrite === 
 + 
 +  * Login as root via SSH
  * Check memory usage with the //free// or //top// commands. The image can be up to 8MB, so only proceed if you have as much free RAM as the image size plus 6-8MB; this should not be a problem on a device with 128 MB RAM.   * Check memory usage with the //free// or //top// commands. The image can be up to 8MB, so only proceed if you have as much free RAM as the image size plus 6-8MB; this should not be a problem on a device with 128 MB RAM.
  * An easy way to free up some RAM is to delete the symlinks to ///etc/modules.d/20-cfg80211//, ///etc/modules.d/21-mac80211//,  ///etc/modules.d/2*-ath*// and ///etc/modules.d/[4-9]*-*// and reboot. Drop caches can be useful too:   * An easy way to free up some RAM is to delete the symlinks to ///etc/modules.d/20-cfg80211//, ///etc/modules.d/21-mac80211//,  ///etc/modules.d/2*-ath*// and ///etc/modules.d/[4-9]*-*// and reboot. Drop caches can be useful too:
<code> <code>
-root@OpenWrt:/# echo 3 > /proc/sys/vm/drop_caches+echo 3 > /proc/sys/vm/drop_caches
</code> </code>
Line 38: Line 64:
<code> <code>
-root@OpenWrt:/# mtd -r write /tmp/openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-factory.bin firmware+cd /tmp 
 +wget http://domain.tld/openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-factory.bin 
 +mtd -r write /tmp/openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-factory.bin firmware
</code> </code>
-FIXME (untested) Alternately you can use [[doc:howto:generic.sysupgrade]] command (don't forget to populate your ''/etc/sysupgrade.conf'' first).+=== Generic Sysupgrade === 
 + 
 + 
 +Alternately, you can follow the [[doc:howto:generic.sysupgrade]] procedure. Don't forget to populate your ''/etc/sysupgrade.conf'' first.
==== Flash Layout ==== ==== Flash Layout ====
Line 92: Line 123:
(Note: File size should now be exactly: 8,126,464 Bytes) (Note: File size should now be exactly: 8,126,464 Bytes)
-Now follow -> [[doc:howto:generic.uninstall]]+Other caveats (from vendor web UI): 
 +  * If the firmware path is too short, it will fail with the incorrect error 'firmware path too long'. For instance, flashing c:\openwrt.bin will not work. 
 +  * If the firmware path is too long, it will fail with the error 'firmware path too long'.
 +Now follow -> [[doc:howto:generic.uninstall]]
==== de-brick or OEM installation using the TFTP and RS232 (serial) method ==== ==== de-brick or OEM installation using the TFTP and RS232 (serial) method ====
Line 244: Line 278:
| **RegDomain:**      | US | US | | **RegDomain:**      | US | US |
| **Ethernet:**        | Atheros AR8327N Gigabit Switch | | **Ethernet:**        | Atheros AR8327N Gigabit Switch |
-| **USB:**            | Yes 2 x 2.0     |+| **USB:**            | Yes 2 x 2.0 (GL850G chip - 4 port's capable)    |
| **[[doc:hardware:port.serial|Serial]]:**          | [[#Serial|Yes]] | | **[[doc:hardware:port.serial|Serial]]:**          | [[#Serial|Yes]] |
| **[[doc:hardware:port.jtag|JTAG]]:**            | [[#JTAG|Yes]]  | | **[[doc:hardware:port.jtag|JTAG]]:**            | [[#JTAG|Yes]]  |
Line 264: Line 298:
| **Inner diameter**| 2.1mm | | **Inner diameter**| 2.1mm |
| **Length of the shaft** | 9.5mm | | **Length of the shaft** | 9.5mm |
 +
 +==== Hardware Modifications ====
 +
 +
 +
 +=== USB Modification ===
 +The task was to make ext-root without using the default ports.
 +
 +It turns out that the GL850G chipset used by the TP-Link in WDR3600/4300/4900 models can handle up to four ports.
 +
 +{{:media:gl850g.png|}}
 +
 +Analysing the router's PCB it appears that pins 8(D-), 9(D+), 11(D-) and 12(D+) are unused. 
 +Aditionaly each factory USB port has separate power section.
 +
 +GND is at the TP7 pin point. +5 V was taken directly from the MOSFET.
 +
 +{{:media:tplinkwrd3600-usbmod-small.jpg|}}
 +{{:media:tplinkwrd3600-usbmod1-small.jpg|}}
 +
==== Photos ==== ==== Photos ====
{{:toh:tp-link:tplink-4300_with-serial.jpg|}} {{:toh:tp-link:tplink-4300_with-serial.jpg|}}
 +==== Opening The Case (V 1.1) ====
 +
 +Remove the 4 screws on the bottom of the case.
 +
 +The top is clipped to the bottom of the case at 9 attachment points:
 +3 on each side of the case, 1 on the back, and 2 on the front.
 +Each attachment point consists of two pins which fit into holes in tabs
 +which protrude from the other half of the case.  All of the tabs are
 +on the bottom of the case, with the exception of the case back, where the
 +single tab is in the center of the top of the case.
 +
 +One method known to
 +work, once, is to start at one of the rear corners.  The corner by
 +the ethernet ports seems to work best.  Gently flex the
 +case and slightly separate the top from the bottom at the
 +corner by lifting on, or
 +inserting a fingernail or other thin object into, the crack
 +above the antenna.  While doing this insert the tip of a knife
 +blade (upward, given the geometry as the unit normally sits) into the
 +crack between the two halves along the side of the case toward the rear. 
 +This will force the pins in the top of the case outward, flex the tab
 +protruding from the bottom of the case inward, and free the pins
 +from the tab.  If necessary the knife tip may be levered slightly toward
 +the case interior after insertion.  Due to the force
 +separating the top of the case from the
 +bottom near the antenna, the pins should pop out of the tab located
 +on the case side near the rear, lift slightly upward, and remain free.
 +
 +Continue to free the other tabs, first working from the rear corner toward the front of the case, then across the front of the case, and finally from the front of the case toward the rear along the opposite side.  The two halves of the case will then separate without having to work at freeing the last attachment point at the rear of the case.
 +
 +With care, this method leaves no marks on the case.
 +
 +===== 12.09-rc1 (Attitude Adjustment Release Candidate) Configuration & Design Guide =====
 +
 +==== Purpose and Scope ====
 +
 +A developing guide covering recommended configuration, design and implementation of common features on the TL-WDR4300.
 +
 +Those evaluating the possible use of OpenWrt on the TL-WDR4300 may wish to review the [[howto:tl-wdr4300:datasheet|data sheet]], which details the verified hardware and software features of OpenWrt 12.09-rc1 on this platform.
 +
 +==== Currency and Structure ====
 +
 +The guide is written specifically for 12.09-rc1, which is the latest stable build of OpenWrt. While there is no reason that much of the content could not apply to development snapshots, there is no guarantee that the content will be applicable.
 +
 +The guide is structured around a central [[howto:tl-wdr4300|contents page]].
===== TP-Link TL-WDR4310 Version 1.0 forum thread ===== ===== TP-Link TL-WDR4310 Version 1.0 forum thread =====
[[https://forum.openwrt.org/viewtopic.php?id=36534]] [[https://forum.openwrt.org/viewtopic.php?id=36534]]
 +
 +===== Add-ons of the Router TL-WDR4300 =====
 +  * [[http://nixorids.blogspot.com/2013/03/installing-packages-into-usb-on-tl.html|Installing packages into the USB storage]]
 +
 +  * [[http://nixorids.blogspot.com/2013/03/wireless-adapter-tl-wn7200nd-with.html|Adding a USB wireless adapter to the router]]
 +
 +===== Performance test with trunk/r35995=====
 +Tested with |__http over nginx__|<-//wan//-|__wdr4300__|<-//lan//-|__Client__|
 +| mbit | mode |
 +| ~880 | switched |
 +| ~400 | routed |
 +| ~300 | nat |
===== Tags ===== ===== Tags =====
{{tag>GigabitEthernet 5Port 2PHY USB 2USB JTAG 802.11bgn ath9k AR9344 802.11abgn_simultan 3Ant DetachableAntenna 128RAM 8Flash MIPS MIPS32 74Kc DB120}} {{tag>GigabitEthernet 5Port 2PHY USB 2USB JTAG 802.11bgn ath9k AR9344 802.11abgn_simultan 3Ant DetachableAntenna 128RAM 8Flash MIPS MIPS32 74Kc DB120}}

Back to top

toh/tp-link/tl-wdr4300.1347134129.txt.bz2 · Last modified: 2012/09/08 21:55 by bluse