• 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.
  • S
    skogs
    last edited by skogs Oct 13, 2022, 4:14 AM Oct 13, 2022, 4:13 AM

    Please keep this thread on topic. People click this topic specifically for realtek issues caused by years of neglect. Realtek hardware exists and works fine mostly everywhere...we just need to do manual foo to fix it here.

    Normally I'm not one to complain, but we're talking about upgrades, downgrades, and complaints about posts being spam...

    --please don't reply to this; just go about your day--

    1 Reply Last reply Reply Quote 2
    • W
      w0w
      last edited by w0w Oct 13, 2022, 3:55 PM Oct 13, 2022, 3:49 PM

      I can confirm that netmap is not working correctly with these drivers in pfSense, so do not try to use the inline mode for suricata or snort. It will crash shortly after setting applied or after reboot.
      P.S.
      I've tried builds based on Freebsd 12 only and at least 3 different realtek cards, if you have any luck with other version or hardware, please let us know.

      M 1 Reply Last reply Oct 13, 2022, 6:25 PM Reply Quote 0
      • M
        MxcZXAKM @w0w
        last edited by Oct 13, 2022, 6:25 PM

        @w0w for the record I had the same issue with inline & legacy, made no difference.

        W 1 Reply Last reply Oct 14, 2022, 8:23 AM Reply Quote 0
        • W
          w0w @MxcZXAKM
          last edited by Oct 14, 2022, 8:23 AM

          @mxczxakm for the record, I have crash and kernel dump on all three variants and your problem looks different for me. Create a new topic and post there as much information as you can.

          1 Reply Last reply Reply Quote 0
          • B
            bepa888
            last edited by Oct 17, 2022, 11:42 AM

            realtek-re-kmod version 197.00 for pfSense 2.6 / FreeBSD 12 is out:

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

            My box's WAN and LAN interfaces periodically flapped with the older v196.04. I hope the latest Realtek driver version 197.00 is more stable.

            W R 2 Replies Last reply Oct 17, 2022, 6:03 PM Reply Quote 1
            • W
              w0w @bepa888
              last edited by Oct 17, 2022, 6:03 PM

              @bepa888
              I've been using it for a week and haven't noticed a difference.

              1 Reply Last reply Reply Quote 1
              • M
                MxcZXAKM
                last edited by Oct 17, 2022, 10:16 PM

                I’ve been running with the new driver and suricata in legacy without an issue for today anyways.

                1 Reply Last reply Reply Quote 0
                • R
                  RK0 @bepa888
                  last edited by Oct 17, 2022, 10:45 PM

                  I decided to upgrade earlier today...it went without a hitch. Running 2.6 with two Realtek ethernet controllers, a RTL8111K and a RTL8111H in a Lenovo ThinkCentre M90n IoT dual NIC system.

                  1 Reply Last reply Reply Quote 0
                  • M
                    MxcZXAKM
                    last edited by Oct 18, 2022, 2:38 AM

                    Eventually it started dropping my wireguard connection on/off and eventually it locked up the LAN so i couldn’t log in. I went back to no Suricata which still works just fine.

                    W 1 Reply Last reply Oct 19, 2022, 3:21 AM Reply Quote 0
                    • W
                      w0w @MxcZXAKM
                      last edited by Oct 19, 2022, 3:21 AM

                      @mxczxakm
                      It seems to me that there are several problems mixed in here, some sort of defective or incompatible hardware is mixed with incomplete/missed suricata settings.

                      M 1 Reply Last reply Oct 19, 2022, 3:42 AM Reply Quote 0
                      • M
                        MxcZXAKM @w0w
                        last edited by Oct 19, 2022, 3:42 AM

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

                        @mxczxakm
                        It seems to me that there are several problems mixed in here, some sort of defective or incompatible hardware is mixed with incomplete/missed suricata settings.

                        Ok, thanks, I’ll keep digging. I think I’m going to move away from this Zima board again, too underpowered.

                        1 Reply Last reply Reply Quote 0
                        • M
                          MxcZXAKM
                          last edited by MxcZXAKM Oct 19, 2022, 1:18 PM Oct 19, 2022, 12:43 PM

                          The issue is still the Realtek NICs. I found an article exactly to my board & issue. He ended up switching to an Intel NIC via PCIe to fix this issue in the end.

                          https://www.martinrowan.co.uk/2022/05/installing-pfsense-2-6-on-zimaboard/

                          alt text

                          Also of note:
                          https://forums.serverbuilds.net/t/demystifying-intel-pro-1000-quad-port-nics/2401

                          W 1 Reply Last reply Oct 19, 2022, 4:04 PM Reply Quote 1
                          • W
                            w0w @MxcZXAKM
                            last edited by Oct 19, 2022, 4:04 PM

                            @mxczxakm
                            https://be-virtual.net/pfsense-arpresolve-cant-allocate-llinfo-for-x-x-x-x-on-emx/
                            Example of similar issues on Intel em driver...and realtek also...
                            There are two, at least, different solutions provided, one is to disable ARP daemon, whatever it means, and the second is to use dumb switch on this port, which is getting those messages like cant-allocate-llinfo what ever...

                            M 1 Reply Last reply Oct 19, 2022, 4:48 PM Reply Quote 0
                            • M
                              MxcZXAKM @w0w
                              last edited by Oct 19, 2022, 4:48 PM

                              @w0w thanks, his solution seemed to just be setting a static ARP/MAC for his connected rotating server. I have a direct pipe to the WAN on mine, simple home setup.

                              1 Reply Last reply Reply Quote 0
                              • S
                                stephenw10 Netgate Administrator
                                last edited by Oct 19, 2022, 5:34 PM

                                Usually seeing that message indicates pfSense no longer has an interface with an IP address in the same subnet as the indicate IP so it cannot ARP for it. So usually it's the gateway address on a dynamic connection and the interface has lost it's lease or similar.
                                Adding a static ARP entry there prevents it trying so you don't see that error but doesn't actually allow it to function in that circumstance. Usually those errors are only while a WAN reconnects.

                                Steve

                                M 1 Reply Last reply Oct 19, 2022, 6:25 PM Reply Quote 0
                                • M
                                  MxcZXAKM @stephenw10
                                  last edited by Oct 19, 2022, 6:25 PM

                                  @stephenw10 maybe setting the default gateway to WAN instead of automatic would help but in my case I can’t because of the VPN connection.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    stephenw10 Netgate Administrator
                                    last edited by Oct 19, 2022, 6:29 PM

                                    Hmm, usually that's exactly when you should have it set to WAN and not auto.

                                    This should be in a new topic though.

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      bepa888
                                      last edited by Oct 24, 2022, 2:12 PM

                                      It has been seven days since I upgraded to realtek-re-kmod driver version 197.00, and my pfSense 2.6 box's LAN and WAN interfaces have not flapped even once. In the previous version, 196.04, the interfaces flapped randomly every one to four days and needed a reboot to fix the issue. Due to the frequent flapping issue with v196.04, I created a cron job that is scheduled to run every minute to check if an interface is flapping. The cron job will automatically reboot the OS if an interface has flapped more than five times (down/up/down/up/down). The OS reboot took ~40 seconds.

                                      My box is a Gigabyte EL-20-3710-32G, and my internet bandwidth is 300 Mbps for upload and download. PowerD, Crypto Hardware, Kernel PTI, MDS Mode, RAM disks, hardware checksum offload, TCP segmentation offload, and hardware large receive offload are all disabled. I haven't changed anything other than upgrading the Realtek driver to version 197.00. Hopefully, the Realtek NIC flapping issue has been permanently fixed.

                                      Below are the settings in my /boot/loader.conf.local and /boot/loader.conf:

                                      if_re_load="YES"
                                      if_re_name="/boot/modules/if_re.ko"
                                      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
                                      hw.re.max_rx_mbuf_sz="2048"
                                      legal.intel_wpi.license_ack=1
                                      legal.intel_ipw.license_ack=1
                                      legal.intel_iwi.license_ack=1
                                      
                                      G 1 Reply Last reply Nov 10, 2022, 7:07 PM Reply Quote 2
                                      • G
                                        goovich @bepa888
                                        last edited by Nov 10, 2022, 7:07 PM

                                        @bepa888 any updates?

                                        B 1 Reply Last reply Nov 11, 2022, 8:17 AM Reply Quote 0
                                        • B
                                          bepa888 @goovich
                                          last edited by bepa888 Nov 11, 2022, 8:18 AM Nov 11, 2022, 8:17 AM

                                          @goovich Ever since I installed the realtek-re-kmod driver version 197.00 25 days ago, there has been no flapping on either the LAN or WAN Realtek ports. Yay!

                                          G 1 Reply Last reply Nov 11, 2022, 11:26 AM Reply Quote 1
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.