remember config after upgrade
Moderator: Moderators
remember config after upgrade
Is there any reason why it is not possible for Gargoyle to remember its configuration after an upgrade?
It is possible on almost all firmware (including openwrt). This would make the upgrade process so much more pleasant.
working hack/solution here: Subject: remember config after upgrade
It is possible on almost all firmware (including openwrt). This would make the upgrade process so much more pleasant.
working hack/solution here: Subject: remember config after upgrade
Last edited by hnl_dk on Thu Dec 01, 2011 4:57 am, edited 1 time in total.
Router: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4
Re: remember config after upgrade
There is a backup/restore function that does just that. Before update you save a backup (which is just your settings), then after update is complete you restore from it. All settings remain as they were.
Re: remember config after upgrade
I know, but it is not the same... you still have a lot of trouble when:b0rg wrote:There is a backup/restore function that does just that. Before update you save a backup (which is just your settings), then after update is complete you restore from it. All settings remain as they were.
1. You run on another subnet...
2. You primarily work wireless on that router/AP...
Router: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4
Re: remember config after upgrade
I have spent a good part of the last month trying add this feature to Gargoyle.
I have found this to be difficult. I know OpenWRT claims such functionality and have tried to use OpenWRT utilities it with Gargoyle. However, I have found these utilities unreliable at least on the routers I have worked with.
So at this point until someone smarter than me can explain the inner workings of OpenWRT's sysupgrade script I am not hopeful we will see this in Gargoyle.
I have found this to be difficult. I know OpenWRT claims such functionality and have tried to use OpenWRT utilities it with Gargoyle. However, I have found these utilities unreliable at least on the routers I have worked with.
So at this point until someone smarter than me can explain the inner workings of OpenWRT's sysupgrade script I am not hopeful we will see this in Gargoyle.
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM
Re: remember config after upgrade
Hellopbix wrote:I have spent a good part of the last month trying add this feature to Gargoyle.
I have found this to be difficult. I know OpenWRT claims such functionality and have tried to use OpenWRT utilities it with Gargoyle. However, I have found these utilities unreliable at least on the routers I have worked with.
So at this point until someone smarter than me can explain the inner workings of OpenWRT's sysupgrade script I am not hopeful we will see this in Gargoyle.
Did not think of that.
/www/utility/do_upgrade.sh
change line 47
Code: Select all
/sbin/sysupgrade -n /tmp/up/upgrade 2>&1 | awk ' $0 ~ /eboot/ { print "<script type=\"text/javascript\">top.upgraded();</script></body></html>" ; } '
Code: Select all
/sbin/sysupgrade /tmp/up/upgrade 2>&1 | awk ' $0 ~ /eboot/ { print "<script type=\"text/javascript\">top.upgraded();</script></body></html>" ; } '
So far it looks like it has remembered all settings, even my syslog settings
Router: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4
Re: remember config after upgrade
it would be nice if it could be selected as an option, it you fear that it will not work on all routers.
Router: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4
Re: remember config after upgrade
I have double-checked everything and the only setting that seems to be missing from the old settings, is the hostname of the router.hnl_dk wrote:...
So far it looks like it has remembered all settings, even my syslog settings
But a funny thing, the domainname has been remembered.
Router: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4
Re: remember config after upgrade
Hi hnl_dk,
What do you mean all settings? Are they all files under etc folder or only etc/config?
What do you mean all settings? Are they all files under etc folder or only etc/config?
Re: remember config after upgrade
no, all the settings that I have made within the gargoyle webinterface.behappy wrote:Hi hnl_dk,
What do you mean all settings? Are they all files under etc folder or only etc/config?
If you also want to make it try to safe every chance in /etc, you should add -c to the line... but I see no reason to do that, at least if you use the webinterface.
Router: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4
Re: remember config after upgrade
Perhaps it could added that if you use the options, that it is recommended to use the restore afterwards... just in case it is not everything that is "remembered"... at least this will at least remember the ip address, subnet and wifi settings, so you are still able to access the router after you have made the upgrade.hnl_dk wrote:it would be nice if it could be selected as an option, it you fear that it will not work on all routers.
So far it is still only the hostname that has not been remembered here... but I am for example not using qos and also some other features.
Router: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4