View Full Version : how to reconnect to wireless as non root - pclinuxos
coolbeing
02-25-2006, 12:06 AM
I am a noob. please consider it.
How do I reconnect to the wireless if the signal is dropped? Wlassistant does not allow to use itself if the root password is not entered and that seems to be the only way to reconnect.
So how would I do that? Or how SPECIFICALY do I make it so that a non root suer can use Wlassistant fully without restrictions.
Please help .
troymc
02-25-2006, 01:36 AM
Here's one suggestion. This will allow any user added to the group to run wlassistant with root permissions:
Make sure you have 'sudo' installed.
type sudo
do you get a usage message or file not found?
If you get file not found then you probably need to install sudo.
Create a new group: 'wlan' or similiar.
As root, type
groupadd wlan
As root, add this line to the bottom of your /etc/sudoers file:
%wlan ALL=NOPASSWD: ${PATH}/wlassistant
Change the ${PATH} to be the correct path to wlassistant on your system.
If you don't know the path type:
which wlassistant
As root, add any users you want to have wlassistant permissions to the 'wlan' group using the GUI tool of your choice, or finding the wlan entry in the /etc/group file and adding the users name to the end of the line:
wlan:x:1012:user1
troymc
make sure wireless is added to your bootscript so then it starts automatically for all users.
beaviskob1
02-25-2006, 08:25 PM
I believe you can set it that way in pclinuxos control center / networking /create a new network interface it has a spot to check so any user can activate connection
vBulletin® v3.6.5, Copyright ©2000-2009, Jelsoft Enterprises Ltd.