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

    Can the RTL8125B NIC be used with pfsense now?

    Scheduled Pinned Locked Moved Hardware
    23 Posts 8 Posters 16.4k 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.
    • ?
      A Former User
      last edited by A Former User

      pkg add 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
      

      Supported devices:
      RTL8401-RTL8402
      RTL8411-RTL8411B
      RTL8125-RTL8125B(S)(G)
      RTL8168B-RTL8168E-RTL8168H
      RTL8111DP-RTL8111EP-RTL8111FP
      RTL8101E-RTL8102E-RTL8103E-RTL8105E-RTL8106E-RTL8107E
      RTL8111B-RTL8111C-RTL8111D-RTL8111E-RTL8111F-RTL8111G(S)-RTL8111H(S)-RTL8118(A)(S)-RTL8119i-RTL8111L-RTL8111K

      D 1 Reply Last reply Reply Quote 1
      • Help GroupH
        Help Group @oberzhang
        last edited by

        @oberzhang

        fetch -v https://pkg.opnsense.org/FreeBSD:12:amd64/snapshots/latest/All/realtek-re-kmod-196.04.txz
        
        pkg install -f -y realtek-re-kmod-196.04.txz
        
        
        1 Reply Last reply Reply Quote 1
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          There's no need to fetch it separately, you can just pkg add it dircetly:

          pkg add https://pkg.freebsd.org/FreeBSD:12:amd64/latest/All/realtek-re-kmod-197.00.pkg
          

          Then create the file /boot/loader.conf.local and add the lines to it:

          if_re_load="YES"
          if_re_name="/boot/modules/if_re.ko"
          

          Steve

          K A 2 Replies Last reply Reply Quote 1
          • O
            oberzhang
            last edited by

            Thank you all so much, my problem has been solved. This is the first time I have seen this kind of responsive community. It's awesome.
            On the other hand, I would also like to ask if the driver for the intel 225v3 is also supported on pfSense?.
            It is better to teach someone to fish than to teach them to fish. Can you give me your path to find a solution to the problem? Thank you very much!

            ? 1 Reply Last reply Reply Quote 0
            • ?
              A Former User @oberzhang
              last edited by

              @oberzhang

              On the other hand, I would also like to ask if the driver for > the intel 225v3 is also supported on pfSense?

              The Intel i225-V (B3) or in short i225v3 is the one you will have together with pfSense! It is the corrected version without causing any problems and fully supported by
              the FreeBSD driver. In my eyes and meaning it is better
              then the other bott i225v1 and i225v2.

              There are also other variants on the market like i225-LM
              and they are causing absolutely no problems in pfSense.

              Only for or with the Intel i226 you should wait until the pfSense version 2.7 is released or for home usage you
              could try out 2.7 devel. But here also you should if you
              can perhaps better go with the i226-LM version.

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

                Yes, it is supported. To find out if it is check the source:

                https://github.com/pfsense/FreeBSD-src/blob/RELENG_2_6_0/sys/dev/igc/igc_hw.h#L18

                Steve

                1 Reply Last reply Reply Quote 0
                • O
                  oberzhang
                  last edited by

                  I'm using the official 2.6.0 image provided. However, my device does not recognize the i225 v3 NIC properly, is there something wrong?

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

                    What's the PCI ID? Check the output of pciconf -lv

                    What error is shown in the boot logs?

                    1 Reply Last reply Reply Quote 0
                    • O
                      oberzhang
                      last edited by

                      b6da9084-3ec2-4741-b2ad-70278a7e48cc-image.png Sorry, I can't read it!

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

                        Well is shows the chip is 8086:15F2 which is supported by the igc driver in 2.6. It's also not the i225-V that had the issues with rev <3. So I would expect that to work. Check the boot log for attach errors at boot.

                        Steve

                        1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User @oberzhang
                          last edited by

                          @oberzhang

                          I'm using the official 2.6.0 image provided.

                          This is even the best! Original downloaded from the
                          pfSense servers and you can´t go wrong with it.

                          However, my device does not recognize the i225 v3
                          NIC properly, is there something wrong?

                          I can´t see the i225v3 but I am able to see the i225-LM
                          and it looks like it was recognized by pfSense.

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

                            It's showing as an unrecognized there. `'noneX' indicates a device with no driver has attached to it.

                            If the driver is trying and failing to attach there will be errors shows in the boot log.

                            1 Reply Last reply Reply Quote 0
                            • K
                              kingpinjimi @stephenw10
                              last edited by

                              @stephenw10 I am trying to add a realtek card to my system as well, but I am a complete noob. I have pulled the realtek package in and installed it, however I do not know how to complete this part-

                              Then create the file /boot/loader.conf.local and add the lines to it:

                              if_re_load="YES"
                              if_re_name="/boot/modules/if_re.ko"

                              Can you please tell me how to complete this part?

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

                                At the command line run: `ee /boot/loader.conf.local``
                                That will open the file in EasyEditor. Add those two lines to the file and save it.
                                Then reboot to apply that.

                                1 Reply Last reply Reply Quote 0
                                • A
                                  atafm2 @stephenw10
                                  last edited by

                                  @stephenw10
                                  Hi, I am having issues getting the RTL8125B driver installed on 2.6.0
                                  Do you mind taking a look to see what i am doing wrong?
                                  mmmmmmmmmmmmm.PNG

                                  Thanks :)

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

                                    Use:

                                    pkg-static add https://pkg.freebsd.org/FreeBSD:12:amd64/release_4/All/realtek-re-kmod-197.00.pkg
                                    

                                    See: https://forum.netgate.com/post/1100295

                                    Steve

                                    A 1 Reply Last reply Reply Quote 1
                                    • A
                                      atafm2 @stephenw10
                                      last edited by

                                      @stephenw10
                                      Worked Great!
                                      Thank you for the quick reply <3

                                      nnnnnnnnnnnnnn.PNG

                                      1 Reply Last reply Reply Quote 1
                                      • D
                                        Denial_King04 @A Former User
                                        last edited by

                                        Pardon me for necro'ing this thread. The link https://pkg.freebsd.org/FreeBSD:12:amd64/latest/All/realtek-re-kmod-197.00.pkg doesn't working anymore

                                        Unit: Dell Wyse 5070
                                        WAN: The built in realtek adapater (works just fine)
                                        LAN: M.2 A+E to ethernet dapater 2.5 Gb/s - RTL8125B (doesn't show up as one of the ethernet adapters during boot up)

                                        Please help, thank you.

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

                                          In 2.7.2 it's in our repo so you can just:
                                          pkg install realtek-re-kmod

                                          Steve

                                          D 1 Reply Last reply Reply Quote 1
                                          • D
                                            Denial_King04 @stephenw10
                                            last edited by

                                            @stephenw10 Thank you for the quick response. It worked!

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