1
General Discussion / loader.conf reverts changes on shutdown, making nic useless
« on: June 18, 2023, 09:25:32 pm »
Hi everyone,
First time user here, and I've installed the latest OPNsense to a SSD, no issues there, but I had to add the RealTEK 8125B package to get it to recognize my NICs. After adding the package, I have to add 2 lines in the /boot/loader.conf file to get the OS to see them, and use them. I add
if_re_load="YES"
if_re_name="/boot/modules/if_re.ko"
save, then use the command reboot. After it's done, I log in as root, assign one of the interfaces, and everything works flawlessly. I can load the web GUI from my laptop, everything seems to function as it's supposed to. BUT, the moment I actually shut down, my /boot/loader.conf "forgets" the 2 lines of code I added, and I have to repeat in order for it to function.
Just incase this is the information needed:
OPNsense 23.1.9-amd64
FreeBSD 13.1-RELEASE-p7
OpenSSL 1.1.1t 7 Feb 2023
The RealTEK package I'm using:
https://mirrors.xtom.com/freebsd-pkg/FreeBSD%3A13%3Aamd64/quarterly/All/realtek-re-kmod-198.00_1.pkg
First time user here, and I've installed the latest OPNsense to a SSD, no issues there, but I had to add the RealTEK 8125B package to get it to recognize my NICs. After adding the package, I have to add 2 lines in the /boot/loader.conf file to get the OS to see them, and use them. I add
if_re_load="YES"
if_re_name="/boot/modules/if_re.ko"
save, then use the command reboot. After it's done, I log in as root, assign one of the interfaces, and everything works flawlessly. I can load the web GUI from my laptop, everything seems to function as it's supposed to. BUT, the moment I actually shut down, my /boot/loader.conf "forgets" the 2 lines of code I added, and I have to repeat in order for it to function.
Just incase this is the information needed:
OPNsense 23.1.9-amd64
FreeBSD 13.1-RELEASE-p7
OpenSSL 1.1.1t 7 Feb 2023
The RealTEK package I'm using:
https://mirrors.xtom.com/freebsd-pkg/FreeBSD%3A13%3Aamd64/quarterly/All/realtek-re-kmod-198.00_1.pkg