The wireless network on my dell laptop goes away many a times when resuming from 'suspend'. Once I run 'sudo service network-manager restart', it starts to work.
I was wondering if there was a way where I could restart the network while resuming from suspend and only if the wireless network was not up! What would be the best way to be able to restart network without having to enter a password?
I don't want to manually do it by going over to network icon and then taking some mouse actions. I did rather have a command which I could set up as a shortcut. I tried creating a bash executable with content 'service network-manager restart' and setting setuid on the executable as well as giving root the ownership of it but that didn't work.
I have Ubuntu 14.04 Trusty OS.
ath9k
sometime got so messed up you have to remove/reload it... – Rmano Sep 29 '15 at 18:45