OpenWrt Forum Archive

Topic: TP-Link TL-WR841N v8.0

The content of this topic has been archived between 26 Jul 2014 and 6 May 2018. Unfortunately there are posts – most likely complete pages – missing.

bassman wrote:

NEW FIRMWARE for TP-Link TL-WR841N/ND v8.x
OpenWRT Barrier Breaker @37754 (LuCI)

Here is a new OpenWRT build for TP-Link TL-WR841N/ND v8.2. It should work with v8.0 too, because they have the same hardware. Version is trunk r37754 (Barrier Breaker). This build includes:

  • LuCI (the web interface)

  • IPv6

  • upnp: miniupnpd

IT IS UNTESTED.
I am still running an older build without IPv6.

If you have the original factory firmware in your router, flash the file with "factory" in the filename. If you already have OpenWRT and only want to update, flash the file with "sysupgrade" in the filename. You can do that from the web interface in both cases. Extract the RAR archive before flashing! You have to flash the .bin files. Flashing the wrong file will likely brick your router, so be careful.

I hope this helps. Please report about problems or success, so I can edit this post accordingly.

http://www.fastshare.org/download/openw … _37754.zip

Yes it works..i have luci interface from begining...i donlt have to download with putty...but i don't make it ipv6 works...my net provider give me a non static ipv6 pppoe-with prefix delegation...i will post this on forum if you want...

NEW FIRMWARE for TP-Link TL-WR841N/ND v8.x
OpenWRT Barrier Breaker @37754 (LuCI)

Works fine for me too. Version 8.2 router, International (Netherlands). I have 2 wireless networks now Internal and Guest ;-)

Thanks a lot.

Hi Everybody!


I need a  little help. I've tried to revert back to the original firmware as  I want to sold my 841ND v8.1, but I made the mistake to do it under web interface. So firmware update stucked and...well anyway, I try to fix it using a serial cable. Cabel is OK and I see the output on terminal:

===================================================================================
U-Boot 1.1.4 (Nov  1 2012 - 10:25:30)

U-boot AP123


DRAM:  32 MB
id read 0x100000ff
Flash:  4 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag934x_enet_initialize...
wasp reset mask:c03300
WASP ----> S27 PHY
file: ag934x.c,line: 179==: set LAN&WAN SWAP. --debug by HouXB
GMAC: cfg1 0x5 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
s27 reg init
athrs27_phy_setup ATHR_PHY_CONTROL 4: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4: 0x10
eth0 up
WASP ----> S27 PHY
file: ag934x.c,line: 179==: set LAN&WAN SWAP. --debug by HouXB
GMAC: cfg1 0xf cfg2 0x7214
eth1: ba:be:fa:ce:08:41
s27 reg init lan
ATHRS27: resetting s27
ATHRS27: s27 reset done
athrs27_phy_setup ATHR_PHY_CONTROL 0: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0: 0x10
athrs27_phy_setup ATHR_PHY_CONTROL 1: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1: 0x10
athrs27_phy_setup ATHR_PHY_CONTROL 2: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2: 0x10
athrs27_phy_setup ATHR_PHY_CONTROL 3: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3: 0x10
eth1 up
eth0, eth1
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... Too big uncompressed streamLZMA ERROR 1 - must RESET board to recover

=====================================================================================

As wiki says at http://wiki.openwrt.org/toh/tp-link/tl- … al.console I've tried to type "tpl" right After "Autobooting....", but nothing happend.

Any idea???

try again, type it many times, very quickly...

Nothing happen. I can type it within that 1s, but it just continuing to load.
Is this method working even when I tried to flash with the original TP-Link firmware?

(Last edited by gerijani on 2 Sep 2013, 20:33)

Hi, guys.

I have 841ND(RU) v8.0 and I unable connect to serial console via CA-42 data cable. This cable is not brand from NOKIA. In my Win7_64bit device manager it represented as Prolific USB-to-Serial Comm Port (COM30). I've installed the latest drivers from www.prolific.com.tw successfully.

In putty console NOTHING!

If anybody uses the same cable, please give me some help. Thanks.

Hi guys,
i bought the TP-Link TL-WR841N (Ver: 8.4) few days ago.
On the back side there is a on/off WLAN switch. Now i want to use this switch but i have no idea how i can use it. The OpenWRT TP-Link TL-WR841ND wiki is not really helpful. In the wiki they explain how to switch on/off the wifi by QSS button. I have no QSS button ... hmm
Because that i tried to discover the button/switch name with the "logger", but without any success. Does anybody have an solution?

Cheers,
Matthias

Hi guys,
My wr841ndv8.1 was working fine with openwrt (about 4 months), but last friday it stoped to work, just power led was ON.  Serial comunication was showing errors like "Reset the Board", "Kernel panic", etc... I tried putty and hyperterminal, both hadn't success to send "tpl" and stop boot process. I had success in failsafe mode, but after "mtd -r write /tmp/tplink.bin firmware", it showed "Unlocking firmware" and after some seconds conection stoped. Now when I turn on, power led is ON and all others are flashing.
To make things worse I think I broked TX line on JP1, pin is turning.
Are there other points that can give TX and RX to try serial comunication? I believe that in chipset it is possible but I'm not very good with iron soldering, I needed another easy point to solder.

wishmaster wrote:

Hi, guys.

I have 841ND(RU) v8.0 and I unable connect to serial console via CA-42 data cable. This cable is not brand from NOKIA. In my Win7_64bit device manager it represented as Prolific USB-to-Serial Comm Port (COM30). I've installed the latest drivers from www.prolific.com.tw successfully.

In putty console NOTHING!

If anybody uses the same cable, please give me some help. Thanks.

I had success with WINXP and CA-45/50 cable ( bought in dx.com).

(Last edited by belezao on 27 Oct 2013, 22:13)

Hello everybody.
Sorry for my English.
Recently I bought a router and almost immediately flashed with Openwrt. Firmware is taken on this site, version 12.09. Also tried the version r37754 made by bassman which is placed in this post. The problem lies in the periodic router hangs with oops and kernel panic. Dependence on something is not detected. This can happen when booting the router, when operating the web interface LuCi, when downloading anything from the Internet. I have made a console port on it so I have the logs.
Sometimes it can't boot a kernel with LZMA error:

U-Boot 1.1.4 (Jun 20 2013 - 17:34:51)

U-boot AP123


DRAM:  32 MB
id read 0x100000ff
Flash:  4 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag934x_enet_initialize...
wasp reset mask:c03300
WASP ----> S27 PHY
file: ag934x.c,line: 179==: set LAN&WAN SWAP. --debug by HouXB
GMAC: cfg1 0x7 cfg2 0x7214
eth0: ba:be:fa:ce:08:41
s27 reg init lan 
ATHRS27: resetting s27
ATHRS27: s27 reset done
athrs27_phy_setup ATHR_PHY_CONTROL 0: 0x7478
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0: 0x7478
athrs27_phy_setup ATHR_PHY_CONTROL 1: 0x7478
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1: 0x7478
athrs27_phy_setup ATHR_PHY_CONTROL 2: 0x7478
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2: 0x7478
athrs27_phy_setup ATHR_PHY_CONTROL 3: 0x7478
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3: 0x7478
eth0 up
WASP ----> S27 PHY
file: ag934x.c,line: 179==: set LAN&WAN SWAP. --debug by HouXB
GMAC: cfg1 0x5 cfg2 0x81ff765c
eth1: ba:be:fa:ce:08:41
s27 reg init lan 
ATHRS27: resetting s27
ATHRS27: s27 reset done
eth1 up
eth0, eth1
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... ERROR: LzmaDecode.c, 543

Decoding error = 1
LZMA ERROR 1 - must RESET board to recover

and then it reboots and same things again.

Sometimes I turn on the router and nothing is happened, I cannot see anything on the console and only Power LED is turned on.
I tried to do a memory test on the U-Boot command line, but had never seen him perform. Once I ran the test for the whole night and in the morning, nothing has changed in the console:

U-Boot 1.1.4 (Jun 20 2013 - 17:34:51)

U-boot AP123


DRAM:  32 MB
id read 0x100000ff
Flash:  4 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag934x_enet_initialize...
wasp reset mask:c03300
WASP ----> S27 PHY
file: ag934x.c,line: 179==: set LAN&WAN SWAP. --debug by HouXB
GMAC: cfg1 0x5 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
s27 reg init 
athrs27_phy_setup ATHR_PHY_CONTROL 4: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4: 0x10
eth0 up
WASP ----> S27 PHY
file: ag934x.c,line: 179==: set LAN&WAN SWAP. --debug by HouXB
GMAC: cfg1 0x7 cfg2 0x7214
eth1: ba:be:fa:ce:08:41
s27 reg init lan 
ATHRS27: resetting s27
ATHRS27: s27 reset done
athrs27_phy_setup ATHR_PHY_CONTROL 0: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0: 0x10
athrs27_phy_setup ATHR_PHY_CONTROL 1: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1: 0x10
athrs27_phy_setup ATHR_PHY_CONTROL 2: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2: 0x10
athrs27_phy_setup ATHR_PHY_CONTROL 3: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3: 0x10
eth1 up
eth0, eth1
Autobooting in 1 seconds
wasp> ; help

?       - alias for 'help'
bootm   - boot application image from memory
cp      - memory copy
erase   - erase FLASH memory
help    - print online help
md      - memory display
mm      - memory modify (auto-incrementing)
mtest   - simple RAM test
mw      - memory write (fill)
nm      - memory modify (constant address)
printenv- print environment variables
progmac - Set ethernet MAC addresses
reset   - Perform RESET of the CPU
setenv  - set environment variables
tftpboot- boot image via network using TFTP protocol
version - print monitor version
wasp> printenv

bootargs=console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=ath-nor0:128k(u-boot),1024k(kernel),2816k(rootfs),64k(config),64k(art)
bootcmd=bootm 0x9f020000
bootdelay=1
baudrate=115200
ethaddr=0xba:0xbe:0xfa:0xce:0x08:0x41
ipaddr=192.168.1.111
serverip=192.168.1.100
dir=
bc=ap123
lu=tftp 0x81000000 ${dir}u-boot.bin&&erase 0x9f000000 +$filesize;cp.b $fileaddr 0x9f000000 $filesize
lf=tftp 0x81000000 ${dir}${bc}-squashfs&&erase 0x9f120000 +$filesize;cp.b $fileaddr 0x9f120000 $filesize
stdin=serial
stdout=serial
stderr=serial
ethact=eth0

Environment size: 565/65532 bytes
wasp> version


U-Boot 1.1.4 (Jun 20 2013 - 17:34:51)
wasp> mtest


Pattern 00000000  Writing...            

...and from this point nothing is changed.
Here comes the boot logs with oops and faults. These logs are divided by boot attempts:

  1. http://pastebin.com/iceChpSr - oops during boot and many oops during reboot procedure

  2. http://pastebin.com/bnqcZtue - oops during work with LuCi web interface

  3. http://pastebin.com/UXYHh1Db - 8 oops and finally kernel panic during OpenWRT boot

  4. http://pastebin.com/rXtZv5uC - kernel panic during console session. Router cannot rebooting automatically

  5. http://pastebin.com/rqCUp1mJ - failsafe boot are normal.

  6. http://pastebin.com/2KrVsG6Z - stock firmware boot, OpenWRT r37754 (by bassman) flash process and OpenWRT boot process with no faults. This is one of the few normal attempts.

What does all it means? DRAM faults or another hardware faults? How can I locate and fix these problems?

Dear All,

I need to Tag WAN port with VLANID500 for my Internet, and 1 LAN port with VLANID600 for IPTV.

under the switch page, I cannot see WAN port.

There's only 4 ports listed.

Hardware / LuCI
1 = 2
2 = 3
3 = 4
4 = 1

is there any workaround for this?>

update:

I got the WAN to work. I created a new interface using custom interface eth0.500 , and set the firewall to WAN.  Internet connected with no issues.

But I am still unable to get the IPTV to work.  I connected the IPTV to port 4 (= 1).  I am still unable to create vlan600 on it.

can anybody help?

(Last edited by larrycfh on 23 Nov 2013, 08:53)

UART baud speed not correct on ver 8.3
TL-WR841N v8.3 intl

The version 7 router UART speed is 114 700 Baud (working fine)
The version 8.3 router UART speed is 111 500 Baud (not work good, often wrong cheksum)
UART settings are same (115200 Baud). Measure widh LeCroy oscilloscope, and "U" char.

I was tryed 12.09 and trunk version of openwrt also. Three router tested.
Can help anybody? Whitch files control the UART speed?
Can I set custom (not standard) baud on router?

kovacsrobi wrote:

UART baud speed not correct on ver 8.3
TL-WR841N v8.3 intl

I'm using TL-WR841N v8.3 with CP2102 based adapter without any problems (115200 8n1 settings).

(Last edited by pepe2k on 29 Nov 2013, 15:16)

Hi, I've bought this router to use as a wireless bridge/repeater, but I couldn't really figure out the correct settings. Then I followed this guide by copying the lines. Unfortunately, after reboot I can't access the router anymore.

First thing I did when I got it was installing 12.09, which went ok. Then I set my other router to assign a static ip-address (192.168.1.5) to this device.

I've connected the router to my pc using an ethernet cable, tried both WAN and LAN1 ports.
Now I can't access it through either 192.168.1.1 and 192.168.1.5, both by webaccess and WinSCP, so I'm trying to get it back to the original 12.09 with ipaddress 192.168.1.1

I've tried the 30/30/30 reset, but that didn't help. Is there any other way, besides using a serial cable?

(Last edited by SherlockS on 1 Dec 2013, 15:30)

Right, I've tried entering the failsafe mode:
1. Fully unplugged the router (so both power off and ethernet cables out)
2. Changed IPv4 on my pc to 192.168.1.2 and subnet 255.255.255.0
3. Ethernet cable in pc and LAN1 on router (have tried WAN port as well)
4. Power-on the router
5. press reset button when gear led starts blinking -> after this it blinks rapidly
6. Open Putty.exe 192.168.1.1:23, connection type telnet (also tried 192.168.1.1:24)
7. get error message in Putty: Network error: connection timed out

I don't know what to do anymore; the rapidly blinking led tells me the device isn't bricked so I'm hoping I don't need a serial cable. Can anybody tell me what to try next please?

Well if you think you tried everything else....get a serial cable.

If you play with embedded systems you'll need one sooner or later anyway.
They are cheap and work very well.
I use a PL2303 cable ... cost about 2 bucks on eBay.

http://wiki.openwrt.org/doc/hardware/port.serial.cables

(Last edited by ldpinney on 2 Dec 2013, 21:57)

ldpinney wrote:

Well if you think you tried everything else....get a serial cable.

If you play with embedded systems you'll need one sooner or later anyway.
They are cheap and work very well.
I use a PL2303 cable ... cost about 2 bucks on eBay.

http://wiki.openwrt.org/doc/hardware/port.serial.cables

Thanks for your reply! Based on the above steps, did I try it the correct way?

If so, I'll have to get a serial cable. On eBay, I found several ofcourse. For instance, this one, do I need to solder anything when I buy this one?

When I compare it to this one the first one has a cable attached, the second one doesn't.

Do I need the cable to connect to the WR841N?

Many thanks for your help!!

Some other things to try....
let the router boot (not in failsafe)
try making connections on the WAN LAN (try 1-4....can't hurt to try'em all)
AND look for the WIFI signal it might be working.

I have a couple of PL2303 modules like the first one with the molded plug and wires.

You should only need to use three wires on the cable RX TX and GND you shouldn't need the 5VDC

Solder the square pins on the router... or have someone do this for you.

this guy explains the process quite well
http://www.instructables.com/id/How-to- … r-OpenWRT/
You may not need the 10K ohm resistor...I didn't.

ldpinney wrote:

Some other things to try....
let the router boot (not in failsafe)
try making connections on the WAN LAN (try 1-4....can't hurt to try'em all)
AND look for the WIFI signal it might be working.

I have a couple of PL2303 modules like the first one with the molded plug and wires.

You should only need to use three wires on the cable RX TX and GND you shouldn't need the 5VDC

Solder the square pins on the router... or have someone do this for you.

this guy explains the process quite well
http://www.instructables.com/id/How-to- … r-OpenWRT/
You may not need the 10K ohm resistor...I didn't.

Thanks for the extra options! I've ordered the one with the molded plug and wires, but I'll definitely try connecting through ethernet cable again. Wireless is off (switch on the back doesn't alter it) but I'll try WAN and all four LANs. Address should be 192.168.1.1 ?

Is there a way to find out the router's ip-address when it's conencted through ethernet cable?

I have a weird thing which I have never seen with firmware I used on my 1043ND. There is a "failsafe" button in the LUCI interface where it is possible to flash new firmware without logging in! That is not what I want. How to remove this? I tried to google on failsafe openwrt but I only get things about a failsafe mode, not this button.

I'm using bassman OpenWRT Barrier Breaker @37754 (LuCI)

#edit:
Got it, I just needed to remove luci-mod-failsafe.

(Last edited by ksya on 11 Dec 2013, 21:23)

I made a TL-WR841N/ND v8.x build based on trunk r39055 (Barrier Breaker)
- Luci
- IPv6
- UPnP support
- QOS
- OpenWRT theme and Bootstrap theme

Download:
https://dl.dropboxusercontent.com/u/215 … uashfs.zip

Luci won't work after upgrading from bassmann's firmware, the etc/config/uhttpd file has to be cleared to this:

config uhttpd 'main'
    list listen_http '80'
    option home '/www'
    option rfc1918_filter '1'
    option max_requests '3'
    option max_connections '100'
    option cgi_prefix '/cgi-bin'
    option script_timeout '60'
    option network_timeout '30'
    option http_keepalive '20'
    option tcp_keepalive '1'
    option ubus_prefix '/ubus'

md5 checksums:
7357cf130d0a5ab7d2b6b499814a81db *openwrt-r39055-ar71xx-generic-tl-wr841n-v8-squashfs-factory.bin
bd20007045ea0dadedf192152f00e9aa *openwrt-r39055-ar71xx-generic-tl-wr841n-v8-squashfs-sysupgrade.bin

(Last edited by ksya on 17 Dec 2013, 17:32)

bassman wrote:

NEW FIRMWARE for TP-Link TL-WR841N/ND v8.x
OpenWRT Barrier Breaker @37754 (LuCI)

Here is a new OpenWRT build for TP-Link TL-WR841N/ND v8.2. It should work with v8.0 too, because they have the same hardware. Version is trunk r37754 (Barrier Breaker). This build includes:

  • LuCI (the web interface)

  • IPv6

  • upnp: miniupnpd

IT IS UNTESTED.
I am still running an older build without IPv6.

If you have the original factory firmware in your router, flash the file with "factory" in the filename. If you already have OpenWRT and only want to update, flash the file with "sysupgrade" in the filename. You can do that from the web interface in both cases. Extract the RAR archive before flashing! You have to flash the .bin files. Flashing the wrong file will likely brick your router, so be careful.

I hope this helps. Please report about problems or success, so I can edit this post accordingly.

http://www.fastshare.org/download/openw … _37754.zip


Thank you very much Bassman for making this firmware I was trying to implement IPV6 and I was out of memory, your firmware gave me that and lots of free memory. 
I have one request can you make one without the "uboot web-failsafe" option?  Since there is no password protection any idiot on my network could upload a firmware and screw up the router. 


Thanks,
MattBatt

Hey,
I think I bricked my router. All LED's are flashing except the power one. Is there any way of un-bricking without having to do any hardware hacking?
Thanks in advance

georgemuchira1386 wrote:

Hey,
I think I bricked my router. All LED's are flashing except the power one. Is there any way of un-bricking without having to do any hardware hacking?
Thanks in advance

No, there isn't. Only wr842nd can be unbricked without serial cable, all other tp-link models need soldering. But it is usually no problem to change it in warranty, at least in here wink

(Last edited by nozombian on 30 Dec 2013, 13:16)

Thanks @nozombian.
I've tried to look for help to do a hardware hack on the WR841N v8.4, but I havent been able.
Help anyone, with a step by step guide on how to do it?
PS: My CA-42 is Blue, White & Green.
Thanks

http://imagecurl.org/images/33166525043902891089_thumb.jpg
http://imagecurl.org/images/91439621231564060016_thumb.jpg
http://imagecurl.org/images/73880924632061483192_thumb.png
http://imagecurl.org/images/16514998128696744956_thumb.png
http://imagecurl.org/images/61094494895755687836_thumb.png