1
Zenarmor (Sensei) / netmap_register_if: igb2: NIOCREGIF ioctl
« on: October 20, 2024, 09:54:14 pm »
Got this error. Realized what had happened was when I initially setup this machine I used another port and cable to run the Guest LAN to the switch so I ran it through Zenarmor. Later, I changed it to a VLAN over the same port as my normal LAN, but did not remove the configuration from Zenarmor.
It appears no one thought of something like this happening, as when I went into the settings, igb2 does not appear in the list of interfaces, making it not easily removable.
I ended up doing the following:
Make a fake permanent interface assignment for igb2
Go into Zenarmor and enable the new fake interface, Save
Remove Fake interface from Zenarmor, Save
Start Zenarmor successfully.
Delete fake interface from OpnSense.
Doing this allowed me to start Zenarmor, but I feel like invalid configs should be fixable without doing this workaround. Maybe interfaces that are in the configuration but invalid should show up on the interface configuration screen in red or something so they can be removed.
It appears no one thought of something like this happening, as when I went into the settings, igb2 does not appear in the list of interfaces, making it not easily removable.
I ended up doing the following:
Make a fake permanent interface assignment for igb2
Go into Zenarmor and enable the new fake interface, Save
Remove Fake interface from Zenarmor, Save
Start Zenarmor successfully.
Delete fake interface from OpnSense.
Doing this allowed me to start Zenarmor, but I feel like invalid configs should be fixable without doing this workaround. Maybe interfaces that are in the configuration but invalid should show up on the interface configuration screen in red or something so they can be removed.