TP-Link UE330C: Random Ethernet Disconnection:

Installed asix-ax88179-dkms from AUR and it worked fine but every so often it disconnects and reconnects.
Using it with a Dell XPS 13 9310 and thunderbolt 4 port

Logs:

Jul 31 13:30:47 EXP NetworkManager[370]: <info>  [1659292247.2414] device (eth0): interface index 9 renamed iface from 'eth0' to 'enp0s13f0u1c2'
Jul 31 13:30:47 EXP NetworkManager[370]: <info>  [1659292247.2517] device (enp0s13f0u1c2): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Jul 31 13:30:50 EXP NetworkManager[370]: <info>  [1659292250.1874] device (enp0s13f0u1c2): carrier: link connected
Jul 31 13:30:50 EXP NetworkManager[370]: <info>  [1659292250.1879] device (enp0s13f0u1c2): state change: unavailable -> disconnected (reason 'carrier-changed', sys-iface-state: 'managed')
Jul 31 13:30:50 EXP NetworkManager[370]: <info>  [1659292250.1883] policy: auto-activating connection 'TP-LINK' (a27905aa-7cd3-4a00-9fd1-20fb530c0052)
Jul 31 13:30:50 EXP NetworkManager[370]: <info>  [1659292250.1886] device (enp0s13f0u1c2): Activation: starting connection 'TP-LINK' (a27905aa-7cd3-4a00-9fd1-20fb530c0052)
Jul 31 13:30:50 EXP NetworkManager[370]: <info>  [1659292250.1887] device (enp0s13f0u1c2): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')

Hello @klepto :wink:

A wild guess would usb autosuspend. So check it:

sudo tlp-stat --usb

And change it at /etc/tlp.conf by editing it.

--- TLP 1.5.0 --------------------------------------------

+++ USB
Autosuspend       = disabled
Device allowlist  = (not configured)
Device denylist   = (not configured)
Exclude audio     = enabled
Exclude bluetooth = disabled
Exclude phones    = disabled
Exclude printers  = enabled
Exclude WWAN      = disabled

Bus 004 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 3.0 root hub (hub)
Bus 003 Device 002 ID 27c6:533c control = auto, autosuspend_delay_ms = 2000 -- Shenzhen Goodix Technology Co.,Ltd. FingerPrint (no driver)
Bus 003 Device 003 ID 8087:0026 control = auto, autosuspend_delay_ms = 2000 -- Intel Corp. AX201 Bluetooth (btusb)
Bus 003 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 2.0 root hub (hub)
Bus 002 Device 009 ID 0b95:1790 control = on,   autosuspend_delay_ms = 2000 -- ASIX Electronics Corp. AX88179 Gigabit Ethernet (cdc_ncm)
Bus 002 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 3.0 root hub (hub)
Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 2.0 root hub (hub)

I just disabled it in /etc/tlp.conf

USB_AUTOSUSPEND=0

When pasting terminal output, add three backticks ` OR 3 tilde ~ above and below the text:

text

I did it this time for you. Please do it like this in the future.

Thank you :bowing_man:

Thank you, there has been no more random disconnects since I changed the tlp file.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.