TrueNAS Scale and RTL8125 rev 0c

Hi @adelzu,

As I was writing the Howto all was working finally with v25 - but as I now did my final setup, it stop working also.

Issue - Make log:

sudo: argv[2] mismatch

So, sudo isnt allowing it.

Build Issue from make.log:

Error! Bad return status for module build on kernel: 6.12.15-production+truenas (amd64)
Consult /var/lib/dkms/realtek-r8125/9.016.01/build/make.log for more information.

Here is - how this can be fixed:

Important: This change should be reverted after its done - because should not be allowed at TrueNAS in General!

From: Problems using "sudo su -" - #17 by letic

sudo visudo

Add:

Defaults !intercept_verify

and then run:

dpkg -i realtek-r8125-dkms_9.016.01-1_amd64.deb

Before also dont forget to run:

sudo apt-get update

packages list is missing at truenas because of appliance image.

Please revert the sudo change, when all is finally working. Thats it!
Maybe this helps also for you? :rocket:

Info: The updated howto is also available on my gh:

GitHub - torsten-online/truenas-realtek-r8125-dkms: A DKMS package for easy use of Realtek r8125 driver, which supports 2.5 GbE - useful for TrueNAS Scale (Debian) :technologist:

1 Like