Posted: Thu Mar 08, 2018 20:46 Post subject: Factory-to-ddwrt
The only difference between the US and EU versions is the header on the file. I can modify the header if neither of them flash. Try one, if it does not flash, try the other. Then post back with your results.
Posted: Mon Mar 12, 2018 20:54 Post subject: Re: Factory-to-ddwrt
ian5142 wrote:
The only difference between the US and EU versions is the header on the file. I can modify the header if neither of them flash. Try one, if it does not flash, try the other. Then post back with your results.
Posted: Mon Mar 12, 2018 21:30 Post subject: Factory File
Post the factory file that you want me to base it on.
The only factory (TP-Link) firmware on their Brazil site for the 940N is actually the EU version. It says so in the file name. _________________ Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.
QCA Best WiFi Settings
Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one.
Atheros:
Netgear R7800 x3 - WDS AP / station, gateway, QoS
TP-Link Archer C7 v2 x2 - WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - NU
D-Link 615 C1/E3/I1 x 7 - 1 WDS station
D-Link 825 B1 - NU
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - NU
UBNT loco M2 x2 - airOS
Broadcom
Linksys EA6400 - Gateway, QoS
Asus N66U - AP
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - switch
Posted: Mon Mar 12, 2018 22:15 Post subject: Re: Factory File
ian5142 wrote:
Post the factory file that you want me to base it on.
The only factory (TP-Link) firmware on their Brazil site for the 940N is actually the EU version. It says so in the file name.
Ok Ian,
Original firmware wr940n (br) v5 tp-link and factory file dd-wrt for wr940n v5.
Posted: Mon Mar 12, 2018 22:24 Post subject: dd-wrt file
Here is a dd-wrt file with a modified header. I have not tested it. If it works, I will open a ticket on the SVN and link to this thread. _________________ Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.
QCA Best WiFi Settings
Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one.
Atheros:
Netgear R7800 x3 - WDS AP / station, gateway, QoS
TP-Link Archer C7 v2 x2 - WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - NU
D-Link 615 C1/E3/I1 x 7 - 1 WDS station
D-Link 825 B1 - NU
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - NU
UBNT loco M2 x2 - airOS
Broadcom
Linksys EA6400 - Gateway, QoS
Asus N66U - AP
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - switch
I know exactly what the issue is, the factory firmware is blocking the dd-wrt firmware from flashing. The best way to bypass this is by using the TP-Link's TFTP recovery feature.
You need a TFTP server running on your computer (I use TFTP32/TFTP64). Set your computer's LAN ip to 192.168.0.66. Rename the factory-to-ddwrt firmware to match what it says it that link. Then put the router in
Posted: Tue Mar 13, 2018 2:23 Post subject: Re: TFTP
ian5142 wrote:
I know exactly what the issue is, the factory firmware is blocking the dd-wrt firmware from flashing. The best way to bypass this is by using the TP-Link's TFTP recovery feature.
You need a TFTP server running on your computer (I use TFTP32/TFTP64). Set your computer's LAN ip to 192.168.0.66. Rename the factory-to-ddwrt firmware to match what it says it that link. Then put the router in
Brainslayer should add official support for the router if it is required. I am not convinced it is. _________________ Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.
QCA Best WiFi Settings
Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one.
Atheros:
Netgear R7800 x3 - WDS AP / station, gateway, QoS
TP-Link Archer C7 v2 x2 - WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - NU
D-Link 615 C1/E3/I1 x 7 - 1 WDS station
D-Link 825 B1 - NU
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - NU
UBNT loco M2 x2 - airOS
Broadcom
Linksys EA6400 - Gateway, QoS
Asus N66U - AP
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - switch
I had the same issue with a Canadian version of this router.
marketing model on front of the box: "TL-WR940N"
fine print model on box near barcode: "TL-WR940N(CA) Ver:5.0"
model on bottom nameplate on router: "TL-WR940N"
model on bottom nameplate at barcode: "TL-WR940N(CA) Ver:5.0"
FCC ID on bottom nameplate on router: "TE7WR940NV4"
Using the stock firmware's web interface page for firmware upgrade, and trying both the factory-to-wrt-us.bin and -eu.bin, I was getting the same error:
Code:
Error code: 18005
The update failed due to the incorrect version of the updated file. Check the file name.
I did the TFTP flashing as follows (mostly as root user):
- on ubuntu 16.04 machine, apt-get install tftpd-hpa
- in /etc/default/ create file tftpd-hpa containing:
TFTP_DIRECTORY="/tftp"
TFTP_OPTIONS="--secure --create"
TFTP_ADDRESS=":69"
TFTP_USERNAME="tftp"
(note I saw other "help" posts where the above were smart quotes , or were only single-hyphen options , or were a backslash on the directory , all of which were gotchas, be careful with copy-paste!)
- mkdir /tftp
- put factory-to-ddwrt-us.bin into that folder, renamed to wr940nv5_tp_recovery.bin (probably -eu.bin would work too, renamed the same)
- chown -R tftp:nogroup /tftp
- disconnect from wifi, use LAN wire to LAN port of router
- in networkmanager, modify existing or add a wired ethernet connection, on Ethernet tab pick a Device: eth0 or whatever it offers you; on IPv4 Settings tab, method: Manual, address: 192.168.0.66, netmask:24, gateway: 192.168.0.1 (some pages said the router will be .86 but I can't recall if I tried that for gateway), save and enable that connection
- service tftpd-hpa restart
- power off the router, and while holding pointy thing/paperclip etc on the reset button, power on the router, still holding reset button until the padlock LED comes on (about 3-5 s)
- wait a bit for router to fetch .bin file by TFTP (I don't know how long I waited or which LEDs changed in this time; also I couldn't find if or where the TFTP server was logging this access on the laptop)
- in networkmanager, change back to the automatic (DHCP) wired connection or enable wifi
- browse to router at 192.168.1.1, should see dd-wrt interface now instead of tp-link branded interface
- change default password, wifi password and all other dd-wrt features for which you did all this
The biggest problem with this router model is that only v6 is now being sold in US stores, and DD-WRT has no build that supports it. The required changes are minor and well documented, but support for v6 has not been added.