How to edit kernel config file
-
Hi, I'm trying to see if a Qlogic card works with pfSense, I found some instructions on how maybe make it work, but can't see to find the kernel config file from shell to add a line of code
https://www.freebsd.org/cgi/man.cgi?query=qlxgb&apropos=0&sektion=4&manpath=FreeBSD+11.2-RELEASE&arch=amd64&format=html
any help or pointers to the right direction would be greatly appreciated
-
you cannot recompile the kernel on pfsense.
you'll have to setup a freebsd VM, compile a kernel module & tranfer it to pfsense
-
Yeah, you don't want to recompile the kernel anyway just load the kernel module from the appropriate FreeBSD iso.
Steve
-
Probably this module from FreeBSD 11.2 amd64.
Remove the .txt extension. Upload that to /boot/modules in pfSense 2.4.4.
Create the file /boot/loader.conf.local (if it doesn't exist) and add to it the line:
if_qlxgb_load="yes"
Reboot to load the module. Check the boot log. I've never tried that, I have no hardware to test with. It might not boot at all.
Steve
-
@stephenw10 Awesome, will give this a try and report the results