How can I hard reset the device, as in completely format the device. Pressing the button or using the UI does a soft reset as my configs are still present. I need to wipe 100% of the config for plugins like collectd, Prometheus etc.
I need a fresh device.
I’m on 4.1 beta 3.
November 13, 2022, 9:29am
Best way is to do a uboot firmware reload.
May want to do upgrade UBoot
I updated Flint to 4.1.0 rel 2 from 3.x and lost home internet for hours from the ISP itself due to this. This is a very severe issue that gl-inet may want to look into.
My ISP is a gigabit fiber that uses an ONT with a limited DHCP capability. The ONT/fiber modem has a pretty strict number of DHCP requests for public IPs it will allow on a short period of time and once its DHCP table gets full it won’t handle any more internet public IPs for a long while. I have to call the ISP to remote reset…
That’s a uboot bug, the fixed version can be downloaded
Upgrade uboot by the following steps:
connect LAN and PC by ethernet, the PC’s ip should be 192.168.1.x
push the reset button and power it on, about 10 seconds later release the button, until the wifi led stops flashing and the white led turns on.
http://192.168.1.1/uboot.html to flash uboot.
November 13, 2022, 9:47pm
sysupgrade -F -n from ssh will also get you what you want.
November 13, 2022, 10:32pm
Upload the firmware into the /tmp folder, FWIW.
Uhm what does that do? Will it format the whole partition?
sysupgrade -F -n doesnt seem to work, it shows the help prompt instead.
November 17, 2022, 10:00am
It should be possible to format the device completely by pressing the button. Did you follow the instructions? :Press and hold for 10 seconds, and then release to reset the router
to factory settings. The light will turn blue and flash rapidly. All data
will be cleared when the light becomes solid blue
November 17, 2022, 11:34am
To be more explicit about steps:
Upload a firmware file to your router’s
/tmp directory (if you’re on *nix or Mac,
scp firmware-file.tar root@router:/tmp). You can also wget or curl one from the web on the router itself, probably.
sysupgrade -F -n firmware-filename.tar
(-F means force, -n means don’t save configuration). The router will reboot.
And this will erase the nand completely? As in a fresh device?
November 23, 2022, 2:22am
It will remove the overlay partition, which is what matters, yes.