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

    [solved] Upgraded to 2.5.0 Release - re0 not found

    Scheduled Pinned Locked Moved Hardware
    14 Posts 6 Posters 2.2k Views
    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.
    • P
      psp
      last edited by psp

      Just upgraded from 2.4.5-p1 to 2.5.0 release. Realtek NIC (re) is not recognised anymore. No issues with Intels (em) NICs.
      Installed from ISO, same problem.
      Just a bit of warning for all (re) out there...

      pttP 1 Reply Last reply Reply Quote 0
      • pttP
        ptt Rebel Alliance @psp
        last edited by

        Just upgraded my test box (2 re interfaces), and no issues....

        f6c52657-5d76-45e4-bbd2-6d9e7d94e381-imagen.png

        184ceaef-f80d-4a08-b454-4004f0fc37c5-imagen.png

        1 Reply Last reply Reply Quote 0
        • P
          psp
          last edited by

          This is Realtek NIC (the 2nd listed) not recognised:

          819bb656-b5c4-41a8-bc26-ec6f0625186c-image.png

          pttP 1 Reply Last reply Reply Quote 0
          • pttP
            ptt Rebel Alliance @psp
            last edited by

            re0@pci0:1:0:0:	class=0x020000 card=0x816810ec chip=0x816810ec rev=0x01 hdr=0x00
                vendor     = 'Realtek Semiconductor Co., Ltd.'
                device     = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
                class      = network
                subclass   = ethernet
            re1@pci0:4:0:0:	class=0x020000 card=0x81681849 chip=0x816810ec rev=0x06 hdr=0x00
                vendor     = 'Realtek Semiconductor Co., Ltd.'
                device     = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
                class      = network
                subclass   = ethernet
            
            1 Reply Last reply Reply Quote 1
            • P
              psp
              last edited by

              Thanks for your immediate feedback. Some more troubleshooting required here...

              S 1 Reply Last reply Reply Quote 0
              • S
                SteveITS Galactic Empire @psp
                last edited by

                also for reference https://www.freebsd.org/releases/12.2R/hardware/
                "The re(4) driver supports RealTek RTL8139C+, RTL8169, RTL816xS, RTL811xS, RTL8168, RTL810xE and RTL8111 based..."

                Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                Upvote ๐Ÿ‘ helpful posts!

                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  Did you maybe manually load a driver onto 2.4.x that wasn't stock?

                  If you can get the 2.5 system online, pkg install realtek-re-kmod and that should drop an updated driver in place. If you had activated it before in loader.conf.local that should still be in place, but if not, edit or create /boot/loader.conf.local and add if_re_load="YES" on its own line.

                  Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  1 Reply Last reply Reply Quote 2
                  • P
                    psp
                    last edited by

                    Many thanks @jimp. All is properly running now.

                    f496cfa2-6b89-43f0-8aa5-637c1f313a1a-image.png

                    Just for common reference, installing from scratch, using .iso just downloaded, formatting (zfs) the target system, RealTek NIC is not found. Following your tip the card is now recognised and working.

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      That card must not be supported by the stock FreeBSD driver then. The one from the package repository is newer and from Realtek itself and not from FreeBSD.

                      Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      1 Reply Last reply Reply Quote 1
                      • P
                        psp
                        last edited by

                        Just a quick update: for this kind of NIC, you need to install newer Realtek package even with 2.5.2-RC.

                        P 1 Reply Last reply Reply Quote 1
                        • P
                          psp @psp
                          last edited by

                          @psp Installed 2.6.0 from scratch. Realtek NIC is now properly recognised out of the box. Well done Netgate/FreeBSD!

                          L 1 Reply Last reply Reply Quote 1
                          • L
                            layla @psp
                            last edited by

                            It seems like the 2.5.0 package repositories for pfSense have been nuked?

                            To add the realtek driver to pfsense 2.5.0, I had to do some surgery:

                            So, here were the steps that worked:

                            1. Comment out the line disabling FreeBSD repositories in both of these files:
                            /usr/local/etc/pkg/repos/FreeBSD.conf
                            /usr/local/etc/pkg/repos/pfSense.conf
                            
                            1. pkg update
                            2. pkg install -f realtek-re-kmod-v196.04_2
                            3. kldload /boot/modules/if_re.ko
                            4. kldstat
                            5. Confirm that kldstat command from #5 has loaded if_re.ko properly
                            6. Add the following two lines to /boot/loader.conf
                            if_re_load="YES"
                            if_re_name="/boot/modules/if_re.ko"
                            
                            1. Uncomment the lines disabling FreeBSD repositories in step 1 (reverse step 1).
                            1 Reply Last reply Reply Quote 1
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by

                              Those lines should be in /boot/loader.conf.local. If you add them directly in loader.conf they will be overwritten/removed by pfSense at some point.

                              Also it's better to pkg add that module directly from the FreeBSD pkg repos rather than enabling the full FreeBSD repo in pfSense. Doing so risks pulling in a pkg that overwrites something custom in pfSense potentially breaking everything!
                              See: https://docs.netgate.com/pfsense/en/latest/recipes/freebsd-pkg-repo.html#installing-packages

                              Steve

                              L 1 Reply Last reply Reply Quote 1
                              • L
                                layla @stephenw10
                                last edited by

                                @stephenw10 Thanks, saw the loader.conf.local stuff after I wrote that post, thanks for the reminder! I also didn't know you could pkg add - when pkg install realtek-re-kmod didn't work, I just hacked my way forward. Thanks for all the info!

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