As the post says I'm trying to figure out if I can reset all of the settings on my router back to default but also keep good cloud logged in. I have some strange network settings I have messed with it and I would like to reset it back to default.
I have a Mango, an Opal and a Beryl, but it is the Mango(MT300N-V2) that I would like to reset.
Either CLI or WebUI would be fine...
-
Reset Firmware via GUI. All your current settings, applications and data will be lost.
-
Press and hold the reset button on the side of the router for 10 seconds.
The binding status of goodcloud will not be cleared. You need to reconnect the router to the Internet and then re-enable the goodcloud function.
Yes, although I am remote, and have some settings I must have messed up, and want to reset to defaults BUT cannot lose my connection remotely.... Is there a way to script goodcloud back on and reset everything else?
Or something like that?
If you want to restore any functional module, you can copy the factory configuration of the corresponding module to the running configuration through the command.
cp /rom/etc/config/xxx /etc/config/xxx
So I have looked at that, and it is a great start, but the problem I am seeing, using my LOCAL mango is that if I replace files like firewall with the /rom/etc/config/ files, everything gets messed up, there must be some script on first install that builds the GL files as they are different in the /etc/config/ directory.
Is there a way to trigger that customization on reboot, after I replace configs like network, firewall, etc while keeping the gl-cloud file?
Or is there a better way, like triggering an actual firmware reset without settings, but scripting the gl-cloud file back in place and rebooting?
I have one chance to reset this, and I have a mango here that I am testing on, when I ran the following, it came back up, logged into goodcloud, but is unusable from the lan...
cp -R /etc/config /etc/configbak
rm /etc/config/*
cp /rom/etc/config/* /etc/config/
cp /etc/configbak/fstab /etc/config/
cp /etc/configbak/gl-cloud /etc/config/
cp /etc/configbak/network /etc/config/
cp /etc/configbak/system /etc/config/
cp /etc/configbak/ubootenv /etc/config/
cp /etc/configbak/repeater /etc/config/
cp /etc/configbak/wireless /etc/config/
reboot
The repeater and wireless are not important for my actual router, but are used here for testing... and work fine.
So MY solution, because I have a second Mango I was not using locally here with me, was to reset it to factory, set it up as best I could as I wanted on the remote end, including goodlcoud logged in, then I deleted all the files in /etc/config on the remote device, and copied the ones from the reset router. I rebooted, crossed my fingers, and it came back up on the internet, and on goodcloud.
Not a complete reset, but as close as I could get, and it works again much faster, and routing properly.
Not ideal, I had two devices, would be nice to have a reset option on glinet that resets absolutely everything EXCEPT the good cloud login. Nice remote recovery option.