If it revert to the default setting for the first time, it means the filesystem cannot be built for some reason. This can be a problem if you install too many packages and flash is full.

If this happens, ssh (or telnet) to the router after it boot. Then type “firstboot” and answer yes. Then type reboot to reboot the device.