SUPPORT FOR TP-LINK TL-WR940N Ver 5.0

Ok i Will use this method (sysupgrade) to test my custom firmware and my app.
But i Will need later to prepare this factory bin as you did to flash hundred devices.
And for this, i will try your method:

Use hex editor to change this value in factory-eu.bin form 4555 to 4252 and use mktplinkfw tool from firmware-utils to check MD5 sum and again correct MD5 in hex editor.

Do you have some tips to do this, or some other link forum ?

Thx

I prepare patch to make BR factory image:
Look here: https://github.com/heinzek/source/commit/4de3ccd42a31c02c9900fc97f40b89faaf34bda3
use command on your "source" directory:

wget https://github.com/heinzek/source/commit/4de3ccd42a31c02c9900fc97f40b89faaf34bda3.patch
patch -p1 < 4de3ccd42a31c02c9900fc97f40b89faaf34bda3.patch

it works!

i sent an email to the author: Matthias Schiffer asking for it and confirm this fix, just minutes before you send the patch, was the same thing!!!

Thank you

When i ask the author, he told me, to open a PR with the fix, do you will do that ?

Ok i Will use this to test my custom firmware and my app.
But i Will need later to prepare this factory bin as you did to flash
hundred devices.

Thx

Ok. i open PR: https://github.com/lede-project/source/pull/1564

2 Likes

I have a same problem when I try to flash to LEDE from stock, my device is TL-WR940N (VN). @Heinz could you help me build another version support VN region?
Thanks

hello @mportela. I have same router (TP LInk - WR 940N (BR) V5). In the box showed 256mb ram, but the tp-link support reply is have 32mb.

Pls, is possible confirm the detail. Is 32mb ram or 256mb ram?

Thanks

@jucato, look for my commands from previous messages, "df -h" and "free -m", it looks 32 and not 256....

HI @theday0314 i create a fix for implementing your REGION.

the fix is here for testing and waiting the previous PR to be merger by LEDE...

https://github.com/mportela/source/pull/3

I don't know how to send the image here in forum... but upload a VN version here for you if you can't compile it using my version:
https://expirebox.com/download/cb064d3dfbece11f8a37c2b9f2b54517.html

1 Like

and @theday0314 if have some problem, try renaming the LEDE firmware file to a shorter name, such as factory.bin before...

1 Like

thanks so much, this works fine :smiley:

1 Like

I set my wireless channel: 11, width 40MHz, but receive only 20MHz, anyone get the bug like me? I try to change almost all channel, It has no effect

@theday0314 I'm a developer, not network expert, but i've tryed here the same config, and my clients are showing, in the status page that are conected in 20 MHz too.... but i can't say it's a bug or missconfig etc... maybe its better to add a new topic in the forum with this subject ?!
:face_with_raised_eyebrow:

try add option noscan 1 to Your wireless config:

uci set wireless.radio0.noscan=1
uci commit wireless; wifi

Hey. I'm build an image for version 5. I choose only lucy and wpad. Build runs without errors, but files for the firmware does not appear. Advise what I'm doing wrong? Or, collect and give me sysupgrade.

TL-WR940N v5 has only 4MB flash, which makes it difficult to install additional packages.

Suggested reading (yes, you should read them all and thoroughly.):

1 Like

Consegui instalar dessa forma:
Primeiro instalei essa versĆ£o: Veja abaixo

Com ela nĆ£o tive acesso via webgui, acessei com o putty e fiz a atualizaĆ§Ć£o, pronto, resolvido.

Comandos: Veja abaixo.

I was able to install this way:
First I installed this version https://tplinkforum.pl/uploads/default/original/2X/b/bc4c7242372180c3ce1ed01a72b9ae8a353e5a5d.bin

With it I did not have access via webgui, I accessed the putty and did the update, done, solved.

Commands:

cd /tmp

wget http://downloads.lede-project.org/releases/17.01.4/targets/ar71xx/generic/lede-17.01.4-ar71xx-generic-tl-wr940n-v4-squashfs-sysupgrade.bin

sysupgrade lede-17.01.4-ar71xx-generic-tl-wr940n-v4-squashfs-sysupgrade.bin

Hi, for me the firmware does not fit, constantly error 18005.
Make firmware for "RU" region.
A link to my original firmware. "https://static.tp-link.com/TL-WR940N(RU)_V5_170207.zip"
Thank you

1 Like

Hi strut06.

in my branch https://github.com/mportela/source/pull/3 iā€™ve done a version to BR and VN Regions.
You can follow this to make your firmware region, with some changesā€¦

If you canā€™t do this by your own, reply here so i can try to compile one for your region and you can test it.