Installed Realtek driver does not load on boot
-
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?
-
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
-
@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!
-
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