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

    Realteck NIC 8125BG 2.5G in pfsense 2.7.0

    Scheduled Pinned Locked Moved Hardware
    4 Posts 2 Posters 4.9k 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.
    • UnoptanioU
      Unoptanio
      last edited by Unoptanio

      Hello,
      i have pfsense 2.7.0

      i am struggling with my Realtek 8125BG 2.5G network card drivers

      I followed the instructions on the site:
      https://www.freshports.org/net/realtek-re-kmod/

      I don't understand what this means on the site:
      To install the port: cd /usr/ports/net/realtek-re-kmod/ && make install clean

      I tried running the command:

      pkg add https://pkg.freebsd.org/FreeBSD:14:amd64/latest/All/realtek-re-kmod-198.00_3.pkg
      

      i modified the file /boot/loader.conf with:

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

      it's correct? i have to edit /boot/loader.conf or /boot/loader.conf.local ?

      i restarted the system

      After restart:

      pkg info -x realtek
      

      return: realtek-re-kmod-198.00.1

      pkg search realtek
      

      return: realtek-re-kmod-198.00.3

      pfSensePlus24.03 2U BareMetal Asrock Industrial IMB-X1314MicroATX
      CPU: i7-13700@5.2GHz, RAM:32GB ECC, n°2 Samsung 870EVO SATA 2.5” SSD 1TB (ZFS) Raid1
      n°3 Intel i225-LM 2500/1000/100Mbps, n°1 NIC Intel i350-T4V2 10/100/1000 Mbps 4*GLAN, n°1 Intel X520-DA2

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

        There are no build tools in pfSense, you can't run make.

        You can install the pkg though using one from FreeBSD 14 may or may not work. Check the boot log to see if it's reporting the driver version.

        In CE 2.7 the Realtek kmod pkg is in our repo so you can just 'pkg install' it if the one you have is not loading.

        Steve

        UnoptanioU 1 Reply Last reply Reply Quote 0
        • UnoptanioU
          Unoptanio @stephenw10
          last edited by Unoptanio

          @stephenw10
          Hello,

          My network card is RTL8125BG 2.5G Gigabit Ethernet

          The Realtek kmod pkg in pfsense 2.7.0 repo is versione 198.00_1
          c48fb314-688c-4759-b540-d5072f667c9f-image.png

          I have install it using the comand

          pkg install net/realtek-re-kmod
          

          774aaae0-30a4-4184-9f11-d5f9a1a66451-image.png

          There are other new 2 version of the driver in free bsb14 :

          67fd2784-5a57-41ab-b4f4-07bb0a6a278d-image.png

          https://www.freshports.org/net/realtek-re-kmod/

          1a01bc87-0218-42be-963b-2ea8149d0ded-image.png

          198.00_3 17 Jul 2023 15:50:18
          fix kernel panic when generating MAC address.

          198.00_2 03 Jul 2023 06:57:57
          fix panic when kldloaded outside of loader

          Command for remove realtek package ver. 198.00_1 :

          016c1cce-7fe1-4d01-beb1-d2a906c9e2c4-image.png

          I tried running the command for install newest driver ver 198.00_3:

          pkg add https://pkg.freebsd.org/FreeBSD:14:amd64/latest/All/realtek-re-kmod-198.00_3.pkg
          

          11d967e7-f7e8-45f4-9e62-7f4f9f437f8d-image.png

          pkg info -x realtek
          

          return: realtek-re-kmod-198.00.1

          pkg search realtek
          

          return: realtek-re-kmod-198.00.3

          898607ad-edbf-4f93-82d8-1ff12e447fb9-image.png

          thanks
          Michele

          pfSensePlus24.03 2U BareMetal Asrock Industrial IMB-X1314MicroATX
          CPU: i7-13700@5.2GHz, RAM:32GB ECC, n°2 Samsung 870EVO SATA 2.5” SSD 1TB (ZFS) Raid1
          n°3 Intel i225-LM 2500/1000/100Mbps, n°1 NIC Intel i350-T4V2 10/100/1000 Mbps 4*GLAN, n°1 Intel X520-DA2

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

            You probably don't need the newer version. And because that is not built against the pfSense kernel it may not load at boot time.

            You need to check the bootlog to make sure it is loading and attaching to the NIC.

            Steve

            1 Reply Last reply Reply Quote 0
            • UnoptanioU Unoptanio referenced this topic on
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.