You are not logged in.

#1 2022-09-12 12:28:48

ChalaoAdda
Member
Registered: 2022-08-24
Posts: 17

WiFi Disconnects Frequently

Hello,

My wireless connection gets disconnected quite often. Then I have to restart my HP laptop. I am running KDE on Arch. Here are some information.

wlan0     IEEE 802.11  ESSID:"JOYDEEP_NETWORK_5G_EXT"  
          Mode:Managed  Frequency:5.24 GHz  Access Point: 78:98:E8:4F:22:D6   
          Bit Rate=234 Mb/s   Tx-Power=23 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=70/70  Signal level=0 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:1558   Missed beacon:0
0000:01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
	DeviceName: Realtek Wireless LAN + BT
	Subsystem: Hewlett-Packard Company Device [103c:884d]
	Flags: bus master, fast devsel, latency 0, IRQ 155
	I/O ports at 3000 [size=256]
	Memory at 84000000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: rtw_8821ce
	Kernel modules: rtw88_8821ce, wl

Full lspci

journalctl

bluetooth.service                        | bluetooth.target.wants
choose-mirror.service                    | multi-user.target.wants
cloud-config.service                     | cloud-init.target.wants
cloud-final.service                      | cloud-init.target.wants
cloud-init-local.service                 | cloud-init.target.wants
cloud-init.service                       | cloud-init.target.wants
cups.path                                | multi-user.target.wants
cups.service                             | printer.target.wants
cups.socket                              | sockets.target.wants
dbus-org.bluez.service                   | system
dbus-org.freedesktop.network1.service    | system
dbus-org.freedesktop.nm-dispatcher.service | system
dbus-org.freedesktop.resolve1.service    | system
dbus-org.freedesktop.timesync1.service   | system
default.target                           | system
display-manager.service                  | system
gcr-ssh-agent.socket                     | sockets.target.wants
getty@tty1.service                       | getty.target.wants
iwd.service                              | multi-user.target.wants
livecd-alsa-unmuter.service              | sound.target.wants
livecd-talk.service                      | multi-user.target.wants
NetworkManager-wait-online.service       | network-online.target.wants
NetworkManager.service                   | multi-user.target.wants
p11-kit-server.socket                    | sockets.target.wants
pacman-init.service                      | multi-user.target.wants
pamac-cleancache.timer                   | timers.target.wants
pipewire-media-session.service           | pipewire.service.wants
pipewire-session-manager.service         | user
pipewire.socket                          | sockets.target.wants
pulseaudio.socket                        | sockets.target.wants
reflector.service                        | multi-user.target.wants
remote-fs.target                         | multi-user.target.wants
sshd.service                             | multi-user.target.wants
systemd-networkd-wait-online.service     | network-online.target.wants
systemd-networkd.service                 | multi-user.target.wants
systemd-networkd.socket                  | sockets.target.wants
systemd-resolved.service                 | multi-user.target.wants
systemd-timesyncd.service                | sysinit.target.wants
vboxservice.service                      | multi-user.target.wants
xdg-user-dirs-update.service             | default.target.wants

Please help.

Thanks.

Offline

#2 2022-09-12 13:59:16

seth
Member
Registered: 2012-09-03
Posts: 31,978

Re: WiFi Disconnects Frequently

Thabks for posting the services.
You've networkmanager, systemd-networkd and iwd enabled at the same time and they'll knock out each other.
If you want to use networkmanager, disable iwd and systemd-networkd. You can use iwd as backend for NM, but must let the latter handle the former: https://wiki.archlinux.org/title/Networ … Fi_backend
If you want to use systemd-network, disable NM and make sure iwd does NOT use https://wiki.archlinux.org/title/Iwd#En … figuration

If the issues remain, post an udpated journal.

Offline

#3 2022-09-12 15:03:31

ChalaoAdda
Member
Registered: 2022-08-24
Posts: 17

Re: WiFi Disconnects Frequently

I disabled systemd-networkd. Now,

1. Create /etc/NetworkManager/conf.d/wifi_backend.conf

[device]
wifi.backend=iwd

2. Disable iwd service

Will that do?

Thanks.

Offline

#4 2022-09-12 15:16:25

seth
Member
Registered: 2012-09-03
Posts: 31,978

Re: WiFi Disconnects Frequently

Should™ - "will" see (you need to reboot or at least stop systemd-networkd and restart NM, though)
Also make sure you disabled service and socket.

Otherwise

seth wrote:

If the issues remain, post an udpated journal.

Offline

Board footer

Powered by FluxBB