Artix Linux Forum

Init systems => S6 => Topic started by: Archie on 08 January 2025, 15:39:06

Title: WIFI connectivity drops randomly
Post by: Archie on 08 January 2025, 15:39:06
I have both Wired and Wireless to connect to the routers. All would be fine but after several hours the WiFi drops. The Wired connection is stable. On this reboot, the WiFi made it to 12 hours.

I did a forum search a couple of days ago and in a post quite similar to my predicament, I removed dchp-s6 and dchp along with a couple of other packages. Then I reinstalled network-manager. The problem still persist.

Any suggestions?
Title: Re: WIFI connectivity drops randomly
Post by: artoo on 20 January 2025, 21:16:05
Please provide some basic info about your system.
What network adapter?

lspci, dmesg and/or inxi output helps.

https://forum.artixlinux.org/index.php/topic,7637.0.html
Title: Re: WIFI connectivity drops randomly
Post by: n00b on 21 January 2025, 00:43:16
@artoo was that link supposed to go back to here?
Title: Re: WIFI connectivity drops randomly
Post by: Archie on 21 January 2025, 06:28:43
Advance thank you for your assist.

Code: [Select]
inxi -b
System:
  Host: kde.artix Kernel: 6.12.9-artix1-1 arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 6.2.5 Distro: Artix Linux
Machine:
  Type: Desktop Mobo: INTEL model: X79 INTEL (INTEL Xeon E5/Corei7 DMI2 -
    C600/C200 Cipset v: V3.3C serial: <superuser required>
    UEFI: American Megatrends v: 4.6.5 date: 04/24/2018
CPU:
  Info: 8-core Intel Xeon E5-2650 0 [MT MCP] speed (MHz): avg: 1995
    min/max: 1200/2800
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX
    470/480/570/570X/580/580X/590] driver: amdgpu v: kernel
  Device-2: Generalplus GENERAL WEBCAM driver: snd-usb-audio type: USB
  Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.4
    compositor: kwin_wayland driver: X: loaded: amdgpu
    unloaded: fbdev,modesetting failed: vesa dri: radeonsi gpu: amdgpu
    resolution: 1920x1080
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.3.3-arch1.2
    renderer: AMD Radeon RX 580 Series (radeonsi polaris10 LLVM 19.1.6 DRM 3.59
    6.12.9-artix1-1)
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    driver: r8169
  Device-2: Realtek 802.11ac NIC driver: rtw_8821cu type: USB
Drives:
  Local Storage: total: 18.41 TiB used: 9.75 TiB (53.0%)
Info:
  Memory: total: 16 GiB available: 15.55 GiB used: 4.2 GiB (27.0%)
  Processes: 453 Uptime: 1h 37m Shell: Bash inxi: 3.3.36
Title: Re: WIFI connectivity drops randomly
Post by: Artist on 21 January 2025, 07:35:06
@artoo was that link supposed to go back to here?

https://forum.artixlinux.org/index.php/topic,7688.msg46017.html#msg46017

artist
Title: Re: WIFI connectivity drops randomly
Post by: Archie on 21 January 2025, 14:56:35
@artoo was that link supposed to go back to here?

https://forum.artixlinux.org/index.php/topic,7688.msg46017.html#msg46017

artist

Does the fix also apply to wlan0?

Quote
Disabling TSO seems to have fixed the problem for me. (I needed to set it after a fresh boot, *before* the interface starts bailing out continually.)

How do I disable TSO?
Title: Re: WIFI connectivity drops randomly
Post by: Artist on 21 January 2025, 15:53:07
To disable TSO check https://man.archlinux.org/man/ethtool.8.en#tso

As this is the first report about randomly dropping WiFi connections there is no guarantee the mentioned fixes will help, so the only way to know for sure is to test.

artist
Title: Re: WIFI connectivity drops randomly
Post by: Archie on 22 January 2025, 04:03:25
To disable TSO check https://man.archlinux.org/man/ethtool.8.en#tso

As this is the first report about randomly dropping WiFi connections there is no guarantee the mentioned fixes will help, so the only way to know for sure is to test.

artist

Thank you for the link. I had to install ethtool. I do not know how to read but it seems to me that ...

Code: [Select]
~ > ethtool -k wlan0 | grep tcp
tcp-segmentation-offload: off
        tx-tcp-segmentation: off [fixed]
        tx-tcp-ecn-segmentation: off [fixed]
        tx-tcp-mangleid-segmentation: off [fixed]
        tx-tcp6-segmentation: off [fixed]

... TSO is already disabled.

Nevertheless,

Code: [Select]
~ >sudo ethtool -K wlan0 tso off
archie.arevalo@kde.artix ~ > ethtool -k wlan0 | grep tcp
tcp-segmentation-offload: off
        tx-tcp-segmentation: off [fixed]
        tx-tcp-ecn-segmentation: off [fixed]
        tx-tcp-mangleid-segmentation: off [fixed]
        tx-tcp6-segmentation: off [fixed]

returns the same. Any other ideas?