I have configured my poodle with OPIE and a SanDisk ConnectPlus to use wpa_supplicant to connect to my WPA-Enterprise network. First, I updated wpa-supplicant,hostap-modules, and hostap-modules-cs. Then, I put the following stanza in /etc/network/interfaces:
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant.conf
wpa-driver hostap
Note the problem I'm going to describe doesn't seem to be affected by the choice of wpa_supplicant driver--either 'hostap' or 'wext' makes it act the same. Putting the card in the machine makes it blink rapidly (loading firmware) and then blink slowly. It is supposed to go solid when associated but this never happens. Running wpa_supplicant manually, or running 'ifup wlan0', gets the following output:
root@poodle:/etc/network# wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -Dwext -dd
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ap_scan=1
eapol_version=1
Line: 5 - start of a new network block
ssid - hexdump_ascii(len=8):
6f 61 6b 63 6f 75 72 74 oakcourt
key_mgmt: 0x1
eap methods - hexdump(len=2): 19 00
phase2 - hexdump_ascii(len=13):
61 75 74 68 3d 4d 53 43 48 41 50 76 32 auth=MSCHAPv2
identity - hexdump_ascii(len=6):
61 6e 64 72 65 77 andrew
password - hexdump_ascii(len=10): [REMOVED]
Priority group 0
id=0 ssid='oakcourt'
Initializing interface (2) 'wlan0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=18 WE(source)=18 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf
Added alternative ifindex 14 (wifi0) for wireless events
Own MAC address: 00:60:b3:6c:65:97
wpa_driver_wext_set_wpa
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
wpa_driver_wext_set_drop_unencrypted
Setting scan request: 0 sec 100000 usec
Using existing control interface directory.
Added interface wlan0
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK, IFLA_IFNAME: Interface 'wifi0' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Wireless event: cmd=0x8b19 len=12
Received 199 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:c0:49:ec:6f:82 ssid='oakcourt' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
selected based on WPA IE
Trying to associate with 00:c0:49:ec:6f:82 (SSID='oakcourt' freq=2412 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 1
WPA: set AP 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 01
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT 802.1X
WPA: Set own WPA IE default - 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 01
No keys have been configured - skip key clearing
wpa_driver_wext_set_drop_unencrypted
State: SCANNING -> ASSOCIATING
wpa_driver_wext_associate
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b06 len=8
Wireless event: cmd=0x8b04 len=12
Wireless event: cmd=0x8b1a len=21
Wireless event: cmd=0x8b19 len=12
Received 199 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:c0:49:ec:6f:82 ssid='oakcourt' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
selected based on WPA IE
Trying to associate with 00:c0:49:ec:6f:82 (SSID='oakcourt' freq=2412 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 1
WPA: set AP 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 01
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT 802.1X
WPA: Set own WPA IE default - 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 01
No keys have been configured - skip key clearing
wpa_driver_wext_set_drop_unencrypted
State: ASSOCIATING -> ASSOCIATING
The block in between "State: SCANNING->ASSOCIATING" and "State: ASSOCIATING->ASSOCIATING" repeats until you stop it. It seems to never be able to associate with the network. There isn't anything wrong with the network AFAIK, our two ThinkPad Linux laptops (ipw2200), my Nokia 770, and a Windows XP machine all connect fine. The wpa_supplicant.conf on the Z is as follows:
ctrl_interface=/var/run/wpa_supplicant
ap_scan=1
eapol_version=1
network={
ssid="oakcourt"
key_mgmt=WPA-EAP
eap=PEAP
phase2="auth=MSCHAPv2"
identity="andrew"
password="[removed]"
}