I just made a fresh install of EOS KDE and my WiFi is disconnecting whenever I open the lid of my laptop. Even if I select “Do nothing” in energy saving settings, it still happens. Please help.
If you close the lid then the Wifi is shutting down so when you open it it’s not working. Maybe a power setting on the Wifi card itself possibly but there is also settings for lid close maybe too.
Uninstalling the r8168 package is best as you don’t need it if your Ethernet works on the r8169 kernel module.
Your WiFi is Intel 7265 chip using iwlwifi module.
The question is your laptop in suspend mode or hibernation when you open the lid and it’s not connecting or is it powered off.
I see in the log it looks like it’s turning off and not turning back on when lid is opened?
Nov 24 17:31:01 sintan-laptop wpa_supplicant[684]: wlan0: CTRL-EVENT-DISCONNECTED bssid=98:52:4a:4a:c4:6a reason=3 locally_generated=1
Nov 24 17:31:01 sintan-laptop NetworkManager[397]: <info> [1637796661.5356] manager: rfkill: Wi-Fi now disabled by radio killswitch
Nov 24 17:31:01 sintan-laptop NetworkManager[397]: <info> [1637796661.5359] device (wlan0): state change: activated -> unavailable (reason 'none', sys-iface-state: 'managed')
Nov 24 17:31:01 sintan-laptop wpa_supplicant[684]: rfkill: WLAN soft blocked
Nov 24 17:31:01 sintan-laptop wpa_supplicant[684]: rfkill: WLAN soft blocked
Nov 24 17:31:01 sintan-laptop NetworkManager[397]: <info> [1637796661.5661] dhcp4 (wlan0): canceled DHCP transaction
Nov 24 17:31:01 sintan-laptop NetworkManager[397]: <info> [1637796661.5662] dhcp4 (wlan0): state changed bound -> terminated
Nov 24 17:31:01 sintan-laptop NetworkManager[397]: <info> [1637796661.5670] dhcp6 (wlan0): canceled DHCP transaction
Nov 24 17:31:01 sintan-laptop NetworkManager[397]: <info> [1637796661.5670] dhcp6 (wlan0): state changed bound -> terminated
Nov 24 17:31:01 sintan-laptop NetworkManager[397]: <info> [1637796661.5704] device (wlan0): set-hw-addr: set MAC address to EA:3D:B4:A5:E3:A6 (scanning)
Nov 24 17:31:01 sintan-laptop NetworkManager[397]: <info> [1637796661.5778] manager: NetworkManager state is now DISCONNECTED
Nov 24 17:31:01 sintan-laptop wpa_supplicant[684]: nl80211: deinit ifname=p2p-dev-wlan0 disabled_11b_rates=0
Nov 24 17:31:01 sintan-laptop NetworkManager[397]: <info> [1637796661.6651] device (p2p-dev-wlan0): state change: disconnected -> unavailable (reason 'supplicant-failed', sys-iface-state: 'managed')
Nov 24 17:31:01 sintan-laptop wpa_supplicant[684]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Nov 24 17:31:01 sintan-laptop systemd-logind[398]: Lid opened.
Nov 24 17:31:01 sintan-laptop kded5[1002]: plasma-nm: Network connectivity limited, scheduling notification
Nov 24 17:31:04 sintan-laptop tlp[5253]: Warning: systemd-rfkill.service is not masked, radio device switching may not work as configured.
Nov 24 17:31:04 sintan-laptop tlp[5253]: >>> Invoke 'systemctl mask systemd-rfkill.service' to correct this.
Actually, the WiFi is on when the lid is closed (I verified by pinging the device), it’s only turning off when the lid is opened.
I’ve already uninstalled the r8168 package as @joekamprad suggested.
It’s none of them. I’ve set it up to only lock the screen, and what it’s doing, except for this bug. Even if I choose “do nothing” in the KDE settings, it still happens.
Very strange? I have an HP and running KDE no issues. I see the log shows Bluetooth is disabled? Is it turned off or doesn’t work? Not installed or set up?
Now that you mention it, bluetooth is not working. Which is weird, as it worked flawlessly in the Manjaro KDE that I used before. First of all, bluedevil wasn’t installed, which is weird. I installed it, but still bluetooth won’t show up in the system tray.
I can’t connect devices as well. It shows “Setup has failed” when trying to pair. But the entry gets added. But when I try to connect, it shows br-connection-profile-unavailable.
Edit2 : It started working after doing this. sudo pacman -S pulseaudio-alsa pulseaudio-bluetooth bluez-utils bluez
And the system tray thing was due to me making the latte-dock profile read-only.
Yes, it started working after installing some packages as I mentioned in my previous post after edit. But the WiFi closing while opening lid is still there. I should mention though that it magically disappears in some boots, and stays that way as long as I hibernate. But it comes back after reboot.
Failed to enable unit: Unit file /etc/systemd/system/systemd-rfkill.socket is masked.
Then after manually unmasking and doing it again, I get this :
The unit files have no installation config (WantedBy=, RequiredBy=, Also=,
Alias= settings in the [Install] section, and DefaultInstance= for template
units). This means they are not meant to be enabled using systemctl.
Possible reasons for having this kind of units are:
• A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
• A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
• A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
• In case of template units, the unit is meant to be enabled with some
instance name specified.
No, it was masked by default (since I’ve never done anything with it before) and the problem is still there.
That was a log from a boot in which there was no closing of WiFi with lid open. As I mentioned before, it doesn’t happen in some boots. I posted it here because I thought maybe by comparing the two logs someone experienced in these things might be able to figure out the issue.
Edit : One thing I’ve noticed is that (purely anecdotal, might not be any correlation) after a kernel update everything is fine for a while. But after 4-5 boots this issue starts again.
This might be worth a try, not sure if it will help your problem but if its during a boot up then it might work. During boot up with the lid closed laptops may go into suspend mode before logging in.