Comment 110 for bug 1286552

Revision history for this message
Stefan Brunecker (stethion) wrote :

> nicolas kleinklaus (nknico) wrote on 2015-07-01: #109
> Solution is :
>
> 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
> pkill -f wpa_supplicant
> ;;
> *)
> ;;
> esac
> exit $?
>
> And then save and exit.

Didn't help for me. However calling
    sudo modprobe -rf r8712u
before suspension and
    sudo modprobe r8712u
on wakeup helped.