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

    Official Realtek Driver v1.95 Binary

    Scheduled Pinned Locked Moved Hardware
    22 Posts 8 Posters 8.0k Views 10 Watching
    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.
    • gregeehG Offline
      gregeeh
      last edited by

      I have tried to compile the Realtek Driver version 1.95 following these instructions:

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

      just changing the commands from 1.94 to those of 1.95.

      However the size of my if_re_ko is slightly different to yours at 524584 bytes.

      I did get the following messages after the make command, so I may have an issue:

      https://vgy.me/Rp2XxO.jpg

      Any help appreciated.

      TIA

      Greg

      PfSense running on Qotom mini PC
      CPU N3150, 2 GB memory, 32 GB SSD & 2 Realtek Gb Ethernet ports.
      UniFi AC-Lite access point

      1 Reply Last reply Reply Quote 0
      • T Offline
        TheNarc
        last edited by

        It's certainly possible that you might not get a bitwise identical binary if the compiler version and/or kernel sources were at all different. But that doesn't mean it's invalid either. Is there a reason you don't want to use the compiled 1.95 binaries already available? I'll be building one for 2.4.4 as well; I've just been holding off for the official release.

        gregeehG 1 Reply Last reply Reply Quote 0
        • gregeehG Offline
          gregeeh @TheNarc
          last edited by gregeeh

          @thenarc said in Official Realtek Driver v1.95 Binary:

          Is there a reason you don't want to use the compiled 1.95 binaries already available?

          No not really, I just thought I would try and do it myself, I suppose just as practice/learning experience. Silly when you think about it I suppose.

          What I do not understand is must the drivers be re-compiled for each version of pfSense or FreeBSD, or is it just best practice? Presently I have 1.94 drivers installed on the current stable release of pfSense (2.4.3-RELEASE-p1), so do they stop working, or cause issues, once I upgrade?

          Thanks for taking the time to reply.

          Greg

          Edit: I'm assuming the messages after the make command were normal?

          PfSense running on Qotom mini PC
          CPU N3150, 2 GB memory, 32 GB SSD & 2 Realtek Gb Ethernet ports.
          UniFi AC-Lite access point

          1 Reply Last reply Reply Quote 0
          • T Offline
            TheNarc
            last edited by

            Nothing wrong with wanting to do it yourself. And I don't think that warning is anything to worry about. It was output before the compilation (the line beginning with "cc") even began. I believe that technically a re-compilation should only be necessary on major release changes of FreeBSD, which going from pfSense 2.4.3 to 2.4.4 will be (it's going from 10 to 11). So a re-compilation will be necessary for 2.4.4.

            GrimsonG gregeehG 2 Replies Last reply Reply Quote 0
            • GrimsonG Offline
              Grimson Banned @TheNarc
              last edited by

              @thenarc said in Official Realtek Driver v1.95 Binary:

              I believe that technically a re-compilation should only be necessary on major release changes of FreeBSD, which going from pfSense 2.4.3 to 2.4.4 will be (it's going from 10 to 11).

              No it's going from 11.1 to 11.2.

              gregeehG 1 Reply Last reply Reply Quote 0
              • gregeehG Offline
                gregeeh @TheNarc
                last edited by

                @thenarc said in Official Realtek Driver v1.95 Binary:

                I believe that technically a re-compilation should only be necessary on major release changes of FreeBSD, which going from pfSense 2.4.3 to 2.4.4 will be (it's going from 10 to 11). So a re-compilation will be necessary for 2.4.4.

                So which comes first, upgrade from 2.4.3 to 2.4.4 and then re-compile and install. Or, re-compile and install and then upgrade from 2.4.3 to 2.4.4. Or does it not matter.

                Sorry for all the dumb questions, just trying to understand.

                PfSense running on Qotom mini PC
                CPU N3150, 2 GB memory, 32 GB SSD & 2 Realtek Gb Ethernet ports.
                UniFi AC-Lite access point

                1 Reply Last reply Reply Quote 0
                • gregeehG Offline
                  gregeeh @Grimson
                  last edited by

                  @grimson said in Official Realtek Driver v1.95 Binary:

                  @thenarc said in Official Realtek Driver v1.95 Binary:

                  I believe that technically a re-compilation should only be necessary on major release changes of FreeBSD, which going from pfSense 2.4.3 to 2.4.4 will be (it's going from 10 to 11).

                  No it's going from 11.1 to 11.2.

                  It's going from 11.1-RELEASE-p10 to 11.2-RELEASE-p11.

                  PfSense running on Qotom mini PC
                  CPU N3150, 2 GB memory, 32 GB SSD & 2 Realtek Gb Ethernet ports.
                  UniFi AC-Lite access point

                  T GrimsonG 2 Replies Last reply Reply Quote 0
                  • T Offline
                    TheNarc
                    last edited by

                    No problem. It shouldn't really matter, it's just that if you have the driver compiled for 2.4.4 and are running 2.4.3, it will fail to load and will use the built-in driver. Likewise, if you have the driver compiled for 2.4.3 and are running 2.4.4, it will also fail and use the built-in driver. But no catastrophic failure will occur.

                    gregeehG 1 Reply Last reply Reply Quote 0
                    • T Offline
                      TheNarc @gregeeh
                      last edited by

                      @gregeeh Thanks @Grimson, I should have checked. So in that case, possibly the driver will still work in 2.4.4. I think it's probably still best practice to re-compile, and I plan to. But I'm not familiar enough with FreeBSD development to be sure.

                      1 Reply Last reply Reply Quote 0
                      • gregeehG Offline
                        gregeeh @TheNarc
                        last edited by

                        @thenarc said in Official Realtek Driver v1.95 Binary:

                        No problem. It shouldn't really matter, it's just that if you have the driver compiled for 2.4.4 and are running 2.4.3, it will fail to load and will use the built-in driver. Likewise, if you have the driver compiled for 2.4.3 and are running 2.4.4, it will also fail and use the built-in driver. But no catastrophic failure will occur.

                        Great, thanks for clearing that up.

                        PfSense running on Qotom mini PC
                        CPU N3150, 2 GB memory, 32 GB SSD & 2 Realtek Gb Ethernet ports.
                        UniFi AC-Lite access point

                        1 Reply Last reply Reply Quote 0
                        • GrimsonG Offline
                          Grimson Banned @gregeeh
                          last edited by

                          @gregeeh said in Official Realtek Driver v1.95 Binary:

                          It's going from 11.1-RELEASE-p10 to 11.2-RELEASE-p11.

                          Nope. 11.2 is at p3 currently, p11 doesn't even exist yet for 11.2.

                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            breakaway
                            last edited by

                            Hi TheNarc - Did you manage to compile v1.95 driver for pfSense 2.4.4 yet?

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

                              See: https://forum.netgate.com/topic/135850/official-realtek-driver-binary-1-95-for-2-4-4-release

                              Steve

                              1 Reply Last reply Reply Quote 1
                              • F Offline
                                fkoczan
                                last edited by

                                I have made FreeBSD 12 package.
                                https://drive.google.com/file/d/1Ch4Z_w7gpbrpavQ4KhPUXUzYhRyzqnye/view?usp=sharing
                                I dont consider it my work - I have just packed it in one archive. It is stable for me on 12.0 p3 more than
                                "sed -i -e 's/TAILQ_FOREACH/CK_STAILQ_FOREACH/g' if_re.c"

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