User Tools

Site Tools


toh:tp-link:tl-wr941nd

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-wr941nd [2012/12/20 18:06]
europhil VLAN config for TP-Link 941 added
toh:tp-link:tl-wr941nd [2015/05/10 22:20] (current)
aczlan [Failsafe mode]
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+. 
 + 
 + 
 +===== Hardware Highlights ===== 
 +^ Ver ^ CPU ^ RAM ^ Flash ^ Network ^ Wireless ^ USB ^ Serial ^ JTag ^ Wiki ^ FCC ^ 
 +v1 | Atheros AR9132 400MHz | 32MB | 8MB | 1 WAN + 4x LAN (100 Mbit| AR9132 [bgn 3x3:2] + AR9103 [bgn 3x3:2] | No | Yes | N/A | [[https://​wikidevi.com/​wiki/​TP-LINK_TL-WR941ND_v1.0|Link]] | [[https://​fcc.io/​TE7/​WR941NX|FCC ID TE7WR941NX]] | 
 +| v2 | Atheros AR9132 400MHz | 32MB | 4MB | 1 WAN + 4x LAN (100 Mbit) | AR9132 [bgn 3x3:2] + AR9103 [bgn 3x3:2] | No | Yes | N/A | [[https://​wikidevi.com/​wiki/​TP-LINK_TL-WR941ND_v2.x|Link]] |  | 
 +| v3 | Atheros AR9132 400MHz | 32MB | 4MB | 1 WAN + 4x LAN (100 Mbit) | AR9132 [bgn 3x3:2] + AR9103 [bgn 3x3:2] | No | Yes | N/A | [[https://​wikidevi.com/​wiki/​TP-LINK_TL-WR941ND_v3.x|Link]] |  | 
 +| v4 | Atheros AR7240 400MHz | 32MB | 4MB | 1 WAN + 4x LAN (100 Mbit) |  | No | Yes | N/A | | | 
 +| v5.x | Atheros AR9341 535MHz | 32MB | 4MB | 1 WAN + 4x LAN (100 Mbit) | AR9341 [bgn 2x2:2] | No | Yes | N/A |[[https://​wikidevi.com/​wiki/​TP-LINK_TL-WR941ND_v5.x|Link]] | [[https://​fcc.io/​TE7/​WR941NXV5|FCC ID TE7WR941NXV5]] | 
 +| v6 | Atheros AR9344 560MHz | 64MB | 4MB | 1 WAN + 4x LAN (100 Mbit) |  | No | Yes | N/A | | | 
 + 
 +{{:​meta:​icons:​tango:​48px-emblem-important.svg.png?​nolink |Important!}} The above spec for v5.x 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. 
  
 ===== Supported Versions ===== ===== Supported Versions =====
-Version/​Model ​^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^+Ver ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^
 | v1   | - | Backfire 10.03 | N/A  | | v1   | - | Backfire 10.03 | N/A  |
 | 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 |
-| v4   | - | Backfire 10.03 | Similar to [[tl-wr741nd]] | +| v3.8 | - | Attitude Adjustment 12.09 | Same as v3, BUT DIFFERENT FLASH CHIP, Backfire will BRICK! See [[https://​forum.openwrt.org/​viewtopic.php?​id=45922|forum post]]. | 
-| v5.| - | Backfire 10.03.1 | Similar to v4 |+| v4   | - | Backfire 10.03 | Similar to [[tl-wr741nd|TL-WR741ND]]
 +| v5.| - | Attitude Adjustment 12.09 | Similar to [[tl-wr841nd|TL-WR841ND]] v8, see [[https://​forum.openwrt.org/​viewtopic.php?​pid=206667#​p206667|forum post]]. | 
 +| v5.1 | - | Attitude Adjustment 12.09 | Similar to [[tl-wr841nd|TL-WR841ND]] v8, see [[https://​forum.openwrt.org/​viewtopic.php?​pid=206667#​p206667|this forum post]] and [[https://​forum.openwrt.org/​viewtopic.php?​pid=220561#​p220561|this forum post]]. | 
 +| v6 | - | Barrier Breaker 14.07 | Similar to [[tl-wdr3500|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.
  
-===== Hardware Highlights ===== 
-^ Version ^ CPU ^ Ram ^ Flash ^ Network ^ USB ^ Serial ^ JTag ^ 
-| v1 | AR9132@400MHz | 32MB | 8MB | 4x1 | No | Yes | N/A | 
-| v2 | 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 | 
-| v5.1 | AR7240@400MHz | 32MB | 4MB | 4x1 | No | Yes | N/A | 
  
 ===== 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 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.
-  - Telnet ​to 192.168.1.1,​ set a root password and enjoy.+  - Browse or telnet ​to 192.168.1.1,​ set a root password and enjoy.
  
-==== Upgrading OpenWrt ====+==== Upgrading OpenWrt ​via command line (otherwise just use Luci) ====
 If you have already installed OpenWrt and like to reflash for e.g. upgrading to a new OpenWrt version you can upgrade using the console/​terminal. It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing otherwise crazy things can happen. If you have already installed OpenWrt and like to reflash for e.g. upgrading to a new OpenWrt version you can upgrade using the console/​terminal. It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing otherwise crazy things can happen.
  
Line 44: Line 53:
 <​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 62:
 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 92: Line 104:
 ===== Failsafe mode ===== ===== Failsafe mode =====
 ->​[[doc:​howto:​generic.failsafe]] ->​[[doc:​howto:​generic.failsafe]]
 +
 +__**NETWORKING IN FAILSAFE MODE IS CURRENTLY BROKEN**__ - See https://​dev.openwrt.org/​ticket/​10436
 +
  
   * While the SYS LED is on immediately press the QSS button.   * While the SYS LED is on immediately press the QSS button.
Line 99: Line 114:
 ===== 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 129:
  
 ==== Photos ==== ==== Photos ====
- 
 TODO. TODO.
  
Line 124: Line 138:
   - 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 162:
 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 184:
  
 ===== 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 189:
 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 214:
   * 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 220:
 ===== 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 231:
 [[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>​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&​postdays=0&​postorder=asc&​start=0|Files for reverting from DD-WRT to STOCK FIRMWARE]]+
toh/tp-link/tl-wr941nd.1356023198.txt.bz2 · Last modified: 2012/12/20 18:06 by europhil