This one's a royal pain, eh?
I want to tell you about how I have worked around this bug. It is a workaround, not a fix.
- Create a script called /usr/local/bin/grab-network
#! /bin/bash
sudo killall -1 nm-applet sleep 1 nohup nm-applet < /dev/null > /dev/null 2>&1 & sleep 1
- chmod a+x /usr/local/bin/grab-network
- Run visudo, and add these lines:
Cmnd_Alias GRAB_NETWORK = /usr/bin/killall -1 nm-applet
and
# Allows people in grab_network group to restart wireless. %grab_network ALL = NOPASSWD: GRAB_NETWORK
- Create a new group in /etc/group called "grab_network".
- Add users who you want to be able to grab the network, to this group.
- On the desktop for each of these users, create a launcher to /usr/local/bin/grab-network.
As I said, a workaround, not a fix.
This one's a royal pain, eh?
I want to tell you about how I have worked around this bug. It is a workaround, not a fix.
- Create a script called /usr/local/ bin/grab- network
#! /bin/bash
sudo killall -1 nm-applet
sleep 1
nohup nm-applet < /dev/null > /dev/null 2>&1 &
sleep 1
- chmod a+x /usr/local/ bin/grab- network
- Run visudo, and add these lines:
Cmnd_Alias GRAB_NETWORK = /usr/bin/killall -1 nm-applet
and
# Allows people in grab_network group to restart wireless.
%grab_network ALL = NOPASSWD: GRAB_NETWORK
- Create a new group in /etc/group called "grab_network".
- Add users who you want to be able to grab the network, to this group.
- On the desktop for each of these users, create a launcher to /usr/local/ bin/grab- network.
As I said, a workaround, not a fix.