saved configuration work on new hardware?

Started by cake, September 08, 2023, 01:58:58 AM

Previous topic - Next topic
I have a chinese board with 4 ethernet ports and a intel j1900. If i buy another mini pc with 4 ports can I load the config file from the old one? How similar does the hardware need to be?

Thanks

Ideally, it uses the same Ethernet driver. You can check here which NICs share the same driver:
https://www.freebsd.org/releases/13.2R/hardware/

Otherwise, you'd have to re-assign the interfaces. Not a big deal. You could also manually edit the config.xml before restoring it.

Cheers
Maurice
OPNsense virtual machine images
OPNsense aarch64 firmware repository

Commercial support & engineering available. PM for details (en / de).

Thanks for the reply. I cant find the exact same box as before, I think it may have been discontinued. I found a new version of the older hardware with diffrent nics, but I think I may try a newer cpu as well.
The nic in the one im looking at is Intel i225 2.5G with a  n5105 processor which seems kinda popular. I believe my J1900 cpu/board used 4* Intel WG82583 lan controllers.

Im wondering if the naming would be diffrent and I would have to edit the onfig xml on that one? I imagine this is changing name from eth0 to some other name.

2.5G uses a different driver, so you'll have to re-assign the interfaces. Current interface names should be em* or igb*, I225 will be igc*. You can simply search & replace these in the config backup.

CPU shouldn't matter for the OPNsense config.
OPNsense virtual machine images
OPNsense aarch64 firmware repository

Commercial support & engineering available. PM for details (en / de).