laptop wifi AP. The connection of smartphones to the AP is unstable. constantly interrupted and rest

Laptop wifi AP. The connection of smartphones to the AP is unstable. constantly interrupted and restored.
Where in the laptop i can see the log that says why the connection is interrupted ?

Smartphone(Android)–>WIFI—>AP_LAPTOP

About my laptop and wifi AP:

# 
# uname -a
Linux localhost.localdomain 5.14.21-150400.24.21-default #1 SMP PREEMPT_DYNAMIC Wed Sep 7 06:51:18 UTC 2022 (974d0aa) x86_64 x86_64 x86_64 GNU/Linux

# dmidecode -t 2
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
    Manufacturer: HP
    Product Name: 8707
    Version: 37.19
    Serial Number: PKLBK028JEW9CD
    Asset Tag: Base Board Asset Tag
    Features:
        Board is a hosting board
        Board is replaceable
    Location In Chassis: Base Board Chassis Location
    Chassis Handle: 0x0003
    Type: Motherboard
    Contained Object Handles: 0



lspci -nn | grep -i 802
01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
# dmesg | grep -i 8821
    2.682644] rtl8821ce 0000:01:00.0: enabling device (0000 -> 0003)
    6.333898] Bluetooth: hci0: RTL: examining hci_ver=08 hci_rev=000c lmp_ver=08 lmp_subver=8821
    6.335889] Bluetooth: hci0: RTL: loading rtl_bt/rtl8821c_fw.bin
    6.351327] Bluetooth: hci0: RTL: loading rtl_bt/rtl8821c_config.bin
#  zypper se -si 8821
Loading repository data...
Warning: Repository 'Third-party packages used on openSUSE.org production machines (15.4)' appears to be outdated. Consider using a different mirror or server.
Reading installed packages...

S  | Name                  | Type    | Version                                   | Arch   | Repository
---+-----------------------+---------+-------------------------------------------+--------+----------------
i+ | rtl8821ce-kmp-default | package | git20211120_k5.14.21_150400.13-lp154.2.40 | x86_64 | Hardware (15.4)
i+ | rtl8821ce-ueficert    | package | git20211120-lp154.2.40                    | x86_64 | Hardware (15.4)

# rpm -qa | grep -i rtw
rtw88-ueficert-git20220623-lp154.2.1.x86_64
rtw88-kmp-default-git20220623_k5.14.21_150400.22-lp154.2.1.x86_64
# lsmod | grep -i rtw
rtw88_8821ce           16384  0
rtw88_8821c            94208  1 rtw88_8821ce
rtw88_pci              28672  1 rtw88_8821ce
rtw88_core            167936  2 rtw88_pci,rtw88_8821c
mac80211             1179648  2 rtw88_pci,rtw88_core
cfg80211             1040384  4 wl,rtw88_core,mac80211,8821ce

# nmcli con show hhh123
connection.id:                          hhh123
connection.uuid:                        3cfd839c-8c4f-4fa7-821b-a10c07ecbe14
connection.stable-id:                   --
connection.type:                        802-11-wireless
connection.interface-name:              --
connection.autoconnect:                 yes
connection.autoconnect-priority:        0
connection.autoconnect-retries:         -1 (default)
connection.multi-connect:               0 (default)
connection.auth-retries:                -1
connection.timestamp:                   1663433328
connection.read-only:                   no
connection.permissions:                 --
connection.zone:                        --
connection.master:                      --
connection.slave-type:                  --
connection.autoconnect-slaves:          -1 (default)
connection.secondaries:                 --
connection.gateway-ping-timeout:        0
connection.metered:                     unknown
connection.lldp:                        default
connection.mdns:                        -1 (default)
connection.llmnr:                       -1 (default)
connection.wait-device-timeout:         -1
802-11-wireless.ssid:                   hhh123
802-11-wireless.mode:                   ap
802-11-wireless.band:                   bg
802-11-wireless.channel:                0
802-11-wireless.bssid:                  --
802-11-wireless.rate:                   0
802-11-wireless.tx-power:               0
802-11-wireless.mac-address:            --
802-11-wireless.cloned-mac-address:     --
802-11-wireless.generate-mac-address-mask:--
802-11-wireless.mac-address-blacklist:  --
802-11-wireless.mac-address-randomization:default
802-11-wireless.mtu:                    auto
802-11-wireless.seen-bssids:            64:6C:80:7D:36:A7
802-11-wireless.hidden:                 no
802-11-wireless.powersave:              0 (default)
802-11-wireless.wake-on-wlan:           0x1 (default)
802-11-wireless.ap-isolation:           -1 (default)
802-11-wireless-security.key-mgmt:      wpa-psk
802-11-wireless-security.wep-tx-keyidx: 0
802-11-wireless-security.auth-alg:      --
802-11-wireless-security.proto:         --
802-11-wireless-security.pairwise:      --
802-11-wireless-security.group:         --
802-11-wireless-security.pmf:           0 (default)
802-11-wireless-security.leap-username: --
802-11-wireless-security.wep-key0:      <hidden>
802-11-wireless-security.wep-key1:      <hidden>
802-11-wireless-security.wep-key2:      <hidden>
802-11-wireless-security.wep-key3:      <hidden>
802-11-wireless-security.wep-key-flags: 0 (none)
802-11-wireless-security.wep-key-type:  unknown
802-11-wireless-security.psk:           <hidden>
802-11-wireless-security.psk-flags:     0 (none)
802-11-wireless-security.leap-password: <hidden>
802-11-wireless-security.leap-password-flags:0 (none)
802-11-wireless-security.wps-method:    0x0 (default)
802-11-wireless-security.fils:          0 (default)
ipv4.method:                            shared
ipv4.dns:                               --
ipv4.dns-search:                        --
ipv4.dns-options:                       --
ipv4.dns-priority:                      0
ipv4.addresses:                         --
ipv4.gateway:                           --
ipv4.routes:                            --
ipv4.route-metric:                      -1
ipv4.route-table:                       0 (unspec)
ipv4.routing-rules:                     --
ipv4.ignore-auto-routes:                no
ipv4.ignore-auto-dns:                   no
ipv4.dhcp-client-id:                    --
ipv4.dhcp-iaid:                         --
ipv4.dhcp-timeout:                      0 (default)
ipv4.dhcp-send-hostname:                yes
ipv4.dhcp-hostname:                     --
ipv4.dhcp-fqdn:                         --
ipv4.dhcp-hostname-flags:               0x0 (none)
ipv4.never-default:                     no
ipv4.may-fail:                          yes
ipv4.required-timeout:                  -1 (default)
ipv4.dad-timeout:                       -1 (default)
ipv4.dhcp-vendor-class-identifier:      --
ipv4.dhcp-reject-servers:               --
ipv6.method:                            shared
ipv6.dns:                               --
ipv6.dns-search:                        --
ipv6.dns-options:                       --
ipv6.dns-priority:                      0
ipv6.addresses:                         --
ipv6.gateway:                           --
ipv6.routes:                            --
ipv6.route-metric:                      -1
ipv6.route-table:                       0 (unspec)
ipv6.routing-rules:                     --
ipv6.ignore-auto-routes:                no
ipv6.ignore-auto-dns:                   no
ipv6.never-default:                     no
ipv6.may-fail:                          yes
ipv6.required-timeout:                  -1 (default)
ipv6.ip6-privacy:                       -1 (unknown)
ipv6.addr-gen-mode:                     stable-privacy
ipv6.ra-timeout:                        0 (default)
ipv6.dhcp-duid:                         --
ipv6.dhcp-iaid:                         --
ipv6.dhcp-timeout:                      0 (default)
ipv6.dhcp-send-hostname:                yes
ipv6.dhcp-hostname:                     --
ipv6.dhcp-hostname-flags:               0x0 (none)
ipv6.token:                             --
proxy.method:                           none
proxy.browser-only:                     no
proxy.pac-url:                          --
proxy.pac-script:                       --
GENERAL.NAME:                           hhh123
GENERAL.UUID:                           3cfd839c-8c4f-4fa7-821b-a10c07ecbe14
GENERAL.DEVICES:                        wlan0
GENERAL.IP-IFACE:                       wlan0
GENERAL.STATE:                          activated
GENERAL.DEFAULT:                        no
GENERAL.DEFAULT6:                       no
GENERAL.SPEC-OBJECT:                    /org/freedesktop/NetworkManager/AccessPoint/21
GENERAL.VPN:                            no
GENERAL.DBUS-PATH:                      /org/freedesktop/NetworkManager/ActiveConnection/9
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/Settings/2
GENERAL.ZONE:                           --
GENERAL.MASTER-PATH:                    --
IP4.ADDRESS[1]:                         10.42.0.1/24
IP4.GATEWAY:                            --
IP4.ROUTE[1]:                           dst = 10.42.0.0/24, nh = 0.0.0.0, mt = 600
IP6.ADDRESS[1]:                         fe80::6e3a:fd09:20af:d75a/64
IP6.GATEWAY:                            --
IP6.ROUTE[1]:                           dst = fe80::/64, nh = ::, mt = 600

Your dump shows hardware and configuration information (good!) but is missing monitoring data.

One thing that might help is the output of cat /proc/net/wireless but other commands that monitor the quality of the link over time would be good. Have a look at iwevent.

Leap 15.4 is running fine without any kmps with this Realtek Chip…

So delete the two rtl8821ce packages…

Its not recommended to use this rtl8821ce package anymore, for Leap 15.3 use the rtw88 package build in my hardware Repo, for Leap 15.4 and higher use the packages delivered by the kernel.

Also the packages are a little bit outdated:

S | Name | Type | Version | Arch | Repository
—±----------------------±--------±------------------------------------------±-------±---------------
i+ | rtl8821ce-kmp-default | package | git20211120_k5.14.21_150400.13-lp154.2.40 | x86_64 | Hardware (15.4)
i+ | rtl8821ce-ueficert | package | git20211120-lp154.2.40 | x86_64 | Hardware (15.4)

Also delete the rtw88 packages…

Do you think:
The more the better?
rtw88, rtl8821ce and the rtw88 offered by the kernel-default…

do i need to remove this package?
rtw88-kmp-default - RTW88 supports 8822BE and 8822CE chips

Serg

Yes, rtw88 is build in the kernel, so no need to install external kmps for RTL8821CE…

My Laptop:

lsb-release -id && uname -a
Distributor ID: openSUSE
Description:    openSUSE Leap 15.4
Linux laptop 5.14.21-150400.24.18-default #1 SMP PREEMPT_DYNAMIC Thu Aug 4 14:17:48 UTC 2022 (e9f7bfc) x86_64 x86_64 x86_64 GNU/Linux

zypper se -si kmp
Loading repository data...
Reading installed packages...
No matching items found.

/sbin/lspci -nnk | grep -iA3 net
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
        Subsystem: Hewlett-Packard Company Device [103c:84a6]
        Kernel driver in use: r8169
        Kernel modules: r8169
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
        Subsystem: Hewlett-Packard Company Device [103c:831a]
        Kernel driver in use: rtw_8821ce
        Kernel modules: rtw88_8821ce

modinfo rtw88_8821ce | grep filename
filename:       /lib/modules/5.14.21-150400.24.18-default/kernel/drivers/net/wireless/realtek/rtw88/rtw88_8821ce.ko.zst

From the last, see the path…

My are build into the updates directory (here on Leap 15.3):

ls -al /lib/modules/5.19.9-lp153.2.g0312ea1-default/updates/
insgesamt 2928
drwxr-xr-x 1 root root      38 16. Sep 13:59 .
drwxr-xr-x 1 root root     544 16. Sep 22:17 ..
-rw-r--r-- 1 root root 1168596 16. Sep 12:54 r8168.ko.xz
-rw-r--r-- 1 root root 1824564 16. Sep 12:54 wl.ko.xz

Hi ! :slight_smile:
Here is what I saw in the repository:

USR> sudo zypper ref
[sudo] password for root: 
Retrieving repository 'Sauerland' metadata ..................................................................................[error]
Repository 'Sauerland' is invalid.
[Sauerland|https://download.opensuse.org/repositories/home:/Sauerland:/hardware/15.4/] Valid metadata not found at specified URL
History:
 - File './repodata/146b22fa913509880cbcae97c80dd74b7270bb723351c5184560c5380301ccbb-primary.xml.gz' not found on medium 'https://download.opensuse.org/repositories/home:/Sauerland:/hardware/15.4/'
 - Can't provide ./repodata/146b22fa913509880cbcae97c80dd74b7270bb723351c5184560c5380301ccbb-primary.xml.gz

Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'Sauerland' because of the above error.
Repository 'Packman Repository' is up to date.                                                                                      
Repository 'libdvdcss repository' is up to date.                                                                                    
Repository 'openSUSE-Leap-15.4-1' is up to date.                                                                                    
Retrieving repository 'Third-party packages used on openSUSE.org production machines (15.4)' metadata ........................[done]
Building repository 'Third-party packages used on openSUSE.org production machines (15.4)' cache .............................[done]
Repository 'Update repository of openSUSE Backports' is up to date.                                                                 
Repository 'Non-OSS Repository' is up to date.                                                                                      
Repository 'Main Repository' is up to date. 

about

sudo zypper ref
[sudo] password for root: 
Retrieving repository 'Sauerland' metadata ..................................................................................[error]
Repository 'Sauerland' is invalid.
[Sauerland|https://download.opensuse.org/repositories/home:/Sauerland:/hardware/15.4/] Valid metadata not found at specified URL
History:
 - File './repodata/146b22fa913509880cbcae97c80dd74b7270bb723351c5184560c5380301ccbb-primary.xml.gz' not found on medium 'https://download.opensuse.org/repositories/home:/Sauerland:/hardware/15.4/'
 - Can't provide ./repodata/146b22fa913509880cbcae97c80dd74b7270bb723351c5184560c5380301ccbb-primary.xml.gz

Now - all OK !
Thank you !

Repository 'Sauerland' is invalid.

That is an OBS Problem…

1 Like