Hello.
Currently I haveing strange problems with my eth. adapter (USB -> eth). When I connect it (no matter wether eth cable is connected to eth adapter) I don't get any internet connection, nor I even get an IP addr.
Here is the output from ifconfig:
br-9a7bb5fd2534: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.18.0.1 netmask 255.255.0.0 broadcast 172.18.255.255
inet6 fe80::42:c4ff:fe1c:970b prefixlen 64 scopeid 0x20<link>
ether 02:42:c4:1c:97:0b txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 28 bytes 4084 (3.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
ether 02:42:44:82:1b:34 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp4s0f3u2u4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 00:e0:4f:71:ea:9b txqueuelen 1000 (Ethernet)
RX packets 72 bytes 18478 (18.0 KiB)
RX errors 0 dropped 57 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 356 bytes 44627 (43.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 356 bytes 44627 (43.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vetha58c503: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::40bd:5dff:fec0:ca5e prefixlen 64 scopeid 0x20<link>
ether 42:bd:5d:c0:ca:5e txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 45 bytes 6084 (5.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.179.20 netmask 255.255.255.0 broadcast 192.168.179.255
inet6 fe80::e430:6ab3:a005:7b05 prefixlen 64 scopeid 0x20<link>
inet6 2003:d5:4f30:5001:1da5:550a:c934:2fe6 prefixlen 64 scopeid 0x0<global>
ether 32:5b:9f:a6:e1:09 txqueuelen 1000 (Ethernet)
RX packets 23233 bytes 26501020 (25.2 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 10087 bytes 1742961 (1.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
The eth interface is: enp4s0f3u2u4
The wifi interface is: wlp1s0
Also strange is, that when I connect the usb adapter not only on my laptop the wifi disconnects, but also all wifi connections from my phone which lays next to the adapter are disappearing (until I remove the adapter).
What I have tried
I tried pinging google.com and 8.8.8.8 - both failed. So it isn't an DNS issue I guess (I mean - how should it without even a private IP addr. Also /etc/resolv.conf
is empty). I tried to disable my wifi interface before connecting the usb adapter. It also didn't make any difference. Also worth to mention is, that on the same laptop everything is working fine under Windows (laptop is dualboot). For sure I tried to reboot the device. I've restarted NetworkManager - also no difference. I tried next to the zen kernel the mainline kernel - also no difference.
Just to re-mention it: All the problems (wifi disconnects and disappears) also occur, when the adapter is connected to the laptop, but the lan cable isn't connected to the adapter
Where the problem maybe could be
Could be, that I messed up some config files. But I am not sure.
Output garuda-inxi
System:
Kernel: 5.17.1-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=43b241d7-bc58-4420-8da4-c4e897970c7c rw rootflags=subvol=@
splash rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=5
systemd.unified_cgroup_hierarchy=0
Desktop: KDE Plasma v: 5.24.4 tk: Qt v: 5.15.3 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: HUAWEI product: KLVL-WXX9 v: M1560
serial: <superuser required>
Mobo: HUAWEI model: KLVL-WXX9-PCB v: M1560 serial: <superuser required>
UEFI: HUAWEI v: 1.06 date: 09/14/2020
Battery:
ID-1: BAT0 charge: 22.6 Wh (41.1%) condition: 55.0/54.9 Wh (100.1%)
volts: 7.5 min: 7.6 model: DYNAPACK HB4593R1ECW-22T0 type: Li-ion
serial: <filter> status: discharging cycles: 64
Device-1: hidpp_battery_0 model: Logitech Wireless Mouse MX Master 3
serial: <filter> charge: 100% (should be ignored) rechargeable: yes
status: discharging
CPU:
Info: model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64 type: MT MCP
arch: Zen 2 family: 0x17 (23) model-id: 0x60 (96) stepping: 1
microcode: 0x8600104
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
L3: 8 MiB desc: 2x4 MiB
Speed (MHz): avg: 1500 high: 2435 min/max: 1400/2900 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 1397 2: 1394
3: 1397 4: 1397 5: 1391 6: 1396 7: 1396 8: 1398 9: 2435 10: 1397 11: 1402
12: 2216 13: 1397 14: 1334 15: 1360 16: 1308 bogomips: 92628
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Renoir driver: amdgpu v: kernel pcie: gen: 4 speed: 16 GT/s
lanes: 16 ports: active: eDP-1 empty: DP-1,HDMI-A-1 bus-ID: 04:00.0
chip-ID: 1002:1636 class-ID: 0300
Device-2: IMC Networks HD Camera type: USB driver: uvcvideo bus-ID: 3-4:5
chip-ID: 13d3:5451 class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 1.21.1.3 compositor: kwin_x11 driver: X:
loaded: amdgpu unloaded: modesetting alternate: fbdev,vesa gpu: amdgpu
display-ID: :0 screens: 1
Screen-1: 0 s-res: 2160x1440 s-dpi: 96 s-size: 571x381mm (22.48x15.00")
s-diag: 686mm (27.03")
Monitor-1: eDP-1 mapped: eDP model: BOE Display 0x0893 built: 2019
res: 2160x1440 hz: 60 dpi: 185 gamma: 1.2 size: 296x197mm (11.65x7.76")
diag: 356mm (14") ratio: 3:2 modes: max: 2160x1440 min: 640x480
OpenGL: renderer: AMD RENOIR (LLVM 13.0.1 DRM 3.44 5.17.1-zen1-1-zen)
v: 4.6 Mesa 22.0.0 direct render: Yes
Audio:
Device-1: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 04:00.1
chip-ID: 1002:1637 class-ID: 0403
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: N/A
alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x,
snd_sof_amd_renoir
pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 04:00.5 chip-ID: 1022:15e2
class-ID: 0480
Device-3: AMD Family 17h/19h HD Audio driver: snd_hda_intel v: kernel
pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 04:00.6 chip-ID: 1022:15e3
class-ID: 0403
Sound Server-1: ALSA v: k5.17.1-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 15.0 running: no
Sound Server-3: PipeWire v: 0.3.49 running: yes
Network:
Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter
vendor: & Tele RSH driver: rtw_8822ce v: N/A modules: rtw88_8822ce pcie:
gen: 1 speed: 2.5 GT/s lanes: 1 port: 2000 bus-ID: 01:00.0
chip-ID: 10ec:c822 class-ID: 0280
IF: wlp1s0 state: up mac: <filter>
IF-ID-1: br-9a7bb5fd2534 state: up speed: 10000 Mbps duplex: unknown
mac: <filter>
IF-ID-2: docker0 state: down mac: <filter>
IF-ID-3: vetha58c503 state: up speed: 10000 Mbps duplex: full
mac: <filter>
Bluetooth:
Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
bus-ID: 3-3:3 chip-ID: 1358:c123 class-ID: e001 serial: <filter>
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
Local Storage: total: 476.94 GiB used: 153.44 GiB (32.2%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
model: PC SN530 SDBPNPZ-512G-1027 size: 476.94 GiB block-size:
physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD
serial: <filter> rev: 21117000 temp: 36.9 C scheme: GPT
Partition:
ID-1: / raw-size: 312.5 GiB size: 312.5 GiB (100.00%)
used: 153.42 GiB (49.1%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
used: 25.5 MiB (26.6%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 312.5 GiB size: 312.5 GiB (100.00%)
used: 153.42 GiB (49.1%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
ID-4: /var/log raw-size: 312.5 GiB size: 312.5 GiB (100.00%)
used: 153.42 GiB (49.1%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
ID-5: /var/tmp raw-size: 312.5 GiB size: 312.5 GiB (100.00%)
used: 153.42 GiB (49.1%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.07 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 39.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 381 Uptime: 26m wakeups: 3 Memory: 15.07 GiB
used: 4.8 GiB (31.9%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.2.0 clang: 13.0.1 Packages: 2070 pacman: 2064 lib: 575 flatpak: 0
snap: 6 Shell: fish v: 3.4.1 default: Bash v: 5.1.16 running-in: konsole
inxi: 3.3.14
Garuda (2.5.6-2):
System install date: 2021-12-30
Last full system update: 2022-04-14
Is partially upgraded: No
Relevant software: NetworkManager
Windows dual boot: Probably (Run as root to verify)
Snapshots: Snapper
Failed units: systemd-oomd.socket