Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wpa_supplicant issues
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
jyoung
Apprentice
Apprentice


Joined: 20 Mar 2007
Posts: 244

PostPosted: Tue Dec 06, 2011 2:34 am    Post subject: wpa_supplicant issues Reply with quote

Hi,

I'm trying to use wpa_supplicant to access wireless networks. I've tried on several different networks with similar results. After creating a wpa_supplicant.conf file (which I'm happy to post), I get the following error message:

EAPOL: Supplicant port status: Unauthorized

wpa_supplicant keeps attempting to connect and getting this result. I'm also happy to post all of it's output. I've read through the man pages but haven't found any hints as to what's going on. Does anyone know a good 'how to' resource for wpa_supplicant beginners? Something more in-depth than the gentoo wireless page (which is great, but covers this topic quite briefly and assumes no hang-ups occur).
Back to top
View user's profile Send private message
mr.sande
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2010
Posts: 82
Location: Norway

PostPosted: Tue Dec 06, 2011 2:06 pm    Post subject: Re: wpa_supplicant issues Reply with quote

jyoung wrote:

I'm trying to use wpa_supplicant to access wireless networks. I've tried on several different networks with similar results. After creating a wpa_supplicant.conf file (which I'm happy to post), I get the following error message:

EAPOL: Supplicant port status: Unauthorized


Please post your config, it really helps with troubleshooting :)

The EAPOL warning suggests that you might be trying to connect your wired NIC with wpa_supplicant.
Back to top
View user's profile Send private message
jyoung
Apprentice
Apprentice


Joined: 20 Mar 2007
Posts: 244

PostPosted: Sun Dec 11, 2011 5:03 pm    Post subject: Reply with quote

Here's my wpa_supplicant.conf file. I've removed the password and identity, but otherwise it's as I'm using it. I've tried variations on this setup based on what I've seen in the man pages.

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1
update_config=1
eapol_version=2

network={
ssid="psu"
scan_ssid=1
key_mgmt=WPA-EAP
identity="<identity>"
ca_cert="/etc/ssl/certs/Thawte_Premium_Server_CA.pem"
ssid="psu"
private_key_passwd="<password>"
proto="PAP"
}
Back to top
View user's profile Send private message
mr.sande
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2010
Posts: 82
Location: Norway

PostPosted: Sun Dec 11, 2011 8:15 pm    Post subject: Reply with quote

I think some of what you are missing is specifying which eap to use, somethink like eap=tls or whatever eap the network is using. The man page for wpa_supplicant.conf might help getting the syntax right.
Back to top
View user's profile Send private message
jyoung
Apprentice
Apprentice


Joined: 20 Mar 2007
Posts: 244

PostPosted: Thu Mar 22, 2012 4:52 am    Post subject: Reply with quote

Is there a way of determining which eap the network is using? The network that I've been trying to connect to appears from the literature available to be TTLS, but there must be a way to determine this on my own.
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