Clean install Lede

Hi everyone,

I try to debug an issue with LEDE and now I think my router is not stable.

How can i clean everything and install LEDE (David firmware) again. I'm with David firmware right now.

With SSH ? What command I must enter for clean install ?

Thank you !

I don't know anything about the "David" firmware versions, but unless there are specific features that you need in that firmware, you might want to simply flash with the normal 17.01.4 release build for your device.

That said, you should be able to reset any OpenWRT/LEDE release to defaults by ssh'ing into your device and running:
firstboot
and then rebooting.

Alternatively, using the LuCI web UI, you can go to System > Backup / Flash Firmware > Reset to defaults.

To re-flash a firmware and erase all configurations, scp copy the firmware file to /tmp then sysupgrade -n /tmp/filename.bin

If you want to stay on current image, but go to defaults:

firstboot

Hi everyone !

Thank you all for yours answer.

@psherman : Davidc502 LEDE build is a little bit more up to date. The wireguard package are more recent. I looking for a stable and update version of LEDE (specially for wireguard.).

@mk24 : So .bin image reset everything ? Like stock to LEDE for exemple ?

@anomeome : Thanks ! This command just reset the setting or reset completly the OS ? Like clean install from stock to LEDE ?