Sometimes, KDE Plasma keeps turning off wifi during every startup. To solve this problem:
1. Type this command to the terminal:
sudo emacs \ /etc/systemd/system/unb-wifi.service
1.1 If you like, you can replace
emacs
with your favourite editor’s name in this command.
1.2 The goal of this command is to create the new text file
unb-wifi.service
.
2.1 Copy and paste the following code to the text file.
[Unit] Description=Unblock WiFi Devices [Service] Type=oneshot ExecStart=/usr/sbin/rfkill unblock wifi ExecStart=/usr/bin/nmcli radio wifi on ExecStop= RemainAfterExit=yes [Install] WantedBy=multi-user.target
2.2 Save the file and exit the editor.
.
3.1 Execute this command in bash terminal:
sudo systemctl enable \ unb-wifi.service
If you get any errors, try this instead:
sudo systemctl enable \ /etc/systemd/system/unb-wifi.service
3.2 Then, execute also:
sudo systemctl start \ unb-wifi.service
If you get any errors, try this instead:
sudo systemctl start \ /etc/systemd/system/unb-wifi.service
3.3 If you still get errors, restart your computer.
Check if the wifi is already on.
— Me@2023-11-05 12:56:05 PM
.
.
2023.11.06 Monday (c) All rights reserved by ACHK