Differences

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

toh:tp-link:tl-wr941nd [2012/12/20 18:06]
europhil VLAN config for TP-Link 941 added
toh:tp-link:tl-wr941nd [2014/11/08 16:24] (current)
mandrawes
Line 1: Line 1:
====== TP-Link TL-WR941ND ====== ====== TP-Link TL-WR941ND ======
- 
-The device is a wireless N router with: 
-  * 2.4Ghz (HT40 capable) 
-  * 3 detachable antennas 
-  * 4 Port 100/10 Switch 
-  * 1 Port 100/10 Wan Interface 
  * Unpopulated serial and USB headers   * Unpopulated serial and USB headers
-  * 4 MB Flash or 8 MB Flash (v1 is 8 MB)+ 
 +===== Clones ===== 
 +Known clone of this device: Mercury MWR300T+.
===== Supported Versions ===== ===== Supported Versions =====
Line 14: Line 10:
| v2  | - | Backfire 10.03 | Similar to v1 | | v2  | - | Backfire 10.03 | Similar to v1 |
| v3.x | - | Backfire 10.03.1 | Similar to v2 | | v3.x | - | Backfire 10.03.1 | Similar to v2 |
 +| v3.8 | - | Attitude Adjustment (12.09 final) | Same as v3, BUT DIFFERENT FLASH CHIP, Backfire will BRICK! see [[https://forum.openwrt.org/viewtopic.php?id=45922|topic]] |
| v4  | - | Backfire 10.03 | Similar to [[tl-wr741nd]] | | v4  | - | Backfire 10.03 | Similar to [[tl-wr741nd]] |
-| v5.1 | - | Backfire 10.03.1 | Similar to v4 |+| v5.0 | - | Attitude Adjustment (12.09 final) | Similar to [[tl-wr841nd]] v8, see [[https://forum.openwrt.org/viewtopic.php?pid=206667#p206667|OpenWrt forum post]] | 
 +| v5.1 | - | Attitude Adjustment (12.09 final) | Similar to [[tl-wr841nd]] v8, see [[https://forum.openwrt.org/viewtopic.php?pid=206667#p206667|OpenWrt forum post]] and [[https://forum.openwrt.org/viewtopic.php?pid=220561#p220561|OpenWrt forum post]] | 
 +| v6 | - | Barrier Breaker (14.07 final) | Similar to [[tl-wdr3500]] |
 +**WARNING**:!: (2013-08-04): ATTITUDE ADJUSTMENT 12.09 Final r36088 still works, but BARRIER BREAKER Bleeding Edge r37660 has a problem where it thinks the failsafe button is always pressed (on a v3.x) Unless if you know how to make a serial console and do TFTP, best to stay away from trunk for a while. [[https://forum.openwrt.org/viewtopic.php?id=44924|Internet search hints]] this may be true for more TP-Link models.
 +
 +**NOTE**:!: this may not be true with Barrier Breaker 14.07 final. Someone needs to confirm and update this section.
===== Hardware Highlights ===== ===== Hardware Highlights =====
Line 24: Line 26:
| v3 | AR9132@400MHz | 32MB | 4MB | 4x1 | No | Yes | N/A | | v3 | AR9132@400MHz | 32MB | 4MB | 4x1 | No | Yes | N/A |
| v4 | AR7240@400MHz | 32MB | 4MB | 4x1 | No | Yes | N/A | | v4 | AR7240@400MHz | 32MB | 4MB | 4x1 | No | Yes | N/A |
-| v5.1 | AR7240@400MHz | 32MB | 4MB | 4x1 | No | Yes | N/A |+| v5.0 | AR9341@535MHz | 32MB | 4MB | 4x1 | No | Yes | N/A | 
 +| v5.1 | AR9341@535MHz | 32MB | 4MB | 4x1 | No | Yes | N/A | 
 +| v6 | AR9344@560MHz | 64MB | 4MB | 4x1 | No | Yes | N/A | 
 + 
 +Note: The above spec for v5.0 and v5.1 is valid only if the FCC ID of your device is TE7WR941NXV5. If the FCC ID of your device is not TE7WR941NXV5 but the hardware version is v5.x, then the above spec doesn't apply to your device and you should proceed with caution.
===== Installation ===== ===== Installation =====
OpenWrt firmware can be flahsed via the OEM WebInterface. OpenWrt firmware can be flahsed via the OEM WebInterface.
 +  * You could log in to the OEM firmware as root using ''5up'' as password.
 +  * You can get into U-Boot typing ''tpl'' at the 1s pause at the beginning of the boot process.
==== OEM easy installation ==== ==== OEM easy installation ====
-These instructions use as example a v3 model, browse the [[http://downloads.openwrt.org/snapshots/trunk/ar71xx/|trunk snapshot repository]] for the binary that matches your hardware version. Pay also attention that we can find for each model version two similar files, one the //-factory// and the other one //-sysupgrade//, on this section we will use the **-factory** one.+These instructions use as example a v3 model, browse the [[https://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/|Barrier Breaker 14.07 final repository]] for the binary that matches your hardware version. Pay also attention that we can find for each model version two similar files, one the //-factory// and the other one //-sysupgrade//, on this section we will use the **-factory** one.
-  - Download the firmware binary from [[http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-tl-wr941nd-v3-squashfs-factory.bin|here]].+  - Download the firmware binary from [[https://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/openwrt-ar71xx-generic-tl-wr941nd-v3-squashfs-factory.bin|here]].
  - Login to the default WebGUI and flash the router.   - Login to the default WebGUI and flash the router.
  - Wait for the router to reboot, SYS LED will stop flashing and become static.   - Wait for the router to reboot, SYS LED will stop flashing and become static.
Line 44: Line 52:
<code> <code>
# cd /tmp # cd /tmp
-# wget http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-tl-wr941nd-v3-squashfs-sysupgrade.bin+# wget https://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/openwrt-ar71xx-generic-tl-wr941nd-v3-squashfs-sysupgrade.bin
# sysupgrade -v /tmp/openwrt-ar71xx-generic-tl-wr941nd-v3-squashfs-sysupgrade.bin # sysupgrade -v /tmp/openwrt-ar71xx-generic-tl-wr941nd-v3-squashfs-sysupgrade.bin
</code> </code>
Line 53: Line 61:
A 3.3v TTL serial connection is required ! ([[https://forum.openwrt.org/viewtopic.php?pid=83476#p83476|Forum post]]) A 3.3v TTL serial connection is required ! ([[https://forum.openwrt.org/viewtopic.php?pid=83476#p83476|Forum post]])
Do not try this method unless you're really sure what you're doing. Do not try this method unless you're really sure what you're doing.
 +
 +During UBOOT "1-second" message, quickly key sequence: tpl
 +to stop UBOOT from loading the kernel and go into uboot mode proper.
<code> <code>
ar7100> setenv serverip 192.168.1.254; setenv ipaddr 192.168.1.1 ar7100> setenv serverip 192.168.1.254; setenv ipaddr 192.168.1.1
-ar7100> tftp 0x80800000 openwrt-ar71xx-tl-wr941ndv2-squashfs.uni +ar7100> tftp 0x80800000 openwrt-ar71xx-tl-wr941ndv2-squashfs.sysupgrade.bin 
-ar7100> erase 0xbf020000 +0x3c0000+ar7100> erase.b 0xbf020000 +0x3c0000
ar7100> cp.b 0x80800000 0xbf020000 0x3c0000 ar7100> cp.b 0x80800000 0xbf020000 0x3c0000
ar7100> reset ar7100> reset
Line 99: Line 110:
===== Hardware ===== ===== Hardware =====
==== Info ==== ==== Info ====
-| **Architecture:** MIPS | +| **Instruction set:** MIPS |
| **Vendor:** Atheros | | **Vendor:** Atheros |
| **Bootloader:** uboot | | **Bootloader:** uboot |
| **System-On-Chip:** AP81 | | **System-On-Chip:** AP81 |
| **CPU Speed:** 400 Mhz | | **CPU Speed:** 400 Mhz |
-| **Flash-Chip:** ??? | +| **Flash-Chip:** S25FL032P (HW Ver 3.6) |
| **Flash size:** 4 MiB | | **Flash size:** 4 MiB |
| **RAM:** 32 MiB | | **RAM:** 32 MiB |
Line 114: Line 125:
==== Photos ==== ==== Photos ====
- 
TODO. TODO.
Line 124: Line 134:
  - Try to open the white plastic cover at the top only a little bit.   - Try to open the white plastic cover at the top only a little bit.
  - Unhinge the plastic cover at the front.   - Unhinge the plastic cover at the front.
 +
 +There is also an easy way to do it
 +      - Remove those two screws underneath the rubber feet at the back
 +    - Get your nails in the grooves underneath the router and lift the panel
 +    - Use your nails and slowly go around the case to Unhinge the plastic cover at the front
 +
 +
//Main PCB (not V3.2)// //Main PCB (not V3.2)//
-{{:inbox:tl-wr941nd-board.jpg?600|}}+{{:inbox:tl-wr941nd-board.jpg?400|}}
serial pin ver: 5.1 serial pin ver: 5.1
-{{:toh:tp-link:tl-wr941nd.v5.1.jpg|}}+{{:toh:tp-link:tl-wr941nd.v5.1.jpg?400|}}
==== Serial ==== ==== Serial ====
- 
Look at the PCB picture. Serial port is located were the 4 wires are soldered to the board. The left one (green) is soldered to the pad labeled "P1".\\ Look at the PCB picture. Serial port is located were the 4 wires are soldered to the board. The left one (green) is soldered to the pad labeled "P1".\\
Pinout of the port is : |TX|RX|GND|VCC(3.3)| (direction as seen in PCB picture below; Pad "P1" is TX)\\ Pinout of the port is : |TX|RX|GND|VCC(3.3)| (direction as seen in PCB picture below; Pad "P1" is TX)\\
Line 142: Line 158:
It is not possible to directly connect the serial port to one of your computer (voltage mismatch). You have to use a converter (i.e. a Nokia CA-42 cable, serial to USB converter or something similar. An Arduino MEGA with a simple serial bridge also works). It is not possible to directly connect the serial port to one of your computer (voltage mismatch). You have to use a converter (i.e. a Nokia CA-42 cable, serial to USB converter or something similar. An Arduino MEGA with a simple serial bridge also works).
-{{:toh:tp-link:serial_if.jpg|}}+On the ver3 board, there is a 4.7k pull-down resistor on the RX pin. To interface with 5V devices (such as the Arduino MEGA), use a 2k2 resistor in series with the RX pin (Arduino's TX pin). Arduino's RX pin can be connected directly with the router's TX pin. 
 + 
 +{{:toh:tp-link:serial_if.jpg?400|}}
**PCB WR941ND Ver: 3** **PCB WR941ND Ver: 3**
 +
 +{{:media:qq20130527-2.png?400|}}
 +
 +
 +**PCB WR941ND Ver: 6**
 +
 +Once the original firmware has booted up completely, you can press **return** to activate the Linux login prompt.
 +
 +The password to get a root Shell access is **5up**:
 +<code>TL-WR941N mips #32 Wed Oct 17 18:08:12 PDT 2012
 +TL-WR941N login: root
 +password: 5up</code>
==== JTAG ==== ==== JTAG ====
Line 150: Line 180:
===== Specific configuration ===== ===== Specific configuration =====
- 
-==== Interfaces ==== 
-The default network configuration is: 
-^ Interface Name ^ Description ^ Default configuration ^ 
-| br-lan | LAN & Wireless | 192.168.1.1/24 |  
-| lan1 | LAN port #1 | None |  
-| lan2 | LAN port #2 | None |  
-| lan3 | LAN port #3 | None |  
-| lan4 | LAN port #4 | None |  
-| wan | WAN port | DHCP |  
-| wlan0 | Wireless | Disabled |  
==== VLAN Config ==== ==== VLAN Config ====
Line 166: Line 185:
Setting up VLAN is a bit different from other devices: Setting up VLAN is a bit different from other devices:
-First, you have to edit /etc/rc.local (sample config for VLAN 100 and 200 on trunk port lan4:+First, you have to edit /etc/rc.local (sample config for VLAN 100 and 200 on trunk port lan4):
'' ''
# Put your custom commands here that should be executed once # Put your custom commands here that should be executed once
Line 191: Line 210:
  * the reset button at the back   * the reset button at the back
  * the "QSS" labeled button at the front   * the "QSS" labeled button at the front
- 
-==== WiFi ==== 
-If needed, for wifi install ath9k driver by: 
-'' 
-opkg update 
-opkg install kmod-ath9k wpad-mini 
- 
-reboot 
-'' 
-after you rebooted activate wifi by 
-'' 
-wifi detect 
-'' 
- 
-modify wireless config: 
-'' 
-vi /etc/config/wireless 
-'' 
- 
-config should like something like: 
-'' 
-config wifi-device  radio0 
- option type    mac80211 
- option channel  5 
- option macaddr 00:27:19:1f:72:54 
- option hwmode 11ng 
- option htmode HT20 
- list ht_capab SHORT-GI-40 
- list ht_capab DSSS_CCK-40 
- # REMOVE THIS LINE TO ENABLE WIFI: 
- option disabled 0 
- 
-config wifi-iface 
- option device  radio0 
- option network  lan 
- option mode    ap 
- option ssid    URNETNAME 
-# option encryption none 
- option encryption psk2 
- option key YourTopSecretPass 
-'' 
===== Basic configuration ===== ===== Basic configuration =====
Line 238: Line 216:
===== Connect stuff to the USB port ===== ===== Connect stuff to the USB port =====
If you have an USB port, please see [[doc:howto:usb.overview|Connect stuff to the USB port]]. If you have an USB port, please see [[doc:howto:usb.overview|Connect stuff to the USB port]].
 +
===== Hardware mods ===== ===== Hardware mods =====
Line 248: Line 227:
[[https://forum.openwrt.org/viewtopic.php?id=18354|Unpowered USB header on board]] [[https://forum.openwrt.org/viewtopic.php?id=18354|Unpowered USB header on board]]
-===== Other Info =====+  * [[http://download.lark.net.cn/wr941n/hack/|lark´s wr941nd files]] 
 +  * [[https://forum.openwrt.org/viewtopic.php?id=18354]]
-==== Stock firmware ==== 
-  * You can log in as root using '5up' as password. 
-  * You can get into U-Boot typing 'tpl' at the 1s pause at the beginning of the boot process. 
-==== Credits ==== +===== Tags ===== 
- +{{tag&gt;FastEthernet 1NIC 1WNIC ath9k}}
-  * [[http://download.lark.net.cn/wr941n/hack/|lark´s wr941nd files]] +
-  * [[https://forum.openwrt.org/viewtopic.php?id=18354]] +
- * [[http://www.dd-wrt.com/phpBB2/viewtopic.php?t=85237&amp;postdays=0&postorder=asc&start=0|Files for reverting from DD-WRT to STOCK FIRMWARE]]+

Back to top

toh/tp-link/tl-wr941nd.1356023198.txt.bz2 · Last modified: 2012/12/20 18:06 by europhil