You are not logged in.

#1 2010-08-19 00:42:18

drak10687
Member
Registered: 2010-08-18
Posts: 3

WPA: failed to get master session key from EAPOL state machines

Hi,
Just installed Arch on my Lenovo t400; don't have much running on it, but I need to connect to a WPA network to get internet so I don't have download packages through my Ubuntu install.

As I said, everything is pretty much vanilla, though I needed to install the "wireless_tools" package to get iwconfig, etc. first.

lspci says I have the Atheros AR5001 wireless adapter.

I can successfully "# iwlist wlan0 scan" for wireless networks and connect via ethernet.

However, when I follow the wpa_supplicant instructions found here for connecting to my desired WPA, if I execute "wpa_supplicant -iwlan0 –c /etc/wpa_supplicant.conf", eventually I get a "WPA: failed to get master session key from EAPOL state machines" message, then wlan0 tries to connect again and everything repeats.  Doing this in verbose mode (-dd) shows that it associated with the AP, starts "4way handshaking" and then after that gives me that error message, disconnects and starts over.

The only thing I can think of is trying diff drivers/firmware (the only ones I have available in wpa_supplicant now are "wext", "nl80211". and "wired")... but this doesn't make much sense since I can scan for networks, meaning that I'm able to interface with the adapter and thus have working drivers...

any suggestions?

Thank you in advance.

Last edited by drak10687 (2010-08-19 16:55:07)

Offline

#2 2010-08-19 15:38:52

ah
Member
Registered: 2010-08-15
Posts: 22

Re: WPA: failed to get master session key from EAPOL state machines

Have you tried using wpa_passphrase to generate your config?

Offline

#3 2010-08-19 17:12:37

drak10687
Member
Registered: 2010-08-18
Posts: 3

Re: WPA: failed to get master session key from EAPOL state machines

Sorry, just realized that the link I posted to the wpa_supplicant.conf file was broken... should be fixed now.

I don't think I can just generate the config file, because its not a simple WPA network.. there are several other options that must be set.  But I do think that its something wrong with the wpa_supplicant.conf file.  Because here is how they suggest to write it:

ctrl_interface=/var/run/wpa_supplicant
ap_scan=1

network={
ssid="wpa.mcgill.ca"
scan_ssid=1
key_mgmt=WPA-EAP
auth_alg=OPEN
eap=PEAP
identity=""
password=""
}

found here: http://knowledgebase.mcgill.ca/al/12/14/1925.html#wpa

and here are the options they specify when connecting using ubuntu's network manager:
ubuntu_wireless3.png

According to the sample wpa_supplicant.conf, my config file should look more like this:

network={
    ssid="example"
    key_mgmt=WPA-EAP
    eap=PEAP
    identity="user@example.com"
    password="foobar"
    ca_cert="/etc/cert/ca.pem"
    phase1="peaplabel=1"
    phase2="auth=MSCHAPV2"
    priority=10
}

Offline

#4 2010-08-20 20:45:46

drak10687
Member
Registered: 2010-08-18
Posts: 3

Re: WPA: failed to get master session key from EAPOL state machines

Still getting the same error, seemingly no matter what wpa_supplicant.conf settings I try...  I guess I'll just try installing some kind of network manager...

Offline

#5 2011-03-30 17:22:32

ApotheoZ
Member
Registered: 2009-08-10
Posts: 40

Re: WPA: failed to get master session key from EAPOL state machines

I've got the same problem, and so far, I didn't find a solution ;<

Offline

#6 2011-03-30 17:56:39

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 837

Re: WPA: failed to get master session key from EAPOL state machines

Try to simplify your wpa_supplicant.conf.  See if this connects for you:

network={
    ssid="your essid"
    psk="your password"
}

I laugh, yet the joke is on me

Offline

#7 2011-05-05 08:33:10

ApotheoZ
Member
Registered: 2009-08-10
Posts: 40

Re: WPA: failed to get master session key from EAPOL state machines

I doesn't.

Offline

Board footer

Powered by FluxBB