Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
saved configuration work on new hardware?
« previous
next »
Print
Pages: [
1
]
Author
Topic: saved configuration work on new hardware? (Read 981 times)
cake
Jr. Member
Posts: 64
Karma: 13
saved configuration work on new hardware?
«
on:
September 08, 2023, 01:58:58 am »
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
Logged
Maurice
Hero Member
Posts: 1213
Karma: 158
Re: saved configuration work on new hardware?
«
Reply #1 on:
September 08, 2023, 02:25:19 am »
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
Logged
OPNsense virtual machine images
OPNsense aarch64 firmware repository
Commercial support & engineering available. PM for details (en / de).
cake
Jr. Member
Posts: 64
Karma: 13
Re: saved configuration work on new hardware?
«
Reply #2 on:
September 09, 2023, 04:16:28 am »
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.
Logged
Maurice
Hero Member
Posts: 1213
Karma: 158
Re: saved configuration work on new hardware?
«
Reply #3 on:
September 09, 2023, 12:18:40 pm »
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.
Logged
OPNsense virtual machine images
OPNsense aarch64 firmware repository
Commercial support & engineering available. PM for details (en / de).
cake
Jr. Member
Posts: 64
Karma: 13
Re: saved configuration work on new hardware?
«
Reply #4 on:
September 09, 2023, 01:21:46 pm »
Thanks Maurice
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
saved configuration work on new hardware?