OpenWrt Forum Archive

Topic: support for tp-link Wr840n v2

The content of this topic has been archived between 21 Apr 2018 and 29 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

can i  flash WR840N v2  with OpenWrt?

Yes snd you need a file With LuCi (web interface)
From here https://downloads.openwrt.org/chaos_cal … x/generic/
There are 2 files, Factory and Sysupgrade
You only use Fsctory
Your new ip would be 192.168.1.1
Wifi by default is disable, just enable it

cant find file for wr840n v2

abuzahedkhan16 wrote:

cant find file for wr840n v2

My bad
The server I want to link you is down
As soon as it comes up I will edit and update with the link

(Last edited by danymarc on 5 Oct 2016, 13:41)

if you are willing to do crazy things with your TL-WR840n V2, read this...

remembering that the flashing any router, these invalidating the warranty, and even more so with the madness that will describe here ... if

you're going to do, stop reading this and before buying a router, see if the database is supported or not to have the problem you have now ...

Let's go......

before doing seek information everywhere (OpenWRT, DDWRT, GARGOYLE) and no support for this router, but investigating deeply into DDWRT and OpenWRT, it is said that this shares the same hardware as the TL-WR841N / d V9, and with these data tried to install directly WebGui the Bin open for TL-WR841 V9, but it gave me an error, the BIN used was version wrong, so I went by DDWRT with the same BIB for the TL-WR841 V9,and same results, used  TL-WR841 V11 BIN, and surprise, the BIN Uploaded ....

Here another problem arose, had ping the default address 192.168.1.1 DDWRT, but could not be accessed by WebGui. and with this I decided to use my serial connection and uploaded the OpenWRT BIN 841 V9 for achieving this time access Luci ...

In my case for this router I did not need openwrt needed Gargoyle, so did the corresponding SysUpgrade ...

and as seen in the video (search above this name in youtube " TL-WR840N V2, unsoported Third Party Firmware, Loaded Gargoyle " ) that I leave here, is no longer a TL-WR840n V2, now a TL-WR841N / D V9, by the way, the LED indication changed, they show something else ...

All This make with BIN file para el TL-WR841n/nd V9...., except DDwrt BIN in this case use TL-WR841 V11

if you try this.... remember... USE AT THE OWN RISK....

Regards

(Last edited by zonosfera on 9 Oct 2016, 13:59)

Hi! For 840nv2:
To collect the firmware from source, you change the target/linux/ar71xx/image/Makefile
diff:

 define Device/tl-wr841nd-v3
     $(Device/tplink-4m)
@@ -704,6 +711,13 @@
     TPLINK_HWID := 0x08410009
 endef
 
+define Device/tl-wr840n-v2
+    $(Device/tplink-4mlzma)
+    BOARDNAME := TL-WR841N-v9
+    DEVICE_PROFILE := TLWR841
+    TPLINK_HWID := 0x08400002
+endef
+
 define Device/tl-wr841n-v10
     $(Device/tplink-4mlzma)
     BOARDNAME := TL-WR841N-v9
@@ -738,7 +752,7 @@
     DEVICE_PROFILE := TLWR841
     TPLINK_HWID := 0x08470008
 endef
-TARGET_DEVICES += tl-wr841nd-v3 tl-wr841nd-v5 tl-wr841nd-v7 tl-wr841n-v8 tl-wr841n-v9 tl-wr841n-v10 tl-wr842n-v1 tl-wr842n-v2 tl-wr843nd-v1 tl-wr847n-v8
+TARGET_DEVICES += tl-wr841nd-v3 tl-wr841nd-v5 tl-wr841nd-v7 tl-wr841n-v8 tl-wr841n-v9 tl-wr840n-v2 tl-wr841n-v10 tl-wr842n-v1 tl-wr842n-v2 tl-wr843nd-v1 tl-wr847n-v8
 
 define Device/tl-wr941nd-v2
     $(Device/tplink-4m)

That router is running with version 11 but you need to hex edit it.
Tested !
Is there any way we can make this normal working with full profile in the code ?

I'm with a br version of this router, TPLINK WN840N v2. I openned it and it is a QCA9533-BL3A chip, same as v10 841ND, but I cannot flash the bin file, it says that the BIN used was the wrong version, I think that is this TPLINK_HWID compiled on the bin file maybe? I don't know how to edit or compile this firmwares...

Is there any way to make this work? The chip is the same, should it work? 

wiki.openwrt.org/toh/tp-link/tl-wr841nd

I'm not good at English. Its work.
h ttp://hostingkartinok.com/show-image.php?id=e30ae93ab82030362162634045386e1d screenshot from wr840nv2.

Hi Lipton,

I did as you said (edited the source code and built it for tl-840N) and the upgrading went smoothly with the compiled bin. However after my router completed rebooting, it got no wifi at all. Only wps and internet leds lights up. I cannot ssh or ping to my router ip (ping responded with 'request timed out'). Can you help me figure out what is going on and how to resolve it? - Many thanks big_smile

khanh.hb111 wrote:

Hi Lipton,

I did as you said (edited the source code and built it for tl-840N) and the upgrading went smoothly with the compiled bin. However after my router completed rebooting, it got no wifi at all. Only wps and internet leds lights up. I cannot ssh or ping to my router ip (ping responded with 'request timed out'). Can you help me figure out what is going on and how to resolve it? - Many thanks big_smile

Try don't use v9 as base, but v10 - v9 uses the AL3A chip, and the 840n V2 uses the BL3A chip, as the 841nd v10 - I think that could be it. Please post the bin file, I don't know how to compile hmm

Hi try flash with this  w ww69.zippyshare.com/v/4VaGNabB/file.html  through tftpd

I just figured out that my wifi was not working due to the fact wifi is disabled by default in openwrt, just change disable option to 0 in /etc/config/wireless file to enable wifi. Here is my working compiled bin (though it does not have a web gui interface - you got to work with it via telnet - or ssh which is only possible only after you set up a password for the router - no password by defaults):
h ttps://drive.google.com/open?id=0B9k6pCdpTOYvS2FpTVpkQjBVUlU

yadi.sk/d/xhOGxWtz33ZmP7 - working firmware.

Hi Lipton,


Are you sure that the link you posted (yadi.sk/d/xhOGxWtz33ZmP7) for openwrt works perfectly on WR840N v2? if it work i could proceed upgrading it..


thank

(Last edited by basithsiraj on 18 Feb 2017, 18:44)

I'm using the version that lipton posted on a WR840N v2.0 (brazilian) for over a month with no problem

Hi Guys,

I have just purchased an WR840N (EU) v2 here in Brazil. I saw that my chip is the QCA9533-BLA3. I tried the bin posted by Lipton, but I faced an error when I tried to upload using the web interface from native tp-link firmware. Is this the wrong way? Reading the posts here, I checked that my board is very close to WR841N v10. Can you guys give me some direction?

Thanks.

Hi rmotabr,

Lipton's firmware should work.  I just installed on a 840nv2 (BR) a few days ago and it worked fine. 

What was the error message?

Check if the file was downloaded properly.
The checksums (calculated with HashCheck) I have here are   
File: openwrt-ar71xx-generic-tl-wr840n-v2-squashfs-factory.bin
CRC-32: b37b801f
   MD4: b9103ad664ce5a8d3bbf450ce496aa92
   MD5: c56efa3e72d6848cb4cff1f81acb2c8b
SHA-1: fa4e328ea7fb3b6d9e87ab9c2fc051d6a661bafd

I used a shorter file name openwrt-ar71xx-generic-tl-wr840n-v2.bin because I've read somewhere that the tp-link firmware might have issues with longer file names.  However, I am not sure if that is true as I haven't tested the original file name, but you might want to try it if anything else fails.

BTW, should we file a feature request to have this firmware build regularly? The 840Nv2(BR) [very close to 841Nv10] is somewhat popular here because it is one of the cheapest models with two antennas.

Regards

Hi cmpyl0,

Thanks for your reply. I have successfully patched my router with the image using tftpd method. I was trying to do that using the TP-LINK Web Interface, as a regular firmaware from TP-LINK. Today I'll try the 15.05 image for WR841N v10, since this is the same chip that mine WR840N(EU) v2. If you have any advice on this, please let me know. Thanks again.

Regards.

Hi Rmotabr,

I am glad to hear you were able to install openwrt on your device. I am happy with Lipton's build and therefore, I haven't tested any new ones.  Good luck with the new build!  You might have to change the hardware id from  0x08410010 to 0x08400002 (at position 0x40 in the factory file).

Regards

I was able to install in my via web interface, I used the latest firmware version of tplink

Hi cmpyl0,


Thanks for your advice. I did as you said, I just hex edited the latest OpenWRT image for WR841Nv10, uploaded it to my router WR840Nv2 using tftp method, and everything gone smoothly.

Hi rmotabr,

What settings (IPs and image name) did you use for tftp? I can't get it to connect / download or whatever.

Hi gnarfzkl,

I downloaded the latest image at Download section from OpenWrt site. You can find the link below. After this you will need to Hex edit the bin just like cmpyl0 said at his post. I did this with Notepad++ with Hex Editor plugin. After this, I configured my ethernet interface (lan cable) with a fixed IP (192.168.0.86). The next step was run a tftpd server (you can download an open source easely). After these steps all you need to do is power on the router while pressing the reset button for about 3 seconds. The router will look for a tftp server at 192.168.0.86 and download the image. Remember to rename the image file to wr841nv2_tp_recovery.bin.

This link form.tp-link.com/showthread.php?81462-H … bricked-it will help you with the image upload procedure.

Link to download:
downloads.openwrt.org/chaos_calmer/15.0 … actory.bin

Hi guys,

Why do not developers support wr840n v2? After all, they are similar to wr841n v9.

I apologize for the mistakes, I'm from Russia

(Last edited by vlad1213 on 29 May 2017, 07:31)