Thursday, March 5, 2015

Linux Mint 17 - WIFI disabled upon wakeup

When I put my laptop to sleep and wake it up I find that WIFI is disabled in network manager. Unless I restart the laptop it doesn't get enabled. An issue similar to this has been discussed here http://forums.linuxmint.com/viewtopic.php?f=53&t=184520. I believe Mint has inherited this issue from Ubuntu since similar issues are discussed in the Ubuntu forum as well.

Based on the discussion on that thread I did the following workaround. Put the following script in /etc/pm/sleep.d and make it executable. I have name the script as "wakeupnet.sh".

#!/bin/bash
case "$1" in
    thaw|resume)
        service network-manager restart
        ;;
    *)
        ;;
esac
exit $?



2 comments:

essay papers for sale said...

Its so helpful for all the programmers who want to disable their WiFi by sending just single command to the system via this programming.I like the creative mind behind this program.

jaanahnachreiner said...

One of the investigations on the problem resulted in creating the roulette wheel as we know it right now. However, the nice irony is 블랙잭 that if Pascal’s endless motion machine functioned, the table recreation of roulette could be impossible to play. This is outcome of|as a end result of} the wheel could spin indefinitely, and the ball would never cease shifting. At current, overwhelming majority of} respected casinos have positioned plastic security shields round their roulette wheels, a measure which put to a halt any ball tripping methods employed by gamblers. However, at unlawful casinos and institutions exterior of Nevada and New Jersey, ball tripping methods are still put to action on rigged wheels.