cannot upgrade tp-link wa901nd

Report problems and success stories with Gargoyle on various hardware platforms.

Moderator: Moderators

Post Reply
User avatar
upcock
Posts: 15
Joined: Fri Nov 09, 2012 5:40 am
Location: Lithuania

cannot upgrade tp-link wa901nd

Post by upcock »

hello, i have runing AP tp-link wa901nd v1 with gargoyle version 1.5.7 and i can't upgrade it to any newer version via web interface. It just says, upgrading, please wait and does nothing. Resseting settings to default it's not a solution, because that AP is on a really remote area, and connecting to it by physical methods would be problematic. Does anyone knows solution? Maybe it's possible to upgrade via SSH using SCP?
Image

BashfulBladder
Moderator
Posts: 250
Joined: Thu Jan 17, 2013 11:43 pm

Re: cannot upgrade tp-link wa901nd

Post by BashfulBladder »

I had the same problem with another router: http://www.gargoyle-router.com/phpbb/vi ... f=5&t=3753

That time I had used Safari which didn't work.

When I flashed a few days ago, Safari worked the first time.

Try using a different browser, as its not a browser issue.
-----------
It is possible to upgrade via cli:

Code: Select all

scp /path/to/firmware/on/your/computer/firmware.bin root@192.168.1.1:/tmp
ssh into the router &

Code: Select all

sysupgrade -v /tmp/firmware.bin
See http://wiki.openwrt.org/doc/howto/generic.sysupgrade
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

User avatar
upcock
Posts: 15
Joined: Fri Nov 09, 2012 5:40 am
Location: Lithuania

Re: cannot upgrade tp-link wa901nd

Post by upcock »

Will the cli method wipe my settings?
Image

BashfulBladder
Moderator
Posts: 250
Joined: Thu Jan 17, 2013 11:43 pm

Re: cannot upgrade tp-link wa901nd

Post by BashfulBladder »

see sysupgrade --help or http://wiki.openwrt.org/doc/techref/sysupgrade

The default should do what you want, apparently the -c flag does more.
Or make a backup (via -b or roll your own) and then provide that path to -f (for those times when you have extra needs).

Just FYI, the Gargoyle script does:

Code: Select all

		#if attempting to preserve settings, don't pass -n
		if [ "$FORM_upgrade_preserve" = "on" ] ; then
			/sbin/sysupgrade    /tmp/up/upgrade  2>&1 | awk ' $0 ~ /eboot/ { print "<script type=\"text/javascript\">top.upgraded();</script></body></html>" ; } '
		else
			/sbin/sysupgrade -n /tmp/up/upgrade  2>&1 | awk ' $0 ~ /eboot/ { print "<script type=\"text/javascript\">top.upgraded();</script></body></html>" ; } '
		fi
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

Post Reply