Have now also modified it on 1.5.0, so now I am ready to upgrade to the next version, when it gets released.hnl_dk wrote: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 47intoCode: Select all
/sbin/sysupgrade -n /tmp/up/upgrade 2>&1 | awk ' $0 ~ /eboot/ { print "<script type=\"text/javascript\">top.upgraded();</script></body></html>" ; } '
I have now tested it on both my two routers (gateway and AP) - both tl-wr1043nd.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
remember config after upgrade
Moderator: Moderators
Re: remember config after upgrade
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 met the same problem, have you solved it yet? how do you solve it?
Re: remember config after upgrade
This hack is the solution: Subject: remember config after upgradebjland2 wrote:I have met the same problem, have you solved it yet? how do you solve it?
But remember to mack a backup before doing so, just to make sure.
The problem is that Gargoyle has disabled this feature, so by removing a simple '-n' in the line, does is work again.
The only problem I have has with this, was that it did reset the name of the routers. That was easy to fix, so I did not even care to restore the backup.
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
This is a nice feature to have. Made the change and will see if it keeps all settings in the next upgrade.
TP-Link WR-1043ND 1.8 - Gargoyle 1.5.6
Re: remember config after upgrade
But remember to take the backup anyway, just to make sure.wkweksl wrote:This is a nice feature to have. Made the change and will see if it keeps all settings in the next upgrade.
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
hnl_dk, you rock! Just upgraded to 1.5.2 with all settings intact.
TP-Link WR-1043ND 1.8 - Gargoyle 1.5.6
Re: remember config after upgrade
Perfect.wkweksl wrote:hnl_dk, you rock! Just upgraded to 1.5.2 with all settings intact.
But remember also to make the change for the next update.
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
Oh? You mean the file was overwritten after the upgrade? Will edit it. Thanks.hnl_dk wrote:Perfect.
But remember also to make the change for the next update.
TP-Link WR-1043ND 1.8 - Gargoyle 1.5.6
Re: remember config after upgrade
Yes it is.wkweksl wrote:Oh? You mean the file was overwritten after the upgrade? Will edit it. Thanks.hnl_dk wrote:Perfect.
But remember also to make the change for the next update.
Router: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4