I have Ubuntu 16.04 LTS, my wifi was working perfectly but around one month ago every time after suspending the session my wifi doesn't work anymore, although the wifi-interface confirms that the connection has been established. The command
sudo service network-manager restart
works fine, but I must call it every time I get back from suspending, and it's kind of annoying.
I followed the instructions of wifi still sleeping when resume, but unfortunately the proposed solution fails in my case when calling
sudo systemctl enable wifi-resume.service
returning "command not found". How could I generate a script to fix this problem?
More info on my wireless can be found here: http://paste.ubuntu.com/24334731/