Ethernet-to-USB adapter doesn't work (interface always down)

Hello,
I have a modern laptop with no ethernet port, and I am struggling to get my new Ethernet-to-TypeC USB adapter to work in openSUSE Tumbleweed (it is not defective as it works on Windows).
When I plug it in, the kernel reacts and loads some modules called cdc and cdc_blah_blah, but then nothing else happens. NetworkManager doesn’t show a new cabled connection, and the interface cannot be brought up by the ip command.
Related dmesg portion:

[  114.776958] usb 4-1: new SuperSpeed USB device number 2 using xhci_hcd
[  115.048671] usb 4-1: New USB device found, idVendor=0b95, idProduct=1790, bcdDevice= 2.00
[  115.048679] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  115.048683] usb 4-1: Product: AX88179A
[  115.048685] usb 4-1: Manufacturer: ASIX
[  115.048687] usb 4-1: SerialNumber: 000CD18D
[  115.172185] usbcore: registered new interface driver cdc_ether
[  115.329684] cdc_ncm 4-1:2.0: MAC-Address: f8:e4:3b:0c:d1:8d
[  115.329691] cdc_ncm 4-1:2.0: setting rx_max = 16384
[  115.341237] cdc_ncm 4-1:2.0: setting tx_max = 16384
[  115.361209] cdc_ncm 4-1:2.0 eth0: register 'cdc_ncm' at usb-0000:03:00.4-1, CDC NCM (NO ZLP), f8:e4:3b:0c:d1:8d
[  115.361286] usbcore: registered new interface driver cdc_ncm
[  115.368299] usbcore: registered new interface driver cdc_wdm
[  115.369363] usbcore: registered new interface driver cdc_mbim
[  115.379795] cdc_ncm 4-1:2.0 enp3s0f4u1c2: renamed from eth0
[  117.734172] IPv6: ADDRCONF(NETDEV_CHANGE): enp3s0f4u1c2: link becomes ready

Related journalctl portion:

dic 27 15:05:25 m3502qa mtp-probe[2458]: checking bus 4, device 2: "/sys/devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb4/4-1"
dic 27 15:05:25 m3502qa mtp-probe[2458]: bus: 4, device: 2 was not an MTP device
dic 27 15:05:25 m3502qa kernel: usbcore: registered new interface driver cdc_ether
dic 27 15:05:25 m3502qa kernel: cdc_ncm 4-1:2.0: MAC-Address: f8:e4:3b:0c:d1:8d
dic 27 15:05:25 m3502qa kernel: cdc_ncm 4-1:2.0: setting rx_max = 16384
dic 27 15:05:25 m3502qa kernel: cdc_ncm 4-1:2.0: setting tx_max = 16384
dic 27 15:05:25 m3502qa kernel: cdc_ncm 4-1:2.0 eth0: register 'cdc_ncm' at usb-0000:03:00.4-1, CDC NCM (NO ZLP), f8:e4:3b:0c:d1:8d
dic 27 15:05:25 m3502qa kernel: usbcore: registered new interface driver cdc_ncm
dic 27 15:05:25 m3502qa NetworkManager[1082]: <info>  [1672149925.2477] manager: (eth0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/3)
dic 27 15:05:25 m3502qa kernel: usbcore: registered new interface driver cdc_wdm
dic 27 15:05:25 m3502qa kernel: usbcore: registered new interface driver cdc_mbim
dic 27 15:05:25 m3502qa mtp-probe[2461]: checking bus 4, device 2: "/sys/devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb4/4-1"
dic 27 15:05:25 m3502qa mtp-probe[2461]: bus: 4, device: 2 was not an MTP device
dic 27 15:05:25 m3502qa kernel: cdc_ncm 4-1:2.0 enp3s0f4u1c2: renamed from eth0
dic 27 15:05:25 m3502qa NetworkManager[1082]: <info>  [1672149925.2866] device (eth0): interface index 3 renamed iface from 'eth0' to 'enp3s0f4u1c2'
dic 27 15:05:25 m3502qa NetworkManager[1082]: <info>  [1672149925.3220] device (enp3s0f4u1c2): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
dic 27 15:05:26 m3502qa systemd[1606]: Started Konsole - Terminale.
dic 27 15:05:27 m3502qa konsole[2515]: kf.xmlgui: Shortcut for action  "" "Mostra comandi rapidi" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
dic 27 15:05:27 m3502qa konsole[2515]: kf.xmlgui: Shortcut for action  "" "Mostra il gestore SSH" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
dic 27 15:05:27 m3502qa NetworkManager[1082]: <info>  [1672149927.6200] device (enp3s0f4u1c2): carrier: link connected
dic 27 15:05:27 m3502qa kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp3s0f4u1c2: link becomes ready
dic 27 15:05:27 m3502qa NetworkManager[1082]: <info>  [1672149927.6201] device (enp3s0f4u1c2): state change: unavailable -> disconnected (reason 'carrier-changed', sys-iface-state: 'managed')
dic 27 15:05:27 m3502qa ModemManager[1027]: <info>  [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb4/4-1': not supported by any plugin
dic 27 15:05:36 m3502qa plasmashell[1789]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ExpandedRepresentation.qml:162: TypeError: Cannot read property 'text' of null
dic 27 15:05:36 m3502qa plasmashell[1789]: trying to show an empty dialog
dic 27 15:05:36 m3502qa plasmashell[1789]: file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/ConnectionItem.qml:45:32: QML Action: Accessible must be attached to an Item
dic 27 15:05:36 m3502qa NetworkManager[1082]: <info>  [1672149936.1796] audit: op="statistics" interface="wlp1s0" ifindex=2 args="2000" pid=1789 uid=1000 result="success"
dic 27 15:05:36 m3502qa plasmashell[1789]: file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/ConnectionItem.qml:45:32: QML Action: Accessible must be attached to an Item
dic 27 15:05:36 m3502qa plasmashell[1789]: file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/ConnectionItem.qml:45:32: QML Action: Accessible must be attached to an Item
dic 27 15:05:36 m3502qa plasmashell[1789]: file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/ConnectionItem.qml:45:32: QML Action: Accessible must be attached to an Item
dic 27 15:05:36 m3502qa plasmashell[1789]: file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/ConnectionItem.qml:45:32: QML Action: Accessible must be attached to an Item
dic 27 15:05:36 m3502qa plasmashell[1789]: file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/ConnectionItem.qml:45:32: QML Action: Accessible must be attached to an Item
dic 27 15:05:36 m3502qa plasmashell[1789]: file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/ConnectionItem.qml:45:32: QML Action: Accessible must be attached to an Item
dic 27 15:05:36 m3502qa plasmashell[1789]: file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/ConnectionItem.qml:45:32: QML Action: Accessible must be attached to an Item
dic 27 15:05:36 m3502qa plasmashell[1789]: file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/ConnectionItem.qml:45:32: QML Action: Accessible must be attached to an Item
dic 27 15:05:36 m3502qa plasmashell[1789]: file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/ConnectionItem.qml:45:32: QML Action: Accessible must be attached to an Item
dic 27 15:05:36 m3502qa plasmashell[1789]: file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/ConnectionItem.qml:45:32: QML Action: Accessible must be attached to an Item
dic 27 15:05:36 m3502qa plasmashell[1789]: Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
dic 27 15:05:36 m3502qa plasmashell[1789]: Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
dic 27 15:05:39 m3502qa NetworkManager[1082]: <info>  [1672149939.2457] audit: op="statistics" interface="wlp1s0" ifindex=2 args="0" pid=1789 uid=1000 result="success"
dic 27 15:05:39 m3502qa plasmashell[1789]: file:///usr/lib64/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
dic 27 15:05:49 m3502qa plasmashell[1789]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
dic 27 15:05:49 m3502qa plasmashell[1789]: kf.plasma.quick: Couldn't create KWindowShadow for PlasmaQuick::Dialog_QML_234(0x564ea4ef4690, name="popupWindow")
dic 27 15:05:49 m3502qa plasmashell[1789]: kf.plasma.quick: Couldn't create KWindowShadow for PlasmaQuick::Dialog_QML_234(0x564ea4ef4690, name="popupWindow")
dic 27 15:05:49 m3502qa plasmashell[1789]: kf.plasma.quick: Couldn't create KWindowShadow for PlasmaQuick::Dialog_QML_234(0x564ea4ef4690, name="popupWindow")
dic 27 15:05:49 m3502qa plasmashell[1789]: kf.plasma.quick: Couldn't create KWindowShadow for PlasmaQuick::Dialog_QML_234(0x564ea4ef4690, name="popupWindow")
dic 27 15:05:50 m3502qa plasmashell[1789]: kf.sonnet.core: No language dictionaries for the language: "en_US"
dic 27 15:05:50 m3502qa plasmashell[1789]: <Unknown File>:1:30: QML ToolTip: cannot find any window to open popup in.
dic 27 15:05:51 m3502qa systemd[1606]: Started Impostazioni di sistema - Impostazioni di sistema.
dic 27 15:05:52 m3502qa systemsettings[2672]: Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
dic 27 15:05:52 m3502qa systemsettings[2672]: Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
dic 27 15:05:52 m3502qa systemsettings[2672]: Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
dic 27 15:05:52 m3502qa systemsettings[2672]: Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
dic 27 15:05:52 m3502qa systemsettings[2672]: Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
dic 27 15:05:52 m3502qa systemsettings[2672]: Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
dic 27 15:05:52 m3502qa systemsettings[2672]: file:///usr/share/kpackage/kcms/kcm_bluetooth/contents/ui/main.qml:97:13: QML InlineMessage: Cannot anchor to an item that isn't a parent or sibling.
dic 27 15:05:52 m3502qa systemsettings[2672]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
dic 27 15:05:24 m3502qa kernel: usb 4-1: SerialNumber: 000CD18D
dic 27 15:05:25 m3502qa mtp-probe[2458]: checking bus 4, device 2: "/sys/devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb4/4-1"
dic 27 15:05:25 m3502qa mtp-probe[2458]: bus: 4, device: 2 was not an MTP device
dic 27 15:05:25 m3502qa kernel: usbcore: registered new interface driver cdc_ether
dic 27 15:05:25 m3502qa kernel: cdc_ncm 4-1:2.0: MAC-Address: f8:e4:3b:0c:d1:8d
dic 27 15:05:25 m3502qa kernel: cdc_ncm 4-1:2.0: setting rx_max = 16384
dic 27 15:05:25 m3502qa kernel: cdc_ncm 4-1:2.0: setting tx_max = 16384
dic 27 15:05:25 m3502qa kernel: cdc_ncm 4-1:2.0 eth0: register 'cdc_ncm' at usb-0000:03:00.4-1, CDC NCM (NO ZLP), f8:e4:3b:0c:d1:8d
dic 27 15:05:25 m3502qa kernel: usbcore: registered new interface driver cdc_ncm
dic 27 15:05:25 m3502qa NetworkManager[1082]: <info>  [1672149925.2477] manager: (eth0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/3)
dic 27 15:05:25 m3502qa kernel: usbcore: registered new interface driver cdc_wdm
dic 27 15:05:25 m3502qa kernel: usbcore: registered new interface driver cdc_mbim
dic 27 15:05:25 m3502qa mtp-probe[2461]: checking bus 4, device 2: "/sys/devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb4/4-1"
dic 27 15:05:25 m3502qa mtp-probe[2461]: bus: 4, device: 2 was not an MTP device
dic 27 15:05:25 m3502qa kernel: cdc_ncm 4-1:2.0 enp3s0f4u1c2: renamed from eth0
dic 27 15:05:25 m3502qa NetworkManager[1082]: <info>  [1672149925.2866] device (eth0): interface index 3 renamed iface from 'eth0' to 'enp3s0f4u1c2'
dic 27 15:05:25 m3502qa NetworkManager[1082]: <info>  [1672149925.3220] device (enp3s0f4u1c2): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
dic 27 15:05:26 m3502qa systemd[1606]: Started Konsole - Terminale.
dic 27 15:05:27 m3502qa konsole[2515]: kf.xmlgui: Shortcut for action  "" "Mostra comandi rapidi" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
dic 27 15:05:27 m3502qa konsole[2515]: kf.xmlgui: Shortcut for action  "" "Mostra il gestore SSH" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
dic 27 15:05:27 m3502qa NetworkManager[1082]: <info>  [1672149927.6200] device (enp3s0f4u1c2): carrier: link connected
dic 27 15:05:27 m3502qa kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp3s0f4u1c2: link becomes ready
dic 27 15:05:27 m3502qa NetworkManager[1082]: <info>  [1672149927.6201] device (enp3s0f4u1c2): state change: unavailable -> disconnected (reason 'carrier-changed', sys-iface-state: 'managed')
dic 27 15:05:27 m3502qa ModemManager[1027]: <info>  [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb4/4-1': not supported by any plugin

Output of ip a:

3: enp3s0f4u1c2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether f8:e4:3b:0c:d1:8d brd ff:ff:ff:ff:ff:ff

It remains the same after trying to bring up the interface using ip link set dev enp3s0f4u1c2 up.

Content of /sys/class/net/enp3s0f4u1c2/carrier is 0.

Output of nmcli device show:

GENERAL.DEVICE:                         enp3s0f4u1c2
GENERAL.TYPE:                           ethernet
GENERAL.HWADDR:                         F8:E4:3B:0C:D1:8D
GENERAL.MTU:                            1500
GENERAL.STATE:                          20 (unavailable)
GENERAL.CONNECTION:                     --
GENERAL.CON-PATH:                       --
WIRED-PROPERTIES.CARRIER:               off
IP4.GATEWAY:                            --
IP6.GATEWAY:                            --

Any ideas? I’m available for any kind of debugging task.
Thanks!

@Tomoms I have the USB 3.0 versions of that device, GENERAL.STATE 20 means no cable connected, is the cable ok?

With a cable connected here, I see;

nmcli device show enp0s20u4u1

GENERAL.DEVICE:                         enp0s20u4u1
GENERAL.TYPE:                           ethernet
GENERAL.HWADDR:                         
GENERAL.MTU:                            1500
GENERAL.STATE:                          30 (disconnected)
GENERAL.CONNECTION:                     --
GENERAL.CON-PATH:                       --
WIRED-PROPERTIES.CARRIER:               on
IP4.GATEWAY:                            --
IP6.GATEWAY:                            --

14: enp0s20u4u1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether xx:xx:... brd ff:ff:ff:ff:ff:ff

1 Like

Sorry guys, I feel so stupid. I unplugged the cable and replugged it inside the adapter, and now it works. In my defense I can say it worked on Windows earlier this morning, and I had literally not touched it even once since then :slight_smile:
All’s well that ends well and sorry for the really useless post!

2 Likes

It happens, glad you have it all sorted now :grin:

1 Like