After 5 years my opnsense router box died. Worse I found my configbackus were not good.
I bought a new box and I have a USB adapter for the sata drive from the old box as the drive slots differ. It boots on this adapter, but I cannot login as my password is very long and complex and I cannot get the box to attach to the network or a device attached to its ports. I think the configuration of the ports is different so the instance thinks it has no ports.
I tried booting to single use mode and doing opnsense-shell password, but when it reboots it does not remember that password, I suspect because the right part of the disk is not mounted through USB, though I cannot manually mount them.
My goal is just to get a current version of the config from this disk. Anybody got any ideas how I can do that? Once I have that I will do a reinstall and import that config.
Well I've made some steps. Seems when I tried to reload the partition RW after going into single use mode it failed and I did not notice. Figured it out in the end and manage to change the default password (so i can easily get in) and also copy the whole conf directory onto a usbstick.
Now for the next challenge.