OpenWrt Forum Archive

Topic: TL-WR841N V10 OpenWRT

The content of this topic has been archived between 23 Oct 2016 and 24 Apr 2018. Unfortunately there are posts – most likely complete pages – missing.

Thanks Worked perfect for me!

roytam1 wrote:
tarnatos wrote:

Thanks to the unremitting work of Neoraider we now have a patch that fixes the low transmitting power.

You can get the patch here:
http://home.universe-factory.net/neorai … r.-2.patch
http://home.universe-factory.net/neorai … -v10.patch

I've created a experimental openwrt image:
https://www.dropbox.com/sh/xj3l8vrtdyoz … 2SWa?dl=0#

!!This version is only for router containing a QCA9533-B3LA CPU!!

Please test and report!

Once again, thanks to neoraider!

I built a trunk+patches with luci sysupgrade image: http://rthost.cf/tmp/openwrt-ar71xx-gen … pgrade.bin
(Build with backport patches from qsdk wlan-open)

and I seems that it gets better coverage than before now, thanks.

For those who wants to go directly to OpenWRT from stock firmware, here it is:
http://rthost.cf/tmp/openwrt-ar71xx-gen … actory.bin

I flashed your sysupgrade image and it works but now I want to flash again and with
the sysupgrade image, the factory image and even the "stripped" tp-link version
I get always:

"The uploaded image file does not contain a supported format. Make sure that you choose the generic image format for your platform."

What to do ???

erz wrote:

I flashed your sysupgrade image and it works but now I want to flash again and with
the sysupgrade image, the factory image and even the "stripped" tp-link version
I get always:

"The uploaded image file does not contain a supported format. Make sure that you choose the generic image format for your platform."

What to do ???

try doing upgrade in ssh.
http://wiki.openwrt.org/doc/howto/gener … d_upgrades
http://wiki.openwrt.org/doc/howto/gener … _procedure

g6n2l5c7 wrote:
revosftw wrote:

PS: I will upload a DD-WRT too but someone needs to test it as I couldnt find time to test it on my friend's router. So anyone who is interested can pm me.

I'm interesting to test DD-WRT firmware.

I tested it , it has the same antenna problem , along with a strange problem . Initially on DHCP mode the WAN port works but when I put that to static IP config. then the WAN port stops working, I had to map it to the LAN ports to make the router work .

revosftw wrote:
g6n2l5c7 wrote:
revosftw wrote:

PS: I will upload a DD-WRT too but someone needs to test it as I couldnt find time to test it on my friend's router. So anyone who is interested can pm me.

I'm interesting to test DD-WRT firmware.

I tested it , it has the same antenna problem , along with a strange problem . Initially on DHCP mode the WAN port works but when I put that to static IP config. then the WAN port stops working, I had to map it to the LAN ports to make the router work .


whether working on pppoe
What version you install dd wrt whether to version 9

Guys I tried the Version above from Stock firmware and I can report that it works, tested most of the features and they work. The Range according to me has increased by a decent margin.

Cheers!

tarnatos wrote:

Thanks to the unremitting work of Neoraider we now have a patch that fixes the low transmitting power.

You can get the patch here:
https://github.com/freifunk-gluon/gluon … r.-2.patch

I've created a experimental openwrt image (without LUCI!):
https://www.dropbox.com/sh/xj3l8vrtdyoz … 2SWa?dl=0#

!!This version is only for router containing a QCA9533-B3LA CPU!!

Please test and report!

Once again, thanks to neoraider!

Thanks for that. I tried to apply the patches but they do not work on current trunk. The folder target/linux/ar71xx/patches-3.18 does not even exist. I have only patches-4.1. And the files which are supposed to be patched can be found there under slightly different names but parts of these patches seem to have been applies already.
What am I doing wrong?

Thank you for the work of porting openwrt to this device.

But I have several problems.

I can't use l2tp to tunnel into the internet. (l2tp over wan to my vpn-provider)
It says: xl2tpd not installed. When I try to install it, the router gives me errors.

****** start ******
Collected errors:
* xsystem: wget: vfork: Out of memory.
* opkg_download: Failed to download http://downloads.openwrt.org/snapshots/ … r71xx.ipk, wget returned -1.
* opkg_install_pkg: Failed to download xinetd. Perhaps you need to run 'opkg update'?
* opkg_install_cmd: Cannot install package xinetd.
****** end ******

The performance of the wlan is poorer, than the original software.
When I hear streaming music from the internet, the music gets interrupted as soon as I try to install the l2tp package.

And I didn't succeed to flash back to the original software. But I'll give another try now, because I bought the router to get tunneling for my internet connection!

My questions are:
What must I do to make the wlan stronger?
Why can't I install l2tp?

Thanks in advance for your answers!

P.S.
Also on the second attempt I was unable to revert back to stock software!

(Last edited by tritonmole on 13 Nov 2015, 17:02)

Yesterday I managed to switch back to stock firmware.

But it was a real pain!

I am now god expert enough to get a tftp-server running on my Ubuntu 14.04, so I had to find another way.
I decided to upload the image to my could and wget it through a share-link to the router. Didn't work!
Then I took the image and uploadet it to an ftp-server on my tablet, after the pc denied to access the same type of ftp-server on my phone. I was to able to download the image from the tablet to  /tmp on the router. Then I used sysupgrade.
Now stock runs again!

The wifi was VERY unstable with openwrt. Not only the range, but also it was a big problem to get the image with wget transferred to the router. The tranferred stalled after about 90-95%. I tried it several times. Then I issued the -c option an still needed a view attempts to get the image transferred.

In the past I never had this kind of problems with my wifi.

I think this openwrt still need some work to be done, to run stable. To me it seems like the difference between V9 an V10 is more than expected.

But nevertheless I thank you revosftw for your work!

ttraj wrote:

Tested few things. but when i try to install luci it says no space hmm
any ideas to solve this issue??

Thats the problem, I had, too!
No space to install xl2tpd.

tritonmole wrote:
ttraj wrote:

Tested few things. but when i try to install luci it says no space :/any ideas to solve this issue??

Thats the problem, I had, too!
No space to install xl2tpd.

Post #14 has a image with LuCi

OK, this is confirms my decision not to use openwrt.
But why did openwrt tell me on the page where I can choose the packages to install, that 224K space are available and then it does not allow me to install a 77K package?

And then there was that problem with the wifi ,wich was not stable on my router.

ttraj wrote:

Guys i tried development tree openwrt download
https://downloads.openwrt.org/snapshots … actory.bin
as i found above mentioned patch already applied.
Tested few things. but when i try to install luci it says no space hmm
any ideas to solve this issue??

You can run recent OpenWrt versions on a 4 MiB device. You will, however, have to include LuCI in the image before flashing it and trunk builds never include LuCI.

You can use the Image generator to do that without needing to compile your own build.

and i try to build my own with ArchLinux i ended up in error
http://pastebin.com/tGgzBmua

That's what you get for bleeding edge distros wink.

Borromini wrote:

You can run recent OpenWrt versions on a 4 MiB device. You will, however, have to include LuCI in the image before flashing it and trunk builds never include LuCI.

You can use the Image generator to do that without needing to compile your own build.

Hey thanks for suggestion. will try out image generator

That's what you get for bleeding edge distros wink.

I like arch for speed, it always comes with building issue. hmm okey i boot up debian minimal in VM and check it

tmo26 wrote:

...on a device with only 4MB flash.

There's a reason, why this table exists: https://wiki.openwrt.org/toh/views/toh_available_864

You *can* do it with 4MB, but obviously, that involves more efforts than the common user is willing to spend.

I am just hobbyist who try new things, i thought of play with openwrt with limited spending my mood spoiled sad

any suggestion for buying less price router to try all things???

A TL-WR1043ND v2 (or maybe v3) had 8 MiB flash and 64 MiB RAM. That should give you some headroom for a few years.

tmo26 wrote:

You *can* do it with 4MB, but obviously, that involves more efforts than the common user is willing to spend.

And this is the problem with me. ;-)

But I found the wifi beeing VERY unstable!
Not the range. The range was a little bit shorter, than with stock firmware. But transmissions were not stable.
Has anyone experienced that, too?

I wanted openwrt mainly, because I need more targets for the firewall. Stock allows only 16 targets. I need about 20 to block google an facebook based on their ip-ranges.

If the wifi would be stable, I might give a second chance.
I was not able to hear radiostream over wifi and as I said before, it was a pain to get the stock-image on the router to sysupgrade it.
Lan worked perfect.

Good morning open-source-heros (-:

(i really mean that, in times where my castrated ISP router has more influence to my network then myself, people working on alternatives without charging money for it are just heros! same goes for GNU/Linux in genral + this is the proof that development and engenieering spirit is not bound to the laws of neoliberal market economy)

1. openWRT on 4mb device and the (more) efforts

besides the simple fact, that "more efforts"  means more chance to learn things and isn't something negativ in this context, let me bring back to our mind that the pretty super easy and effortless way of installing the provided v9 from revosftw of chaos calmer plus the sysupgrade from roytam1 worked perfect for me with LuCi!
Btw: Thanks revosftw and roytam1 for your work.

And that is just point and click. I have to admit though that i'm not sure if all the functions are working, but the install itself with LuCi worked fine.


Also the "downgrade" to the original (stripped) TPLink firmware per SSH worked flawlessly in my case, more than twice (-:
(i used the "mtd -r write tplink.bin" firmware  way)

Btw: the failsafe mode of  TL-WR841N V10 works beautifull too :-)


tritonmole wrote:

But I found the wifi beeing VERY unstable!

That really would be a dealbreaker for me too, but i'm going to test that. If anyone else may provide additional expieriences regarding the wifi stability, would be great :-)


Borromini wrote:

You can use the Image generator to do that without needing to compile your own build.

Hi Borromini. Thanks for pointing in that direction. My download of a 64bit debian derivate has just finished, so i'm about to jump into that next little adventure :-) In our case i assume that the syntax would be something like :

EDIT 2:

make image PROFILE=TLWR841 PACKAGES="luci-base"

(edit2: i falsely used the wiki linked imagebuilder file, instead of the trunk snapshot one, which works with v10 i guess - i'll report if im done with that new test)

Thats the filenames:

openwrt-15.05-ar71xx-generic-tl-wr841nd-v9-squashfs-factory.bin 3.8mb
openwrt-15.05-ar71xx-generic-tl-wr841n-v9-squashfs-sysupgrade.bin 3.1mb

So it's all about the selection of the pakets here i think, but interestingly did the didn't the "full"LuCi fit on the v9 from the beginning of this thread too?

That may in addition be interresting to me because i could add ebtables then, which i don't know if i need them for my "hardware-firewall", but maybe woth a try (-:


ttraj wrote:

and i try to build my own with ArchLinux i ended up in error

maaan, the Bruce Lee OS on my router, would be fantastic, guess i wouldn't need a GUI then at all :-)


so, have fun everybody and see you later.

(Last edited by zoon on 15 Nov 2015, 22:25)

Working .bin with full LuCi support based on official snapshot

Borromini wrote:

You can use the Image generator to do that without needing to compile your own build.

Thank you Borromini, and risk and JNSamuel for your support and answering a thousand of my questions !


Ladys and Gentlemen, et voila :

imagemaker wrote:

openwrt-ar71xx-generic-tl-wr841n-v10-squashfs-factory.bin @3.9mb
openwrt-ar71xx-generic-tl-wr841n-v10-squashfs-sysupgrade.bin @3.5mb

This .bins are based on the snapshot/trunk version with already has the antenna-wifi-amplifier fix of Neoraider integrated.
But this bin has LuCi, in addition.

It' s made by image-maker with:

make image PROFILE=TLWR841 PACKAGES="libiwinfo-lua liblua libubus-lua libuci-lua lua luci luci-app-firewall luci-base luci-lib-ip luci-lib-nixio luci-mod-admin-full luci-proto-ipv6 luci-proto-ppp luci-theme-bootstrap rpcd uhttpd uhttpd-mod-ubus"

(package list copied of latest official release:
https://downloads.openwrt.org/chaos_cal … nfig.diff)

based on snapshot/trunk:
OpenWrt-ImageBuilder-ar71xx-generic.Linux-x86_64.tar.bz2
(from: https://downloads.openwrt.org/snapshots … 4.tar.bz2)

I'm going to upload the bins, maybe someone finds this helpful. I'll look for a way to not zip them and add the compile output of the console as a textfile amongst a readme, and look for a uploader which is not related to myself, so that i can't track who downloaded the files. Above that, i guess i can't do anything more then clearly state that i did not modify any of the sourcefiles to compromise someones data integrity!

Download:
md5sums
openwrt-ar71xx-generic-tl-wr841n-v10-squashfs-factory.bin
openwrt-ar71xx-generic-tl-wr841n-v10-squashfs-sysupgrade.bin
readme
sha256sums


HAVE FUN EVERYBODY AND THANKS FOR THIS GREAT PROJECT (-:

(Last edited by zoon on 16 Nov 2015, 21:57)

I have compiled a real 15.05 with the ar71xx patches from the gluon firmware project. So you can still install software and stuff after a while, which is a big problem with trunk.


md5sums
openwrt-15.05-ar71xx-generic-tl-wr841n-v10-squashfs-factory.bin
openwrt-15.05-ar71xx-generic-tl-wr841n-v10-squashfs-sysupgrade.bin
Custom fixed build 2015-11-17.zip used patches+config

You may need to shorten the filename to get the tp-link software to accept the file.

I also have not modified the source code except for the required patches.

However, there are of course no guarantees for anything.

//Update: Unfortunately, the kernel version is different from normal 15.05. So all packages that require a certain kernel version won't work. I will look into this as soon as possible.

(Last edited by jamest42 on 5 Dec 2015, 00:14)

jamest42 wrote:

I have compiled a real 15.05 with the ar71xx patches from the gluon firmware project. So you can still install software and stuff after a while, which is a big problem with trunk.

What do mean with "after a while"?

Will I be able to run xl2tpd on this firmware?

I might give it a try.

Thanks for the work!

@jamest42:

Great, ty for your efforts on this!
Does that mean after the install of the compiled version would be space left on the device ? And how much?
One more question, how far would an attempt like yours, to compile a version from sources and applying the patches, be away from a "official" openWRT version ?