Installing on TP-Link TL-WR841N V13

Cross-posted here...

Latest snapshot build can't be installed via TFTP. Maybe it's too big? Unsure how to see error logs during TFTP flash. TFTP server sees repeated RRQ for tp_recovery.bin, eventually the device resets, but will reboot back to stock TP-Link firmware.

Version with error is here: https://downloads.lede-project.org/snapshots/targets/ramips/mt76x8/
Name: tl-wr841n-v13-squashfs-tftp-recovery.bin
Sha256: c41c5cbacb45a31c2cb66f95cb1f4a049f7b7b4850da7a827967b19bd2e4ade7
Release date: Sun Dec 3 20:29:01 2017

Then that's what you need to name the LEDE firmware file.

Hi,

Can any one do an installation on TL-WR841N V13 and record it and upload it to YouTube and also the reverting process to the original stock firmware and show us from what distance the android or laptop able to connect as I know there is a Wi-Fi issue.

I am eagerly waiting to test it in my router but I am afraid if it not work properly than what should I do.

I can give you a example link of video for installation.
Tp-Link 841n v13 upgrade Openwrt (Lede) + Luci GUI

Here is another video link from revert to stock firmware.
DD-WRT TP-LINK TL-WR841N/ND V10 back to stock TP-LINK firmware

My router firmware version is TL-WR841N(EU)_V13_171019.

Thanks in advance.
Hope someone do this for helping every one.
Sorry for my bad English.

1 Like

It is all there, you just have to read this thread.

I was so excited to see your post but after reading it I became hopeless.

I read all the thread. That's why I posted my previous post.

Installation may be successful but

Back to stock fw: How to restore stock firmware on WR841NV13

not sucessful.

skul9x
Yes, I tried. But my router gone brick after flash this file with “tp_recovery.bin” name.
I flashed LEDE fw after brick to save it. :((

He also post in the TP-LInk forum.

http://forum.tp-link.com/showthread.php?81462-How-to-recovery-the-router-when-you-bricked-it1

It would be good if Lede allow to install firmware to go back to stock firmware.

LEDE does allow reverting to stock firmware...

Routers do not have a common revert process...it differs by manufacturer.

When all else fails, a serial connection can be used.

There is always a risk in flashing firmware, and issues can happen.

Having a recovery plan is important before flashing.

Until there is a proper way to go back stock firmware I will not test it because I have no serial connection system in here.

If anybody able to revert using TFTP please inform here.

Can you give it a try revert back to stock firmware.

Yes, I have renamed tp_recovery.bin, with the right permissions, as I have done for all the other routers I TFTP successfully. Any other ideas? Could you try to verify with the latest build? I provided the details in this post to be clear about what version I am using.

See this OpenWRT thread and the post by "gesucristo"...

https://forum.openwrt.org/viewtopic.php?id=70687

Solved - my problem + How to REVERT to STOCK firmware !

Problem:
Would be nice If someone could help me.
I got two TL-WR841N V13 (one for a friend, the other one for me) and flashed openwrt snapshot on both, with the help of these: tutorial, openwrt-docs-luci and yt-video.
One is working really nice, but on the other one I just can not install luci.

If I try to install luci on the second device (on the first device luci is working well):

/$ opkg update
Downloading http://downloads.lede-project.org/snapshots/targets/ramips/mt76x8/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.lede-project.org/snapshots/targets/ramips/mt76x8/packages/Packages.sig
Signature check passed.
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/base/Packages.sig
Signature check passed.
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/luci/Packages.sig
Signature check passed.
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/packages/Packages.sig
Signature check passed.
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/routing/Packages.sig
Signature check passed.
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/telephony/Packages.sig
Signature check passed.
/$ opkg install luci
Unknown package 'luci'.
Collected errors:
 * opkg_install_cmd: Cannot install package luci.

How I solved the problem + How to revert to STOCK firmware !

1. I did revert to stock firmware : (use at your own risk)
Flash instruction to revert to Stock firmware (same as flashing openwrt/lede, I only had to delete header of original tp link firmware):

Configure PC with static IP 192.168.0.66/24 and tftp server (this yt-video could help) .
Rename "tp_recovery(TL-WR841N(EU)_V13_STRIPPED).bin" (this is my changed version, never use original firmware, when I did I stuck in boot loop :sweat_smile: hopefully I was able to revert)
to “tp_recovery.bin” and place it in tftp server directory.
Connect PC with one of LAN ports, press the reset button, power up
the router and keep button pressed for around 6-7 seconds, until
device starts downloading the file.
Router will download file from server, write it to flash and reboot.
After it finished flashing, configure PC IP back to automatic.

(changed @braian87b's Lede Flash instruction for my purpose, by the way thanks for your instruction :slight_smile: )

2. I did flash openwrt/lede again
I used this Flash instruction. I connected over scp with Winscp to 192.168.1.1 with account name "root", I stayed on root folder and started the console. Before I typed in the commands from openwrt-docs-luci. I plugged in my Modem's LAN cable to TL-WR841N WAN for the internet connection.


I think, I only had to stay on root folder, but now I can share how to revert to stock firmware :+1: I just soft bricked my TL-WR841N V13 three times before I realized that I only had to change a small part :sweat_smile:

I hope I was able to help you.
Yours sincerely.


:warning: Important information:
Guys I do not recommend you to revert to stock firmware, Tp-link TL-WR841N stock firmware is infected with a VPNFilter malware, like all other devices on this list. So if openwrt is working well for you, do NOT revert to stock firmware.

2 Likes

@ralaud after using your given link I am able use openwrt and back to stock rom also. But I have a Dell inspiron N 4010 Laptop that has Intel Centrino N 1000 this wifi device is unable to connect with the router using win 10 and also in ubuntu. so i revert back to stock rom otherwise i wanted to use the openwrt. anyone has any suggestion?

@khandakershahi
It could be a bug, openwrt for our version isn't stable at moment, for example my https server for luci gui just crashed, but on my second device not (due to it has an older snapshot build installed). Just try the next snapshot build (there are daily builds), testing it next week again would be my recommendation.

:warning: Important information:
Guys I do not recommend you to revert to stock firmware, Tp-link TL-WR841N stock firmware is infected with a VPNFilter malware, like all other devices on this list. So if openwrt is working well for you, do NOT revert to stock firmware.

@ralaud
thank you for suggestion. I already install openwrt to my router but as I previously said my dell laptop won't able to connect to router so I have to leave the router wifi access to no encryption and install nodogsplash. By using nodogsplash username and password now it can connect easily. I don't know how much secure is my access point now. Any advice please.

@khandakershahi
So only connection with WPA2 encryption does not work?

You could try to catch some log data, these links could help you 'System log in OpenWrt' and 'LOG MESSAGES'. Upload your log data here https://ghostbin.com/ or https://privatebin.net/ and open new Topic, maybe some one can help you. I am new to Openwrt stuff, so I need to look into first too. And without these logs it is really hard to find the bug.

I did change many settings like operating frequency, Mode, Channel, Width, Transmit Power and encryption, cipher, key etc but yet laptop unable to connect. log says:

Wed Jun 13 10:48:38 2018 daemon.notice hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: did not acknowledge authentication response
Wed Jun 13 10:48:44 2018 daemon.notice hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: did not acknowledge authentication response

here is the log file link

if it ask for password please inform me.

@khandakershahi
It is asking for password.

@ralaud
I send you a message.

@khandakershahi
I really dont know, I looked into but I do only find the same what you already found.
Did you turned on that Krack fix workaround?
Because I found this post and it is saying about this workaround;

Since some client devices might never receive an update, hostapd contains an optional AP-side workaround to complicate these attacks, slowing them down. Please note that this does not fully protect you from them, especially when running older versions of wpa_supplicant vulnerable to CVE-2017-13086, which the workaround does not address. As this workaround can cause interoperability issues and reduced robustness of key negotiation, this workaround is disabled by default.