Restore config.xml in 26.1 series after power surge and new hardware. F

Started by Mr_Flibble, March 17, 2026, 10:34:47 PM

Previous topic - Next topic
I have been running OPNsense for 3+ years, and unfortunately due to heavy snow, a power line went down and sent a surge up the cable line. This let the magic smoke out of the modem, Cat6 cable, and the router running OPNsense.

Fortunately, I take nightly backups, and after getting new (identical) hardware (Protectli FW2B) I was able to install OPNsense and upload my config.xml.

I am running the latest download iso, and we still don't have a main internet line to update any packages, as that line was melted.

However, while the backup worked, the original static DHCP listings seem to be missing - I set them up back in the day when they were called DHCPv4 under the Services menu, but now I only see the KEA DHCP and no other options.

This is a problem, as many devices are not seeming to get their static DHCP leases back, and I cannot remember what I set them to all those years ago.

Where should I look for these settings?

Also, given that I currently have no internet, will OPNsense try to get the missing packages I installed prior when I do have WAN again? That is, does the config.xml remember the Plugins I had and can pull them again?

You probably installed a newer version of OpnSense where ISC DHCP has become a plugin. Once you have your internet back up, you can reinstall the package and get everything up and running again.
Intel N100, 4* I226-V, 2* 82559, 16 GByte, 500 GByte NVME, ZTE F6005

1100 down / 450 up, Bufferbloat A+

Quote from: Mr_Flibble on March 17, 2026, 10:34:47 PMthe original static DHCP listings
Small TIP for when you get everything working again :

You can Export all Static DHCP Mappings from ISC/KEA/DNSmasqd to a .CSV file and Import it back into ISC/KEA/DNSmasqd again.

So switching between any of those DHCP Services has been made very easy and without any issues too! :)
Weird guy who likes everything Linux and *BSD on PC/Laptop/Tablet/Mobile and funny little ARM based boards :)

Quote from: Mr_Flibble on March 17, 2026, 10:34:47 PM[...]due to heavy snow, a power line went down and sent a surge up the cable line.[...]

Cable as in DOCSIS? I wonder if something like this would have helped (and be worth the insertion loss). It's just a hunk of aluminum with a (replaceable) gas tube (mine has the 90V). What's the likelihood of lightning striking twice, so to speak?

Thank you everyone! Sorry I did not reply sooner - having the outage kept me mostly offline.

Quote from: meyergru on March 17, 2026, 10:48:35 PMYou probably installed a newer version of OpnSense where ISC DHCP has become a plugin. Once you have your internet back up, you can reinstall the package and get everything up and running again.

Yep, that was exactly it! I had updated OPNsense just 2 days before the line went down, so I had not noticed the new names.


Quote from: nero355 on March 18, 2026, 05:06:39 PM
Quote from: Mr_Flibble on March 17, 2026, 10:34:47 PMthe original static DHCP listings
Small TIP for when you get everything working again :

You can Export all Static DHCP Mappings from ISC/KEA/DNSmasqd to a .CSV file and Import it back into ISC/KEA/DNSmasqd again.

So switching between any of those DHCP Services has been made very easy and without any issues too! :)

Oh, this is PERFECT, thank you!


Quote from: pfry on March 18, 2026, 09:31:59 PM
Quote from: Mr_Flibble on March 17, 2026, 10:34:47 PM[...]due to heavy snow, a power line went down and sent a surge up the cable line.[...]

Cable as in DOCSIS? I wonder if something like this would have helped (and be worth the insertion loss). It's just a hunk of aluminum with a (replaceable) gas tube (mine has the 90V). What's the likelihood of lightning striking twice, so to speak?

Yes, a gas discharge tube is on my list! The DOCSIS modem caught fire!

Fried Protectli FW2B - the RAM also had magic smoke loss, as did the Cat5e cable

The innards of the S33 Modem:


The actual cable on the pole - whatever sort of joiner was there, I think it may have evaporated.


The line is (mostly) back up, as is the new modem and router. I say mostly, as the damage was so severe they are going to have a lineman back out to do more work.