The issue that I have happens quite often. Whenever I boot into my laptop, it is quite possible that I will not be able to connect to any Wi-Fi networks, nor see them.
sudo systemctl status NetworkManager
produces the following:
● NetworkManager.service - Network Manager
Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; preset: disabled)
Active: active (running) since Mon 2024-09-02 00:19:48 +03; 19min ago
Invocation: eac2b40b7be24cb8b946d8cae6d55948
Docs: man:NetworkManager(8)
Main PID: 2037 (NetworkManager)
Tasks: 4 (limit: 19002)
Memory: 6.3M (peak: 7.3M)
CPU: 4.619s
CGroup: /system.slice/NetworkManager.service
└─2037 /usr/bin/NetworkManager --no-daemon
Sep 02 00:20:39 dimitri-flex NetworkManager[2037]: <info> [1725225639.8580] device (enp0s20f0u4c4i2): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
Sep 02 00:20:39 dimitri-flex NetworkManager[2037]: <info> [1725225639.8584] device (enp0s20f0u4c4i2): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
Sep 02 00:20:39 dimitri-flex NetworkManager[2037]: <info> [1725225639.8593] manager: NetworkManager state is now CONNECTED_SITE
Sep 02 00:20:39 dimitri-flex NetworkManager[2037]: <info> [1725225639.8602] device (enp0s20f0u4c4i2): Activation: successful, device activated.
Sep 02 00:20:40 dimitri-flex NetworkManager[2037]: <info> [1725225640.0349] manager: NetworkManager state is now CONNECTED_GLOBAL
Sep 02 00:20:47 dimitri-flex NetworkManager[2037]: <warn> [1725225647.9597] device (wlp7s0): re-acquiring supplicant interface (#4).
Sep 02 00:20:52 dimitri-flex NetworkManager[2037]: <error> [1725225652.3364] device (wlp7s0): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Sep 02 00:21:03 dimitri-flex NetworkManager[2037]: <warn> [1725225663.3691] device (wlp7s0): re-acquiring supplicant interface (#5).
Sep 02 00:21:07 dimitri-flex NetworkManager[2037]: <error> [1725225667.7476] device (wlp7s0): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Sep 02 00:21:07 dimitri-flex NetworkManager[2037]: <info> [1725225667.7477] device (wlp7s0): supplicant interface keeps failing, giving up
Relevant lspci
output:
07:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)
And journalctl -f -t NetworkManager
provides this information:
Sep 02 00:20:39 dimitri-flex NetworkManager[2037]: <info> [1725225639.8580] device (enp0s20f0u4c4i2): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
Sep 02 00:20:39 dimitri-flex NetworkManager[2037]: <info> [1725225639.8584] device (enp0s20f0u4c4i2): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
Sep 02 00:20:39 dimitri-flex NetworkManager[2037]: <info> [1725225639.8593] manager: NetworkManager state is now CONNECTED_SITE
Sep 02 00:20:39 dimitri-flex NetworkManager[2037]: <info> [1725225639.8602] device (enp0s20f0u4c4i2): Activation: successful, device activated.
Sep 02 00:20:40 dimitri-flex NetworkManager[2037]: <info> [1725225640.0349] manager: NetworkManager state is now CONNECTED_GLOBAL
Sep 02 00:20:47 dimitri-flex NetworkManager[2037]: <warn> [1725225647.9597] device (wlp7s0): re-acquiring supplicant interface (#4).
Sep 02 00:20:52 dimitri-flex NetworkManager[2037]: <error> [1725225652.3364] device (wlp7s0): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Sep 02 00:21:03 dimitri-flex NetworkManager[2037]: <warn> [1725225663.3691] device (wlp7s0): re-acquiring supplicant interface (#5).
Sep 02 00:21:07 dimitri-flex NetworkManager[2037]: <error> [1725225667.7476] device (wlp7s0): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Sep 02 00:21:07 dimitri-flex NetworkManager[2037]: <info> [1725225667.7477] device (wlp7s0): supplicant interface keeps failing, giving up
What can I do to fix it? I’ve tried to follow this article: RTL8822BE Wi-Fi not showing - #3 by Lila-Kuh but it did not help at all.