TPLink MR3420 v1.2 garg install & usb modem no-show
Moderator: Moderators
TPLink MR3420 v1.2 garg install & usb modem no-show
Noob at router upgrading though well-chastened Linux (ab)user.
For TPLink MR3420 v1.2 upgrading I read specific OpenWRT guidleines (maybe I should have just rushed straight in @ Gargoyle?) and followed this process:
1. Downloaded OpenWRT trunk as recommended:
openwrt-ar71xx-generic-tl-mr3420-v1-squashfs-factory.bin
2. Successfully installed via TP-Link UI updater
3. OpenWRT came without web interface, so used PuTTY to telnet to router to set password. Done.
Now I'm kinda stuck. Is there a simple, failsafe method to install Gargoyle on top? Or am I facing a brick? I've read Gargoyle 1.5.6 is stable with most 3G modems. Any constructive advice welcome. TIA.
For TPLink MR3420 v1.2 upgrading I read specific OpenWRT guidleines (maybe I should have just rushed straight in @ Gargoyle?) and followed this process:
1. Downloaded OpenWRT trunk as recommended:
openwrt-ar71xx-generic-tl-mr3420-v1-squashfs-factory.bin
2. Successfully installed via TP-Link UI updater
3. OpenWRT came without web interface, so used PuTTY to telnet to router to set password. Done.
Now I'm kinda stuck. Is there a simple, failsafe method to install Gargoyle on top? Or am I facing a brick? I've read Gargoyle 1.5.6 is stable with most 3G modems. Any constructive advice welcome. TIA.
Last edited by nightcap on Thu Jan 31, 2013 2:34 am, edited 3 times in total.
inject linux /reject M$
Re: TPLink MR3420 v1.2 advice please
Oh dear. Just read the bad news here:
http://www.gargoyle-router.com/phpbb/vi ... f=8&t=3271
I assume this means I need to restore original TPLink firmware via putty. Any "how to" links please? Anyone achieve this successfully with linux recently? TIA.
http://www.gargoyle-router.com/phpbb/vi ... f=8&t=3271
I assume this means I need to restore original TPLink firmware via putty. Any "how to" links please? Anyone achieve this successfully with linux recently? TIA.
inject linux /reject M$
-
- Moderator
- Posts: 250
- Joined: Thu Jan 17, 2013 11:43 pm
Re: TPLink MR3420 v1.2 advice please
install gargoyle-sysupgrade.bin via wget: http://wiki.openwrt.org/doc/howto/generic.sysupgrade
or
install LuCI web frontend: https://forum.openwrt.org/viewtopic.php?id=36777
opkg update
opkg install luci
/etc/init.d/uhttpd enable
/etc/init.d/uhttpd start
flash via LuCI
-----
After you flash gargoyle on the router, telnet is disabled.
ssh root@192.168.1.1
or
install LuCI web frontend: https://forum.openwrt.org/viewtopic.php?id=36777
opkg update
opkg install luci
/etc/init.d/uhttpd enable
/etc/init.d/uhttpd start
flash via LuCI
-----
After you flash gargoyle on the router, telnet is disabled.
ssh root@192.168.1.1
TP-Link WDR3600 v1.1 running 1.5.10+ L10n-English (Built 20130922 - OpenWrt r38093)
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)
https://github.com/BashfulBladder/gargoyle-plugins/wiki
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)
https://github.com/BashfulBladder/gargoyle-plugins/wiki
Re: TPLink MR3420 v1.2 advice please
Thanks for suggestions. Read all links carefully. As net access is absent on MR3420 router, and having already downloaded gargoyle-sysupgrade.bin file to my PC, I guess this process might work?
Transferring image file to a temporary location
On your Linux PC run:
On the router run:
Write it to flash using sysupgrade:
Tried this without luck. Maybe I got a step or two wrong? Will not attempt Luci or any opkg process until reliability is reported. Trust this makes sense.
Transferring image file to a temporary location
On your Linux PC run:
Code: Select all
cat [specified firmware].bin | pv -b | nc -l 3333
Code: Select all
nc 192.168.1.111 3333 > /tmp/[specified firmware].bin
Code: Select all
sysupgrade -v /tmp/[specified firmware].bin
inject linux /reject M$
-
- Moderator
- Posts: 250
- Joined: Thu Jan 17, 2013 11:43 pm
Re: TPLink MR3420 v1.2 advice please
Can you pinpoint which part of this didn't work?
Is the file written to the router's memory?
Are the md5/md5sum of the firmware files identical?
Did sysupgrade report a failure?
Did sysupgrade flash the firmware & gargoyle didn't come up?
If you have another router, make sure they have different IPs, connect the MR3420 to the LAN ports of the one with net access & try the wget process.
Do you have ssh?
Is the file written to the router's memory?
Are the md5/md5sum of the firmware files identical?
Did sysupgrade report a failure?
Did sysupgrade flash the firmware & gargoyle didn't come up?
If you have another router, make sure they have different IPs, connect the MR3420 to the LAN ports of the one with net access & try the wget process.
Do you have ssh?
Code: Select all
$ ssh root@192.168.1.1
# cd /tmp
# scp /path/to/gargoyle-sysupgrade.bin root@192.168.1.1:/tmp
Last edited by BashfulBladder on Tue Jan 22, 2013 11:06 pm, edited 1 time in total.
TP-Link WDR3600 v1.1 running 1.5.10+ L10n-English (Built 20130922 - OpenWrt r38093)
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)
https://github.com/BashfulBladder/gargoyle-plugins/wiki
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)
https://github.com/BashfulBladder/gargoyle-plugins/wiki
Re: TPLink MR3420 v1.2 advice please
Once again thanks for assisting. Much appreciated.
I do have (distant physical) access to a friend's ADSL modem-router that is likely not 192.168.1.1. Will attempt wget solution over the next few days when I visit his house. Thanks again.
Not as far as I can tell.BashfulBladder wrote:Can you pinpoint which part of this didn't work? Is the file written to the router's memory?
Do you mean downloaded gargoyle.bin md5 matches md5 checksum provided?BashfulBladder wrote:Are the md5/md5sum of the firmware files identical?
Yes. Something like "no such file or folder".BashfulBladder wrote:Did sysupgrade report a failure?
Haven't reached that point it seems.BashfulBladder wrote:Did sysupgrade flash the firmware & gargoyle didn't come up?
That seems a good strategy except my other (Asus) 3G internet router is also 192.168.1.1 and I lack the confidence to start messing about with either.BashfulBladder wrote:If you have another router, make sure they have different IPs, connect the MR3420 to the LAN ports of the one with net access & try the wget process.
I seem to have SSH option in putty. Is that suitable?BashfulBladder wrote:Do you have ssh?Code: Select all
$ ssh root@192.168.1.1 # cd /tmp # scp /Users/rich/Desktop/gargoyle-sysupgrade.bin admin@192.168.1.1:/tmp/gargoyle-sysupgrade.bin
I do have (distant physical) access to a friend's ADSL modem-router that is likely not 192.168.1.1. Will attempt wget solution over the next few days when I visit his house. Thanks again.
Last edited by nightcap on Wed Jan 23, 2013 8:38 am, edited 1 time in total.
inject linux /reject M$
Re: TPLink MR3420 v1.2 advice please
Update. Tried SSH method you suggested. Seems to be working. Then command prompt requests admin password. No luck with several obvious known passwords. Must I reconfigure /etc/ssh/sshd_config file? Any other tips? TIA.
inject linux /reject M$
-
- Moderator
- Posts: 250
- Joined: Thu Jan 17, 2013 11:43 pm
Re: TPLink MR3420 v1.2 advice please
You have a file on your computer. You put a file on the router. How do you know they are identical & file transferred perfectly? You run a hash on the file on your computer & the file on the router.
On your pc, you run md5 /path/to/file
On your router, run md5sum /path/to/file
if the md5 hashes are not identical, the files are not identical.
When you telnet in & run the cat /path/to/gargoyle-sysupgrade.bin | nc -1 3333 AND simultaneously, on the router run nc 192.168.1.111 3333 > /tmp/gargoyle-sysupgrade.bin - are there errors?
Is the file there? ls /tmp
Run the md5cat on /tmp/gargoyle-sysupgrade.bin - does it match the md5 hash to the gargoyle.bin on your computer?
If it matches, you can do a sysupgrade.
----------------
As for the copy via ssh -sorry, I got it wrong. Try this:
On your pc, you run md5 /path/to/file
On your router, run md5sum /path/to/file
if the md5 hashes are not identical, the files are not identical.
When you telnet in & run the cat /path/to/gargoyle-sysupgrade.bin | nc -1 3333 AND simultaneously, on the router run nc 192.168.1.111 3333 > /tmp/gargoyle-sysupgrade.bin - are there errors?
Is the file there? ls /tmp
Run the md5cat on /tmp/gargoyle-sysupgrade.bin - does it match the md5 hash to the gargoyle.bin on your computer?
If it matches, you can do a sysupgrade.
----------------
As for the copy via ssh -sorry, I got it wrong. Try this:
Code: Select all
scp /path/to/gargoyle-sysupgrade.bin root@192.168.1.1:/tmp
TP-Link WDR3600 v1.1 running 1.5.10+ L10n-English (Built 20130922 - OpenWrt r38093)
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)
https://github.com/BashfulBladder/gargoyle-plugins/wiki
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)
https://github.com/BashfulBladder/gargoyle-plugins/wiki
Re: TPLink MR3420 v1.2 advice please
Success! Using scp and putty:
Terminal
Putty
Log in with SSH @ 192.168.1.1
Make sure to patiently wait for complete router system reboot. Check router LED status. Mine took no more than a minute to complete.
Now all I need to do is work out how to update Gargoyle password. Do I go in with telnet and change password that way?
Terminal
Code: Select all
cd /home/user/download/folder
scp gargoyle-sysupgrade.bin root@192.168.1.1:/tmp
Log in with SSH @ 192.168.1.1
Code: Select all
root
password
sysupgrade -v /tmp/gargoyle-sysupgrade.bin
Now all I need to do is work out how to update Gargoyle password. Do I go in with telnet and change password that way?
inject linux /reject M$
-
- Moderator
- Posts: 250
- Joined: Thu Jan 17, 2013 11:43 pm
Re: TPLink MR3420 v1.2 advice please
Using a browser: 192.168.1.1 -> System -> Router Access (http://192.168.1.1/access.sh). Bottom: Change administrator password
TP-Link WDR3600 v1.1 running 1.5.10+ L10n-English (Built 20130922 - OpenWrt r38093)
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)
https://github.com/BashfulBladder/gargoyle-plugins/wiki
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)
https://github.com/BashfulBladder/gargoyle-plugins/wiki