View previous topic :: View next topic |
Author |
Message |
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Mon Jun 13, 2011 6:02 pm Post subject: Little Quirk of wpa_supplicant's wpa_gui |
|
|
I've got a little netbook (an Acer Aspire One) on which I'm experimenting for the first time (for me) with wpa_supplicant. Networking (both wired and wireless) works: when properly configured, wpa_supplicant acquires and automatically reacquires my wireless network. When initially setting up the configured networks for wpa_supplicant, I launched the wpa_gui from a root console. I was able to scan for access points and then set up a secure connection to my access point with no issues at all.
Later, I launched wpa_gui from within KDE, not logged in as root. wpa_gui put up a polite message saying that it needed root privileges in order to access wpa_supplicant. First couple of launches, I provided the root credentials and it then worked perfectly.
Later on, in the course of further kernel tweaks, I rebooted, and now, when launching wpa_gui, I no longer get these polite messages and the wpa_gui fails to access wpa_supplicant. The exact message was, "Could not get status from wpa_supplicant". Launching from a root console still works and, although I haven't tried it yet, I'm assuming that modifying it's desktop menu entry to launch as root would work as well.
I'm in the process of looking into this but I though I'd ask if anyone else had encountered this minor flakiness. Thanks in advance for the help. For the record, I have net-wireless/wpa_supplicant-0.7.3-r2 installed.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
Hendrikus n00b
Joined: 06 Jun 2011 Posts: 6 Location: Zeeland
|
Posted: Fri Jun 17, 2011 12:46 pm Post subject: |
|
|
The time I worked with only wpa_supplicant, I could also only start the wpa_gui as root on console. When I started it as user I could start the wpa_gui but I got the same error messages and could not change its configuration (even not when I changed the permission in wpa_supplicant.conf ctrl_interface_group)
It got more worse later after some updates, specially to baselayout2, that wpa did not work at all anymore. The wpa_gui tried to reconnect every time and didn't come further (a kind of hang up).
I got so tired of the wpa and tried a mountain of solutions that did not solve the problem, that I switched over to wpa with wicd and just followed the guide from the handbook. It works now out of the box. _________________ Be Yourself
Love For You Too |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Jun 17, 2011 1:08 pm Post subject: |
|
|
Hmm. I'm using baselayout2 and I'm having no issues at all with wpa_supplicant itself: networking is rock solid, roaming happens automatically and works well. The only issue I have is this minor issue with login credentials.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
Hendrikus n00b
Joined: 06 Jun 2011 Posts: 6 Location: Zeeland
|
Posted: Fri Jun 17, 2011 6:22 pm Post subject: |
|
|
I tried somethings out on my other Gentoo installation (I have an extra one, for tweaking and trying things out...)
When I change the wpa_supplicant.conf with this edit:
Code: | ctrl_interface_group=wheel | then I can edit and (re)connect as user with the wpa_gui, so then it works.
When I change it to: Code: | ctrl_interface_group=0 | then I get also "Could not get status from wpa_supplicant"
Maybe this helps? (user must be in group wheel) _________________ Be Yourself
Love For You Too |
|
Back to top |
|
|
richardash1981 Tux's lil' helper
Joined: 08 Apr 2005 Posts: 94 Location: England
|
Posted: Sat Feb 09, 2013 5:00 pm Post subject: |
|
|
For anyone else hunting a solution to this, I've just found that I need the following lines in /etc/wpa_supplicant/wpa_supplicant.conf in order to make wpa_gui work (running as a user in the plugdev group, change to suit your needs)
Code: |
# needed for wpa_gui to work
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=plugdev
# needed to allow wpa_gui to alter the configuration
update_config=1
|
|
|
Back to top |
|
|
|