Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
restoring from a backup
« previous
next »
Print
Pages: [
1
]
Author
Topic: restoring from a backup (Read 1205 times)
aab
Newbie
Posts: 13
Karma: 0
restoring from a backup
«
on:
January 22, 2023, 09:59:10 pm »
I had opnsense which has the network interfaces as follows.
bxe0, bxe1, igd0 and igd1
I am trying to restore on a new machine with a backup which was taken on the old one. The interfaces on the new machine are like eno0, eno1 etc
I want to move them to names like eno, eth1 and so on. I know that I can do it in the /etc/rc.conf
ifconfig_bxe0_name=eth0
but during the boot time the network interfaces are still bxe0, bxe1 etc. Is there any way I can change interface names I want before the kernel gets loaded ?
Thanks in advance
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: restoring from a backup
«
Reply #1 on:
January 22, 2023, 10:23:51 pm »
No, you can not do that because they are more than just names. They are identifiers for the modules to use.
I did this and changing in the file /conf/config.xml worked for me but on a second attempt.
I downloaded the file, did a search and replace but very carefully eyeballing all and any occurrences looked rational to change.
Logged
newsense
Hero Member
Posts: 1037
Karma: 77
Re: restoring from a backup
«
Reply #2 on:
January 23, 2023, 03:55:24 pm »
Dustin has a helpful blog post:
https://homenetworkguy.com/how-to/migrate-opnsense-to-new-hardware/
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: restoring from a backup
«
Reply #3 on:
January 23, 2023, 04:59:01 pm »
Yes, that just jogged my memory, thanks. I did download the file to modify that way from the UI. I'm pretty sure. I must have recalled that I did look in the filesystem too.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
restoring from a backup