You are not logged in.

#1 2022-10-27 20:54:30

philip286
Member
Registered: 2022-10-27
Posts: 3

[SOLVED] No link on rtl8153 usb ethernet adapter

Hi everyone,

I am using a RTL8153 usb ethernet adapter. I cannot establish a link on this device. Ethtool does not detect link modes, can't enable auto negotiation, etc etc ....

It worked before installing ArchLinux on Ubuntu, though. It works on other Linux machines. Am I missing a driver?

Best regards
Philip

Last edited by philip286 (2022-10-30 17:51:49)

Offline

#2 2022-10-27 20:56:45

philip286
Member
Registered: 2022-10-27
Posts: 3

Re: [SOLVED] No link on rtl8153 usb ethernet adapter

... Some of the ethtool output:

# ethtool eth1
Settings for eth1:
        Supported ports: [  ]
        Supported link modes:   Not reported
        Supported pause frame use: No
        Supports auto-negotiation: No
        Supported FEC modes: Not reported
        Advertised link modes:  Not reported
        Advertised pause frame use: No
        Advertised auto-negotiation: No
        Advertised FEC modes: Not reported
        Speed: Unknown!
        Duplex: Half
        Auto-negotiation: off
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        MDI-X: Unknown
        Current message level: 0x00000007 (7)
                               drv probe link
 
# ethtool -i eth1
driver: cdc_ncm
version: 6.0.2-arch1-1
firmware-version: CDC NCM (NO ZLP)
expansion-rom-version: 
bus-info: usb-0000:00:14.0-2.1.2
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

Last edited by philip286 (2022-10-27 21:15:52)

Offline

#3 2022-10-28 01:19:27

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,143

Re: [SOLVED] No link on rtl8153 usb ethernet adapter

Did it work when you installed Arch or did you install using some other connection?

Do you have usb autosuspend enabled? See https://wiki.archlinux.org/title/Networ … utoSuspend (but it is not just an issue for TLP users - that's just one way autosuspend might bet enabled).

Post the journal.

sudo journal -b --no-pager

You can use

lsusb

to find out the bus and id of the device and then use

lsusb -v -s <bus>:<id>

to garner information.

Last edited by cfr (2022-10-28 01:29:12)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#4 2022-10-30 17:50:18

philip286
Member
Registered: 2022-10-27
Posts: 3

Re: [SOLVED] No link on rtl8153 usb ethernet adapter

Hi,

Thanks for the hints! Indeed autosuspend caused the issue. After turning it off, the network interface works just fine.
(still not configurable by ethtool, but that was not my primary goal)

I could do a quick test by completely disabling autosuspend in the kernel command line, using

usbcore.autosuspend=-1

The permanent solution for me is to disable autosuspend for the network adapter only, by adding it to /etc/tlp.conf:

USB_DENYLIST="0bda:8153"

Offline

Board footer

Powered by FluxBB