Hi
How to wipe all sensitive information from OpenWrt device and gift the Router inclusive OpenWrt image to somebody.
I wish to gift soon my old router Netgear R7800 without personal data, but not with stock firmware.
Hi
How to wipe all sensitive information from OpenWrt device and gift the Router inclusive OpenWrt image to somebody.
I wish to gift soon my old router Netgear R7800 without personal data, but not with stock firmware.
Assuming you used a standard image for the installation (not customized using the image builder):
firstboot -y && reboot
This will erase everything that you have put on your router (configs and user-installed packages) since you flashed it.
If you have customized the image used for install, just grab the standard image from the firmware-selector and install that. Do not keep settings when you do the flash upgrade (uncheck the keep settings box during if using LuCI, or use the -n
argument from the commandline: sysupgrade -n <filename>
). The device will contain only the default state of OpenWrt when it is done.