Differences

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

toh:tp-link:tl-wr841nd [2014/02/19 12:30]
seberm
toh:tp-link:tl-wr841nd [2014/09/20 09:11] (current)
rixuhiy
Line 31: Line 31:
| v7.2 | - |  12.09  | UFO shape -- Fully working with 12.09 | | v7.2 | - |  12.09  | UFO shape -- Fully working with 12.09 |
| v8.x (chinese version) | - |  Trunk r29631(modified)  | need hardware mod | | v8.x (chinese version) | - |  Trunk r29631(modified)  | need hardware mod |
-| v8.x (Intl) | 2012-Aug |  [[http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-tl-wr841n-v8-squashfs-factory.bin|12.09]]  | [[.:tl-db120|DB120]] |+| v8.x (Intl) | 2012-Aug |  [[http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-tl-wr841n-v8-squashfs-factory.bin|12.09]]  | [[.:tl-db120|DB120]] - [[https://dev.openwrt.org/ticket/15448|IPv6 bug]] | 
 +| v9 | 2014 | trunk r40400 | Fully working with Barrier Breaker RC3 or [[https://dev.openwrt.org/changeset/40695|r40695]] (Wifi tx power setting fixed) ; Works also with the snapshot obtained on 29th May ( [[http://downloads.openwrt.org/snapshots/trunk/ar71xx/|search for wr841]] , [[http://wiki.openwrt.org/doc/howto/snapshots|What is a snapshot]], [[https://forum.openwrt.org/viewtopic.php?id=48355|useful forum discussion]] |
===== Hardware ===== ===== Hardware =====
-^ Version ^ v3 ^ v5 ^ v7.1 ^ v7.2 ^ v8.0 ^ +^ Version ^ v3 ^ v5 ^ v7.1 ^ v7.2 ^ v8.0 ^ v9.0 ^ 
-| **[[wp>Instruction set]]:** | [[wp>MIPS Architecture|MIPS]] ||||| +| **[[wp>Instruction set]]:** | [[wp>MIPS Architecture|MIPS]] |||||| 
-| **Vendor:** | Atheros ||||| +| **Vendor:** | Atheros |||||| 
-| **[[doc:techref:Bootloader]]:** | [[doc:techref:Bootloader:UBoot]] ||||| +| **[[doc:techref:Bootloader]]:** | [[doc:techref:Bootloader:UBoot]] |||||| 
-| **[[doc:hardware:soc|System-On-Chip]]:** | AR9130 | AR7240 rev 2 | AR7241 rev 1 | AR7241-AH1A | AR9341 | +| **[[doc:hardware:soc|System-On-Chip]]:** | AR9130 | AR7240 rev 2 | AR7241 rev 1 | AR7241-AH1A | AR9341 | QCA9533-AL3A
-| **[[doc:hardware:CPU]] Frq:** | 400 Mhz | 400 Mhz | 400 Mhz | 400 Mhz | 535 Mhz | +| **[[doc:hardware:CPU]] Frq:** | 400 Mhz | 400 Mhz | 400 Mhz | 400 Mhz | 535 Mhz | 550 MHz
-| **BogoMIPS:** | 265.42 | 266.24 | 265.42 | 265.42 | 266.64 | +| **BogoMIPS:** | 265.42 | 266.24 | 265.42 | 265.42 | 266.64 | 366.18
-| **Flash-Chip:** | ? | ? | ? | cFeon F32-100HIP (?) | FL032PIF | +| **Flash-Chip:** | ? | ? | ? | cFeon F32-100HIP (?) | Spansion FL032PIF | Spansion FL032PIF | 
-| **Flash size:** | 4 MiB | 4 MiB | 4 MiB | 4 MiB | 4 MiB | +| **Flash size:** | 4 MiB | 4 MiB | 4 MiB | 4 MiB | 4 MiB | 4 MiB | 
-| **RAM-Chip:** | ? | ? | ? | Zentel A3S56D40ETP-G5 | ? | +| **RAM-Chip:** | ? | ? | ? | Zentel A3S56D40ETP-G5 | ? | Winbond W9425G6JH-5
-| **RAM size:** | 32 MiB | 32 MiB | 32 MiB | 32 MiB | 32 MiB | +| **RAM size:** | 32 MiB | 32 MiB | 32 MiB | 32 MiB | 32 MiB | 32 MiB | 
-| **Wireless No1:** | Atheros AR9100 Rev:7 | Atheros AR9280 Rev:2 | Atheros AR9287 Rev2, 2.4GHz, 802.11bgn | Atheros AR9287-BL1A 2.4ghz 802.11bgn | AR9341 | +| **Wireless No1:** | Atheros AR9100 Rev:7 | Atheros AR9280 Rev:2 | Atheros AR9287 Rev2, 2.4GHz, 802.11bgn | Atheros AR9287-BL1A 2.4ghz 802.11bgn | AR9341 | QCA9533-AL3A
-| **Wireless No2:** | none ||||| +| **Wireless No2:** | none |||||| 
-| **[[doc:hardware:Switch]]:** | ? | AR7240 built-in switch | AR7240/AR9330 built-in switch | ? | AR9341 built-in switch | +| **[[doc:hardware:Switch]]:** | ? | AR7240 built-in switch | AR7240/AR9330 built-in switch | ? | AR9341 built-in switch | QCA9533-AL3A build-in
-| **USB:** | ? | [[#usb.1.1.port|Unpopulated]] | [[#usb.2.0.port.on.v7| unpopulated ]] | ? | ? | +| **USB:** | ? | [[#usb.1.1.port|Unpopulated]] | [[#usb.2.0.port.on.v7| unpopulated ]] | ? | ? | ? | 
-| **[[doc:hardware:port.serial|Serial]]:** | [[#Serial|Yes]] | [[#Serial|Yes]] | [[#Serial|Yes]] | [[#Serial|Yes]] | [[#Serial|Yes]] | +| **[[doc:hardware:port.serial|Serial]]:** | [[#Serial|Yes]] | [[#Serial|Yes]] | [[#Serial|Yes]] | [[#Serial|Yes]] | [[#Serial|Yes]] | [[#Serial|Remove R26]] | 
-| **[[doc:hardware:port.jtag|JTAG]]:** | ? | ? | ? | ? | [[#JTAGlYes]] |+| **[[doc:hardware:port.jtag|JTAG]]:** | ? | ? | ? | ? | [[#JTAGlYes]] | ? |
===== Installation ===== ===== Installation =====
-Flash the 12.09 squashfs images only, the jffs images will brick the router (not enough space on 4Mb flash) ([[https://dev.openwrt.org/ticket/13659|bug report]]). +Flash the squashfs images only, the jffs images will brick the router (not enough space on 4Mb flash) ([[https://dev.openwrt.org/ticket/13659|bug report]]).
==== Installing OpenWrt on TP-Link TL-WR841ND V5: ==== ==== Installing OpenWrt on TP-Link TL-WR841ND V5: ====
Line 72: Line 73:
  - Sit and wait while it flashes. It will reboot and be accessible at 192.168.1.1.    - Sit and wait while it flashes. It will reboot and be accessible at 192.168.1.1. 
:!:  Warning! in some cases after reboot you don't have web interface (GUI), only telnet and ssh access. You can install GUI, for details see: [[doc/howto/luci.essentials]], but before install LuCI (GUI) you need to configure your router to have access to internet, for configuration see: [[doc/howto/internet.connection]] :!:  Warning! in some cases after reboot you don't have web interface (GUI), only telnet and ssh access. You can install GUI, for details see: [[doc/howto/luci.essentials]], but before install LuCI (GUI) you need to configure your router to have access to internet, for configuration see: [[doc/howto/internet.connection]]
 +
 +==== Installing OpenWrt on TP-Link TL-WR841ND V9: ====
 +  - V9 is currently only supported in Barrier Breaker
 +  - Download V9 image from: http://downloads.openwrt.org/barrier_breaker/14.07-rc3/ar71xx/generic/openwrt-ar71xx-generic-tl-wr841n-v9-squashfs-factory.bin
 +  - Log in to router web interface http://192.168.0.1/ go to firmware upgrade and select the firmware image you just downloaded
 +  - Sit and wait while it flashes. It will reboot and be accessible at 192.168.1.1. 
 +The Barrier Breaker RC3 image already includes a GUI, you do not have to install it manually.
==== TFTP install ==== ==== TFTP install ====
Line 126: Line 134:
</code> </code>
-For TL-WR841ND v5, v7 and v8:<code>+For TL-WR841ND v5, v7, v8, v9:<code>
ar7240> erase 0x9f020000 +0x3c0000 ar7240> erase 0x9f020000 +0x3c0000
... ...
Line 133: Line 141:
</code> </code>
-  - You're set, OpenWrt should now boot and you can set it up as usual:<code> + 
-U-Boot 1.1.4 (Apr  9 2009 - 12:29:57)</code>+ 
 +For TL-WR841ND v8.2: 
 + 
 +First of all, you need a TTL-RS232 level shifter, like this or DKU-5 data cable. It's work with other boards. 
 + 
 +{{:media:max3232.gif?500}} 
 + 
 + 
 +1. Hook your computer into the LAN1 ethernet port and configure this static ip for your LAN card 192.168.1.100. If your computer containing other LAN or Wifi card, disable it! 
 + 
 +2. Type in the console 
 +<code>setenv ipaddr 192.168.1.111 
 +setenv serverip 192.168.1.100</code> 
 +192.168.1.111 is the router ip, 192.168.1.100 is the TFTP server ip. 
 + 
 +3. Check settings with this command, but it's not necessary. 
 +<code>printenv</code> 
 +4. Load the firmware to RAM, witch is not containing the bootloader: 
 +<code>wasp> tftp 0x81000000 firmwarename.bin 
 +Using eth0 device 
 +TFTP from server 192.168.1.100; our IP address is 192.168.1.111 
 +Filename 'firmwarename.bin'. 
 +Load address: 0x81000000 
 +Loading: 
 +        ################################################################# 
 +        ################################################################# 
 +        ################################################################# 
 +        ################################################################# 
 +        ################################################################# 
 +        ################################################################# 
 +        ################################################################# 
 +        ################################################################# 
 +        ################################################################# 
 +        ################################################################# 
 +        ################################################################# 
 +        ###################################################### 
 +done 
 +Bytes transferred = 3932160 (3c0000 hex)</code> 
 + 
 +Firmware is now in the RAM. 
 + 
 +5. Erase the flash: 
 +<code>wasp> erase 0x9f020000 +0x3c0000</code> 
 +6. Copy RAM content to flash: 
 +<code>wasp> cp.b 0x81000000 0x9f020000 0x3c0000 
 +</code> 
 +7. Set up the boot 
 +<code>wasp> bootm 0x9f020000 
 +## Booting image at 9f020000 ... 
 +Uncompressing Kernel Image ... OK 
 + 
 +Starting kernel ...</code> 
 + 
 +8. Done ;-) 
 + 
 + 
===== Go back to original firmware ===== ===== Go back to original firmware =====
 +-> [[doc:howto:generic.uninstall]]
-  * Download the original firmware from TP-Link's site (IMPORTANT: Download a firmware which has does not contain the word //boot// in it's filename (such as wr741nv1_en_3_9_18_up_boot(100104).bin), extract the file and rename it to something short and simple such as ''tplink.bin''.+{{page>meta:infobox:dangerous&noheader&nofooter&noeditbtn}}
-[[http://www.tp-link.com/Resources/software/TL-WR841N_V8_120522.zip| TP-Link wr841n v.8 firmware w/o boot in title ]]+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-WR841N
-  * tested to work on n, might work on nd 9-11-2013 - note - edited link to ND and it also downloaded the same file.  Thanks to Undermonster on openwrt forum. +  * 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 
-  * Note: restore to old (smaller) firmware mentioned above to avoid "[e]Failed to erase block" error, then upgrade in the TP-Link web interface to the latest firmware [[http://www.tp-link.com/resources/software/TL-WR841N_V8_130506.zip| TL-WR841N_V8_130506]]+  * 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:
-  * Upload it to ''/tmp''-directory on your router and execute:<code> + 
-mtd -r write /tmp/tplink.bin firmware+The following method applies both for the V1 V1.5 V3 V5 V7 V8 and V9 since the bootloader is the same size. 
 + 
 + 
 +An example of an image file with the word "boot" in it is ''wr841nv9_en_3_14_4_up_boot(131129).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> </code>
-  * Be careful, if you were hit by the "missing web interface" problem described above, you will be probably see the same issue when flashing back to OEM and the box will lack in telnet or ssh, too, so no way to get out without hardware intervention.+ 
 +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 tplink.bin firmware 
 +</code> 
 + 
 +It is also possible to revert to the stock firmware using the method with tftp described in "TFTP install". (you still need the firmware images without the boot part). 
 + 
 +OEM TP-Link firmware for the TL-WR841ND with the **//boot part removed//** or the original firmware if there wasn't a boot part to revert to the original OEM firmware: 
 +  * TL-WR841N(D) **//V1//** [[http://www.tplink.com/resources/software/2008613143645.zip|2008613143645.zip]] 
 +  * TL-WR841N(D) **//V1.5//** [[http://www.tplink.com/resources/software/2008618104149.zip|2008618104149.zip]] 
 +  * TL-WR842N(D) **//V3//** [[http://q.gs/6givu|TL-WR841ND-V3-stripped.zip]] 
 +  * TL-WR841N(D) **//V5//** [[http://www.tplink.com/resources/software/201112613340616.zip|201112613340616.zip]] 
 +  * TL-WR841N(D) **//V7//** [[http://www.tplink.com/Resources/software/TL-WR841N_WR841ND_v7_120201.zip|TL-WR841N_WR841ND_v7_120201.zip]] 
 +  * TL-WR842N(D) **//V8//** [[http://q.gs/6gisX|TL-WR841ND-V8-stripped.zip]] 
 +  * TL-WR842N(D) **//V9//** [[http://q.gs/6git8|TL-WR841ND-V9-stripped.zip]] 
 + 
===== Failsafe mode ===== ===== Failsafe mode =====
Line 178: Line 273:
Debricking see the above, but you will have to plug your cable to WAN port in failsafe to be able to telnet 192.168.1.1. Debricking see the above, but you will have to plug your cable to WAN port in failsafe to be able to telnet 192.168.1.1.
 +
 +===v8.1 note===
 +
 +Try LAN port 1 instead of WAN port. The Link LEDs won't work.
===== Basic configuration ===== ===== Basic configuration =====
[[doc:howto:configuration]] [[doc:howto:configuration]]
 +
 +==== Repeater / Multiple SSID / Virtual access point / Client bridge ====
 +[[https://forum.openwrt.org/viewtopic.php?id=39077|Basic information about repeater configuration on a forum thread]]. Tested with the wr841n v9 with ''Linux OpenWrt-tplink 3.10.36 #1 Thu May 29 06:34:50 UTC 2014 mips GNU/Linux/'' . The system supports multiple virtual access points.
 +
 +Modify the files that follows according to your needs (and, in the case, search for the file definition here in the wiki to understand how it works)
 +
 +=== etc/config/wireless ===
 +<code>
 +config wifi-device  radio0
 +        option type    mac80211
 +        option channel  9 #same channel of the existing wifi network
 +        option path    'platform/qca953x_wmac'
 +        option txpower  12 #this depends on your needs, default is 20 dBm. Lower it is healthier (citation needed)
 +        # REMOVE THIS LINE TO ENABLE WIFI:
 +        #option disabled 1
 +
 +config wifi-iface
 +        option device  radio0
 +        option network  lan
 +        option mode    ap
 +        option ssid    'This_is_a_new_wifi_network'
 +        option encryption      psk2 #wpa2 psk
 +        option key      'this_is_the_wifi_password'
 +
 +config wifi-iface
 +        option device  radio0
 +        option network  wan
 +        option mode    'sta'
 +        option ssid    'This_is_the_name_of_the_existing_wifi_network'
 +        option encryption      psk2
 +        option key      'this_is_the_wifi_password_to_get_the_connection'
 +</code>
 +
 +=== etc/config/network ===
 +<code>
 +config interface 'loopback'
 +        option ifname 'lo'
 +        option proto 'static'
 +        option ipaddr '127.0.0.1'
 +        option netmask '255.0.0.0'
 +
 +config globals 'globals'
 +        option ula_prefix 'here is written something, no need to modify it'
 +
 +config interface 'lan'
 +        option ifname 'eth0'
 +        option force_link '1'
 +        option type 'bridge'
 +        option proto 'static'
 +        option ipaddr '192.168.11.1' ä modify this according to you needsfor the lan network
 +        option netmask '255.255.255.0'
 +        option ip6assign '60'
 +
 +config interface 'wan'
 +        #option ifname 'eth1'
 +        option proto 'dhcp'
 +
 +config interface 'wan6'
 +        option ifname '@wan'
 +        option proto 'dhcpv6'
 +
 +config switch
 +        option name 'switch0'
 +        option reset '1'
 +        option enable_vlan '1'
 +
 +config switch_vlan
 +        option device 'switch0'
 +        option vlan '1'
 +        option ports '0 1 2 3 4'
 +</code>
 +
 +=== etc/config/dhcp ===
 +Pratically unchanged
 +<code>
 +config dnsmasq
 +        option domainneeded '1'
 +        option boguspriv '1'
 +        option filterwin2k '0'
 +        option localise_queries '1'
 +        option rebind_protection '1'
 +        option rebind_localhost '1'
 +        option local '/lan/'
 +        option domain 'lan'
 +        option expandhosts '1'
 +        option nonegcache '0'
 +        option authoritative '1'
 +        option readethers '1'
 +        option leasefile '/tmp/dhcp.leases'
 +        option resolvfile '/tmp/resolv.conf.auto'
 +
 +config dhcp 'lan'
 +        option interface 'lan'
 +        option start '100'
 +        option limit '150'
 +        option leasetime '12h'
 +        option dhcpv6 'hybrid'
 +        option ra 'hybrid'
 +        option ndp 'hybrid'
 +
 +config dhcp 'wan'
 +        option interface 'wan'
 +        option ignore '1'
 +
 +config odhcpd 'odhcpd'
 +        option maindhcp '0'
 +        option leasefile '/tmp/hosts/odhcpd'
 +        option leasetrigger '/usr/sbin/odhcpd-update'
 +
 +config dhcp 'wan6'
 +        option dhcpv6 'hybrid'
 +        option ra 'hybrid'
 +        option ndp 'hybrid'
 +        option master '1'
 +</code>
 +
 +=== etc/config/firewall ===
 +Pratically unchanged because the "client" wifi is connected to the "wan" interface, while the "repeater" wifi is connected to the lan interface, thus the firewall is basically already configured.
 +<code>
 +config defaults
 +        option syn_flood        1
 +        option input            ACCEPT
 +        option output          ACCEPT
 +        option forward          REJECT
 +# Uncomment this line to disable ipv6 rules
 +#      option disable_ipv6    1
 +
 +config zone
 +        option name            lan
 +        list  network          'lan'
 +        option input            ACCEPT
 +        option output          ACCEPT
 +        option forward          ACCEPT
 +
 +config zone
 +        option name            wan
 +        list  network          'wan'
 +        list  network          'wan6'
 +        option input            REJECT
 +        option output          ACCEPT
 +        option forward          REJECT
 +        option masq            1
 +        option mtu_fix          1
 +
 +config forwarding
 +        option src              lan
 +        option dest            wan
 +</code>
 +=== Final actions ===
 +Just be sure that the files are saved. To edit the files on windows, either use vi on the openwrt, check for a tutorial online, the basic commands are not difficult; or use winscp with a SCP connection and edit the files with an editor on windows. Then reboot the system and check for the wifi connection.
 +
 +Remember that if the "client" wifi doesn't work, won't work also the repeater wifi network.
 +
 +===== Use WPS with WPS button =====
 +// found info in Netgear WNDR3700 page  [[toh:netgear]] and adapted for WR841N //
 +
 +==== Prepare and install WPS ====
 +  - Follow the instructions for installing WPS : See [[doc:uci:wireless#wps.options]]
 +  - Your '/etc/config/wireless' file should be like that :
 +<code>
 +config wifi-iface
 +        option device 'radio0'
 +        option network 'lan'
 +        option mode 'ap'
 +        option ssid 'XXXXXXXXXXXXXXX'
 +        option key 'XXXXXXXXXXXXXXXXXXXXXXX'
 +        option wps_pushbutton '1'
 +        option wps_config 'push_button'
 +        option encryption 'psk2'
 +</code>
 +==== Check configuration ====
 +  - After reboot, if everything is ok, you can test with this command:
 +<code>
 +root@OpenWrt /root# hostapd_cli -p /var/run/hostapd-phy0 wps_pbc
 +Selected interface 'wlan0'
 +OK
 +</code>
 +==== Plug button action ====
 +  - Now, we can configure the WPS button on back on TL-WR841N to launch this command when we pressed it. Edit the file '/etc/hotplug.d/button/50-wps'
 +<code>
 +#!/bin/sh
 +# for debugging button name and action name, uncomment this 2 lines
 +#logger $BUTTON
 +#logger $ACTION
 +
 +if [ "$ACTION" = "pressed" -a "$BUTTON" = "reset" ]; then
 +        for dir in /var/run/hostapd-*; do
 +                [ -d "$dir" ] || continue
 +                hostapd_cli -p "$dir" wps_pbc
 +        done
 +fi
 +</code>
 +If everything goes ok, you should see in Syslog not only the button events, but also succesful WPS authentication.
 +
 +
 +
==== Wifi on/off toggle by QSS button ==== ==== Wifi on/off toggle by QSS button ====
Read [[doc:howto:hardware.button|this howto]] to use buttons on TP-Link Read [[doc:howto:hardware.button|this howto]] to use buttons on TP-Link
Line 216: Line 511:
If you do not have serial port on your PC, use [[http://www.dealextreme.com/p/data-cable-compatible-with-nokia-ca-42-446|Nokia CA-42 data USB cable]]. If you do not have serial port on your PC, use [[http://www.dealextreme.com/p/data-cable-compatible-with-nokia-ca-42-446|Nokia CA-42 data USB cable]].
-**For TP-LINK WR841ND V7.2 power conector (+5V) is ignored, just connect RX - TX - GND and router power cord, work fine...** 
-Another user notes: My TP-LINK WR841ND V7.2 has a VCC of +3.3V and like the TL-MR3420 [[http://wiki.openwrt.org/toh/tp-link/tl-mr3420#serial]] needed to connect a 10k pullup resistor between the TX and the 3.3V pin to get reliable serial.+==== Yet another user notes ====
-{{:media:dsc02532_324.jpg?250|}}+  * For TP-LINK WR841ND V7.2 power conector (+5V) is ignored, just connect RX - TX - GND and router power cord, work fine... 
 +  * My TP-LINK WR841ND V7.2 has a VCC of +3.3V and like the TL-MR3420 [[http://wiki.openwrt.org/toh/tp-link/tl-mr3420#serial]] needed to connect a 10k pullup resistor between the TX and the 3.3V pin to get reliable serial: 
 +  {{:media:dsc02532_324.jpg?800|}}
-Yet another user notes: My TP-Link WR841ND V7.1 also requires the 10k pullup resistor between TX and the 3.3V pin.  Without the resistor I just get garbage when I type, but can see some console output. +  * My TP-Link WR841ND V7.1 also requires the 10k pullup resistor between TX and the 3.3V pin.  Without the resistor I just get garbage when I type, but can see some console output.  
 +  * just swap TX and GND pin in serial and no garbage in serial console, but this is read-only. 
 +  * For my TP-Link TL841N v9.0 i had to remove R26. It's a pull-up between RX (device side) and VCC. My ftdi device couldn't send data with R26 attached. 
 +  * For my TP-Link TL-WR841ND v8.4 was not required 10K resistor. My TTL to RS232 converter has bad marking of Tx and Rx pins. So, it was necessary to connect Tx-Tx and Rx-Rx. The connection of Vcc (3.3V) was necessary too. The connection scheme you can find on the following image: 
 +    {{:media:tplink-841nd-v8-4-serial.jpg?800|}}
-Yet another-another user notes:just swap TX and GND pin in serial and no garbage in serial console, but this is read-only. 
- 
-Yet another-another-another user notes: For my TP-Link TL-WR841ND v8.4 was not required 10K resistor. Connection you can see on the following image: 
-{{:media:tplink-841nd-v8-4-serial.jpg?450|}} 
- 
-I think my TTL to RS232 converter has bad marking of Tx and Rx pins. So, it was necessary to connect Tx-Tx and Rx-Rx. Connection of Vcc (3.3V) was necessary too. 
**Tip:** Connecting TL-WR841N v8.1 via Arduino Due R3 ([[https://forum.openwrt.org/viewtopic.php?id=37010&p=6 | forum link]]): **Tip:** Connecting TL-WR841N v8.1 via Arduino Due R3 ([[https://forum.openwrt.org/viewtopic.php?id=37010&p=6 | forum link]]):
Line 237: Line 531:
=== Serial port settings: === === Serial port settings: ===
-^ Version ^ v3.2 ^ v5 ^ v7.X ^ v8.4 ^ +^ Version ^ v3.2 ^ v5 ^ v7.X ^ v8.4 ^ v9.0
-| **Image** | {{:toh:tp-link:tl-wr841nd-v3.2-serial.jpg?250|}} | {{:toh:tp-link:wr841nd-v5-serial.jpg?250|}} | {{:toh:tp-link:tl-wr841nd.v7.2.serial.jpg?250|}} | {{:media:toh:tp-link:tl-wr841nd.v8.4.serial.jpg?250}} | +| **Image** | {{:toh:tp-link:tl-wr841nd-v3.2-serial.jpg?250|}} | {{:toh:tp-link:wr841nd-v5-serial.jpg?250|}} | {{:toh:tp-link:tl-wr841nd.v7.2.serial.jpg?250|}} | {{:media:toh:tp-link:tl-wr841nd.v8.4.serial.jpg?250}} | {{:media:toh:tp-link:tp-link:tl-wr841nd.v9.0.serial.jpg?250}} | 
-| **U-Boot speed** | 9600 | 115200 ||| +| **U-Boot speed** | 9600 | 115200 |||| 
-| **kernel speed** | 115200 - switch automaticaly | 115200 ||| +| **kernel speed** | 115200 - switch automaticaly | 115200 |||| 
-| **Data format** | always 8N1 ||||+| **Data format** | always 8N1 |||||
After connecting, you will be greeted by something like this: After connecting, you will be greeted by something like this:
Line 392: Line 686:
===== Version 8.0 forum thread ===== ===== Version 8.0 forum thread =====
[[https://forum.openwrt.org/viewtopic.php?id=37010]] [[https://forum.openwrt.org/viewtopic.php?id=37010]]
 +
 +===== Custom OpenWrt image with LuCi integrated =====
 +
 +http://www.superwrt.eu/en/firmware/tp-link-wr841nd/
 +
===== Tags ===== ===== Tags =====
Line 397: Line 696:
{{tag>FastEthernet 5Port Serial integrated 802.11bgn 1WNIC AR9271 ath9k 2Ant DetachableAntenna 32RAM 4Flash MIPS MIPS32 24k}} {{tag>FastEthernet 5Port Serial integrated 802.11bgn 1WNIC AR9271 ath9k 2Ant DetachableAntenna 32RAM 4Flash MIPS MIPS32 24k}}
 +

Back to top

toh/tp-link/tl-wr841nd.1392809456.txt.bz2 · Last modified: 2014/02/19 12:30 by seberm