<div><span><div><div>Hello,<br><br>I've got persistent problems with using
wpa_supplicant to connect to an AP with WPA authentication. I did an
extensive search on mailing lists and Internet in general and didn't
find any solution, although I've seen a lot of reports of similar
problems.
<br><br>/etc/wpa_supplicant.conf contents is somewhat like this:<br><br># the following 3 lines were changed and this configuration was the most stable<br>eapol_version=1<br>ap_scan=2<br>fast_reauth=2<br>network={<br>&nbsp;&nbsp;&nbsp; ssid=&quot;somessid&quot;
<br>&nbsp;&nbsp;&nbsp; scan_ssid=1<br>&nbsp;&nbsp;&nbsp; key_mgmt=WPA-PSK<br>&nbsp;&nbsp;&nbsp; proto=WPA<br>&nbsp;&nbsp;&nbsp; pairwise=TKIP<br>&nbsp;&nbsp;&nbsp; group=TKIP<br>&nbsp;&nbsp;&nbsp; psk=&quot;somepassword&quot;<br>}<br><br>You can find the wpa_supplicant log here: <a href="http://mediacast.sun.com/share/tarasov/supplicant.log.gz">
http://mediacast.sun.com/share/tarasov/supplicant.log.gz</a><br>I tried to send it as an attach but my messeges never got through some filter on the way to the mailing list.<br><br>The
access point is Linksys WRT54G. The WiFi card is Intel IPW2200. I tried
using both wpa_supplicant 0.4.8 and 0.5.4. This log is from
0.5.4, it shows both the unsuccessful attempts to connect to the AP and
a successful attempt, which disconnected mysteriously at last. It seems
that most often situation is that after wpa_supplicant started
ASSOCIATING it receives the 0x8b15 event with AP address
00:00:00:00:00:00, and thus it simply blacklists the AP.
<br><br>You might be interested looking at the following lines more thoroughly:<br>lines
840-965: wpa_supplicant started authenticating, but suddenly received
the 0x8b15 during the 4WAY_HANDSHAKE, which it considered to be the
sign of a wrong password, thus it got disconnected.
<br>lines 1142-1261: same as above, but it passed the 4WAY_HANDSHAKE
and received the 0x8b15 event with zero AP address during the
GROUP_HANDSHAKE.<br>lines 1855-2035: successful connection, I was able
to work for some time and everything worked fine until it received the
0x8b15 event with zero AP address again.
<br><br>I tried hacking the sources in some ways but it didn't really help.<br><br>I
tried connecting to this access point from Windows (using the
application from the Intel driver pack, without wpa_supplicant) and the
connection was very stable and it didn't drop (and it connected almost
immediately). While I was recording the attached log another notebook
was connected to the same access point and had a stable connection
(again, from Windows). No changes were made to the access point
configuration during the log recording, so no side effects could be
introduced this way.
<br><br>I would appreciate any help on this, I can give more
information and try recording more logs (but they all are pretty
similar to the one I attached anyway), or try patching the source if
you direct me.<br><br></div></div></span></div>-- <br>Best regards,<br>Ivan Tarasov