Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] NetworkManager: permission problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
madnbri
n00b
n00b


Joined: 10 Apr 2011
Posts: 69

PostPosted: Sat Sep 08, 2012 9:24 am    Post subject: [solved] NetworkManager: permission problem Reply with quote

Hi,
I have to set up my graphical NetworkManager to detect automatically available WIFI-s.
It works fine as root, but doesn't work as normal user.
wpa_gui looks like this: http://imgur.com/a/l7CAj.
Does somebody know how can I set it up?
Thanks in advance.
Regards,
madnbri


Last edited by madnbri on Sun Sep 09, 2012 4:58 am; edited 1 time in total
Back to top
View user's profile Send private message
roravun
Tux's lil' helper
Tux's lil' helper


Joined: 05 Sep 2012
Posts: 82

PostPosted: Sat Sep 08, 2012 8:30 pm    Post subject: Reply with quote

In manpage of wpa_supplicant.conf, you can find a line

Quote:
# allow frontend (e.g., wpa_cli) to be used by all users in 'wheel' group
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel


Once you tune ctrl_interface, you should be able to use wpa_gui as normal user.

That said, I believe you are confused as to the usage of wpa_supplicant and NetworkManager. NetworkManager, which uses wpa_supplicant, autogenerates wpa_supplicant.conf, therefore it will override any changes you made to that file. The user of NetworkManager is supposed to use nm-applet to manage wifi networks. If you want to use wpa_gui, disable NetworkManager service, and put together your own wpa_supplicant.conf, using the option I pointed above.

PS
It is a good habit to read man pages before you ask on the forums.
Back to top
View user's profile Send private message
madnbri
n00b
n00b


Joined: 10 Apr 2011
Posts: 69

PostPosted: Sun Sep 09, 2012 4:58 am    Post subject: Reply with quote

It is changed in current package, but...
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0

was in /etc/wpa_supplicant/wpa_supplicant.conf
Code:
ctrl_interface_group=wheel
change is enabled, so I done and now it works fine. Just change this line and not anymore.

PS: Thanks for help, but when I ask here, I not found solution... I know man and google (where gentoo forum pages are preferred).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum