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

realtek-re-kmod missing in pfSense 2.6 repository?

Hardware
21
150
49.5k
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
    RK0 @stephenw10
    last edited by RK0 Mar 17, 2022, 8:56 PM Mar 17, 2022, 8:52 PM

    @virusbcn

    ...and...

    don't forget to modify the boot/loader.conf.local file

    I consolidated all the steps listed by @w0w and others in this very thread on Feb 18th 2022. Just go back to the top of the thread here, find the one dated Feb 18th, and just follow those series of steps.

    1 Reply Last reply Reply Quote 1
    • J
      Jakub 0 @w0w
      last edited by Apr 3, 2022, 9:55 AM

      @w0w Thanks a million this saved me a lot of work.

      1 Reply Last reply Reply Quote 0
      • S stephenw10 referenced this topic on May 5, 2022, 5:58 PM
      • S stephenw10 referenced this topic on May 5, 2022, 5:58 PM
      • F fireodo referenced this topic on May 10, 2022, 11:57 AM
      • E elliopitas referenced this topic on May 21, 2022, 6:54 PM
      • S
        sokeada @virusbcn
        last edited by sokeada Jun 28, 2022, 3:42 AM Jun 28, 2022, 3:42 AM

        @virusbcn bro, may I know whether your Interface Statistic got any Error Out? I've followed yours and it seems working fine but I got WAN and other VLANs Interface Error Out except LAN interface no any error.

        W V 2 Replies Last reply Jun 28, 2022, 12:00 PM Reply Quote 0
        • W
          w0w @sokeada
          last edited by Jun 28, 2022, 12:00 PM

          @sokeada
          What hardware you have?
          If you are going to Diagnostics / Command Prompt
          and enter kldstat and press execute, what is output you have, does it show if_re.ko?
          Also, I have some tunes enabled in loader.conf

          hw.re.msi_disable=1
          hw.re.msix_disable=1
          hw.re.eee_enable=0
          hw.re.phy_power_saving=0
          hw.re.phy_mdix_mode=0
          
          S 1 Reply Last reply Jun 28, 2022, 2:09 PM Reply Quote 0
          • S
            sokeada @w0w
            last edited by sokeada Jun 28, 2022, 2:34 PM Jun 28, 2022, 2:09 PM

            @w0w said in realtek-re-kmod missing in pfSense 2.6 repository?:

            @sokeada
            What hardware you have?
            If you are going to Diagnostics / Command Prompt
            and enter kldstat and press execute, what is output you have, does it show if_re.ko?
            Also, I have some tunes enabled in loader.conf

            hw.re.msi_disable=1
            hw.re.msix_disable=1
            hw.re.eee_enable=0
            hw.re.phy_power_saving=0
            hw.re.phy_mdix_mode=0
            

            bro, I've RealTek NIC, yes it shown if_re.ko when check using kldstat. Bro, may I have some detail for your tunes enabled? I really don't know what for.

            below is my issue and error out only increase during working hours that have more traffic, at night time with server stuff running plus my team workstation running with low traffic, no errow out increase.
            Note: my pfSen box only have one NIC, WAN, AIOT, GUEST and PDA are using different VLAN ID and LAN is the parent interface with native VLAN
            login-to-view

            R 1 Reply Last reply Jun 28, 2022, 3:09 PM Reply Quote 0
            • R
              RK0 @sokeada
              last edited by Jun 28, 2022, 3:09 PM

              @sokeada I just posted in https://forum.netgate.com/topic/169896/updated-realtek-nic-drivers-missing-in-pfsense-2-6-0/52 parallelling this thread...

              I think it is a mistake to have just one NIC handling both WAN and LAN traffic and all VLANs. You would be much better served adding a PFSense supported NIC, and having all WAN traffic flow through that...and then all LAN/VLAN traffic flow through the second physical NIC, properly set up.

              S 1 Reply Last reply Jun 28, 2022, 3:14 PM Reply Quote 1
              • S
                sokeada @RK0
                last edited by Jun 28, 2022, 3:14 PM

                @rk0 said in realtek-re-kmod missing in pfSense 2.6 repository?:

                @sokeada I just posted in https://forum.netgate.com/topic/169896/updated-realtek-nic-drivers-missing-in-pfsense-2-6-0/52 parallelling this thread...

                I think it is a mistake to have just one NIC handling both WAN and LAN traffic and all VLANs. You would be much better served adding a PFSense supported NIC, and having all WAN traffic flow through that...and then all LAN/VLAN traffic flow through the second physical NIC, properly set up.

                thanks bro, sad that my system has no slot to add ;(

                R 1 Reply Last reply Jun 28, 2022, 3:25 PM Reply Quote 0
                • V
                  virusbcn @sokeada
                  last edited by Jun 28, 2022, 3:21 PM

                  @sokeada said in realtek-re-kmod missing in pfSense 2.6 repository?:

                  @virusbcn bro, may I know whether your Interface Statistic got any Error Out? I've followed yours and it seems working fine but I got WAN and other VLANs Interface Error Out except LAN interface no any error.

                  login-to-view

                  Two Realtek NICs, one vlan only in LAN

                  S 1 Reply Last reply Jun 29, 2022, 1:25 AM Reply Quote 0
                  • R
                    RK0 @sokeada
                    last edited by Jun 28, 2022, 3:25 PM

                    @sokeada Depending on the internet speed you are paying for, I'd "risk" using the unthinkable....a USB ethernet adapter that PFSense has drivers for (gasp!) as the WAN link.

                    If your ISP paid for throughput is pretty slow, you could get away with this. A google search will help you find a USB adapter with driver support for PFSense

                    But if not...like if you are paying for 1GB or something close...well...I'd use a different computer where you could add at least two physical NICs off the PCIe bus. If you intend to bump up your speed in the future, I'd just go for a new machine anyway.

                    S 1 Reply Last reply Jun 29, 2022, 1:27 AM Reply Quote 0
                    • S
                      sokeada @virusbcn
                      last edited by Jun 29, 2022, 1:25 AM

                      @virusbcn said in realtek-re-kmod missing in pfSense 2.6 repository?:

                      @sokeada said in realtek-re-kmod missing in pfSense 2.6 repository?:

                      @virusbcn bro, may I know whether your Interface Statistic got any Error Out? I've followed yours and it seems working fine but I got WAN and other VLANs Interface Error Out except LAN interface no any error.

                      login-to-view

                      Two Realtek NICs, one vlan only in LAN

                      thanks for the info, bro.

                      1 Reply Last reply Reply Quote 0
                      • S
                        sokeada @RK0
                        last edited by Jun 29, 2022, 1:27 AM

                        @rk0 said in realtek-re-kmod missing in pfSense 2.6 repository?:

                        @sokeada Depending on the internet speed you are paying for, I'd "risk" using the unthinkable....a USB ethernet adapter that PFSense has drivers for (gasp!) as the WAN link.

                        If your ISP paid for throughput is pretty slow, you could get away with this. A google search will help you find a USB adapter with driver support for PFSense

                        But if not...like if you are paying for 1GB or something close...well...I'd use a different computer where you could add at least two physical NICs off the PCIe bus. If you intend to bump up your speed in the future, I'd just go for a new machine anyway.

                        thanks for the tips, bro. I will consider that. :)

                        W 1 Reply Last reply Jun 30, 2022, 7:35 AM Reply Quote 0
                        • W
                          w0w @sokeada
                          last edited by Jun 30, 2022, 7:35 AM

                          @sokeada
                          So it's some oem box or custom build? What hardware do you have, again? You said you have no slot, but you did not tell, does current card is in slot, or it is embedded? There are many realtek cards with two ports exists...

                          S 1 Reply Last reply Jun 30, 2022, 8:36 AM Reply Quote 0
                          • S
                            sokeada @w0w
                            last edited by Jun 30, 2022, 8:36 AM

                            @w0w said in realtek-re-kmod missing in pfSense 2.6 repository?:

                            @sokeada
                            So it's some oem box or custom build? What hardware do you have, again? You said you have no slot, but you did not tell, does current card is in slot, or it is embedded? There are many realtek cards with two ports exists...

                            I'm using Dell OptiPlex 3040 Micro which is come with build in and only one network port by RealTek.

                            login-to-view
                            login-to-view

                            V 1 Reply Last reply Jun 30, 2022, 8:47 AM Reply Quote 0
                            • V
                              virusbcn @sokeada
                              last edited by Jun 30, 2022, 8:47 AM

                              @sokeada

                              I have a mini HP 800, with ESX and pfsense virtual, the second nic is a realtek 2.5Gb USB and works perfect with esx and special driver, i have 1/1Gb fiber and works perfect

                              S 1 Reply Last reply Jun 30, 2022, 8:52 AM Reply Quote 0
                              • S
                                sokeada @virusbcn
                                last edited by Jun 30, 2022, 8:52 AM

                                @virusbcn said in realtek-re-kmod missing in pfSense 2.6 repository?:

                                @sokeada

                                I have a mini HP 800, with ESX and pfsense virtual, the second nic is a realtek 2.5Gb USB and works perfect with esx and special driver, i have 1/1Gb fiber and works perfect

                                nice, I might looking for an extra USB Ethernet one too. Thanks for the tip, bro.

                                1 Reply Last reply Reply Quote 0
                                • R
                                  RK0
                                  last edited by RK0 Jun 30, 2022, 3:06 PM Jun 30, 2022, 3:01 PM

                                  @sokeada I wonder if an M2 to ethernet adapter would work in your Dell OptiPlex 3040 Micro. It would take a bit of work...and you may have to do something clever with the SATA connector for storage and a rotating drive to make some space...but check out stuff like this, and the alternatives listed below. One review for this item says it worked with PfSense. Note, I have not personally attempted to make this work. Let the community know if you get it to function. Watch out for the different types of M2 slots...there are several variants. https://www.amazon.com/Ableconn-M2-NW-107-Gigabit-Ethernet-Module/dp/B07599LZ5S

                                  The other risky endevor (that I also have NOT personally tried) would be to use something like this https://www.amazon.com/WAVLINK-Converter-Compatible-Microsoft-More-Black/dp/B09LYQQ6PD. You would have to check to see if PFSense supports the RTL8156B chipset. One thing notable about this particular adapter (IF it has driver support, unknown) is the vent holes...I've read overheating USB ethernet adapters can cause some unreliable operation. Again, if you try this, let the community know in a detailed post if it worked.

                                  S 1 Reply Last reply Jul 1, 2022, 5:06 AM Reply Quote 0
                                  • S
                                    sokeada @RK0
                                    last edited by Jul 1, 2022, 5:06 AM

                                    @rk0 said in realtek-re-kmod missing in pfSense 2.6 repository?:

                                    @sokeada I wonder if an M2 to ethernet adapter would work in your Dell OptiPlex 3040 Micro. It would take a bit of work...and you may have to do something clever with the SATA connector for storage and a rotating drive to make some space...but check out stuff like this, and the alternatives listed below. One review for this item says it worked with PfSense. Note, I have not personally attempted to make this work. Let the community know if you get it to function. Watch out for the different types of M2 slots...there are several variants. https://www.amazon.com/Ableconn-M2-NW-107-Gigabit-Ethernet-Module/dp/B07599LZ5S

                                    The other risky endevor (that I also have NOT personally tried) would be to use something like this https://www.amazon.com/WAVLINK-Converter-Compatible-Microsoft-More-Black/dp/B09LYQQ6PD. You would have to check to see if PFSense supports the RTL8156B chipset. One thing notable about this particular adapter (IF it has driver support, unknown) is the vent holes...I've read overheating USB ethernet adapters can cause some unreliable operation. Again, if you try this, let the community know in a detailed post if it worked.

                                    thanks for the tips, bro. 3040 Micro series doesn't have M2 slots, 70+ series does. USB Ethernet is not recommends by Netgate. Anyways, I really appreciate your time and support. Because of I don't have any complaint about connection dropped from users so let it be then. :)

                                    1 Reply Last reply Reply Quote 0
                                    • X
                                      xenium1024 @RK0
                                      last edited by Sep 22, 2022, 6:17 PM

                                      @rk0 said:

                                      fetch -v https://pkg.freebsd.org/FreeBSD:12:amd64/latest/All/realtek-re-kmod-196.04.txz
                                      

                                      I found this thread while trying to figure out how to install the Realtek drivers on pfSense 2.6. Unfortunately in the few months since the thread was last active, the above link has become broken:

                                      [2.6.0-RELEASE][admin@gw-home.nullmodem.org]/root: fetch -v https://pkg.freebsd.org/FreeBSD:12:amd64/latest/All/realtek-re-kmod-196.04.txz
                                      resolving server address: pkg.freebsd.org:443
                                      SSL options: 82004854
                                      Peer verification enabled
                                      Using CA cert file: /usr/local/etc/ssl/cert.pem
                                      Verify hostname
                                      TLSv1.3 connection established using TLS_AES_256_GCM_SHA384
                                      Certificate subject: /CN=pkg.freebsd.org
                                      Certificate issuer: /C=US/O=Let's Encrypt/CN=R3
                                      requesting https://pkg.freebsd.org/FreeBSD:12:amd64/latest/All/realtek-re-kmod-196.04.txz
                                      
                                      404 Not Found
                                      
                                      404 Not Found
                                      nginx
                                      
                                      
                                      fetch: https://pkg.freebsd.org/FreeBSD:12:amd64/latest/All/realtek-re-kmod-196.04.txz: Not Found
                                      

                                      Additionally, https://pkg.freebsd.org/FreeBSD:12:amd64/latest/All/ isn't browsable. I spent some time Googling around and so forth trying to find where to get this file from, so far unsuccesfully.

                                      Two questions:

                                      (1) What is the new link for the driver package?
                                      (2) How could I figure this out myself next time, rather than asking here? Is there a web page of command-line tool I could use to find it? Something more official than just Googling for it? (Sorry, I'm new to BSD and much more familiar with the various forms of Linux package management.)

                                      R H 2 Replies Last reply Sep 22, 2022, 7:33 PM Reply Quote 0
                                      • S
                                        stephenw10 Netgate Administrator
                                        last edited by stephenw10 Sep 22, 2022, 6:49 PM Sep 22, 2022, 6:46 PM

                                        Use:

                                        pkg add https://pkg.freebsd.org/FreeBSD:12:amd64/latest/All/realtek-re-kmod-196.04.pkg
                                        
                                        

                                        You can browse https://pkg.freebsd.org/FreeBSD:12:amd64/latest dowload the packagesite file and open it. Look in the .yaml file (it's massive!) to see all the pkgs in the repo branch.

                                        Steve

                                        R 1 Reply Last reply Sep 22, 2022, 7:30 PM Reply Quote 0
                                        • R
                                          RK0
                                          last edited by Sep 22, 2022, 7:13 PM

                                          I took this off my own PFSense install on a ThinkCentre M90n IoT model from when the fetch command worked. It was in the root folder of my system. Posting it here for your use. Be sure to unzip it before you transfer it to your install of PfSense. This would be specific to the 2.6.0 release of PfSense, I've no idea how it would function with earlier/later versions...especially with the eventual move to FreeBSD 14 in the near future...

                                          realtek-re-kmod-196.04.zip

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