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

Installed Realtek driver does not load on boot

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
4 Posts 3 Posters 384 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.
  • D
    DominikHoffmann
    last edited by DominikHoffmann Sep 7, 2024, 4:13 AM Sep 7, 2024, 4:13 AM

    Re: Trying to find out which Realtek drivers are being used?

    I am running CE 2.7.2 on a NUC PC with Realtek NICs. These are the instructions I am running in the shell:

    fetch -v https://pkg.opnsense.org/FreeBSD:14:amd64/snapshots/latest/All/realtek-re-kmod-1100.00_1.pkg
    pkg install -f -y realtek-re-kmod-1100.00_1.pkg
    

    I also put this into /boot/loader.conf.local:

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

    The command kldstat shows

    [2.7.2-RELEASE][admin@pfSense.home.arpa]/root: kldstat
    Id Refs Address                Size Name
     1   10 0xffffffff80200000  339ce08 kernel
     3    1 0xffffffff83b76000    1e2b0 opensolaris.ko
     4    1 0xffffffff84710000     2220 cpuctl.ko
     5    1 0xffffffff84713000     3240 ichsmb.ko
     6    1 0xffffffff84717000     2178 smbus.ko
    

    That driver was evidently not loaded. Why not?

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Sep 7, 2024, 6:24 PM

      Because that's a kernel module compiled for opnsense.

      Remove that: pkg delete realtek-re-kmod

      Then install the pkg from the 2.7.2 repo: pkg install realtek-re-kmod

      Steve

      D 1 Reply Last reply Sep 8, 2024, 11:06 AM Reply Quote 2
      • D
        DominikHoffmann @stephenw10
        last edited by Sep 8, 2024, 11:06 AM

        @stephenw10 said in Installed Realtek driver does not load on boot:

        Remove that: pkg delete realtek-re-kmod

        Then install the pkg from the 2.7.2 repo: pkg install realtek-re-kmod

        That worked. Thanks very much, Stephen!

        1 Reply Last reply Reply Quote 1
        • P
          pixeluk
          last edited by Oct 7, 2024, 5:20 PM

          I just wanted to add my thanks too – I was trying to install the same latest Realtek drivers to support a generic dual port 2.5G NIC (uses 8125 chipset) but got stuck with the version mismatch error preventing the driver to load.

          I should have just come to this Forum first!

          Phil

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received