LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   wpa_gui, could not get status from wpa_supplicant (https://www.linuxquestions.org/questions/slackware-14/wpa_gui-could-not-get-status-from-wpa_supplicant-850609/)

tmkd 12-16-2010 03:46 AM

wpa_gui, could not get status from wpa_supplicant
 
Hi. I cannot use wpa_gui, because when i open it i see error like in topic:
Could not get status from wpa_supplicant'
I don't have idea how can i fix this? Can you help?

Cultist 12-16-2010 04:06 AM

open a terminal and switch to root, then type
Code:

iwconfig
and in the output, post what it says beside wlan0

tmkd 12-16-2010 04:18 AM

I will try it at college campus because there are appriopriate wifi networks. Then i will post this to you.

rfernandez 12-16-2010 09:49 AM

Quote:

Originally Posted by tmkd (Post 4193277)
Hi. I cannot use wpa_gui, because when i open it i see error like in topic:
Could not get status from wpa_supplicant'
I don't have idea how can i fix this? Can you help?

In order for you to get wpa_supplicant status, you'll need root privileges. To do this, you either use a su gui interface (such as kdesu), like this

Code:

$ kdesu wpa_gui
or you can change wpa_gui to use suid

Code:

# chmod 4755 /usr/bin/wpa_gui
$ wpa_gui

both way will let you get wpa_supplicant status, but in the first one, being a more secure, will require you to enter the root password everytime, while the second is a more direct approach, but insecure. I guess.

tmkd 12-17-2010 12:42 AM

I ran wpa_gui with root priviledges.

tmkd 12-17-2010 03:17 AM

While connecting to college campus network via wpa_supplicant i see this problem. What should i do?
Code:


root@tmkd:/home/tomek# wpa_supplicant -D wext -i wlan0 -c /home/tomek/wpa_supplicant.conf
CTRL-EVENT-SCAN-RESULTS
Trying to associate with 00:19:07:8e:d0:91 (SSID='eduroam' freq=2427 MHz)
Associated with 00:19:07:8e:d0:91
CTRL-EVENT-EAP-STARTED EAP authentication started
OpenSSL: pending error: error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error
OpenSSL: pending error: error:140C800D:SSL routines:SSL_use_certificate_file:ASN1 lib
OpenSSL: pending error: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
OpenSSL: pending error: error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error
OpenSSL: pending error: error:0D09A00D:asn1 encoding routines:d2i_PrivateKey:ASN1 lib
OpenSSL: pending error: error:140CB00D:SSL routines:SSL_use_PrivateKey_file:ASN1 lib
OpenSSL: pending error: error:0906A065:PEM routines:PEM_do_header:bad decrypt
OpenSSL: pending error: error:140CB009:SSL routines:SSL_use_PrivateKey_file:PEM lib
OpenSSL: tls_read_pkcs12 - Failed to use PKCS#12 file error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
OpenSSL: pending error: error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error
OpenSSL: Failed to load private key
TLS: Failed to load private key '/home/tomek/Dudek_Tomasz.pem'
TLS: Failed to set TLS connection parameters
EAP-TLS: Failed to initialize SSL.
EAP: Failed to initialize EAP method: vendor 0 method 13 (TLS)
CTRL-EVENT-EAP-FAILURE EAP authentication failed



All times are GMT -5. The time now is 03:30 PM.