OpenWrt 19.07.0 Archer C7 v2 config keeps resetting after reboot

I installed the ath79 OpenWrt v19.07.0 version on an Archer C7 v2.
When I reboot the router all settings are lost with the exception of the root password.
Looks like it's running "firstboot factory reset" after each boot. How can I check this?

And you are sure you installed the sysupgrade image?

1 Like

An hour ago I upgraded to OpenWRT 19.07.0 Archer C7 V5 and everything is great.

Just reinstalled packages I needs, such as openvpn-openssl, htop, etc...

2 Likes

To clarify:

I used the http://downloads.openwrt.org/releases/19.07.0/targets/ath79/generic/openwrt-19.07.0-ath79-generic-tplink_archer-c7-v2-squashfs-factory.bin image because it came from ar71xx

  1. Did a firstboot factory reset to make sure it was in a clean state
  2. Did a sysupgrade -F openwrt-19.07.0-ath79-generic-tplink_archer-c7-v2-squashfs-factory.bin to install it clean.
    After that I could login and set the password (that it still remembers), but all other settings are lost after a reboot.

That is not the correct procedure, sysupgrade always needs the sysupgrade image, so http://downloads.openwrt.org/releases/19.07.0/targets/ath79/generic/openwrt-19.07.0-ath79-generic-tplink_archer-c7-v2-squashfs-sysupgrade.bin

While that did reset your device to ar71xx defaults, it did not reset it to ath79 defaults (important for the wireless paths and LED definitions). This step is not required, it's the sysupgrade step that needs it (so it doesn't keep the ar71xx defaults)

This should have been:

# sysupgrade -n openwrt-19.07.0-ath79-generic-tplink_archer-c7-v2-squashfs-sysupgrade.bin

Using -F might, or might not, be necessary - always try it without first, add -F if necessary.

Following your described procedure this result doesn't really surprise me, but I'm pretty confident to fix the situation by doing it properly, again.

# sysupgrade -n http://downloads.openwrt.org/releases/19.07.0/targets/ath79/generic/openwrt-19.07.0-ath79-generic-tplink_archer-c7-v2-squashfs-sysupgrade.bin

With a little luck, your issues should be sorted after it finished rebooting (give it ~5 minutes, formatting the overlay and generating ssh hostkeys takes a bit).

See https://openwrt.org/docs/guide-user/installation/ar71xx.to.ath79

3 Likes

Thank you for the explanation, I will try that later today!

Yes, the solution of @slh worked. Thank you!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.