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

Official Realtek Driver Binary 1.95 For 2.4.4 Release

Hardware
52
194
115.4k
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.
  • C
    coreybrett
    last edited by Sep 26, 2018, 11:30 PM

    do you do this for better NIC performance?

    1 Reply Last reply Reply Quote 0
    • T
      TheNarc
      last edited by Sep 26, 2018, 11:41 PM

      I believe that it does increase performance, but primarily it's for stability. With the built-in driver you get watchdog timeout events under heavy load, so it's basically unusable.

      1 Reply Last reply Reply Quote 2
      • C
        coreybrett
        last edited by Sep 27, 2018, 12:21 AM

        what chipset? I have several realtek cards and have never noticed an issue

        1 Reply Last reply Reply Quote 0
        • T
          TheNarc
          last edited by Sep 27, 2018, 12:30 AM

          8111/8168 Family:
          Realtek Driver Page

          1 Reply Last reply Reply Quote 0
          • C
            coreybrett
            last edited by Sep 27, 2018, 12:37 AM

            interesting, I guess I don't have enough load to trigger the issue

            1 Reply Last reply Reply Quote 0
            • C
              coreybrett
              last edited by Sep 27, 2018, 12:38 AM

              does it trigger a reboot or something?

              1 Reply Last reply Reply Quote 0
              • T
                TheNarc
                last edited by Sep 27, 2018, 1:01 AM

                Not an automatic reboot, but the NICs just stop working until you manually reboot. Typically you can provoke it with iperf testing.

                1 Reply Last reply Reply Quote 1
                • L
                  Love.IT.Again
                  last edited by Oct 4, 2018, 6:25 PM

                  @TheNarc Thanks for the compiled driver. I will be using it with my resurrected C1323 box (currently running on 32GB USB thumb drive). But before patching the compiled driver, I have to try iperf if it can trigger the problem.

                  What I remember (a year ago), after updating pfsense to this box, I noticed that the ethernet slowly becoming unusable. it will be good again after a reboot, but it will go back to the same problem after several minutes.

                  Thanks again.

                  T 1 Reply Last reply Oct 4, 2018, 7:00 PM Reply Quote 0
                  • T
                    TheNarc @Love.IT.Again
                    last edited by Oct 4, 2018, 7:00 PM

                    @love-it-again No problem, I'm glad to hear it's useful. I run two CI323-based pfSense boxes and your memory syncs with mine. Without the official Realtek driver, it will eventually get watchdog timeouts and the NICs go down until a reboot. I remember that being easy to trigger with iperf to stress them too. I haven't had any issues since using the official driver though.

                    1 Reply Last reply Reply Quote 1
                    • B
                      breakaway
                      last edited by Oct 21, 2018, 8:07 AM

                      I’ve just (in the last 2 days) applied this patch to two pfSense machines. One is a Intel N3150-based machine with dual Realtek NICs and another is a Intel J1800 with dual Realtek NICs.

                      Both used to crash and go unresponsive a lot since upgrading to 2.4.4 but now they’ve been up for over 24 hours. One has been syncing off-site backups for over 12 hours at 600 mbps over our 1gbps symmetric fiber internet connection, no issue.

                      1 Reply Last reply Reply Quote 0
                      • L
                        lovingHDTV
                        last edited by Oct 22, 2018, 12:12 AM

                        How do I update my Pfsense box with this driver?

                        Do I just copy it to /boot/kernel?

                        thanks
                        david

                        B 1 Reply Last reply Oct 22, 2018, 12:20 AM Reply Quote 0
                        • B
                          breakaway @lovingHDTV
                          last edited by breakaway Oct 28, 2018, 4:18 AM Oct 22, 2018, 12:20 AM

                          @lovinghdtv

                          Unzip & Place "if_re.ko" file at "/boot/kernel"

                          Change ownership and permissions on the if_re.ko file

                          chown root:wheel if_re.ko
                          chmod 0555 if_re.ko

                          Then edit "/boot/loader.conf” to add this line:

                          if_re_load=“YES”

                          Reboot.

                          Then go to diagnostics > command prompt in the WebGUI

                          Run the command

                          kldstat

                          If you did everything properly you’ll see “if_re.ko” in the list that comes up. If not, the driver isn’t loaded.

                          L N P 3 Replies Last reply Oct 22, 2018, 12:30 AM Reply Quote 1
                          • L
                            lovingHDTV @breakaway
                            last edited by Oct 22, 2018, 12:30 AM

                            @breakaway said in Official Realtek Driver Binary 1.95 For 2.4.4 Release:

                            @lovinghdtv

                            Unzip & Place "if_re.ko" file at "/boot/kernel"

                            Change ownership and permissions on the if_re.ko file

                            chown root:wheel if_re.ko
                            chmod 0555 if_re.ko

                            Then edit "/boot/loader.conf” to add this line:

                            if_re_load=“YES"

                            Reboot.

                            Then go to diagnostics > command prompt in the WebGUI

                            Run the command

                            kldstat

                            If you did everything properly you’ll see “if_re.ko” in the list that comes up. If not, the driver isn’t loaded.

                            Thanks that worked like a charm.

                            Now hopefully it fixed my issue.

                            david

                            1 Reply Last reply Reply Quote 0
                            • DerelictD
                              Derelict LAYER 8 Netgate
                              last edited by Oct 22, 2018, 12:55 AM

                              I would put it in /boot/loader.conf.local

                              Chattanooga, Tennessee, USA
                              A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                              DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                              Do Not Chat For Help! NO_WAN_EGRESS(TM)

                              1 Reply Last reply Reply Quote 2
                              • N
                                Napsterbater @breakaway
                                last edited by Oct 28, 2018, 12:07 AM

                                @breakaway said in Official Realtek Driver Binary 1.95 For 2.4.4 Release:

                                @lovinghdtv

                                Unzip & Place "if_re.ko" file at "/boot/kernel"

                                Change ownership and permissions on the if_re.ko file

                                chown root:wheel if_re.ko
                                chmod 0555 if_re.ko

                                Then edit "/boot/loader.conf” to add this line:

                                if_re_load=“YES"

                                Reboot.

                                Then go to diagnostics > command prompt in the WebGUI

                                Run the command

                                kldstat

                                If you did everything properly you’ll see “if_re.ko” in the list that comes up. If not, the driver isn’t loaded.

                                Tip for anyone having a issue, If you copied and pasted the if_re_load=“YES" line fix the first “ and make it " yes there is a difference. /facedesk

                                Works like a charm, once I found that =P

                                Thanks for the updated driver and taking the time to compile, I have a ZOTAC ZBOX CI323 Nano with dual Realtek and a 2nd Generic system with a single Realtek (router on a Stick).

                                1 Reply Last reply Reply Quote 3
                                • B
                                  breakaway
                                  last edited by breakaway Oct 28, 2018, 4:17 AM Oct 28, 2018, 4:10 AM

                                  Odd - looks like the double quotes are messed up. You can thank my Phone for that! I’ll update it.

                                  Always use kldstat to verify if the driver if_re.ko is loaded!

                                  Shell Output - cat /boot/loader.conf

                                  kern.cam.boot_delay=10000
                                  kern.ipc.nmbclusters="1000000"
                                  kern.ipc.nmbjumbop="524288"
                                  kern.ipc.nmbjumbo9="524288"
                                  kern.geom.label.disk_ident.enable="0"
                                  kern.geom.label.gptid.enable="0"
                                  zfs_load="YES"
                                  if_re_load=“YES”
                                  autoboot_delay="3"
                                  hw.usb.no_pf="1”

                                  Shell Output - kldstat

                                  Id Refs Address Size Name
                                  1 20 0xffffffff80200000 2d9a7d0 kernel
                                  2 1 0xffffffff82f9c000 381f00 zfs.ko
                                  3 2 0xffffffff8331e000 a3a0 opensolaris.ko
                                  4 1 0xffffffff83329000 7d2c0 if_re.ko
                                  5 1 0xffffffff83911000 10a0 cpuctl.ko
                                  6 1 0xffffffff83913000 2ec0 cryptodev.ko
                                  7 1 0xffffffff83916000 c80 coretemp.ko

                                  N 1 Reply Last reply Oct 28, 2018, 3:37 PM Reply Quote 1
                                  • N
                                    Napsterbater @breakaway
                                    last edited by Oct 28, 2018, 3:37 PM

                                    @breakaway upper case is fine, it is the left/backwards/upside down quotation mark that if copy pasted makes the loader throw a syntax error and not load the driver.

                                    1 Reply Last reply Reply Quote 0
                                    • P
                                      penetal
                                      last edited by Dec 8, 2018, 10:07 PM

                                      Could you post a guide on how to compile the driver? Would be nice to know what is needed from pfsense sources etc and if any configs is needed.

                                      L 1 Reply Last reply Dec 8, 2018, 10:18 PM Reply Quote 0
                                      • L
                                        Love.IT.Again @penetal
                                        last edited by Dec 8, 2018, 10:18 PM

                                        @penetal

                                        Here's a link of the guide. The files are a little bit old so use the newer version (Realtek driver v1.95 and FreeBSD 11.2), but the process is still the same.

                                        https://gist.github.com/jovimon/524e116471f249626fd2ccd141f3fe05

                                        P 1 Reply Last reply Dec 8, 2018, 11:58 PM Reply Quote 1
                                        • B
                                          breakaway
                                          last edited by Dec 8, 2018, 10:21 PM

                                          Also, is there any way to “slipstream” the driver and the modification to the loader.conf so that it will automatically include this driver when installing from media?

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