Reset not deleting everything

i did a reset on my GL.iNet GL-AX1800 by holding a pin at the reset button on the router button for 10 seconds
after this the router granded me for setup all my settings was deleted but i noticed that wireguard and addblock was still installed there settings was delted but they were still installed why?

Assuming you are running official OpenWrt, you can reset in the following ways:

  • In LuCI (web interface): System > Backup / Flash Firmware > Restore > Reset to defaults > Perform reset (button)
  • Via the CLI (using an ssh session): `firstboot -y && reboot
  • Via failsafe mode, same as CLI: firstboot -y && reboot

Try one of those methods and let us know if that works.

If you added those packages to your original OpenWrt build via Firmware Selector, they are part of the image now and won’t be erased with a reset. Upload the standard OpenWrt image if you want the base image.

i installed them by downlowding them from within openwrt from the software section

I have a GL.iNet AX1800 running OpenWRT. I reset it today by inserting a pin into the reset hole for 10 seconds. The lights flashed and the router rebooted. I was greeted by the setup screen and reconfigured the router, and all my settings were deleted — but the AdBlock and WireGuard packages I had installed were still present. I installed AdBlock and WireGuard from the OpenWRT software section. How did the previously installed packages persist?

I'd put my money on what dave14305 already mentioned, but find /overlay/upper | sort and ubus call system board will tell us.

  • In LuCI (web interface): System > Backup / Flash Firmware > Restore > Reset to defaults > Perform reset (button)

tried this methood now same results wireguard and addblock persists
addblock and wireguard was installed from within openwrt in the software section

  • In LuCI (web interface): `System > Backup / Flash Firmware > Restore > Reset to defaults > Perform reset (button)
    tried this methood like psherman said
    wireguard and addblock still persist

i tried to ssh into router to run those commands/locate what you said but ssh is messing with me but when trying to ssh from linux terminal it says Permission denied, please try again. even tho its the correct password

i tried to ssh from ubuntu touch mobile linux and my arch linux desktop

this is the reason im trying to perform an reset

If you don't care about the why (again, pretty sure I do), there's always the option to flash a vanilla image without retaining settings.

https://downloads.openwrt.org/releases/25.12.4/targets/qualcommax/ipq60xx/openwrt-25.12.4-qualcommax-ipq60xx-glinet_gl-ax1800-squashfs-sysupgrade.bin

thats what i did now now evrythings deleted and back up in clean state but for some reason its still refusing me to ssh from terminal

You probably need to clear the old ssh key. When you reset, the ssh key is regenerated and will not match what you have in the ssh known hosts file on your computer.

On a Mac or Linux system, the command is ssh-keygen -R 192.168.1.1 (assuming the address in question is the default).