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

    [SOLVED] Kernel modules in pfSense 2.1

    Hardware
    3
    8
    6.7k
    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.
    • R
      romain-mks
      last edited by

      Dear all,

      I am running a piece of hardware (3 Ethernet controllers, 4 USB ports and 1 VGA adapter, 1 SDcard slot and 1 power ON/OFF button  :o) under pfSense-2.1-RELEASE-nanobsd.

      I want to use it as load-balancer (multiwan) / failover and Captive Portal.
      The ideal setup will be Dual Wan + 3G dongle failover.

      Anyway, one of  my interface is not recognized. It is a VTE interface (see http://www.rootr.net/man/man/vte/4) and I know that loading the if_vte.ko module at boot time would solve the issue (by adding the line if_vte_load="YES" to /boot/loader.conf).
      However, if_vte.ko is not in the /boot/kernel/ directory or anywhere else in the system.

      Does anyone knows why ? What is the way in nanoBSD to add such modules ? Should I compile a custom version of nanoBSD with appropriate modules ?
      I don't find any kind of repository or even similar problems on forums so I assume I take the problem in a wrong way.

      Thanks very much.

      1 Reply Last reply Reply Quote 0
      • R
        robi
        last edited by

        I think you only need to take that .ko file from any other FreeBSD system, which is FreeBSD 8.3-RELEASE-p11, and put it in the correct directory. You can even compile that module from source, if you have it.

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          If it really isn't included in the kernel, which may or may not be true, you can get it here:
          http://files.pfsense.org/jimp/ko-8.3/i386/if_vte.ko
          Put it in /boot/modules.

          Steve

          1 Reply Last reply Reply Quote 0
          • R
            romain-mks
            last edited by

            @robi : Thanks for the answer, I was not sure about that but was suspecting it. Thanks. I could run it as a virtual machine and get that file. However, our Internet is so slow here (so the need of load-balancing) that downloading a 600MB file is a pain !

            @stephenw10 : Thanks for the file !

            I will try that asap.

            You advise me to put it in /boot/modules, but will loader.conf find it at boot or should I run first```
            kldload /boot/modules/if_vte.ko

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              Yes, loader.conf will find it in /boot/modules. Better to use loader.conf.local, create that file.
              You can load it manually from anywhere though to test it.

              Steve

              1 Reply Last reply Reply Quote 0
              • R
                romain-mks
                last edited by

                OK, that's done and it works great. Thanks for your help ! (How to mark as SOLVED ?)

                But why loader.conf.local and not loader.conf ?

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  You can probably still edit your first post to mark it solved. There's no formal way of doing it.

                  The loader.conf.local file is for additional settings above the defaults. It gets copied across a firmware update where as the loader.conf file may not. However the contents of /boot/modules will not be copied so you may want to keep a copy of the module in /conf for easy access after an update.

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • R
                    romain-mks
                    last edited by

                    Great ! Thank you Steve.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.