r8152 icon indicating copy to clipboard operation
r8152 copied to clipboard

Adapter not working after DSM 7.3 (Realtek)

Open MiranoVerhoef opened this issue 2 months ago • 39 comments

Description of the problem

Package not starting after 7.3 update

Description of your products

DS124 Linux Kobalt 5.10.55+ #81180 SMP Fri Oct 3 13:55:15 CST 2025 aarch64 GNU/Linux synology_rtd1619b_ds124 7.3 UGREEN USB 2.5G LAN-adapter Ethernet-adapter USB 3.0

Description of your environment

  • connect directly to a PC or using a Ethernet switch Ubiquiti 2.5 gbe switch

Output of dmesg command


[notepad.txt](https://github.com/user-attachments/files/22804986/notepad.txt)

Output of lsusb command

miranoadmin@Kobalt:/$ lsusb
|__usb5          1d6b:0002:0510 09  2.00  480MBit/s 0mA 1IF  (Linux 5.10.55+ xhci-hcd xHCI Host Controller xhci-hcd.3.auto) hub
  |__5-1         2109:2817:9013 09  2.10  480MBit/s 0mA 1IF  (VIA Labs, Inc.          USB2.0 Hub              syno.ext.hub) hub
|__usb3          1d6b:0002:0510 09  2.00  480MBit/s 0mA 1IF  (Linux 5.10.55+ xhci-hcd xHCI Host Controller xhci-hcd.2.auto) hub
|__usb1          1d6b:0002:0510 09  2.00  480MBit/s 0mA 1IF  (Linux 5.10.55+ xhci-hcd xHCI Host Controller xhci-hcd.1.auto) hub

Output of ifconfig -a command

eth0      Link encap:Ethernet  HWaddr 90:09:D0:4E:0D:1E
          inet addr:192.168.2.234  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:31674 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14128 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:21607107 (20.6 MiB)  TX bytes:12095001 (11.5 MiB)
          Interrupt:32

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:6176 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6176 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:630698 (615.9 KiB)  TX bytes:630698 (615.9 KiB)

sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

MiranoVerhoef avatar Oct 09 '25 21:10 MiranoVerhoef

Same problem here. In fact, it hangs the login process when the USB adapter is connected. I will wait with the update on my other NAS.

hstriepe avatar Oct 09 '25 23:10 hstriepe

The package needs to be (at least) recompiled. But at the moment the Toolkit for the 7.3 is not yet available. As soon as it will be released, I'll try to recompile the package.

fabiov64 avatar Oct 10 '25 15:10 fabiov64

Same issue after 7.3. Thank you for looking into this!

kernalrom avatar Oct 11 '25 12:10 kernalrom

The same issue on DS223j. Eventually managed to login and disabled the driver. Waiting for the new one compiled ;).

Tuti4120 avatar Oct 11 '25 17:10 Tuti4120

Pulling the USB Ethernet plug will remove the block..

hstriepe avatar Oct 11 '25 17:10 hstriepe

Not on DS223j, re enabling the driver without Ethernet adapter will freeze the system again. Double checked with mine.

Tuti4120 avatar Oct 11 '25 18:10 Tuti4120

Same here on DS423 ... had to disconnect the ethernet adapter

dd-hh-syn avatar Oct 11 '25 20:10 dd-hh-syn

Here with DSM 7.3 (aftter Update from 7.2.2) on DS916+, DS918+ and DS423+ no problem with the USB 2.5G Network Adapters. Driver is the lastest [2.20.1-1]. 2 x Adapters CAC-1420, and 1 x OHBUYAGN USB 5G LAN. It all works flawlessly with the Intel x86 Chipsets until now.

I don't know what would happen if I reinstalled the driver. I'd rather leave it as is. ;)

blasiusx avatar Oct 16 '25 06:10 blasiusx

Looks like possibly if you had the driver already installed and upgrade to 7.3 you are fine. In my case I'm trying to install after upgrading to 7.3 which has been an issue

kernalrom avatar Oct 16 '25 20:10 kernalrom

Nope, on DS223j there is an issue after update, with the driver installed earlier.

Tuti4120 avatar Oct 16 '25 20:10 Tuti4120

Found a temporary workaround to force kernel module load (found this from sudo dmesg | grep r8152 --> "r8152: module verification failed: signature and/or required key missing - tainting kernel"

Here are the steps ##stopping the module sudo synopkg stop r8152

##provide the path R8152_MODULE_PATH=/var/packages/r8152/target/r8152/r8152.ko

##ensure the module that failed was removed sudo rmmod r8152

##force load the module sudo insmod ${R8152_MODULE_PATH}

##bring the interface up, for my case is eth2 sudo ip link set eth2 up

##request ip sudo synonet --dhcp eth2

##check the status or ip ip a

if everything work, you should see the new network interface ie. Lan3 show up

ghwong avatar Oct 19 '25 06:10 ghwong

I'm now using this script to automate the force load

#!/bin/sh

# Path to the kernel module
R8152_MODULE_PATH=/var/packages/r8152/target/r8152/r8152.ko

# 1. Wait for the system to settle (important for USB)
sleep 30

# 2. Unload the module if it failed to load properly
/sbin/rmmod r8152

# 3. Force-load the module (insmod bypasses the signature check)
/sbin/insmod ${R8152_MODULE_PATH}

# 4. Bring the network interface up and request IP (Change eth2 if needed)
/sbin/ip link set eth2 up
/usr/syno/bin/synonet --dhcp eth2

ghwong avatar Oct 19 '25 06:10 ghwong

DS420+ here and zero problems when already installed. I even caused me more problems by creating the script task from above before updating. (ETH2 did not come back).

So I recommend that you give one of the internal LAN adapters the same IP/Gateway and DNS and create the task before updating, then disable it and first try if it comes back without it. If not, switch over and enable/run the script task.

dreimer1986 avatar Oct 19 '25 07:10 dreimer1986

As I said, the upgrade to DSM 7.3 worked for me on x86 Intel platforms. And the 2.5 GB USB Ethernet adapter works perfectly, as long as it was installed and worked before the upgrade. But I won't to test this and uninstall the driver because I'm afraid of the risk of it no longer working afterwards.

blasiusx avatar Oct 19 '25 08:10 blasiusx

Totally agree on not fixing anything that is not broken. Mine was not working so I have to manually load the kernel to got it working again.

ghwong avatar Oct 19 '25 15:10 ghwong

Thank you @ghwong for posting a workaround for getting this enabled. I admit I'm not as tech savy as you guys but am knowledgeable in using SSH and putty to enter his workaround.

My question is what is the risk of doing this? Could I corrupt my NAS (DS918+) by trying the workaround or is it fairly safe?

kernalrom avatar Oct 19 '25 17:10 kernalrom

Risk of the script? None. Either you need it and it works or it does not work and by that you did not win or lose anything by trying. The kernel module aka network card driver itself runs fine once it started

dreimer1986 avatar Oct 19 '25 17:10 dreimer1986

Plugging in the USB Ethernet adapter hung my DJ223j. I am going to leave my "big" NAS on DSM 7.2.

hstriepe avatar Oct 19 '25 22:10 hstriepe

As I said, the upgrade to DSM 7.3 worked for me on x86 Intel platforms. And the 2.5 GB USB Ethernet adapter works perfectly, as long as it was installed and worked before the upgrade. But I won't to test this and uninstall the driver because I'm afraid of the risk of it no longer working afterwards.

So you're saying if I already have the package installed and upgrade my DS218+ which has INTEL Celeron J3355 from DSM 7.2.2-72806 Update 4 to DSM 7.3 the adaptor will continue to work fine?

malhal avatar Oct 20 '25 13:10 malhal

No one will guarantee anything here. I can only say that it was the case for me with my Geminilake CPU.

dreimer1986 avatar Oct 20 '25 14:10 dreimer1986

In my 3 cases it will work after update to DSM 7.3 (DS916+,DS918+ and DS423+). All Intel x86 Platforms. But, no guatrantee that it will work for anyone other.

blasiusx avatar Oct 20 '25 14:10 blasiusx

I've tried everything, from reinstalling the scripts, none worked, awaiting toolkit release

MiranoVerhoef avatar Oct 20 '25 15:10 MiranoVerhoef

DS916+ installed on DSM7.2 with Driver Version 2.19.2-2. Works fine after Update to DSM7.3. I saw that there is the v2.20.1-1 Update for the Driver. But now i am not sure to try the update when so many have issues. Maybe i will wait for a new release with 7.3 tested by the coder? ^^

proph1984 avatar Oct 21 '25 11:10 proph1984

DS916+ installed on DSM7.2 with Driver Version 2.19.2-2. Works fine after Update to DSM7.3. I saw that there is the v2.20.1-1 Update for the Driver. But now i am not sure to try the update when so many have issues. Maybe i will wait for a new release with 7.3 tested by the coder? ^^

What version are you running?

MiranoVerhoef avatar Oct 21 '25 11:10 MiranoVerhoef

DS916+ installed on DSM7.2 with Driver Version 2.19.2-2. Works fine after Update to DSM7.3. I saw that there is the v2.20.1-1 Update for the Driver. But now i am not sure to try the update when so many have issues. Maybe i will wait for a new release with 7.3 tested by the coder? ^^

What version are you running?

DSM7.3-81180 Driver Version 2.19.2-2

proph1984 avatar Oct 21 '25 11:10 proph1984

Sounds like the issue is with Realtek CPU only. Perhaps the issue title should be updated to clarify?

malhal avatar Oct 21 '25 13:10 malhal

Do you guys know if installing on DS218+ already upgraded with 7.3 works or if I should wait for an updated driver ?

WBWBW avatar Oct 23 '25 20:10 WBWBW

All,

Any experiences regarding this topic with 7.3.1 and Realtek? Many thanks!

dd-hh-syn avatar Nov 02 '25 06:11 dd-hh-syn

I'll update the backup nas in a sec and ll test

MiranoVerhoef avatar Nov 02 '25 09:11 MiranoVerhoef

Don't waste your time with Realtek and 7.3.x.... current driver versions are not only not working... it makes your nas not reachable and you will potentially loose your data!

I have a DS223j (Realtek based) running DSM 7.3.1-86003 now. I upraded from a DSM 7.2.x with 2.18.1-1 version of the driver. After the update I had the problem that the Web UI was not working like expected. It was not possible to login. After some time it did not respond. The solution was to plugoff the lan dongle, connect the lan1 port, reboot, login via ssh, stop the driver: sudo synopkg stop r8152 and the ui was reachable again.

bebablub avatar Nov 02 '25 13:11 bebablub