Trying to connect to network with LEAP authentication

Vincent Maurin vincent.maurin at smartcom.com
Thu Sep 21 12:03:27 EDT 2006


Hi,

It seems that an event cause disconnection

"Wireless event: cmd=0x8b06 len=8
Wireless event: cmd=0x8b1a len=16
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00
Added BSSID 00:00:00:00:00:00 into blacklist"

In the wext driver code

case SIOCGIWAP:
 wpa_printf(MSG_DEBUG, "Wireless event: new AP: "
   MACSTR,
   MAC2STR((u8 *) iwe->u.ap_addr.sa_data));
   if (memcmp(iwe->u.ap_addr.sa_data,
   "\x00\x00\x00\x00\x00\x00", ETH_ALEN) == 0
  ||
  memcmp(iwe->u.ap_addr.sa_data,
   "\x44\x44\x44\x44\x44\x44", ETH_ALEN) == 0)
{
	free(drv->assoc_req_ies);
	drv->assoc_req_ies = NULL;
	free(drv->assoc_resp_ies);
	drv->assoc_resp_ies = NULL;
	wpa_supplicant_event(ctx, EVENT_DISASSOC,NULL);

....

I doesn't know how wifi event works, but the problem is there. Maybe 
your card doesn't support all method, or have a "special" event 
implementation.
A radical solution (but not good), is to comment the part on SIOCGIWAP 
in driver_wext.c wpa_driver_wext_event_wireless

Regards

James J. Ramsey a écrit :
> --- Dan Williams <dcbw at redhat.com> wrote:
>
>
>   
>> What happens if you add "proto=WPA" there too?
>>     
>
> It doesn't make a difference.
>
>   
>> And
>> does your LEAP
>> network use "IEEE8021X" or "WPA-EAP" key management?
>>     
>
> Setting key_mgmt to WPA-EAP gets me the message "No
> suitable AP found."
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
>   




More information about the HostAP mailing list