Madwifi, wpa_supplicant and WE-17

Nana Kofi Asumadu lilnana at netspeed.com.au
Tue Sep 14 04:48:57 EDT 2004


Hi Jouni

I am trying to get Madwifi driver to work with WE-17 merged into
Andrew's mm kernel-2.6 patches.  The driver works fine with WEP but not
with WPA.
This is what I get when I run wpa_supplicant in debug mode

/usr/sbin/wpa_supplicant -iath0 -c/etc/wpa_supplicant.conf -dd
Configuration file '/etc/wpa_supplicant.conf' ->
'/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ap_scan=1
Line: 172 - start of a new network block
SSID - hexdump_ascii(len=16):
     4c 69 6c 6e 61 6e 61 5f 57 69 72 65 6c 65 73 73   Wireless
BSSID - hexdump(len=6): 00 09 5b ea 06 b8
proto: 0x1
key_mgmt: 0x2
pairwise: 0x18
group: 0x1e
PSK - hexdump(len=32): 7e 7b 85 77 26 36 fa 85 2c 48 4d 5d 04 66 a0 ef
0a 2d f8 43 8a 9b 7e 4d a1 ec ae d3 04 7a 6b 98
priority=2
Priority group 2
   id=0 ssid='Wireless'
Own MAC address: 00:09:5b:da:fc:87
wpa_driver_madwifi_set_wpa: enabled=1
wpa_driver_madwifi_del_key: keyidx=0
wpa_driver_madwifi_del_key: keyidx=1
wpa_driver_madwifi_del_key: keyidx=2
wpa_driver_madwifi_del_key: keyidx=3
wpa_driver_madwifi_set_countermeasures: enabled=0
wpa_driver_madwifi_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Starting AP scan (broadcast SSID)
Wireless event: cmd=0x8b1a len=12
Wireless event: cmd=0x8b19 len=12
Received 413 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 2
0: 00:09:5b:eb:07:f9 ssid='Wireless' wpa_ie_len=24 rsn_ie_len=0
   selected
Trying to associate with 00:09:5b:eb:07:f9 (SSID='Wireless' freq=2437
MHz)
Cancelling scan request
WPA: using IEEE 802.11i/D3.0
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Own WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02
01 00 00 50 f2 02 01 00 00 50 f2 02
wpa_driver_madwifi_del_key: keyidx=0
wpa_driver_madwifi_del_key: keyidx=1
wpa_driver_madwifi_del_key: keyidx=2
wpa_driver_madwifi_del_key: keyidx=3
wpa_driver_madwifi_del_key: keyidx=0
wpa_driver_madwifi_set_drop_unencrypted: enabled=1
wpa_driver_madwifi_associate
ioctl[IEEE80211_IOCTL_SETOPTIE]: Argument list too long
Setting authentication timeout: 5 sec 0 usec

What puzzles me is the line:
ioctl[IEEE80211_IOCTL_SETOPTIE]: Argument list too long
which keeps repeating

This is my wpa_supplicant.conf file

network={
        ssid="Wireless"
	bssid=00:09:5b:eb:07:f9
	proto=WPA
	key_mgmt=WPA-PSK
	pairwise=CCMP TKIP
	group=CCMP TKIP WEP104 WEP40
        #psk="k920&^ld10nak29-%&92ks9k23@"
        psk=7e7b85772636fa852c484d5d0466a0ef0a2df8438a9b7e
}

Any help would be valuable. Thanks

Nana K. Asumadu
Email: lilnana at netspeed.com.au
Website: http://www.netspeed.com.au/lilnana/index.html

                               DISCLAIMER


________________________________________________________________________
This email and any attachment(s) are intended for the addressed
recipient(s) only.   If you have received this email by accident, I urge
you to notify the sender and delete this email and any attachment(s)
immediately.    Any unauthorised use, disclosure or reproduction of any
information in this email without the prior consent of the sender is
strictly prohibited and will be prosecuted to the fullest extent of the
law.    No representation is made that this email or any attachment(s)
are free of viruses. Virus scanning is recommended and it's the
responsibility of the recipient(s).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20040914/915125dc/attachment.htm 


More information about the HostAP mailing list