V
V
Vladislav2015-06-09 17:31:06
linux
Vladislav, 2015-06-09 17:31:06

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

2 answer(s)
V
Vladislav, 2015-09-12
@Hateman31

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

2) make the file /lib/systemd/system-sleep/root-resume.service executable
In the file write:
[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

3) executesudo systemctl enable wifi-resume.service

V
Valentine, 2015-06-09
@vvpoloskin

Indeed, why deal with existing functionality? Better your crutch and bike!
In fact, I suspect that some Network Manager is buggy, which can be disabled for
suspend mode :

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question