Answer the question
In order to leave comments, you need to log in
Wifi turns off. What should I do?
Lubuntu 15.04
Recently, I didn’t even notice after what exactly, but the same garbage happens:
it’s worth closing the laptop, and then opening it and wifi doesn’t automatically turn back on. You have to turn it off / on through the applet on the "taskbar" or with a button.
How to solve this problem?
Answer the question
In order to leave comments, you need to log in
original solution
1) make the /etc/pm/sleep.d/10_resume_wifi script executable Write in the
script:
#!/bin/sh
case "$1" in
hibernate|suspend) ;;
thaw|resume)
nmcli r wifi off && nmcli r wifi on ;;
esac
[Unit]
Description=Restart wifi after waking up
After=suspend.target
[Service]
Type=simple
ExecStart=-/etc/pm/sleep.d/10_resume_wifi
[Install]
WantedBy=suspend.target
sudo systemctl enable wifi-resume.service
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question