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

    Hardware driver

    Scheduled Pinned Locked Moved Hardware
    33 Posts 7 Posters 4.7k 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.
    • J
      jeonard1985 @stephenw10
      last edited by jeonard1985

      @stephenw10
      cbe65b0f-8184-4bc8-84cc-79d02806f5b3-image.png

      are they working? if this is the result?

      1 Reply Last reply Reply Quote 0
      • J
        jeonard1985 @stephenw10
        last edited by

        @stephenw10 said in Hardware driver:

        echo 'if_re_load="YES"' >> /boot/loader.conf.local
        echo 'if_re_name="/boot/modules/if_re.ko"' >> /boot/loader.conf.local

        i try this command nothing happen

        6e30eef5-5e7d-4512-ac58-88110c2b1ede-image.png

        it normal?

        patient0P 1 Reply Last reply Reply Quote 0
        • patient0P
          patient0 @jeonard1985
          last edited by

          @jeonard1985 said in Hardware driver:

          i try this command nothing happen

          With these command you add the two lines to the /boot/loader.conf.local file. That worked; you added the two lines 6x but that won't hurt.

          After that you reboot so the driver get loaded.

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

            Yes, and then check the boot log to see the driver version when it attaches to the NIC.

            1 Reply Last reply Reply Quote 0
            • P
              pfultz @Gradius
              last edited by

              @Gradius can you show how you did this and where you obtained the 1998.00 driver.

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

                198 is the version in our repo:

                [2.7.2-RELEASE][admin@t70.stevew.lan]/root: pkg search realtek
                realtek-re-kmod-198.00_3       Kernel driver for Realtek PCIe Ethernet Controllers
                
                P 3 Replies Last reply Reply Quote 0
                • P
                  pfultz @stephenw10
                  last edited by

                  @stephenw10 is there any space between any thing in the two echo lines.
                  as well after this is done what command do you give to do I proper reboot?

                  1 Reply Last reply Reply Quote 0
                  • P
                    pfultz @stephenw10
                    last edited by

                    @stephenw10 Is this the right driver to download?
                    https://pkg.freebsd.org/FreeBSD:14:amd64/latest/All/realtek-re-kmod-1100.00.pkg
                    If I do from 13 it gives an error if I go with 14 it loads.

                    stephenw10S 1 Reply Last reply Reply Quote 0
                    • P
                      pfultz @stephenw10
                      last edited by

                      @stephenw10 Do I need to take my Intel NIC card off the motherboard to get this to work/ load. And then put the NIC card back so I have incoming and outgoing? The Realtek is the NIC the motherboard comes with.

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

                        @pfultz said in Hardware driver:

                        @stephenw10 Is this the right driver to download?
                        https://pkg.freebsd.org/FreeBSD:14:amd64/latest/All/realtek-re-kmod-1100.00.pkg

                        No that won't load into the pfSense kernel. You must use the pkg from our repo. Or compile your own driver.

                        @pfultz said in Hardware driver:

                        Do I need to take my Intel NIC card off the motherboard to get this to work

                        No. The Realtek driver doesn't care about Intel NICs, that would make no difference.

                        @pfultz said in Hardware driver:

                        after this is done what command do you give to do I proper reboot?

                        Just reboot normally from the console menu or GUI (Diag > Reboot).

                        P 1 Reply Last reply Reply Quote 0
                        • P
                          pfultz @stephenw10
                          last edited by

                          @stephenw10
                          So where is the link to the drivers from your repo?
                          Are you referring to this?
                          pkg search realtek realtek-re-kmod-198.00_3
                          don't I need to "pkg-static add" of 198.00_3 first
                          Or I run this command to start it? "pkg install realtek-re-kmod"

                          How do I compile my own driver?

                          P 1 Reply Last reply Reply Quote 0
                          • P
                            pfultz @pfultz
                            last edited by

                            @pfultz
                            I did
                            pkg install realtek_re_kmod-198.00_3
                            Says its not there
                            pkg install realtek_re_kmod
                            installs but in the end it says already installed.

                            Sorry I am such a new bee. Just want to load the drivers. It said it loaded the 1100.00
                            Do I need to default and start over? Then do the above.

                            patient0P 1 Reply Last reply Reply Quote 0
                            • patient0P
                              patient0 @pfultz
                              last edited by

                              @pfultz Are you running pfSense 2.7.2 CE? If yes then the 198 is part of pfSense. If not then we gotta know what version of pfSense you're running.

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

                                If you installed the 1100.00 freebsd pkg already then first uninstall it: pkg remove realtek-re-kmod

                                Then install the pkg from the default CE repo using: pkg install realtek-re-kmod

                                That is assuming you did not add the FreeBSD pkg repos manually at any time?

                                P 1 Reply Last reply Reply Quote 0
                                • P
                                  pfultz @patient0
                                  last edited by

                                  @patient0
                                  2.7.2 which I believe is the only one I can download for amd.

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    pfultz @stephenw10
                                    last edited by

                                    @stephenw10
                                    Alright all of this worked.
                                    However now when I try to log into pf.
                                    It doesn't see the ip of the pf machine I set up.
                                    I can see the rig in my network with the ip I gave it.
                                    I can ping to the machine and from the machine with no issue.
                                    I can switch back to the intel nic. From my browser nothing.
                                    Even though before this I could log into pf online with the intel card.

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

                                      Can you SSH into it?

                                      What do you see at the console?

                                      P 1 Reply Last reply Reply Quote 0
                                      • P
                                        pfultz @stephenw10
                                        last edited by

                                        @stephenw10

                                        I ran everything on auto through option 2
                                        I am logged in online.
                                        Can I run the setup like this?
                                        modem to router to pfsense to switch to 4 devices?
                                        Right now I am modem to router to switch to pfsense
                                        Thank you for your help. You have brought to this point.
                                        I am logged in using the motherboard realtek nic.

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

                                          Yes you can put pfSense directly connected to an upstream router.

                                          Ideally I would want to see: Modem --- pfSense --- switch ---- < devices >
                                          I.e. only one router and that's pfSense. Doing so avoids double NAT. However that may not be possible depending on what you're using your upstream router for.

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