15

I tried to post to this thread Hardware wireless switch has no effect after suspend and 13.10 upgrade for if I understand their question I am having the same problem, but the answer option won't work for.

After suspend, the wireless is disconnected and the only way to get it to reinitialize/be recognized is to do a full restart.

At first I thought it was my gnome-shell (for lock screen disappeared there with 13.10), but when I switched to the default Ubuntu it's still doing it and it's kinda driving me nuts for I have to reopen all my files and browsers/tabs/windows every time. I don't know how to show the terminal stuff the above asker shows, but it sounds like the same issue and it only started with 13.10 upgrade a few days ago.

Any help would be much appreciated!!! -- Thanks so much, ser.

ser
  • 151
  • 1
  • 1
  • 3

4 Answers4

13

I don't know about a official fix of this problem, but

sudo service network-manager restart

works in the meantime.

Seth
  • 59,332
bof
  • 131
12

Bof's answer solves the problem in a one off fashion, but these steps solved the longterm issue for me:

sudo touch /etc/pm/sleep.d/wakenet.sh

sudo chmod +x /etc/pm/sleep.d/wakenet.sh

sudo gedit /etc/pm/sleep.d/wakenet.sh

Insert the following lines:

#!/bin/bash
case "$1" in
thaw|resume)
nmcli nm sleep false
;;
*)
;;
esac
exit $?

And then save.

Solution found here

mrm
  • 452
0

I was having this same problem on Ubuntu 14.04 and after a couple of days of trying to fix it, I found a file inside /etc/pm/sleep.d/ which is called 99dw1704.
This file handles disabling and enabling the wl module on hibernate and suspend. All I had to do to fix it is to run: sudo chmod -x /etc/pm/sleep.d/99dw1704 and everything ran fine after this.

0

Run sudo killall wpa_supplicant (found in the Ubuntu bugtracker).

Jens Erat
  • 5,131
  • 7
  • 33
  • 37