Page 1 of 1

Wired connection fails to set ip configuration, only restart fixes it.

Posted: Sat Mar 05, 2022 4:56 am
by LearningMX
When I switch from WiFi to the Ethernet Wired Connection for the first time after a reboot, the Wired Interface immediately configures and I'm good to go. When I disconnect the wire and use WiFi some more and then later reconnect the wire, the ip configuration takes a long time and eventually fails. I tried different port on the switch, power cycling the switch, unplugging and replugging the cable etc, nothing works; except rebooting the system, then it work without a problem, but only for the first time the wire is connected, then it stops working again.

Any ideas on how to trouble shoot this further ? It's on KDE and 'allow all users' is checked for the wired connection:

Code: Select all

System:    Kernel: 5.15.0-3-amd64 x86_64 bits: 64 compiler: gcc v: 11.2.0
           parameters: BOOT_IMAGE=/vmlinuz-5.15.0-3-amd64 root=UUID=<filter> ro quiet splash
           Desktop: KDE Plasma 5.23.5 wm: kwin_x11 vt: 7 dm: SDDM Distro: MX-21_KDE_x64 Wildflower October 20  2021
           base: Debian GNU/Linux bookworm/sid
Machine:   Type: Laptop System: LENOVO product: 21A2 v: ThinkBook 14 G3 ACL serial: <filter> Chassis: type: 10
           v: ThinkBook 14 G3 ACL serial: <filter>
           Mobo: LENOVO model: LNVNB161216 v: SDK0J40697 WIN serial: <filter> UEFI: LENOVO v: GQCN26WW(V1.12) date: 08/23/2021
Battery:   ID-1: BAT1 charge: 22.2 Wh (49.8%) condition: 44.6/45.0 Wh (99.1%) volts: 11.5 min: 11.6
           model: 0x4C 0x47 0x43 0x00 0x32 0x30 0x 0x4C 0x31 0x39 0x4C 0x33 0x50 0x4500 type: Li-ion serial: <filter>
           status: Discharging cycles: 13
CPU:       Info: 8-Core model: AMD Ryzen 7 5700U with Radeon Graphics bits: 64 type: MT MCP arch: Zen 2 family: 17 (23)
           model-id: 68 (104) stepping: 1 microcode: 8608103 cache: L2: 4 MiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 57494
           Speed: 2022 MHz min/max: 1400/1800 MHz boost: enabled Core speeds (MHz): 1: 2022 2: 2510 3: 4094 4: 4127 5: 1429
           6: 1616 7: 1269 8: 1511 9: 1405 10: 1368 11: 1477 12: 1584 13: 1611 14: 2121 15: 1721 16: 1225
           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 and seccomp
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
           Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling
           Type: srbds status: Not affected
           Type: tsx_async_abort status: Not affected
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Lucienne vendor: Lenovo driver: amdgpu v: kernel bus-ID: 05:00.0
           chip-ID: 1002:164c class-ID: 0300
           Device-2: Acer Integrated Camera type: USB driver: uvcvideo bus-ID: 1-3:2 chip-ID: 5986:212b class-ID: 0e02
           Display: x11 server: X.Org 1.20.14 compositor: kwin_x11 driver: loaded: amdgpu,ati unloaded: fbdev,modesetting,vesa
           display-ID: :0 screens: 1
           Screen-1: 0 s-res: 3440x1440 s-dpi: 96 s-size: 907x380mm (35.7x15.0") s-diag: 983mm (38.7")
           Monitor-1: HDMI-A-0 res: 3440x1440 dpi: 109 size: 800x335mm (31.5x13.2") diag: 867mm (34.1")
           OpenGL: renderer: AMD RENOIR (DRM 3.42.0 5.15.0-3-amd64 LLVM 12.0.1) v: 4.6 Mesa 21.2.6 direct render: Yes
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Renoir Radeon High Definition Audio vendor: Lenovo driver: snd_hda_intel
           v: kernel bus-ID: 05:00.1 chip-ID: 1002:1637 class-ID: 0403
           Device-2: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Lenovo driver: N/A
           alternate: snd_pci_acp3x, snd_rn_pci_acp3x bus-ID: 05:00.5 chip-ID: 1022:15e2 class-ID: 0480
           Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel
           bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403
           Sound Server-1: ALSA v: k5.15.0-3-amd64 running: yes
           Sound Server-2: PulseAudio v: 15.0 running: yes
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8168 v: 8.048.03-NAPI
           port: 3000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
           IF: eth0 state: down mac: <filter>
           Device-2: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter vendor: Lenovo driver: rtw89_pci v: N/A
           modules: rtw89pci,wl port: 2000 bus-ID: 04:00.0 chip-ID: 10ec:8852 class-ID: 0280
           IF: wlan0 state: up mac: <filter>
           IF-ID-1: br-3fb9e53663ec state: up speed: 10000 Mbps duplex: unknown mac: <filter>
           IF-ID-2: br-693b12243805 state: up speed: 10000 Mbps duplex: unknown mac: <filter>
           IF-ID-3: br-8ccbc49f0b57 state: up speed: 10000 Mbps duplex: unknown mac: <filter>
           IF-ID-4: br-d1aabe588d54 state: up speed: 10000 Mbps duplex: unknown mac: <filter>
           IF-ID-5: docker0 state: down mac: <filter>
           IF-ID-6: veth053b183 state: up speed: 10000 Mbps duplex: full mac: <filter>
           IF-ID-7: veth0cb754d state: up speed: 10000 Mbps duplex: full mac: <filter>
           IF-ID-8: veth2b4f3fe state: up speed: 10000 Mbps duplex: full mac: <filter>
           IF-ID-9: veth2bbee83 state: up speed: 10000 Mbps duplex: full mac: <filter>
           IF-ID-10: veth5820952 state: up speed: 10000 Mbps duplex: full mac: <filter>
           IF-ID-11: veth62e1191 state: up speed: 10000 Mbps duplex: full mac: <filter>
           IF-ID-12: veth6416ebe state: up speed: 10000 Mbps duplex: full mac: <filter>
           IF-ID-13: veth734a8c7 state: up speed: 10000 Mbps duplex: full mac: <filter>
           IF-ID-14: veth7f133e3 state: up speed: 10000 Mbps duplex: full mac: <filter>
           IF-ID-15: veth8188a93 state: up speed: 10000 Mbps duplex: full mac: <filter>
           IF-ID-16: veth8ca6256 state: up speed: 10000 Mbps duplex: full mac: <filter>
           IF-ID-17: veth8d5d328 state: up speed: 10000 Mbps duplex: full mac: <filter>
           IF-ID-18: veth9020576 state: up speed: 10000 Mbps duplex: full mac: <filter>
           IF-ID-19: veth93055f6 state: up speed: 10000 Mbps duplex: full mac: <filter>
           IF-ID-20: veth95543fa state: up speed: 10000 Mbps duplex: full mac: <filter>
           IF-ID-21: vetha0f7884 state: up speed: 10000 Mbps duplex: full mac: <filter>
           IF-ID-22: vetha65046c state: up speed: 10000 Mbps duplex: full mac: <filter>
           IF-ID-23: vetha756c56 state: up speed: 10000 Mbps duplex: full mac: <filter>
           IF-ID-24: vethb1c0d78 state: up speed: 10000 Mbps duplex: full mac: <filter>
           IF-ID-25: vethb39c878 state: up speed: 10000 Mbps duplex: full mac: <filter>
           IF-ID-26: vethb81b38d state: up speed: 10000 Mbps duplex: full mac: <filter>
           IF-ID-27: vethc4bb945 state: up speed: 10000 Mbps duplex: full mac: <filter>
           IF-ID-28: vethda0e247 state: up speed: 10000 Mbps duplex: full mac: <filter>
           IF-ID-29: vethdd3a9ae state: up speed: 10000 Mbps duplex: full mac: <filter>
           IF-ID-30: vethde5e39e 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-4:3 chip-ID: 0bda:4852 class-ID: e001
           serial: <filter>
           Report: hciconfig ID: hci0 rfk-id: 18 state: up address: <filter> bt-v: 3.0 lmp-v: 5.2 sub-v: 1d69 hci-v: 5.2
           rev: d9a9
           Info: acl-mtu: 1021:6 sco-mtu: 255:12 link-policy: rswitch hold sniff park link-mode: peripheral accept
           service-classes: rendering, capturing, object transfer, audio, telephony
Drives:    Local Storage: total: 476.94 GiB used: 23.44 GiB (4.9%)
           SMART Message: Unable to run smartctl. Root privileges required.
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: PC SN530 SDBPMPZ-512G-1101 size: 476.94 GiB
           block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 21160001
           temp: 33.9 C scheme: GPT
Partition: ID-1: / raw-size: 339.83 GiB size: 333.43 GiB (98.12%) used: 23.06 GiB (6.9%) fs: ext4 dev: /dev/dm-0
           maj-min: 253:0 mapped: root.fsm
           ID-2: /boot raw-size: 1.95 GiB size: 1.89 GiB (96.54%) used: 358.8 MiB (18.6%) fs: ext4 dev: /dev/nvme0n1p5
           maj-min: 259:5
           ID-3: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%) used: 28.6 MiB (11.2%) fs: vfat dev: /dev/nvme0n1p1
           maj-min: 259:1
Swap:      Alert: No swap data was found.
Sensors:   Message: No sensor data found. Is lm-sensors configured?
Repos:     Packages: note: see --pkg apt: 2450 lib: 1369 flatpak: 0
           Active apt repos in: /etc/apt/sources.list
           1: deb [arch=amd64] https://download.docker.com/linux/ubuntu/ bullseye stable
           2: deb http://deb.debian.org/debian/ bookworm main
           Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
           1: deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
           1: deb http://deb.debian.org/debian/ bullseye-updates non-free contrib main
           Active apt repos in: /etc/apt/sources.list.d/debian.list
           1: deb http://deb.debian.org/debian/ bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security/ bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/docker.list
           1: deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian/ bullseye stable
           Active apt repos in: /etc/apt/sources.list.d/mx.list
           1: deb http://ftp.halifax.rwth-aachen.de/mxlinux/packages/mx/repo/ bullseye main non-free
           2: deb http://ftp.halifax.rwth-aachen.de/mxlinux/packages/mx/repo/ bullseye ahs
           Active apt repos in: /etc/apt/sources.list.d/nodesource.list
           1: deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_12.x/ bullseye main
           2: deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_12.x/ bullseye main
           Active apt repos in: /etc/apt/sources.list.d/vscode.list
           1: deb [arch=amd64,arm64,armhf signed-by=/etc/apt/trusted.gpg.d/packages.microsoft.gpg] https://packages.microsoft.com/repos/code/ stable main
Info:      Processes: 553 Uptime: 3d 1h 12m wakeups: 31 Memory: 13.55 GiB used: 9.01 GiB (66.5%) Init: SysVinit v: 3.01
           runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 11.2.0 alt: 10/11 Shell: quick-system-in default: Bash
           v: 5.1.16 running-in: quick-system-in inxi: 3.3.06

Re: Wired connection fails to set ip configuration, only restart fixes it.

Posted: Sat Mar 05, 2022 7:46 am
by Huckleberry Finn
Though this may not solve this issue, you can install the 5.16 kernel from Popular Apps tab in MX Package Installer from Menu, with 2 clicks.

And, is it the same if you try on live session with any version of MX (official iso rather than your snapshot) ?

Re: Wired connection fails to set ip configuration, only restart fixes it.

Posted: Sat Mar 05, 2022 7:55 am
by Paul..
Your QSI Network section is very unusual. Notice all of the entries for the Ethernet port IF-ID-1 through IF-ID-30...

The first chunk IF-ID-1 through ID-ID-4 come up...with real MAC addresses

Then there is the weird message for IF-ID-5 that shows it is looking for a docker connection and fails...

Then the last chunk IF-ID-6 through IF-ID-30 come up but are all virtual Ethernet connections.

Looks like the Ethernet connection is trying over and over to get an IP address via DHCP from the router...This could account for the delay in getting connected.

Try: logging into the router and go to the section on DHCP...and assign/reserve a permanent IP Address to the MAC address for your Ethernet port (that should show in the list of devices that are connected)

Re: Wired connection fails to set ip configuration, only restart fixes it.

Posted: Sat Mar 05, 2022 7:15 pm
by razor2021
I mentioned this before in a previous post of yours.

Your BIOS -> LENOVO v: GQCN26WW(V1.12) date: 08/23/2021

Latest BIOS -> GQCN30WW_HFCN25WW date: 24 Jan 2022
Webrelease
1. Implement SPD table for Samsung 8G on-board RAM.
2. Add the panel brightness nits setting about BOE and HKC.
3. Add ELAN I2C touchpad support.
4. Add the SAR table ID about Realtek WLAN

There seems to be something updated on your Realtek WLAN for radiated power from antennas. Can you update and see if the BIOS update makes a difference? With you switching between your ethernet and WiFi, not sure if the latest BIOS will help. If you're stuck for something to try.

Re: Wired connection fails to set ip configuration, only restart fixes it.

Posted: Sun Mar 06, 2022 11:34 am
by LearningMX
Did the BIOS update and assigned a permanent ipv4 address, first test looks promising, if it fails again I'll try the kernel update. The many fake interfaces might be from docker containers?

Thank you all !!

Re: Wired connection fails to set ip configuration, only restart fixes it.

Posted: Sun Mar 06, 2022 1:13 pm
by Paul..
LearningMX wrote: Sun Mar 06, 2022 11:34 am The many fake interfaces might be from docker containers?
Ha,ha...that's a lot of docker containers! (Especially if they are all requesting IP addresses simultaneously...and maybe you've got some old and tired router...)

Re: Wired connection fails to set ip configuration, only restart fixes it.

Posted: Sun Mar 06, 2022 1:16 pm
by LearningMX
So in the middle of using the wired connection, it simply deactivated. I tried to install the 5.16 Kernel from Popular Apps but I'm only being offered 5.15 and I'm already on 5.15:
kernels.png
When I click on the Testing Tab, it sends me right back to the Popular Tabs, somehow the Testing Tab doesn't stay active for me.

This is the new quick sys info after the bios update:

Code: Select all

System:    Kernel: 5.15.0-3-amd64 x86_64 bits: 64 compiler: gcc v: 11.2.0
           parameters: BOOT_IMAGE=/vmlinuz-5.15.0-3-amd64 root=UUID=<filter> ro quiet splash
           Desktop: KDE Plasma 5.23.5 wm: kwin_x11 vt: 7 dm: SDDM Distro: MX-21_KDE_x64 Wildflower October 20  2021
           base: Debian GNU/Linux bookworm/sid
Machine:   Type: Laptop System: LENOVO product: 21A2 v: ThinkBook 14 G3 ACL serial: <filter> Chassis: type: 10
           v: ThinkBook 14 G3 ACL serial: <filter>
           Mobo: LENOVO model: LNVNB161216 v: SDK0J40697 WIN serial: <filter> UEFI: LENOVO v: GQCN30WW(V1.16) date: 12/23/2021
Battery:   ID-1: BAT1 charge: 28.1 Wh (63.0%) condition: 44.6/45.0 Wh (99.1%) volts: 11.6 min: 11.6
           model: 0x4C 0x47 0x43 0x00 0x32 0x30 0x 0x4C 0x31 0x39 0x4C 0x33 0x50 0x4500 type: Li-ion serial: <filter>
           status: Discharging cycles: 29
CPU:       Info: 8-Core model: AMD Ryzen 7 5700U with Radeon Graphics bits: 64 type: MT MCP arch: Zen 2 family: 17 (23)
           model-id: 68 (104) stepping: 1 microcode: 8608103 cache: L2: 4 MiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 57492
           Speed: 1804 MHz min/max: 1400/1800 MHz boost: enabled Core speeds (MHz): 1: 1804 2: 2595 3: 2893 4: 1953 5: 1602
           6: 1561 7: 1409 8: 1908 9: 2819 10: 2922 11: 3220 12: 1739 13: 1972 14: 2533 15: 2988 16: 1444
           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 and seccomp
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
           Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling
           Type: srbds status: Not affected
           Type: tsx_async_abort status: Not affected
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Lucienne vendor: Lenovo driver: amdgpu v: kernel bus-ID: 05:00.0
           chip-ID: 1002:164c class-ID: 0300
           Device-2: Acer Integrated Camera type: USB driver: uvcvideo bus-ID: 1-3:2 chip-ID: 5986:212b class-ID: 0e02
           Display: x11 server: X.Org 1.20.14 compositor: kwin_x11 driver: loaded: amdgpu,ati unloaded: fbdev,modesetting,vesa
           display-ID: :0 screens: 1
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9")
           Monitor-1: eDP res: 1920x1080 hz: 60 dpi: 158 size: 309x173mm (12.2x6.8") diag: 354mm (13.9")
           OpenGL: renderer: AMD RENOIR (DRM 3.42.0 5.15.0-3-amd64 LLVM 12.0.1) v: 4.6 Mesa 21.2.6 direct render: Yes
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Renoir Radeon High Definition Audio vendor: Lenovo driver: snd_hda_intel
           v: kernel bus-ID: 05:00.1 chip-ID: 1002:1637 class-ID: 0403
           Device-2: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Lenovo driver: N/A
           alternate: snd_pci_acp3x, snd_rn_pci_acp3x bus-ID: 05:00.5 chip-ID: 1022:15e2 class-ID: 0480
           Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel
           bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403
           Sound Server-1: ALSA v: k5.15.0-3-amd64 running: yes
           Sound Server-2: PulseAudio v: 15.0 running: yes
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8168 v: 8.048.03-NAPI
           port: 3000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
           Device-2: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter vendor: Lenovo driver: rtw89_pci v: N/A
           modules: rtw89pci,wl port: 2000 bus-ID: 04:00.0 chip-ID: 10ec:8852 class-ID: 0280
           IF: wlan0 state: up mac: <filter>
           IF-ID-1: br-3a97052caaf9 state: down mac: <filter>
           IF-ID-2: br-6a6e51f58b7e state: down mac: <filter>
           IF-ID-3: br-81160804eff1 state: down mac: <filter>
           IF-ID-4: br-cf3b00c15250 state: down mac: <filter>
           IF-ID-5: docker0 state: down mac: <filter>
Bluetooth: Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8 bus-ID: 3-4:3 chip-ID: 0bda:4852 class-ID: e001
           serial: <filter>
           Report: hciconfig ID: hci0 rfk-id: 4 state: up address: <filter> bt-v: 3.0 lmp-v: 5.2 sub-v: 1d69 hci-v: 5.2
           rev: d9a9
           Info: acl-mtu: 1021:6 sco-mtu: 255:12 link-policy: rswitch hold sniff park link-mode: peripheral accept
           service-classes: rendering, capturing, object transfer, audio, telephony
Drives:    Local Storage: total: 476.94 GiB used: 30.32 GiB (6.4%)
           SMART Message: Unable to run smartctl. Root privileges required.
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: PC SN530 SDBPMPZ-512G-1101 size: 476.94 GiB
           block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 21160001
           temp: 37.9 C scheme: GPT
Partition: ID-1: / raw-size: 339.83 GiB size: 333.43 GiB (98.12%) used: 29.91 GiB (9.0%) fs: ext4 dev: /dev/dm-0
           maj-min: 253:0 mapped: root.fsm
           ID-2: /boot raw-size: 1.95 GiB size: 1.89 GiB (96.54%) used: 358.8 MiB (18.6%) fs: ext4 dev: /dev/nvme0n1p5
           maj-min: 259:5
           ID-3: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%) used: 62.3 MiB (24.3%) fs: vfat dev: /dev/nvme0n1p1
           maj-min: 259:1
Swap:      Alert: No swap data was found.
Sensors:   Message: No sensor data found. Is lm-sensors configured?
Repos:     Packages: note: see --pkg apt: 2456 lib: 1369 flatpak: 0
           Active apt repos in: /etc/apt/sources.list
           1: deb http://deb.debian.org/debian/ bookworm main
           Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
           1: deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
           1: deb http://deb.debian.org/debian/ bullseye-updates non-free contrib main
           Active apt repos in: /etc/apt/sources.list.d/debian.list
           1: deb http://deb.debian.org/debian/ bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security/ bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/docker.list
           1: deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian/ bullseye stable
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
           1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/mx.list
           1: deb http://ftp.halifax.rwth-aachen.de/mxlinux/packages/mx/repo/ bullseye main non-free
           2: deb http://ftp.halifax.rwth-aachen.de/mxlinux/packages/mx/repo/ bullseye ahs
           Active apt repos in: /etc/apt/sources.list.d/nodesource.list
           1: deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_12.x/ bullseye main
           2: deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_12.x/ bullseye main
           Active apt repos in: /etc/apt/sources.list.d/signal-xenial-added-by-mxpi.list
           1: deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
           Active apt repos in: /etc/apt/sources.list.d/vscode.list
           1: deb [arch=amd64,arm64,armhf signed-by=/etc/apt/trusted.gpg.d/packages.microsoft.gpg] https://packages.microsoft.com/repos/code/ stable main
Info:      Processes: 349 Uptime: 1h 39m wakeups: 3 Memory: 13.55 GiB used: 2.94 GiB (21.7%) Init: SysVinit v: 3.01
           runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 11.2.0 alt: 10/11 Shell: quick-system-in default: Bash
           v: 5.1.16 running-in: quick-system-in inxi: 3.3.06
This is what trying to connect looks like:
eth0.png
I ordered new cat7 cables and will try those tomorrow, but since I'm using the same connection and cable successfully on a wifi AP it shouldn't be the link.

I tried setting the network interface to 'manual' ip configuration, it then shows the state as 'connected' but at least DNS doesn't work by either setting the local routers ip or googles dns as the DNS IP field.

Any additional ideas on how to trouble shoot this, which log files to view etc ? Would love to get a reliable ethernet connection going ...

Re: Wired connection fails to set ip configuration, only restart fixes it.

Posted: Sun Mar 06, 2022 1:20 pm
by Huckleberry Finn
I was just typing this: Glad to hear they worked. You can mark the thread clicking the check-mark icon on the solution post :)

This is another interesting issue: 5.15 is also not greyed out ...(Meanwhile, what a crowded sources list ... )

Re: Wired connection fails to set ip configuration, only restart fixes it.

Posted: Sun Mar 06, 2022 1:45 pm
by razor2021
If you remove/disable all the docker containers, are the eth0 issues still persisting?

Re: Wired connection fails to set ip configuration, only restart fixes it.

Posted: Sun Mar 06, 2022 1:52 pm
by Huckleberry Finn

Re: Wired connection fails to set ip configuration, only restart fixes it.

Posted: Sun Mar 06, 2022 3:21 pm
by Paul..
LearningMX wrote: Sun Mar 06, 2022 1:16 pm IF-ID-1: br-3a97052caaf9 state: down mac: <filter>
IF-ID-2: br-6a6e51f58b7e state: down mac: <filter>
IF-ID-3: br-81160804eff1 state: down mac: <filter>
IF-ID-4: br-cf3b00c15250 state: down mac: <filter>
IF-ID-5: docker0 state: down mac: <filter>
These listing from your QSI are showing a bunch of "Docker Bridges" that are created when you setup Docker Containers...these are part of the problem.
EDIT: Apparently the Docker Bridges conflict with the Host Network.

I don't know much about setting up Docker Containers, but see if this helps (look for the 3 solutions down the page) https://stackoverflow.com/questions/505 ... st-network

Re: Wired connection fails to set ip configuration, only restart fixes it.

Posted: Tue Mar 29, 2022 10:44 am
by LearningMX
I have a few more details on this issue. First I completely removed all docker containers, this is the quicksysinfo:

Code: Select all

System:    Kernel: 5.16.0-3mx-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1
           parameters: BOOT_IMAGE=/vmlinuz-5.16.0-3mx-amd64 root=UUID=<filter> ro quiet splash
           Desktop: KDE Plasma 5.24.2 wm: kwin_x11 vt: 7 dm: SDDM Distro: MX-21_KDE_x64 Wildflower October 20  2021
           base: Debian GNU/Linux bookworm/sid
Machine:   Type: Laptop System: LENOVO product: 21A2 v: ThinkBook 14 G3 ACL serial: <filter> Chassis: type: 10
           v: ThinkBook 14 G3 ACL serial: <filter>
           Mobo: LENOVO model: LNVNB161216 v: SDK0J40697 WIN serial: <filter> UEFI: LENOVO v: GQCN30WW(V1.16) date: 12/23/2021
Battery:   ID-1: BAT1 charge: 44.6 Wh (100.0%) condition: 44.6/45.0 Wh (99.1%) volts: 13.1 min: 11.6
           model: 0x4C 0x47 0x43 0x00 0x32 0x30 0x 0x4C 0x31 0x39 0x4C 0x33 0x50 0x4500 type: Li-ion serial: <filter>
           status: Full cycles: 50
CPU:       Info: 8-Core model: AMD Ryzen 7 5700U with Radeon Graphics bits: 64 type: MT MCP arch: Zen 2 family: 17 (23)
           model-id: 68 (104) stepping: 1 microcode: 8608103 cache: L2: 4 MiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 57492
           Speed: 1480 MHz min/max: 1400/1800 MHz boost: enabled Core speeds (MHz): 1: 1480 2: 1396 3: 1426 4: 1397 5: 1397
           6: 1616 7: 1929 8: 1792 9: 1397 10: 1397 11: 1384 12: 1396 13: 1304 14: 1301 15: 1424 16: 1396
           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: Full AMD retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling
           Type: srbds status: Not affected
           Type: tsx_async_abort status: Not affected
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Lucienne vendor: Lenovo driver: amdgpu v: kernel bus-ID: 05:00.0
           chip-ID: 1002:164c class-ID: 0300
           Device-2: Acer Integrated Camera type: USB driver: uvcvideo bus-ID: 1-3:2 chip-ID: 5986:212b class-ID: 0e02
           Display: x11 server: X.Org 1.21.1.3 compositor: kwin_x11 driver: loaded: amdgpu,ati
           unloaded: fbdev,modesetting,vesa display-ID: :0 screens: 1
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 506x285mm (19.9x11.2") s-diag: 581mm (22.9")
           Monitor-1: eDP res: 1920x1080 hz: 60 dpi: 158 size: 309x173mm (12.2x6.8") diag: 354mm (13.9")
           OpenGL: renderer: AMD RENOIR (DRM 3.44.0 5.16.0-3mx-amd64 LLVM 13.0.1) v: 4.6 Mesa 21.3.7 direct render: Yes
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Renoir Radeon High Definition Audio vendor: Lenovo driver: snd_hda_intel
           v: kernel bus-ID: 05:00.1 chip-ID: 1002:1637 class-ID: 0403
           Device-2: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Lenovo driver: N/A
           alternate: snd_pci_acp3x, snd_rn_pci_acp3x bus-ID: 05:00.5 chip-ID: 1022:15e2 class-ID: 0480
           Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel
           bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403
           Sound Server-1: ALSA v: k5.16.0-3mx-amd64 running: yes
           Sound Server-2: PulseAudio v: 15.0 running: yes
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8168 v: 8.048.03-NAPI
           port: 3000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
           Device-2: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter vendor: Lenovo driver: rtw89_pci v: kernel
           modules: wl port: 2000 bus-ID: 04:00.0 chip-ID: 10ec:8852 class-ID: 0280
           IF: wlan0 state: down mac: <filter>
Bluetooth: Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8 bus-ID: 3-4:4 chip-ID: 0bda:4852 class-ID: e001
           serial: <filter>
           Report: hciconfig ID: hci0 rfk-id: 4 state: up address: <filter> bt-v: 3.0 lmp-v: 5.2 sub-v: 1d69 hci-v: 5.2
           rev: d9a9
           Info: acl-mtu: 1021:6 sco-mtu: 255:12 link-policy: rswitch hold sniff park link-mode: peripheral accept
           service-classes: rendering, capturing, object transfer, audio, telephony
Drives:    Local Storage: total: 476.94 GiB used: 34.81 GiB (7.3%)
           SMART Message: Unable to run smartctl. Root privileges required.
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: PC SN530 SDBPMPZ-512G-1101 size: 476.94 GiB
           block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 21160001
           temp: 32.9 C scheme: GPT
Partition: ID-1: / raw-size: 339.83 GiB size: 333.43 GiB (98.12%) used: 34.22 GiB (10.3%) fs: ext4 dev: /dev/dm-0
           maj-min: 253:0 mapped: root.fsm
           ID-2: /boot raw-size: 1.95 GiB size: 1.89 GiB (96.54%) used: 542.3 MiB (28.1%) fs: ext4 dev: /dev/nvme0n1p5
           maj-min: 259:5
           ID-3: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%) used: 62.3 MiB (24.3%) fs: vfat dev: /dev/nvme0n1p1
           maj-min: 259:1
Swap:      Alert: No swap data was found.
Sensors:   Message: No sensor data found. Is lm-sensors configured?
Repos:     Packages: note: see --pkg apt: 2484 lib: 1383 flatpak: 0
           Active apt repos in: /etc/apt/sources.list
           1: deb http://deb.debian.org/debian/ bookworm main
           Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
           1: deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
           1: deb http://deb.debian.org/debian/ bullseye-updates non-free contrib main
           Active apt repos in: /etc/apt/sources.list.d/debian.list
           1: deb http://deb.debian.org/debian/ bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security/ bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/docker.list
           1: deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian/ bullseye stable
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
           1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/mx.list
           1: deb http://ftp.halifax.rwth-aachen.de/mxlinux/packages/mx/repo/ bullseye main non-free
           2: deb http://ftp.halifax.rwth-aachen.de/mxlinux/packages/mx/repo/ bullseye ahs
           Active apt repos in: /etc/apt/sources.list.d/nodesource.list
           1: deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_12.x/ bullseye main
           2: deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_12.x/ bullseye main
           Active apt repos in: /etc/apt/sources.list.d/signal-xenial-added-by-mxpi.list
           1: deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
           Active apt repos in: /etc/apt/sources.list.d/vscode.list
           1: deb [arch=amd64,arm64,armhf signed-by=/etc/apt/trusted.gpg.d/packages.microsoft.gpg] https://packages.microsoft.com/repos/code/ stable main
Info:      Processes: 341 Uptime: 3h 16m wakeups: 5 Memory: 13.55 GiB used: 4.91 GiB (36.2%) Init: SysVinit v: 3.01
           runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 11.2.0 alt: 10/11 Shell: quick-system-in default: Bash
           v: 5.1.16 running-in: quick-system-in inxi: 3.3.06
Unfortunately nothing changed, ethernet on the built in port works sometimes, for a while, and once it no longer works it won't come back until a reboot. This is what dmesg has to say:

dmesg
[11655.781249] r8168: eth0: link up
[11655.781249] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[11655.813232] __common_interrupt: 14.33 No irq handler for vector
[11656.791256] r8168: eth0: link down
[11660.964251] r8168: eth0: link up
[11660.971153] __common_interrupt: 14.33 No irq handler for vector

Is this irq error responsible for the issue ?


On the flipside, the ethernet works just perfectly fine when using an external usb ethernet dongle, this is the quicksysinfo with the external dongle:

Code: Select all

System:    Kernel: 5.16.0-3mx-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1
           parameters: BOOT_IMAGE=/vmlinuz-5.16.0-3mx-amd64 root=UUID=<filter> ro quiet splash
           Desktop: KDE Plasma 5.24.2 wm: kwin_x11 vt: 7 dm: SDDM Distro: MX-21_KDE_x64 Wildflower October 20  2021
           base: Debian GNU/Linux bookworm/sid
Machine:   Type: Laptop System: LENOVO product: 21A2 v: ThinkBook 14 G3 ACL serial: <filter> Chassis: type: 10
           v: ThinkBook 14 G3 ACL serial: <filter>
           Mobo: LENOVO model: LNVNB161216 v: SDK0J40697 WIN serial: <filter> UEFI: LENOVO v: GQCN30WW(V1.16) date: 12/23/2021
Battery:   ID-1: BAT1 charge: 41.6 Wh (93.3%) condition: 44.6/45.0 Wh (99.1%) volts: 12.7 min: 11.6
           model: 0x4C 0x47 0x43 0x00 0x32 0x30 0x 0x4C 0x31 0x39 0x4C 0x33 0x50 0x4500 type: Li-ion serial: <filter>
           status: Discharging cycles: 50
CPU:       Info: 8-Core model: AMD Ryzen 7 5700U with Radeon Graphics bits: 64 type: MT MCP arch: Zen 2 family: 17 (23)
           model-id: 68 (104) stepping: 1 microcode: 8608103 cache: L2: 4 MiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 57492
           Speed: 1447 MHz min/max: 1400/1800 MHz boost: enabled Core speeds (MHz): 1: 1447 2: 1401 3: 1396 4: 1397 5: 1397
           6: 1397 7: 1397 8: 1396 9: 1704 10: 1569 11: 1650 12: 1495 13: 1410 14: 1397 15: 1397 16: 1397
           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: Full AMD retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling
           Type: srbds status: Not affected
           Type: tsx_async_abort status: Not affected
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Lucienne vendor: Lenovo driver: amdgpu v: kernel bus-ID: 05:00.0
           chip-ID: 1002:164c class-ID: 0300
           Device-2: Acer Integrated Camera type: USB driver: uvcvideo bus-ID: 1-3:2 chip-ID: 5986:212b class-ID: 0e02
           Display: x11 server: X.Org 1.21.1.3 compositor: kwin_x11 driver: loaded: amdgpu,ati
           unloaded: fbdev,modesetting,vesa display-ID: :0 screens: 1
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 506x285mm (19.9x11.2") s-diag: 581mm (22.9")
           Monitor-1: eDP res: 1920x1080 hz: 60 dpi: 158 size: 309x173mm (12.2x6.8") diag: 354mm (13.9")
           OpenGL: renderer: AMD RENOIR (DRM 3.44.0 5.16.0-3mx-amd64 LLVM 13.0.1) v: 4.6 Mesa 21.3.7 direct render: Yes
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Renoir Radeon High Definition Audio vendor: Lenovo driver: snd_hda_intel
           v: kernel bus-ID: 05:00.1 chip-ID: 1002:1637 class-ID: 0403
           Device-2: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Lenovo driver: N/A
           alternate: snd_pci_acp3x, snd_rn_pci_acp3x bus-ID: 05:00.5 chip-ID: 1022:15e2 class-ID: 0480
           Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel
           bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403
           Sound Server-1: ALSA v: k5.16.0-3mx-amd64 running: yes
           Sound Server-2: PulseAudio v: 15.0 running: yes
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8168 v: 8.048.03-NAPI
           port: 3000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
           IF: eth0 state: down mac: <filter>
           Device-2: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter vendor: Lenovo driver: rtw89_pci v: kernel
           modules: wl port: 2000 bus-ID: 04:00.0 chip-ID: 10ec:8852 class-ID: 0280
           IF: wlan0 state: down mac: <filter>
           Device-3: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152 bus-ID: 4-2.3:5 chip-ID: 0bda:8153
           class-ID: 0000 serial: <filter>
           IF: eth1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth: Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8 bus-ID: 3-4:4 chip-ID: 0bda:4852 class-ID: e001
           serial: <filter>
           Report: hciconfig ID: hci0 rfk-id: 4 state: up address: <filter> bt-v: 3.0 lmp-v: 5.2 sub-v: 1d69 hci-v: 5.2
           rev: d9a9
           Info: acl-mtu: 1021:6 sco-mtu: 255:12 link-policy: rswitch hold sniff park link-mode: peripheral accept
           service-classes: rendering, capturing, object transfer, audio, telephony
Drives:    Local Storage: total: 476.94 GiB used: 34.81 GiB (7.3%)
           SMART Message: Unable to run smartctl. Root privileges required.
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: PC SN530 SDBPMPZ-512G-1101 size: 476.94 GiB
           block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 21160001
           temp: 33.9 C scheme: GPT
Partition: ID-1: / raw-size: 339.83 GiB size: 333.43 GiB (98.12%) used: 34.22 GiB (10.3%) fs: ext4 dev: /dev/dm-0
           maj-min: 253:0 mapped: root.fsm
           ID-2: /boot raw-size: 1.95 GiB size: 1.89 GiB (96.54%) used: 542.3 MiB (28.1%) fs: ext4 dev: /dev/nvme0n1p5
           maj-min: 259:5
           ID-3: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%) used: 62.3 MiB (24.3%) fs: vfat dev: /dev/nvme0n1p1
           maj-min: 259:1
Swap:      Alert: No swap data was found.
Sensors:   Message: No sensor data found. Is lm-sensors configured?
Repos:     Packages: note: see --pkg apt: 2484 lib: 1383 flatpak: 0
           Active apt repos in: /etc/apt/sources.list
           1: deb http://deb.debian.org/debian/ bookworm main
           Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
           1: deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
           1: deb http://deb.debian.org/debian/ bullseye-updates non-free contrib main
           Active apt repos in: /etc/apt/sources.list.d/debian.list
           1: deb http://deb.debian.org/debian/ bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security/ bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/docker.list
           1: deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian/ bullseye stable
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
           1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/mx.list
           1: deb http://ftp.halifax.rwth-aachen.de/mxlinux/packages/mx/repo/ bullseye main non-free
           2: deb http://ftp.halifax.rwth-aachen.de/mxlinux/packages/mx/repo/ bullseye ahs
           Active apt repos in: /etc/apt/sources.list.d/nodesource.list
           1: deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_12.x/ bullseye main
           2: deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_12.x/ bullseye main
           Active apt repos in: /etc/apt/sources.list.d/signal-xenial-added-by-mxpi.list
           1: deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
           Active apt repos in: /etc/apt/sources.list.d/vscode.list
           1: deb [arch=amd64,arm64,armhf signed-by=/etc/apt/trusted.gpg.d/packages.microsoft.gpg] https://packages.microsoft.com/repos/code/ stable main
Info:      Processes: 370 Uptime: 3h 35m wakeups: 5 Memory: 13.55 GiB used: 5.37 GiB (39.6%) Init: SysVinit v: 3.01
           runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 11.2.0 alt: 10/11 Shell: quick-system-in default: Bash
           v: 5.1.16 running-in: quick-system-in inxi: 3.3.06

I would obviously love to use the internal ethernet port if possible. I think we can rule out that this was some sort of a docker issue since the external ethernet dongle works well, or am I jumping to quickly to a conclusion here? Is this a realtek driver issue, will the irq error help at all solve this ?

Thanks again for any additional pointers regarding this !

Re: Wired connection fails to set ip configuration, only restart fixes it.

Posted: Tue Mar 29, 2022 11:31 am
by Huckleberry Finn
Try these (one at a time) as boot parameters:

Code: Select all

acpi=noirq

Code: Select all

pci=nomsi,noaer
You can try temporarily with pressing E on Grub, then type after ... ro quiet splash .. then hit F10

Or add into "Kernel Parameters" box in "MX Boot Options" (but this way it won't be temporary) change and try 2-3 boots..


Also: Though it already looks new, have a check if there's an available Bios update.

Re: Wired connection fails to set ip configuration, only restart fixes it.

Posted: Tue Mar 29, 2022 11:34 am
by razor2021
IMO, it's possible that the fault lies in between the kernel and your Realtek Gigabit ethernet hardware rev and the r8168 driver that supports it.

Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8168 v: 8.048.03-NAPI
port: 3000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>

This link explains a bit more out of the many threads on 8168 driver issues in linux. --> https://askubuntu.com/questions/1279644 ... ould-i-use

Have you tried reverting to r8169 driver and see if that r8169 driver works better than r8168?

Re: Wired connection fails to set ip configuration, only restart fixes it.

Posted: Fri Apr 01, 2022 3:10 am
by LearningMX
razor2021 wrote: Tue Mar 29, 2022 11:34 am IMO, it's possible that the fault lies in between the kernel and your Realtek Gigabit ethernet hardware rev and the r8168 driver that supports it.

Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8168 v: 8.048.03-NAPI
port: 3000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>

This link explains a bit more out of the many threads on 8168 driver issues in linux. --> https://askubuntu.com/questions/1279644 ... ould-i-use

Have you tried reverting to r8169 driver and see if that r8169 driver works better than r8168?
That's a good catch, thanks ! I installed r8168 because out of the box the WiFi didn't work at all. So I could revert the driver to sacrifice the WiFi I supposed.

@Huckleberry Finn thanks, I will try to kernel params.

Re: Wired connection fails to set ip configuration, only restart fixes it.

Posted: Fri Apr 01, 2022 6:04 am
by Huckleberry Finn
Huckleberry Finn wrote: Sat Mar 05, 2022 7:46 am... is it the same if you try on live session with any version of MX (official iso rather than your snapshot) ?
LearningMX wrote: Fri Apr 01, 2022 3:10 am...That's a good catch ... I installed r8168 because ...
That's why I suggested (on "05 March") to try on live session, too. (... and particularly with an official iso, not a snapshot)

Re: Wired connection fails to set ip configuration, only restart fixes it.

Posted: Tue Apr 12, 2022 4:31 pm
by ph3arr3t
there is a fix for that issue that I have found online. It seems that if you reboot while still connected to the power cord you lose wi-fi.
Seems the fix is to disconnect the cord, power down and then cold boot the system. Wi-Fi has always returned for me after that. And I have kernel Linux 5.16.0-5mx-amfd64 ON MX-21.1_ahs_x64 Wildflower there seems to be a fly in the ointment somewhere....

Re: Wired connection fails to set ip configuration, only restart fixes it.

Posted: Tue Apr 12, 2022 4:43 pm
by Huckleberry Finn
ph3arr3t wrote: Tue Apr 12, 2022 4:31 pm there is a fix for that issue ... wi-fi ... Wi-Fi has always returned for me after that. ...
Title: Wired connection fails to ...

Re: Wired connection fails to set ip configuration, only restart fixes it.

Posted: Sat May 21, 2022 4:57 am
by LearningMX
Huckleberry Finn wrote: Fri Apr 01, 2022 6:04 am
Huckleberry Finn wrote: Sat Mar 05, 2022 7:46 am... is it the same if you try on live session with any version of MX (official iso rather than your snapshot) ?
LearningMX wrote: Fri Apr 01, 2022 3:10 am...That's a good catch ... I installed r8168 because ...
That's why I suggested (on "05 March") to try on live session, too. (... and particularly with an official iso, not a snapshot)
So I tried the live USB with r8169 and the ethernet works without an issue, however the wifi is not detected (that's why I switched teh driver to r8168). The question is how can I get the best of both worlds, maybe a simple script that will modprobe between the two drivers depending on the connection state: ethernet/wifi ? Would that be possible ?

Code: Select all

[  172.522415] PM: suspend exit
[  172.702399] Generic FE-GE Realtek PHY r8169-0-300:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-0-300:00, irq=IGNORE)
[  172.904765] r8169 0000:03:00.0 eth0: Link is Down
[  175.910630] r8169 0000:03:00.0 eth0: Link is Up - 1Gbps/Full - flow control off
[  175.910648] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  210.005320] r8169 0000:03:00.0 eth0: Link is Down
[  215.011935] r8169 0000:03:00.0 eth0: Link is Up - 1Gbps/Full - flow control off
[  220.681601] r8169 0000:03:00.0 eth0: Link is Down
[  228.159105] r8169 0000:03:00.0 eth0: Link is Up - 1Gbps/Full - flow control off
demo@mx1:~

Code: Select all

System:    Kernel: 5.10.0-13-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/antiX/vmlinuz quiet splasht nosplash lang=en_US kbd=de tz=Europe/Berlin 
           Desktop: KDE Plasma 5.20.5 wm: kwin_x11 vt: 7 dm: SDDM Distro: MX-21.1_KDE_x64 Wildflower April 9  2022 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Laptop System: LENOVO product: 21A2 v: ThinkBook 14 G3 ACL serial: <filter> Chassis: type: 10 
           v: ThinkBook 14 G3 ACL serial: <filter> 
           Mobo: LENOVO model: LNVNB161216 v: SDK0J40697 WIN serial: <filter> UEFI: LENOVO v: GQCN30WW(V1.16) date: 12/23/2021 
Battery:   ID-1: BAT1 charge: 25.5 Wh (57.2%) condition: 44.6/45.0 Wh (99.1%) volts: 11.4 min: 11.6 
           model: 0x4C 0x47 0x43 0x00 0x32 0x30 0x 0x4C 0x31 0x39 0x4C 0x33 0x50 0x4500 type: Li-ion serial: <filter> 
           status: Discharging cycles: 72 
CPU:       Info: 8-Core model: AMD Ryzen 7 5700U with Radeon Graphics bits: 64 type: MT MCP arch: Zen 2 family: 17 (23) 
           model-id: 68 (104) stepping: 1 microcode: 8608103 cache: L2: 4 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 57496 
           Speed: 1397 MHz min/max: 1400/4370 MHz boost: enabled Core speeds (MHz): 1: 1397 2: 1397 3: 1507 4: 1397 5: 1507 
           6: 1397 7: 1397 8: 1397 9: 1397 10: 1397 11: 1397 12: 1397 13: 1397 14: 1405 15: 2142 16: 4022 
           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 and seccomp 
           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: Advanced Micro Devices [AMD/ATI] Lucienne vendor: Lenovo driver: amdgpu v: kernel bus-ID: 05:00.0 
           chip-ID: 1002:164c class-ID: 0300 
           Device-2: Acer Integrated Camera type: USB driver: uvcvideo bus-ID: 1-3:2 chip-ID: 5986:212b class-ID: 0e02 
           Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver: loaded: amdgpu,ati unloaded: fbdev,modesetting,vesa 
           display-ID: :0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9") 
           Monitor-1: eDP res: 1920x1080 hz: 60 dpi: 158 size: 309x173mm (12.2x6.8") diag: 354mm (13.9") 
           OpenGL: renderer: AMD RENOIR (DRM 3.40.0 5.10.0-13-amd64 LLVM 12.0.1) v: 4.6 Mesa 21.2.5 direct render: Yes 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Renoir Radeon High Definition Audio vendor: Lenovo driver: snd_hda_intel 
           v: kernel bus-ID: 05:00.1 chip-ID: 1002:1637 class-ID: 0403 
           Device-2: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Lenovo driver: N/A 
           alternate: snd_pci_acp3x, snd_rn_pci_acp3x bus-ID: 05:00.5 chip-ID: 1022:15e2 class-ID: 0480 
           Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel 
           bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403 
           Sound Server-1: ALSA v: k5.10.0-13-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169 v: kernel port: 3000 
           bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200 
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           Device-2: Realtek vendor: Lenovo driver: N/A modules: wl port: 2000 bus-ID: 04:00.0 chip-ID: 10ec:8852 
           class-ID: 0280 
Bluetooth: Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8 bus-ID: 3-4:3 chip-ID: 0bda:4852 class-ID: e001 
           serial: <filter> 
           Report: hciconfig ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 3.0 lmp-v: 5.2 sub-v: 8852 hci-v: 5.2 rev: a 
           Info: acl-mtu: 1021:6 sco-mtu: 255:12 link-policy: rswitch hold sniff park link-mode: slave accept 
           service-classes: rendering, capturing, object transfer, audio 
Drives:    Local Storage: total: 505.58 GiB used: 0 KiB (0.0%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: PC SN530 SDBPMPZ-512G-1101 size: 476.94 GiB 
           block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 21160001 
           temp: 31.9 C scheme: GPT 
           ID-2: /dev/sda maj-min: 8:0 type: USB vendor: SanDisk model: Ultra Fit size: 28.64 GiB block-size: physical: 512 B 
           logical: 512 B type: N/A serial: <filter> rev: 1.00 scheme: MBR 
           SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
Partition: Message: No partition data found. 
Swap:      Alert: No swap data was found. 
Sensors:   System Temperatures: cpu: 48.0 C mobo: N/A gpu: amdgpu temp: 41.0 C 
           Fan Speeds (RPM): N/A 
Repos:     Packages: note: see --pkg apt: 2348 lib: 1303 flatpak: 0 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://ftp.halifax.rwth-aachen.de/mxlinux/packages/mx/repo/ bullseye main non-free
           2: deb http://ftp.halifax.rwth-aachen.de/mxlinux/packages/mx/repo/ bullseye ahs
Info:      Processes: 327 Uptime: 1m wakeups: 2 Memory: 13.55 GiB used: 1.3 GiB (9.6%) Init: SysVinit v: 2.96 runlevel: 5 
           default: 5 tool: systemctl Compilers: gcc: 10.2.1 alt: 10 Shell: Bash v: 5.1.4 
           running-in: quick-system-info-mx inxi: 3.3.06 
Boot Mode: UEFI