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.

I am trying to connect to the tp-link router using a serial cable (USB To RS232 TTL UART PL2303HX Auto Converter USB to COM Module Cable HS), however, neither putty or hyperterminal is outputting any data from the router. At first I was able to get to safe mode, but now I cannot, when I am switching on the router and holding pressed the reset button the second led is not blinking at all. When I am switching on the router, all the leds are turned on, and then only the first one. I don't see any flashing of any led, and I got the feeling nothing is running. Could you please advice me what to check? I can send you a video or some pictures if required.
This is how it looks from inside

Hi!
Router TL-WR841N v8.3
Blown WLAN.
Flashed on openwrt. Wanted to change ports. Done something wrong.
Disappeared web interface. 192.168.1.1 - no connection.
Connect on TLL.
How do I download the firmware from the web interface.
Read a lot of information on the Internet, but have not found an answer.
Help please!

http://prntscr.com/5gtxpu

You're saying the WAN Ethernet port is blown?  The LAN ports still work?

In that case run 'firstboot' from the TTL to restore default settings, and reboot.  You should then have the web interface on 192.168.1.1 from the LAN ports again.

Then go to network -- switch and move one of the working ports to VLAN 2 to make it the WAN port and connect your modem to that port.

(Last edited by mk24 on 14 Dec 2014, 21:55)

Yes,  WAN Ethernet port is blown and  The LAN ports still work

I type : firstboot

answer:
firstboot has already been run
jffs2 partition is mounted, only resetting files

New version of my custom build based on Aegisu's build script:

  • Chaos Calmer r43720

  • LuCI

  • MiniUPnP

  • OpenVPN with PolarSSL

  • Minified LuCI's CSS and JS (YUI Compressor and Closure Compiler)

  • Nothing else has been touched. Basically, it is a CC + the mentioned above.

Download firmware:
see upd

Build script:
http://paste.debian.net/136752/

Supported devices:
tl-wr841nd-v3
tl-wr841nd-v3
tl-wr841nd-v5
tl-wr841nd-v5
tl-wr841nd-v7
tl-wr841nd-v7
tl-wr841n-v8
tl-wr841n-v8

tl-wr841n-v9
tl-wr841n-v9
tl-wr847n-v8
tl-wr847n-v8

I have tested it on 8.1.
Provided as is, use on your own risk.

UPD:
You can now find my build among Community Releases

(Last edited by amq on 19 Jan 2015, 22:52)

amq, your Dropbox link does not work.
Could you please fix it? It would save me the time to run a full build.
Thanks in advance.

Happy New Year!

I'm in the same situation as adyc. All leds blink once on power on, then only the power-led stays on, all others are dark.

Any suggestions? I ended up in this situation after trying to upgrade to a new openwrt image.

I tried:

- 30/30/30 reset
- pinging to 192.168.1.1 on both lan and wan interface
- pressing the resetbutton shortly after power on to switch to the bootloader

Greetings from Germany
MPW

(Last edited by mpw on 2 Jan 2015, 15:21)

Hi,

the same is the case here. Except that after some time the settings led (2nd from left) keeps blinking. The only thing that I recently changed was adding a startup script, which sets up a reverse ssh tunnel.

30/30/30 Reset didn't help pinging/telnet/ssh didn't work

Any ideas?

@Jabro: This is a different case in which I was before.

You should be able to get into the bootloader by pressing the reset button shortly and quickly after powering on the device. Just press it a few times. Then the 2nd led should start blinking very quickly and you can telnet into the device.

amq wrote:

New version of my custom build based on Aegisu's build script:

  • Chaos Calmer r43720

  • LuCI

  • MiniUPnP

  • OpenVPN with PolarSSL

  • Minified LuCI's CSS and JS (YUI Compressor and Closure Compiler)

  • Nothing else has been touched. Basically, it is a CC + the mentioned above.

Download firmware:
dropbox

Build script:
http://paste.debian.net/136752/

Supported devices:
tl-wr841nd-v3
tl-wr841nd-v3
tl-wr841nd-v5
tl-wr841nd-v5
tl-wr841nd-v7
tl-wr841nd-v7
tl-wr841n-v8
tl-wr841n-v8

tl-wr841n-v9
tl-wr841n-v9
tl-wr847n-v8
tl-wr847n-v8

I have tested it on 8.1.
Provided as is, use on your own risk.

Built a Barrier Breaker image@r43824 using the build script above. Tested on a v7.

Download Here:
mega.co.nz

Updated my psot.

Hi guy's,
i have a question tongue
I want to buy the wr841nd and probably will arrive with the v9 version.
I'd like to know which problems  this router has and if they are fixed or no.
What worries me is the slower wifi (reported on the wiki), is it fixed or no? what mean slow wifi in mbs? i want use this router as wifi bridge. Thank in advise. M4rk

(Last edited by M4rk on 2 Feb 2015, 11:24)

noob question; is it safe to flash over DD-WRT (via web GUI) or do I need to revert to stock
(obviously using the factory not the sysupgrade bin)
(or is it not going to work, hence gandamaluko's issue?)

[TL-WR841N v8 , DD-WRT v24-sp2 (12/22/14) std - build 25697]
[specifically rev 8.4]

amq wrote:

Updated my psot.

Hey amq;

Thank you for your updated firmware with luci gui !
it works great.

But there is a problem when i try to install luci-app-qos,
I'm getting this error
* satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-qos:

I think the firmware's kernel which is created by you, is not compatible with this package.
kernel (= 3.18.9-1-792159c4f2ca33ce0f449e2cb5ff60df) *     kernel (= 3.18.9-1-792159c4f2ca33ce0f449e2cb5ff60df) *     kernel (= 3.18.9-1-792159c4f2ca33ce0f449e2cb5ff60df) *     kernel (= 3.18.9-1-792159c4f2ca33ce0f449e2cb5ff60df) *     kernel (= 3.18.9-1-792159c4f2ca33ce0f449e2cb5ff60df) *     kernel (= 3.18.9-1-792159c4f2ca33ce0f449e2cb5ff60df) *     kernel (= 3.18.9-1-792159c4f2ca33ce0f449e2cb5ff60df) *
* opkg_install_cmd: Cannot install package luci-app-qos.

what do you suggest ?

Thanks

I upgrade my 841n V8 to 16M flash and 64M RAM. It work fine. I want compile 16M image for it. How can i change Makefile in target/linux/ar71xx/image/Makefile for 16M image.
Thanks!

(Last edited by hoatienii on 31 Mar 2015, 17:40)

gandamaluko wrote:

Hi,

I bricked my TP-Link WR840ND v8.2 (all leds blinking...) when I try to update the firmware from DDWRT to stock.... I tried this because I can't upgrade from DDWRT to OPENWRT directly...
http://i435.photobucket.com/albums/qq77/gandamaluko/TP-Link_WR840ND/Bricked1_zps0025c6a7.jpg
http://i435.photobucket.com/albums/qq77/gandamaluko/TP-Link_WR840ND/Bricked2_zps916b1b8e.jpg
Now, I have no LAN, no WIFI, nothing and also I can't enter in recovery mode doing this:

Getting the router Ready
1) Connect ETHERNET cable to your router, in the WAN port (blue)
2) Turn Router ON. Press the WPS/Reset button many times.
3) Wait for LED under gear icon to flash rapidly.
Your router is in Recovery Mode now.)

Now I need to try the Serial Console... I already soldered the wires to the board...
http://i435.photobucket.com/albums/qq77/gandamaluko/TP-Link_WR840ND/Foto1_zps2a8779aa.jpg
Board v8.2
http://i435.photobucket.com/albums/qq77/gandamaluko/TP-Link_WR840ND/foto2_zps6d165dfb.jpg
Before solder the wires
http://i435.photobucket.com/albums/qq77/gandamaluko/TP-Link_WR840ND/foto3_zps06928e54.jpg
After solder the wires

Now I need to get a pc with serial port or a Nokia data cable...

1 - It is not possible to use a USB to RS232 cable connected to a male DB9... and connect that DB9 male to the pcb?
2 - What I need to do more?

Thanks in advance and best regards,
P.A


After a year, I am now trying to get my router to work again - WR841ND v8.2.. I have already a Serial Cable, and with Putty with these settings:

"Session" | "Serial" | "Serial line" = COM7 | "Speed" = 115200

"Serial" | "Data bits": 8 | "Stop bits": 1 | "Parity": None | "Flow Control": none

I have this loop data:

http://i435.photobucket.com/albums/qq77/gandamaluko/TP-Link_WR840ND/Router_zpsjmhqzreg.jpg

What to do now? smile

Thank you

(Last edited by gandamaluko on 5 Apr 2015, 00:10)

After many problems, TP-Link WR841ND v8.2 lives again... smile

http://i435.photobucket.com/albums/qq77/gandamaluko/TP-Link_WR840ND/passo1_zpsdmipe68p.png
Ips configuration

http://i435.photobucket.com/albums/qq77/gandamaluko/TP-Link_WR840ND/passo2_zpswt97dkgm.png
Before do this, disconnect your wi-fi or other network...

http://i435.photobucket.com/albums/qq77/gandamaluko/TP-Link_WR840ND/passo3_zpsnp8ioljm.png
"firmware.bin" is the file "openwrt-ar71xx-generic-tl-wr841n-v8-squashfs-factory.bin" renamed

http://i435.photobucket.com/albums/qq77/gandamaluko/TP-Link_WR840ND/passo4_zpspwey7z59.png
pay attention to this step.. it depends of your router version

http://i435.photobucket.com/albums/qq77/gandamaluko/TP-Link_WR840ND/passo5_zpsskotdrdn.png

Help topic: http://wiki.openwrt.org/toh/tp-link/tl-wr841nd
Note1: needs only Tx+Rx+GND connection (5V/3.3V off). Don't need extra pull up resistor/other changes.
Note2: port used: LAN1

(Last edited by gandamaluko on 5 Apr 2015, 11:39)

hoatienii wrote:

I upgrade my 841n V8 to 16M flash and 64M RAM. It work fine. I want compile 16M image for it. How can i change Makefile in target/linux/ar71xx/image/Makefile for 16M image.
Thanks!

Hi Hoatienii !
Would you be kind enough to share your hardware mods and how you achieved them ? I have a TP-Link TL-WR841ND - V8 model and am keenly interested in increasing both, the flash memory and RAM. Any help would be much appreciated. If you have a tutorial and can point me towards a guide, I would be deeply grateful.

Tridon

Tridon wrote:
hoatienii wrote:

I upgrade my 841n V8 to 16M flash and 64M RAM. It work fine. I want compile 16M image for it. How can i change Makefile in target/linux/ar71xx/image/Makefile for 16M image.
Thanks!

Hi Hoatienii !
Would you be kind enough to share your hardware mods and how you achieved them ? I have a TP-Link TL-WR841ND - V8 model and am keenly interested in increasing both, the flash memory and RAM. Any help would be much appreciated. If you have a tutorial and can point me towards a guide, I would be deeply grateful.

Tridon

It very easy, you find pepe2k uboot for tplink 841n this forum, you can see more how to

Tridon wrote:
hoatienii wrote:

I upgrade my 841n V8 to 16M flash and 64M RAM. It work fine. I want compile 16M image for it. How can i change Makefile in target/linux/ar71xx/image/Makefile for 16M image.
Thanks!

Hi Hoatienii !
Would you be kind enough to share your hardware mods and how you achieved them ? I have a TP-Link TL-WR841ND - V8 model and am keenly interested in increasing both, the flash memory and RAM. Any help would be much appreciated. If you have a tutorial and can point me towards a guide, I would be deeply grateful.

Tridon

I mod my tplink 841n for control home light

It very easy, you find pepe2k uboot for tplink 841n this forum, you can see more how to

(Last edited by hoatienii on 5 Apr 2015, 19:59)

hoatienii wrote:
Tridon wrote:
hoatienii wrote:

I upgrade my 841n V8 to 16M flash and 64M RAM. It work fine. I want compile 16M image for it. How can i change Makefile in target/linux/ar71xx/image/Makefile for 16M image.
Thanks!

Hi Hoatienii !
Would you be kind enough to share your hardware mods and how you achieved them ? I have a TP-Link TL-WR841ND - V8 model and am keenly interested in increasing both, the flash memory and RAM. Any help would be much appreciated. If you have a tutorial and can point me towards a guide, I would be deeply grateful.

Tridon

I mod my tplink 841n for control home light

It very easy, you find pepe2k uboot for tplink 841n this forum, you can see more how to

No, no, I'm interested in your upgrades. How did you upograde your RAM to 64MB and flash memory to 16MB ? Could you post a guide ?

Tridon wrote:

No, no, I'm interested in your upgrades. How did you upograde your RAM to 64MB and flash memory to 16MB ? Could you post a guide ?

I use CH341A SPI flash programmer: http://www.ebay.com/itm/SLBoat-Lais-Gre … 2a295f8abb
Before upgrade flash, you should backup orgrinal uboot and art partition, read here for howto backup: https://github.com/pepe2k/u-boot_mod
    +Download uboot pepe2k for Tplink 841n V8 from here: https://github.com/pepe2k/u-boot_mod/re … 2014-11-19
    +desolder 4M flash, use CH341A for full flash backup, create 4M.bin
    + Use Winhex editor to edit 4M.bin:
         - copy 64kiB pepe2k uboot overwite 64kiB uboot original at 00000000 address.
         - create 12M.bin with FF value
         - copy 12M.bin to 4M.bin at 003effff address, you will have 16M image, save as 16M.bin
    + use  CH341A write 16M.bin to 16M flash.( i use 16M flash winbond W25Q128FVSSIG)
    + soder on router.
   
http://www.tech-blog.pl/wordpress/wp-content/uploads/2013/03/tl-mr3020_flash_layout.gif

I have 16M image with uboot pepe2k, if you like i will send to you, you have to replace your art partition for your router.
About replace 64M RAM, use one of chips: HY5DU121622DTP-D43-C, H5DU5162ETR-E3C, K4H511638G-LCCC...
you can buy from here: http://www.ebay.com/itm/SLboat-16MByte- … 2a2a373478

My router after mod 16M flash and 64M RAM, mod for control relay module.
https://lh5.googleusercontent.com/-DsMmdCW3SB4/VRp5jhId1QI/AAAAAAAAKJ4/VsciWawpYJs/w979-h590-no/IMG_20150331_143231.jpg

(Last edited by hoatienii on 6 Apr 2015, 18:08)

Hi Hoatienii !

That is a detailed guide, thank you so much. Yes, I feel this should be a thread on its own, preferably under the "Hardware Hacking" sub forum. This can be of immense benefit to other who have the similar model and are interested in upgrading their RAM and Flash Memory. Additionally, you could upload your bootloader and firmware images, so first timers like me could use it to get started.

How do you use your control relay module ? Also, our router model doesn't have USB, perhaps a USB mod will be more suitable, especially after the RAM and Flash Memory upgrade. But now, we have to compile our own images !

Thank you, once again.

Tridon

Hi there,
I'm looking for how to add a USB port on my TL-WR841N v8. There are a lot of posts on this and there is a lot of confusion about this. I'm interested in this because I want add Network UPS Tools (NUT) package in order to monitor my UPS. Can anyone explain me how to add USB port and then how to patch it??

Thanks!!!

Failure turning on WLAN

Hi,
for unknown reason I cannot turn on WLAN, neither from WebUI LuCI nor from console (CLI).
This issue I just noticed today, the router/AP worked perfect in the past

In the WebUI the following error message is returned:
Wireless Network: Unknown "<my SSID>" (radio0.network1)

When I enter this command in CLI nothing is returned:
uci set wireless.@wifi-device[0].disabled=0; uci commit wireless; wifi

This is the current configuration:
root@net2-tplink:~# cat /etc/config/wireless
config wifi-device 'radio0'
    option type 'mac80211'
    option hwmode '11g'
    option path 'platform/ar934x_wmac'
    option htmode 'HT20'
    option country 'US'
    option channel '6'
    option txpower '12'
    option disabled '0'

config wifi-iface
    option device 'radio0'
    option mode 'ap'
    option ssid '<my SSID>'
    option network 'lan'
    option encryption 'psk2'
    option key '<my WLAN password>'
    option disabled '1'

root@net2-tplink:~# cat /etc/config/network
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 'fdd2:8368:12dd::/48'

config interface 'lan'
    option ifname 'eth0'
    option type 'bridge'
    option proto 'static'
    option ipaddr '192.168.110.10'
    option netmask '255.255.255.0'
    option gateway '192.168.110.1'
    option dns '192.168.110.1'
    option hostname 'net2-tplink'

config switch
    option name 'switch0'
    option reset '1'

My understanding is that this setting defines that Wifi is off:
config wifi-iface
    option disabled '1'
But there's no way to modify this option to '0'.

Can you please help me to troubleshoot this issue?

I assume this is related to the fact that I cannot write and file to /.
In CLI I receive this error message:
root@net2-tplink:~# touch /usr/sbin/test
touch: /usr/sbin/test: No space left on device

Why do I need that?
I'm using cron to enable/disable Wifi automatically. The relevant script is stored in /usr/sbin/wlan_toggle.sh.

However, there should be sufficient space left in /.
root@net2-tplink:~# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                  448.0K    380.0K     68.0K  85% /
/dev/root                 2.5M      2.5M         0 100% /rom
tmpfs                    14.2M    540.0K     13.6M   4% /tmp
/dev/mtdblock3          448.0K    380.0K     68.0K  85% /overlay
overlayfs:/overlay      448.0K    380.0K     68.0K  85% /
tmpfs                   512.0K         0    512.0K   0% /dev


HW: TP-Link TL-WR841N/ND v8
SW: OpenWrt Barrier Breaker 14.07 / LuCI 0.12 Branch (0.12+git-15.006.29251-d876593)
Kernel: 3.10.49

THX

(Last edited by c.monty on 1 May 2015, 12:52)