• 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.6k
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.
  • V
    virusbcn
    last edited by virusbcn Feb 21, 2022, 9:42 AM Feb 21, 2022, 9:41 AM

    Yes, I can confirm that on two mini pcs with Realtek network cards, with a 1Gb/1Gb PPOE fibre connection, I have been able to confirm that on both with Pfsense 2.6 newly installed, the WAN network card would disconnect when network traffic was high for about a minute and reconnect, with the new drivers it works perfectly under any level of network card stress.

    @rcoleman-netgate
    *@RK0
    *I then issued the commands to download the revised Realtek drivers from freebsd

    fetch -v https://pkg.freebsd.org/FreeBSD:12:amd64/latest/All/realtek-re-kmod-196.04.txz
    pkg install -f -y realtek-re-kmod-196.04.txz
    I then loaded nano...just because it is easier than vi

    pkg install nano
    I then created a /boot/loader.conf.local file with the entries

    if_re_load="YES"
    if_re_name="/boot/modules/if_re.ko"
    ...and then rebooted the system**

    Also, I have been able to confirm that no matter how PowerD is set, and with the default networking options disabled it works perfectly.

    🔒 Log in to view

    Thanks to all of you for improving this system every day

    F S 2 Replies Last reply Feb 25, 2022, 8:54 AM Reply Quote 3
    • R
      RK0 @skogs
      last edited by Feb 21, 2022, 11:50 AM

      @skogs I think in the vast majority of cases you are correct, and it will mean little to turn off log compression if ZFS is the underlying file system. However, if the system running PfSense has a "weak" processor, every little bit helps...🙂

      PfSense documentation states

      On certain systems, disabling compression (set to none) is the best course of action. Examples include:

      Firewalls using large log file sizes, which may take too long to compress

      Slower firewalls which may take too long to compress or search the log files even at default sizes

      Firewalls using ZFS which by default will already compress disk contents

      1 Reply Last reply Reply Quote 0
      • W
        w0w @Gerard64
        last edited by Feb 21, 2022, 7:13 PM

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

        At the moment I have very little time my wife is in the hospital since yesterday so my time is very limited at the moment.

        I hope that everything will be alright.

        G 1 Reply Last reply Feb 21, 2022, 10:22 PM Reply Quote 1
        • G
          Gerard64 @w0w
          last edited by Gerard64 Feb 21, 2022, 10:23 PM Feb 21, 2022, 10:22 PM

          @w0w

          I hope that everything will be alright.

          Sadly not yet, but will be, soon hopefully.
          Thank you for your kind words 👍

          1 Reply Last reply Reply Quote 0
          • P p.dang referenced this topic on Feb 22, 2022, 1:00 PM
          • J jimp moved this topic from CE 2.6.0 Development Snapshots (Retired) on Feb 23, 2022, 2:01 PM
          • F
            fictionedge @virusbcn
            last edited by Feb 25, 2022, 8:54 AM

            @virusbcn It's been working for 3 days now without breaking. I think it worked. Thank you very much.

            1 Reply Last reply Reply Quote 0
            • B
              bbfrankopan @w0w
              last edited by Mar 15, 2022, 9:30 PM

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

              @gerard64
              SSH or use Command Prompt in gui

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

              or you can temporary disable the FreeBSD repositories (comment out the lines in /usr/local/etc/pkg/repos/FreeBSD.conf and /usr/local/etc/pkg/repos/pfSense.conf), install the kernel module via pkg , and then uncomment those lines them again.

              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by Mar 15, 2022, 11:39 PM

                I would not recommend that. It's very easy to pull in other pkgs that overwrite things that pfSense needs.

                Steve

                V 1 Reply Last reply Mar 17, 2022, 11:43 AM Reply Quote 1
                • V
                  virusbcn @stephenw10
                  last edited by Mar 17, 2022, 11:43 AM

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

                  I would not recommend that. It's very easy to pull in other pkgs that overwrite things that pfSense needs.

                  Steve

                  And what would be the right option? Integrate these drivers in the next Pfsense update?

                  1 Reply Last reply Reply Quote 0
                  • S
                    stephenw10 Netgate Administrator
                    last edited by Mar 17, 2022, 1:14 PM

                    It was in our package repo for a while but we had to remove it when it started failing to build in our build system.

                    If you're installing pkgs from FreeBSD it's better to 'pkg add' individual pkgs to avoid pulling in dependencies that break pfSense.

                    Steve

                    V 1 Reply Last reply Mar 17, 2022, 5:02 PM Reply Quote 1
                    • V
                      virusbcn @stephenw10
                      last edited by Mar 17, 2022, 5:02 PM

                      @stephenw10

                      Thank you Stephen, i'm sorry but I don't know if I understood correctly, I'm not a freebsd expert, so to apply the Realtek drivers that work fine and don't cause the network loss problem, what do we have to do?

                      1 Reply Last reply Reply Quote 0
                      • S
                        stephenw10 Netgate Administrator @w0w
                        last edited by Mar 17, 2022, 6:04 PM

                        This:

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

                        SSH or use Command Prompt in gui

                        fetch -v https://pkg.freebsd.org/FreeBSD:12:amd64/latest/All/realtek-re-kmod-196.04.txz
                        pkg install -f -y realtek-re-kmod-196.04.txz
                        
                        R 1 Reply Last reply Mar 17, 2022, 8:52 PM Reply Quote 0
                        • 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
                            • fireodoF fireodo referenced this topic on May 10, 2022, 11:57 AM
                            • E elliopitas referenced this topic on May 21, 2022, 6:54 PM
                            • sokeadaS
                              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
                                
                                sokeadaS 1 Reply Last reply Jun 28, 2022, 2:09 PM Reply Quote 0
                                • sokeadaS
                                  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
                                  🔒 Log in 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.

                                    sokeadaS 1 Reply Last reply Jun 28, 2022, 3:14 PM Reply Quote 1
                                    • sokeadaS
                                      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.

                                        🔒 Log in to view

                                        Two Realtek NICs, one vlan only in LAN

                                        sokeadaS 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.

                                          sokeadaS 1 Reply Last reply Jun 29, 2022, 1:27 AM Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.