TP-Link 3020 firmware upgrade unsuccessful.

Posted by mk84 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Now, this forum is in read-only mode. You find details Details hereContinue on /r/PirateBox
TP-Link 3020 firmware upgrade unsuccessful.
June 09, 2016 12:54PM
Hi PirateBOX friends!.
I have a TP-Link 3020.
I followed instruccions for updating original firmware to PirateBox firmware
(openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin).
I waited for finish updating process, and when it was done I don´t have 192.168.1.1 or 192.168.0.254 web browser access.
I have telnet access. But I only have one minute access, then I have General error Ping. XD.

I follow Humus instruccions to restore original MR3020 firmware (https://forum.piratebox.cc/read.php?2,4189)

1. Download mr3020 original firmware.
1.1 prepare .bin file for router:
dd if=entry.bin of=output.bin skip=257 bs=512
1.2 move output.bin to usb root
1.3 put usb into turned off mr3020

2. change homecomputerIP to ='192.168.1.2'
2.1 reboot/reinitialize networking (toget staticIP)
2.2ping 192.168.1.1 (leave terminal open;ctrl+n for new terminalwindow)
2.3connect ethernet-cable into turned off router
2.4turn on router (as soon as WPSbutton starts to blink PUSH IT-itshouldblinkfastnow)
(2.5 you should see now a response comming from your ping requests!)

Here I have the problem:

3.1 cp /mnt/usb/output.bin /tmp (make shure the files are there, with the 'ls' command)

- When I list mnt directory, this is empty confused smiley

I need your help. Thanks.
I´m sorry my bad english.
Re: TP-Link 3020 firmware upgrade unsuccessful.
June 09, 2016 01:11PM
mount
dmesg | grep sda
ls /dev/sd*
ls -la /mnt/
ls -la /mnt/usb

what are the outputs of the above commands?
it seems to me its possible the usb stick is not mounted on the mr3020


PirateBox Installs:
2x Zsun's (both testing, one with serial interface)
A5-V11 (mostly for OpenWRT testing DIY)
2x RPi Zero's
(one active in car 24/7, gets a lot of hits at Walmart, movie theaters and the mall)
2x RPi3's (both home servers, one Ubuntu custom install along side a ton of other services)
1x RPi2 (currently work server)



Edited 1 time(s). Last edit at 06/09/2016 01:12PM by TheExpertNoob.
Re: TP-Link 3020 firmware upgrade unsuccessful.
June 09, 2016 02:46PM
Thanks TheExpertNoob thumbs up

1. mount

OUTPUT:

2. dmesg | grep sda

OUTPUT:

3. ls /dev/sd*

OUTPUT: /dev/sda

4. ls -la /mnt/

OUTPUT:

5. ls -la /mnt/usb

OUTPUT: No such file or directory.

smileys with beer
Re: TP-Link 3020 firmware upgrade unsuccessful.
June 09, 2016 02:59PM
alright, it seems your usb stick doesnt have a proper partition table. You should have an sda1 and/or sda2 (if you have multiple paririons) Backup the contents of the usb stick on your computer, re-format it FAT32, transfer files back over and try again on the MR3020.

If it still doen't show up try these commands.

Language: PHP
mkdir /mnt/usb mount /dev/sda1 /mnt/usb

Edit: Source starting at "If you can't find opkg lines"

Edit2: that could have also been the original problem.


PirateBox Installs:
2x Zsun's (both testing, one with serial interface)
A5-V11 (mostly for OpenWRT testing DIY)
2x RPi Zero's
(one active in car 24/7, gets a lot of hits at Walmart, movie theaters and the mall)
2x RPi3's (both home servers, one Ubuntu custom install along side a ton of other services)
1x RPi2 (currently work server)



Edited 2 time(s). Last edit at 06/09/2016 03:12PM by TheExpertNoob.
Re: TP-Link 3020 firmware upgrade unsuccessful.
June 09, 2016 03:42PM
OOOOOOO I love you TheExpertNoob! >grinning smiley<

Your second option was right!

mkdir /mnt/usb
mount /dev/sda1 /mnt/usb

Finally I follow instructions to the end and I have restored my MR3020.

I have web browser acces 192.168.0.254

Thank you so much!!

I have a last question: I try a second time to upgrade firmware and I have the same problem. angry smiley

Anybody have problems with openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin?
Re: TP-Link 3020 firmware upgrade unsuccessful.
June 10, 2016 02:15PM
Same problem being "I have telnet access. But I only have one minute access, then I have General error Ping"?

Do you already have your usb drive prepared with the piratebox_install.zip unzipped into the root of the USB drive and plugged in BEFORE upgrading to the custom openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin firmware?

Has the router rebooted by itself a few times before trying to log in (piratebox_install process can take as long as 30 mins)?

It seems the MR3020 is having trouble recognizing the thumbdrive on boot. You may need to reformat the entire usb drive to FAT32 on a windows machine, as weird as it sounds, if you didn't reformat it before.

Edit: It could also be a general DHCP/DNS error from the client computer.


PirateBox Installs:
2x Zsun's (both testing, one with serial interface)
A5-V11 (mostly for OpenWRT testing DIY)
2x RPi Zero's
(one active in car 24/7, gets a lot of hits at Walmart, movie theaters and the mall)
2x RPi3's (both home servers, one Ubuntu custom install along side a ton of other services)
1x RPi2 (currently work server)



Edited 1 time(s). Last edit at 06/10/2016 02:24PM by TheExpertNoob.
Re: TP-Link 3020 firmware upgrade unsuccessful.
June 10, 2016 06:24PM
Hi TheExpertNoob!. If I don´t use Failsafe mode I have telnet full time access. XD

Do you already have your usb drive prepared with the piratebox_install.zip unzipped into the root of the USB drive and plugged in BEFORE upgrading to the custom openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin firmware?

Yes

Has the router rebooted by itself a few times before trying to log in (piratebox_install process can take as long as 30 mins)?

I don´t know. I leave my router for 2 hours and when I come back home, in screen appear "web not found" error...

I have the same error, I don´t have web browser access 192.168.1.1

confused smiley
Re: TP-Link 3020 firmware upgrade unsuccessful.
June 13, 2016 06:23PM
the default TPLInk web ui does not comeback after flashing to piratebox.

if you can login via telnet please post the output of the commands listed here: [piratebox.cc]