OpenWrt Forum Archive

Topic: Change WR703n in English...use the firmware of mr3020

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

offical 703n is in Chinese,mr3020 has the same hardware.
so just mod the firmware of mr3020 then flash your 703n.it change to english...
if you tired of openwrt,and you don't know chinese this is a good way...
download http://uploadhero.com/dl/VWH456Ae

Worked in v1.6. Thank you very much smile

Thank you very very much. I had been looking for something like this since a month. I tried Openwrt and DDWRT, both of which had some problem with my ZTE modem.

This firmware worked great and also was a breeze to install. Thanks again!

Hi Lissom

Thanks a lot

Once upgraded with this firmware, can we keep on upgrading with MR3020 newer firmware as they are released ?
Or should the MR3020 firmware be patched each time ?
If yes, how ?

Thanks

Barbudor

**********************
How to flash wr703n router
***********************
NOTE:
This guide describes how to flash your wr703n router from DD-WRT to original ENG firmware (modded mr3020)

WARNING:
If anything goes wrong during flashing procedure or if you brick your router, I am not responsible for any damages.

PROCEDURE:

1. Prepare:

- Modded mr3020 firmware (3.12.11 Build 120320 Rel.42138n)
- WinSCP tool
- LAN RJ45 cable
- Power adapter for your router

2.Enable SSH on your router to be able to use SCP and SSH:

Services -> SSHd -> Enable
Administration -> SSH Management -> Enable
                  SSH Remote Port -> Enter default value: 22


3.Use WinSCP tool to copy firmware to your router into /tmp directory:

Setup SCP connection:

Hostname: 192.168.1.1 (or if changed enter router's IP address)
User: root
Password: <your password>


4.Connect to your router via SSH protocol:
Use putty or any terminal CLI software

3.Check wether your /tmp directory on router contain transferred firmware:

cd /tmp
ls -la

root@TP-LINK DD-WRT:/tmp# ls -la
drwxrwxrwx   10 root     root             0 Jan  1 00:30 .
drwxr-xr-x   15 root     root           153 Apr  1  2013 ..
-rw-r--r--    1 root     root           744 Jan  1 00:26 .ipt
-rw-r--r--    1 root     root            11 Jan  1 00:26 .wanuptime
-rw-r--r--    1 root     root          1294 Jan  1 00:26 ath0_hostap.conf
drwx------    2 root     root             0 Jan  1 00:00 chilli
drwx------    2 root     root             0 Jan  1 00:00 cron.d
-rw-r--r--    1 root     root           241 Jan  1 00:26 dnsmasq.conf
-rw-r--r--    1 root     root             0 Jan  1 00:00 dnsmasq.leases
drwx------    2 root     root             0 Jan  1 00:00 etc
-rw-r--r--    1 root     root            49 Jan  1 00:26 hosts
-rw-r--r--    1 root     root           206 Jan  1 00:26 igmpproxy.conf
-rw-r--r--    1 root     root            86 Jan  1 00:00 loginprompt
drwx------    2 root     root             0 Jan  1 00:00 nvram
drwxr-xr-x    3 root     root             0 Jan  1 00:00 oet
-rw-r--r--    1 root     root            25 Jan  1 00:26 resolv.conf
-rw-r--r--    1 root     root             0 Jan  1 00:26 resolv.dnsmasq
drwx------    3 root     root             0 Jan  1 00:00 root
drwxr-xr-x    8 root     root             0 Jan  1 00:00 var
-rw-r--r--    1 root     root       3932160 Jun  7  2012 wr703eng.bin
drwx------    2 root     root             0 Jan  1 00:00 www

4.Check the name of firmware partition:

cat /proc/mtd

oot@TP-LINK DD-WRT:/tmp# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00020000 00010000 "RedBoot"
mtd1: 003c0000 00010000 "linux"
mtd2: 002d0000 00010000 "rootfs"
mtd3: 00020000 00010000 "ddwrt"
mtd4: 00010000 00010000 "nvram"
mtd5: 00010000 00010000 "board_config"
mtd6: 00400000 00010000 "fullflash"
mtd7: 00020000 00010000 "fullboot"

The partition mtd1 named "linux" is kernel partition which will be flashed during flash procedure.

4.Flash your router with command:

mtd -r write <the name of your firmware> <the name of kernel partition>

i.e for this case:

mtd -r write wr703eng.bin linux

Wait for a few seconds to finish with firmware flashing procedure.
When complete, the router reboots automatically.


5.Check if everything is OK

Setup your PC IP address into subnet 192.168.0.x (i.e. 192.168.0.10)
Ping router's IP address 192.168.0.254

If you receive PING response, then you can connect to router's GUI with:

http://192.168.0.254
username; admin
password: admin

Now do a factory reset with System Tools -> Factory Defaults

NOTE:
If no response from PING received, try to reset your router (push reset pinhole button for 5 sec or until you see LED blinking)

6.Now you are finished.

(Last edited by marton on 14 Apr 2013, 12:54)

Hi Guys, I was able to follow Marton's instructions and completed the update of the firmware, now I'm able to ping using cable and I'm also able to connect to the router using wifi, but I'm not able to access the website: http://192.168.0.254, I get page cannot be displayed as If it didn't exist. Any idea what could be happening or how could I fix this?.

Thanks
Lucas

try a reset with the little button, try cleaning browser cache or use another one.

also after reset could it have a different ip like ...0.1 or ...1.1?

(Last edited by nebbia88 on 25 Jul 2013, 05:33)

I've been trying to do the extroot thing and managed to fill the available space.
I can't edit any of the config files because there is no room to write the new one

root@OpenWrt:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
rootfs                     576       544        32  94% /
/dev/root                 2304      2304         0 100% /rom
tmpfs                    14532        80     14452   1% /tmp
/dev/mtdblock3             576       544        32  94% /overlay
overlayfs:/overlay         576       544        32  94% /
tmpfs                      512         0       512   0% /dev
root@OpenWrt:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00020000 00010000 "u-boot"
mtd1: 000f8d18 00010000 "kernel"
mtd2: 002d72e8 00010000 "rootfs"
mtd3: 00090000 00010000 "rootfs_data"
mtd4: 00010000 00010000 "art"
mtd5: 003d0000 00010000 "firmware"

I'm using BARRIER BREAKER (Bleeding Edge, r38303)

I built a successful image and used sysupgrade to reflash
that all worked fine until I mistakenly filled the available space in flash
now I can't reflash with sysupgrade.

so I would like to confirm that I have the right commands
and not push this device to a permanent bricking.

from what I read from marton's post

After I get the new .bin file in the /tmp directory.
I can still use wget to load the new image.
I will use the factory image not the sysupgrade one.
I have renamed the file to "openwrt-factory.bin"

marton wrote:

4.Flash your router with command:

mtd -r write <the name of your firmware> <the name of kernel partition>

so in my case I would use

mtd -r write openwrt-factory.bin kernel

It would be good if someone could confirm that I have got this right and I'm not going to trash my 703.
Thanks

My 1.7 WR703n running 12.09 AA OpenWRT was successfully flashed to the MR3020 firmware linked by LISSOM (http://uploadhero.com/dl/VWH456A) using the instructions posted by MARTON. I flashed the "firmware" partition mtd5. Then I successfully updated my WR703n to the latest version of MR3020 from TP-Link website. Everything is working fine, I was finally able to get my 3G data card to work. Thanks everyone for sharing their knowledge here.

Hi, I've upgraded my wr703 to run this modded MR3020 firmware, and it's all working well. However, I'd like to put it back to OpenWRT, and when I try and upload the 703 OpenWRT image via the web browser I get the error;
"Error code: 18005
Upgrade unsuccessfully because the version of the upgraded file was incorrect. Please check the file name."

I've tried the original TP-Link wr703n image, and teh OpenWrt image and get the same error. Is there a header in the file it's looking for? Can modded firmware be produced that will be accepted, and one that will skip the check for future release?

Sorry if I'm being a little stupid here, I'm new to this world of embedded!

Thanks

westiej wrote:

Hi, I've upgraded my wr703 to run this modded MR3020 firmware, and it's all working well. However, I'd like to put it back to OpenWRT, and when I try and upload the 703 OpenWRT image via the web browser I get the error;

Did you try to use OpenWRT image for mr3020?

Hi guys,

I've uploaded the wr703eng.bin to the TP Link703n in which was translated (from Chinese in Google Translate) as 'Software upgrade' in the 'System tools' section.

It loaded up and then seemed to disconnect from the browser window where I'd logged onto it via the address http://192.168.1.1.

It now doesn't connect via this address and when I try to find the wr703eng.bin having tried the ls -la command I find nothing...

This is what I get...

total 76
drwxrwxrwt 16 root     root     12288 Jul  2 18:36 .
drwxr-xr-x 23 root     root      4096 Jun  9 21:29 ..
drwxrwxrwt  2 lightdm  lightdm   4096 Jun 30 10:27 at-spi2
-rw-r--r--  1 root     root         0 Jun 30 10:33 cgminer-usb-1-6
-rw-r--r--  1 root     root         0 Jun 30 10:33 cgminer-usb-1-7
-rw-r--r--  1 root     root         0 Jun 30 10:33 cgminer-usb-1-8
drwx------  2 utrophia utrophia  4096 Jun 30 10:29 .esd-1001
drwx------  2 lightdm  lightdm   4096 Jun 30 10:28 .esd-113
drwxrwxrwt  2 root     root      4096 Jun 30 10:28 .ICE-unix
drwx------  2 utrophia utrophia  4096 Jun 30 10:28 keyring-wPSXZS
drwx------  2 utrophia utrophia  4096 Jul  2 17:10 lutii2hl.tmp
drwx------  2 utrophia utrophia  4096 Jan  1  1970 orbit-utrophia
srwxrwxr-x  1 utrophia utrophia     0 Jun 30 10:31 OSL_PIPE_1001_SingleOfficeIPC_c5b19a362ddcabaaceab47d1b75c2e78
drwx------  2 utrophia utrophia  4096 Jul  2 17:21 plugtmp
drwx------  2 lightdm  lightdm   4096 Jun 30 10:28 pulse-2L9K88eMlGn7
drwx------  2 root     root      4096 Jun 30 10:27 pulse-PKdhtXMmr18n
drwx------  2 utrophia utrophia  4096 Jun 30 10:29 pulse-XCYrZRw1wwjQ
drwx------  2 utrophia utrophia  4096 Jun 30 10:28 ssh-JwztotlW2095
-rw-------  1 utrophia utrophia     0 Jun 30 10:30 tmpl2NTYU
-rw-rw-r--  1 lightdm  lightdm      0 Jun 30 10:28 unity_support_test.0
drwxr-xr-x  2 root     root      4096 Jun 30 10:28 .winbindd
-r--r--r--  1 root     root        11 Jun 30 10:27 .X0-lock
drwxrwxrwt  2 root     root      4096 Jun 30 10:27 .X11-unix
utrophia@spc-MS-7250:/tmp$
utrophia@spc-MS-7250:/tmp$ ls -la
total 76
drwxrwxrwt 16 root     root     12288 Jul  2 18:36 .
drwxr-xr-x 23 root     root      4096 Jun  9 21:29 ..
drwxrwxrwt  2 lightdm  lightdm   4096 Jun 30 10:27 at-spi2
-rw-r--r--  1 root     root         0 Jun 30 10:33 cgminer-usb-1-6
-rw-r--r--  1 root     root         0 Jun 30 10:33 cgminer-usb-1-7
-rw-r--r--  1 root     root         0 Jun 30 10:33 cgminer-usb-1-8
drwx------  2 utrophia utrophia  4096 Jun 30 10:29 .esd-1001
drwx------  2 lightdm  lightdm   4096 Jun 30 10:28 .esd-113
drwxrwxrwt  2 root     root      4096 Jun 30 10:28 .ICE-unix
drwx------  2 utrophia utrophia  4096 Jun 30 10:28 keyring-wPSXZS
drwx------  2 utrophia utrophia  4096 Jul  2 17:10 lutii2hl.tmp
drwx------  2 utrophia utrophia  4096 Jan  1  1970 orbit-utrophia
srwxrwxr-x  1 utrophia utrophia     0 Jun 30 10:31 OSL_PIPE_1001_SingleOfficeIPC_c5b19a362ddcabaaceab47d1b75c2e78
drwx------  2 utrophia utrophia  4096 Jul  2 17:21 plugtmp
drwx------  2 lightdm  lightdm   4096 Jun 30 10:28 pulse-2L9K88eMlGn7
drwx------  2 root     root      4096 Jun 30 10:27 pulse-PKdhtXMmr18n
drwx------  2 utrophia utrophia  4096 Jun 30 10:29 pulse-XCYrZRw1wwjQ
drwx------  2 utrophia utrophia  4096 Jun 30 10:28 ssh-JwztotlW2095
-rw-------  1 utrophia utrophia     0 Jun 30 10:30 tmpl2NTYU
-rw-rw-r--  1 lightdm  lightdm      0 Jun 30 10:28 unity_support_test.0
drwxr-xr-x  2 root     root      4096 Jun 30 10:28 .winbindd
-r--r--r--  1 root     root        11 Jun 30 10:27 .X0-lock
drwxrwxrwt  2 root     root      4096 Jun 30 10:27 .X11-unix


Is it the .X0-lock entry? Have a screwed everything up beyond recognition?

Help much appreciated.

I'm not sure why trying to find the file on your computer is relevant after you've already flashed it to the router?

Regardless, not sure if the build you used comes with luci or not, but I would suggest a) Pinging the device and b) Telnetting to the device and c) Failsafe if neither of those work.

Hi,
Thanks for getting back. Tried pinging it and got...

PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.64 icmp_seq=1 Destination Host Unreachable
From 192.168.1.64 icmp_seq=2 Destination Host Unreachable
From 192.168.1.64 icmp_seq=3 Destination Host Unreachable

Tried telnet:

root@spc-MS-7250:~# telnet 192.168.1.1
Trying 192.168.1.1...
telnet: Unable to connect to remote host: No route to host


Tried doing everything after clicking the reset / failsafe button on the side and nothing still seems to happen.

The light's not flashing but I can see the device as ticked green when I go onto the ip of the router it's plugged into.

Have I 'bricked' it?

are you sure about default ip?

connect only your pc to the router to avoid conflicts..

You can also flash the 741nd v4 firmware. I tried myselft months ago and it worked

yeah the default ip is right as i was getting onto it and then i loaded the wr703eng.bin and now i've lost contact with it. it tries to connect to the 192.168.1.1 but it just can't connect.

since you changed fw default ip could be different.... i do not understand WHAT is inside wr703eng file.

if it's mr3020 fw then ip could be 192.168.0.254...

Ok so it seems that whilst upgrading the firmware to get it running in English initially I've used MR3020 firmware instead which now seems to block any kind of firmware upgrade (even if I rename it). Now I'm quite glad I bought another one...

you should read some basic networking tutorial imho...

Nothing really to do with networking tutorials, more the fact the router came with Chinese firmware and I went to a website saying I should download the MR3020 firmware. This seems to have jammed it. I've tried renaming the firmware files and it doesn't get past.
Now trying

/sbin/sysupgrade --force http://downloads.openwrt.org/snapshots/ … actory.bin

But this doesn't seem to be set up for Ubuntu as it's not recognising the /sbin file or the /sysupgrade command...

If anyone's got an insight into this it'd be whey kewl...

1) /sbin/sysupgrade needs to be done on the router, not Ubuntu
2) You have to download the file first and then tell sysupgrade to use the local file.