Realtek USB 10 100 1G 2.5G LAN DELL Alienware AW1022 2.5GBe
Hello,
my notebook "DELL Alienware X15 R1" has a USB-C dongle adapter to which you can connect a network cable. I am using Ubuntu 22.10 which is up-to-date.
$ uname -a
Linux myhost 5.19.0-31-generic #32-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 20 15:20:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
$ lsusb
Bus 004 Device 020: ID 413c:b097 Dell Computer Corp. USB 10/100/1G/2.5G LAN
$ udevadm monitor -e
UDEV [8447.374955] add /devices/
ACTION=add
DEVPATH=
SUBSYSTEM=usb
DEVNAME=
DEVTYPE=usb_device
PRODUCT=
TYPE=0/0/0
BUSNUM=004
DEVNUM=020
SEQNUM=6682
USEC_INITIALIZE
ID_VENDOR=Realtek
ID_VENDOR_
ID_VENDOR_ID=413c
ID_MODEL=
ID_MODEL_
ID_MODEL_ID=b097
ID_REVISION=3101
ID_SERIAL=
ID_SERIAL_
ID_BUS=usb
ID_USB_
ID_VENDOR_
REALTEK_MODE1=1
REALTEK_MODE2=3
ID_PATH=
ID_PATH_
DRIVER=usb
ID_FOR_
.LOCAL_ifNum=
MAJOR=189
MINOR=403
TAGS=:snap_
CURRENT_
$ tail -f /var/log/syslog
Feb 24 15:25:31 myhost kernel: [11070.323985] usb 4-2: USB disconnect, device number 20
Feb 24 15:25:31 myhost systemd-
Feb 24 15:25:31 myhost systemd-
Feb 24 15:25:34 myhost kernel: [11073.342953] usb 4-2: new SuperSpeed USB device number 21 using xhci_hcd
Feb 24 15:25:34 myhost kernel: [11073.364315] usb 4-2: New USB device found, idVendor=413c, idProduct=b097, bcdDevice=31.01
Feb 24 15:25:34 myhost kernel: [11073.364319] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=6
Feb 24 15:25:34 myhost kernel: [11073.364320] usb 4-2: Product: USB 10/100/1G/2.5G LAN
Feb 24 15:25:34 myhost kernel: [11073.364321] usb 4-2: Manufacturer: Realtek
Feb 24 15:25:34 myhost kernel: [11073.364322] usb 4-2: SerialNumber: 1234567890
Feb 24 15:25:34 myhost mtp-probe: checking bus 4, device 21: "/sys/devices/
Feb 24 15:25:34 myhost mtp-probe: bus: 4, device: 21 was not an MTP device
Feb 24 15:25:34 myhost systemd-
Feb 24 15:25:34 myhost systemd-
Feb 24 15:25:34 myhost systemd-
Feb 24 15:25:34 myhost systemd-
Feb 24 15:25:34 myhost mtp-probe: checking bus 4, device 21: "/sys/devices/
Feb 24 15:25:34 myhost mtp-probe: bus: 4, device: 21 was not an MTP device
Feb 24 15:25:34 myhost systemd-
Feb 24 15:25:34 myhost systemd-
The USB NIC is not recognized. I tried installing the package "r8125-dkms" or "r8168-dkms" however without success.
EDIT: I booted into Windows OS and the NIC is correctly detected and configured. In Windows it is shown as "RTL8156Bx64_
$make all
I get the error:
root@myhost:
make -C /lib/modules/
make[1]: Verzeichnis „/usr/src/
make[1]: Verzeichnis „/usr/src/
make -C /lib/modules/
make[1]: Verzeichnis „/usr/src/
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-
You are using: gcc (Ubuntu 12.2.0-3ubuntu1) 12.2.0
CC [M] /home/tom/
/home/tom/
/home/tom/
20462 | netif_set_
| ^~~~~~~
| netif_set_
cc1: some warnings being treated as errors
make[2]: *** [scripts/
make[1]: *** [Makefile:1850: /home/tom/
make[1]: leaving directory „/usr/src/
make: *** [Makefile:24: modules] error 2
and I am still stuck :( *sigh*
Please shed some light how we can get this NIC to work on Ubuntu 22.10, thank you so much in advance.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu r8125 Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask NOC for more information if necessary.