Pulsing WIFI

My Wifi connection is intermittent. It is good and then it flakes out, going from 2 little arcs down to the dot.

For some info, I tried:

echo $XDG_CURRENT_DESKTOP
dnf info NetworkManager
yum list installed | grep Network*

And the result is:

GNOME
Copr repo for PyCharm owned by phracek                          13 kB/s |  43 kB     00:03    
détermination du miroir le plus rapide (116 hôtes).. done.   ]  33 kB/s | 9.8 kB     00:00 ETA
Fedora 36 - x86_64                                             870 kB/s |  81 MB     01:35    
Fedora 36 openh264 (From Cisco) - x86_64                       1.1 kB/s | 2.5 kB     00:02    
Fedora Modular 36 - x86_64                                     555 kB/s | 2.4 MB     00:04    
Fedora 36 - x86_64 - Updates                                   826 kB/s |  16 MB     00:20    
Fedora Modular 36 - x86_64 - Updates                           490 kB/s | 2.2 MB     00:04    
google-chrome                                                  5.7 kB/s | 3.6 kB     00:00    
détermination du miroir le plus rapide (42 hôtes).. done.    ] ---  B/s |   0  B     --:-- ETA
RPM Fusion for Fedora 36 - Free                                180 kB/s | 676 kB     00:03    
détermination du miroir le plus rapide (1 hôtes).. done.=====]  31 kB/s |  10 kB     00:00 ETA
RPM Fusion for Fedora 36 - Free - Updates                      106 kB/s | 168 kB     00:01    
RPM Fusion for Fedora 36 - Nonfree                             253 kB/s | 252 kB     00:00    
RPM Fusion for Fedora 36 - Nonfree - NVIDIA Driver              23 kB/s |  14 kB     00:00    
RPM Fusion for Fedora 36 - Nonfree - Steam                     2.8 kB/s | 2.1 kB     00:00    
RPM Fusion for Fedora 36 - Nonfree - Updates                    85 kB/s |  66 kB     00:00    
Paquets installés
Nom          : NetworkManager
Époque       : 1
Version      : 1.38.0
Publication  : 1.fc36
Architecture : x86_64
Taille       : 5.7 M
Source       : NetworkManager-1.38.0-1.fc36.src.rpm
Dépôt        : @System
Depuis le dé : updates
Résumé       : Network connection manager and user applications
URL          : https://networkmanager.dev/
Licence      : GPLv2+ and LGPLv2+
Description  : NetworkManager is a system service that manages network interfaces and
             : connections based on user or automatic configuration. It supports
             : Ethernet, Bridge, Bond, VLAN, Team, InfiniBand, Wi-Fi, mobile broadband
             : (WWAN), PPPoE and other devices, and supports a variety of different VPN
             : services.

NetworkManager.x86_64                                1:1.38.0-1.fc36                     @updates              
NetworkManager-adsl.x86_64                           1:1.38.0-1.fc36                     @updates              
NetworkManager-bluetooth.x86_64                      1:1.38.0-1.fc36                     @updates              
NetworkManager-config-connectivity-fedora.noarch     1:1.38.0-1.fc36                     @updates              
NetworkManager-libnm.x86_64                          1:1.38.0-1.fc36                     @updates              
NetworkManager-openconnect.x86_64                    1.2.8-1.fc36                        @anaconda             
NetworkManager-openconnect-gnome.x86_64              1.2.8-1.fc36                        @anaconda             
NetworkManager-openvpn.x86_64                        1:1.8.18-1.fc36                     @anaconda             
NetworkManager-openvpn-gnome.x86_64                  1:1.8.18-1.fc36                     @anaconda             
NetworkManager-ppp.x86_64                            1:1.38.0-1.fc36                     @updates              
NetworkManager-pptp.x86_64                           1:1.2.10-1.fc36                     @anaconda             
NetworkManager-pptp-gnome.x86_64                     1:1.2.10-1.fc36                     @anaconda             
NetworkManager-ssh.x86_64                            1.2.12-3.fc36                       @anaconda             
NetworkManager-ssh-gnome.x86_64                      1.2.12-3.fc36                       @anaconda             
NetworkManager-team.x86_64                           1:1.38.0-1.fc36                     @updates              
NetworkManager-vpnc.x86_64                           1:1.2.8-1.fc36                      @anaconda             
NetworkManager-vpnc-gnome.x86_64                     1:1.2.8-1.fc36                      @anaconda             
NetworkManager-wifi.x86_64                           1:1.38.0-1.fc36                     @updates              
NetworkManager-wwan.x86_64                           1:1.38.0-1.fc36                     @updates

Sounds like it may be some form of hardware issue, though whether it’s a question of wireless signal or driver issues can be hard to pin down.

Some things you can try from a shell prompt, to get you started investigating.

:warning: IMPORTANT :warning: : Please do not post personally identifying information like your IP or MAC address(es), or the BSSIDs of any local wireless networks, if you copy/paste any command output to the forum.

# To list the wireless networks currently visible,
# with channel number and data rate:
nmcli d wifi
# To see the recent console output from the kernel
# (any major hardware-driver issues will likely 
# cause a message to be printed to the console):
dmesg -T

# To list your available network connections:
nmcli c

# After finding the one that corresponds to your
# wifi network (probably labeled with the SSID)
nmcli c show 'Network Name'

# To list the network *devices* on your system:
nmcli d

# After finding the one for your wifi connection:
nmcli d show <device> # (something like wlp1s0)
# To "monitor" the wifi link (you'll at least see
# messages if the link is actually dropping and
# reconnecting, tho probably not much else)
nmcli d monitor <device>

# To monitor the system journal in general, where
# logs related to network issues might appear
# (mixed with plenty of other irrelevant logs)
sudo journalctl -f

With the last two, type Ctrl+c to stop watching the logs.

If it were me, I’d set up to monitor the connection and journal, then use it for a bit until it gets flaky, and see what (if anything) showed up in the logs.

Oh, info on your wireless hardware might also be useful. If you install lshw (sudo dnf -y install lshw), then you can dump the hardware details like this (from my laptop):

sudo lshw -class network

  *-network                 
       description: Ethernet interface
       product: RTL810xE PCI Express Fast Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: enp1s0
       version: 05
       serial: xx:xx:xx:xx:xx
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.17.8-300.fc36.x86_64 firmware=rtl_nic/rtl8105e-1.fw latency=0 link=no multicast=yes port=twisted pair
       resources: irq:16 ioport:2000(size=256) memory:c0404000-c0404fff memory:c0400000-c0403fff
  *-network
       description: Wireless interface
       product: AR9485 Wireless Network Adapter
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlp2s0
       version: 01
       serial: xx:xx:xx:xx:xx
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless
       configuration: broadcast=yes driver=ath9k driverversion=5.17.8-300.fc36.x86_64 firmware=N/A ip=192.168.12.112 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:17 memory:c0500000-c057ffff memory:c0580000-c058ffff

But just as a reminder, for your privacy and security you should be careful to remove the serial: IDs, as I’ve done here, because they uniquely identify your device(s). (My non-routable, internal-network IP address, OTOH, is of no use to anyone.)

Hi Frank,

Thank you for helping here. I ran the ‘nmcli d wifi’, and ‘dmesg -T’ commands for starters.

I have selected the bolded and red output from ‘dmesg -T’. Doesn’t look so great…

nmcli d wifi
* ************* HUAWEI Y6 2019 Infra 6 65 Mb/s 72 ▂▄▆_ WPA2

dmesg -T

[lun.  6 juin 12:23:20 2022] x86/cpu: SGX disabled by BIOS.

[lun.  6 juin 12:23:20 2022] Expanded resource Reserved due to conflict with PCI Bus 0000:00

[lun.  6 juin 12:23:20 2022] usb: port power management may be unreliable

[lun.  6 juin 12:23:20 2022] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log.

-------------
(not bolded)
[lun.  6 juin 12:23:21 2022] systemd[1]: Failed to open libbpf, LSM BPF is not supported: Operation not supported

[lun.  6 juin 12:23:21 2022] systemd[1]: memstrack.service - Memstrack Anylazing Service was skipped because all trigger condition checks failed.

------------------------

[lun.  6 juin 12:23:21 2022] i915 0000:00:02.0: [drm] Unknown revid 0x06

[lun.  6 juin 12:23:23 2022] systemd-sysv-generator[457]: SysV service '/etc/rc.d/init.d/livesys' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[lun.  6 juin 12:23:23 2022] systemd-sysv-generator[457]: SysV service '/etc/rc.d/init.d/livesys-late' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.

[lun.  6 juin 12:23:24 2022] Userspace governor deprecated: use thermal netlink notification instead
[lun.  6 juin 12:23:24 2022] r8169 0000:05:00.0: can't disable ASPM; OS doesn't have ASPM control

[lun.  6 juin 12:23:25 2022] ACPI BIOS Error (bug): Attempt to CreateField of length zero (20211217/dsopcode-133)
[lun.  6 juin 12:23:25 2022] ACPI Error: Aborting method \HWMC due to previous error (AE_AML_OPERAND_VALUE) (20211217/psparse-529)
[lun.  6 juin 12:23:25 2022] ACPI Error: Aborting method \_SB.WMID.WMAA due to previous error (AE_AML_OPERAND_VALUE) (20211217/psparse-529)
[lun.  6 juin 12:23:25 2022] input: HP WMI hotkeys as /devices/virtual/input/input9
[lun.  6 juin 12:23:25 2022] ACPI BIOS Error (bug): Attempt to CreateField of length zero (20211217/dsopcode-133)
[lun.  6 juin 12:23:25 2022] ACPI Error: Aborting method \HWMC due to previous error (AE_AML_OPERAND_VALUE) (20211217/psparse-529)
[lun.  6 juin 12:23:25 2022] ACPI Error: Aborting method \_SB.WMID.WMAA due to previous error (AE_AML_OPERAND_VALUE) (20211217/psparse-529)

[lun.  6 juin 12:23:25 2022] kauditd_printk_skb: 134 callbacks suppressed

[lun.  6 juin 12:23:26 2022] usb 1-1: Warning! Unlikely big volume range (=32768), cval->res is probably wrong.
[lun.  6 juin 12:23:26 2022] usb 1-1: [17] FU [Mic Capture Volume] ch = 2, val = -24576/8192/1

[lun.  6 juin 12:23:33 2022] rtw_8821ce 0000:04:00.0: failed to get tx report from firmware
[marcus@fedora ~]$ sudo lshw -class network
  *-network                 
       description: Wireless interface
       product: RTL8821CE 802.11ac PCIe Wireless Network Adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: wlp4s0
       version: 00
       serial: ##########
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtw_8821ce driverversion=5.17.12-300.fc36.x86_64 firmware=N/A ip=192.168.43.69 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:138 ioport:e000(size=256) memory:a1200000-a120ffff
  *-network
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:05:00.0
       logical name: enp5s0
       version: 15
       serial: ##########
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.17.12-300.fc36.x86_64 firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:23 ioport:d000(size=256) memory:a1104000-a1104fff memory:a1100000-a1103fff
[marcus@fedora ~]$

Oh, and here’s the partitions. Sorry, it’s in French but is pretty self-explanatory

[marcus@fedora ~]$ sudo parted -l
[sudo] Mot de passe de marcus : 
Modèle : KBG40ZNV128G KIOXIA (nvme)
Disque /dev/nvme0n1 : 128GB
Taille des secteurs (logiques/physiques) : 512B/512B
Table de partitions : gpt
Drapeaux de disque : 

No    Début    Fin      Taille    Système de fichiers       Nom                        Drapeaux
 1    1049kB   630MB     629MB         fat32              EFI System Partition   démarrage, esp
 2    630MB    1704MB   1074MB          ext4
 3    1704MB   128GB     126GB          btrfs

Modèle : Inconnu (unknown)
Disque /dev/zram0 : 3582MB
Taille des secteurs (logiques/physiques) : 4096B/4096B
Table de partitions : loop
Drapeaux de disque : 

No  Début     Fin    Taille   Système de fichiers     Drapeaux
 1    0,00B  3582MB  3582MB     linux-swap(v1)