• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

How to edit kernel config file

Scheduled Pinned Locked Moved Hardware
5 Posts 3 Posters 1.1k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    manutech
    last edited by Jan 21, 2020, 4:18 AM

    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

    1 Reply Last reply Reply Quote 0
    • H
      heper
      last edited by Jan 21, 2020, 7:28 AM

      you cannot recompile the kernel on pfsense.

      you'll have to setup a freebsd VM, compile a kernel module & tranfer it to pfsense

      1 Reply Last reply Reply Quote 0
      • S
        stephenw10 Netgate Administrator
        last edited by Jan 21, 2020, 11:34 AM

        Yeah, you don't want to recompile the kernel anyway just load the kernel module from the appropriate FreeBSD iso.

        Steve

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Jan 21, 2020, 1:05 PM

          Probably this module from FreeBSD 11.2 amd64.

          if_qlxgb.ko.txt

          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

          M 1 Reply Last reply Jan 21, 2020, 6:10 PM Reply Quote 2
          • M
            manutech @stephenw10
            last edited by Jan 21, 2020, 6:10 PM

            @stephenw10 Awesome, will give this a try and report the results

            1 Reply Last reply Reply Quote 0
            5 out of 5
            • First post
              5/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received