wpa_supplicant 0.4.6 + ipw2200 1.0.8 , ieee80211 - 1.1.15 , kernel 2.6.16 (RHEL4U2)

Pedro Ramalhais ramalhais at serrado.net
Mon Nov 7 12:42:05 EST 2005


Radu Brumariu wrote:
> Hi list,
> 
> I am trying to use wpa_supplicant 0.4.6 but when I try to run it, it 
> gives the following errors :
> 
> Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 
> 'ipw' ctrl_interface 'N/A'
> Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
> Reading configuration file '/etc/wpa_supplicant.conf'
> update_config=1
> ctrl_interface='/var/run/wpa_supplicant'
> ctrl_interface_group=10 (from group name 'wheel')
> eapol_version=1
> ap_scan=1
> fast_reauth=1
> Line: 394 - start of a new network block
> ssid - hexdump_ascii(len=2):
>      43 53                                             CS
> key_mgmt: 0x1
> eap methods - hexdump(len=2): 19 00
> proto: 0x1
> group: 0x18
> identity - hexdump_ascii(len=16):
>      72 61 64 75 40 63 73 2e 6b 65 6e 74 2e 65 64 75   <my username>
> password - hexdump_ascii(len=7): [REMOVED]
> phase2 - hexdump_ascii(len=13):
>      61 75 74 68 3d 4d 53 43 48 41 50 56 32            auth=MSCHAPV2
> priority=10 (0xa)
> Priority group 10
>    id=0 ssid='CS'
> Initializing interface (2) 'eth1'
> 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
> wpa_driver_ipw_init is called
> SIOCGIWRANGE: WE(compiled)=19 WE(source)=16 enc_capa=0x0
>   capabilities: key_mgmt 0x0 enc 0x3
> Own MAC address: 00:0e:35:4c:ad:b0
> wpa_driver_ipw_set_wpa: enabled=1
> ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
> wpa_driver_ipw_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
> ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
> Failed to set encryption.
> wpa_driver_ipw_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
> ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
> Failed to set encryption.
> wpa_driver_ipw_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
> ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
> Failed to set encryption.
> wpa_driver_ipw_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
> ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
> Failed to set encryption.
> wpa_driver_ipw_set_countermeasures: enabled=0
> ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
> wpa_driver_ipw_set_drop_unencrypted: enabled=1
> ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
> Setting scan request: 0 sec 100000 usec
> Using existing control interface directory.
> bind(PF_UNIX): Address already in use
> ctrl_iface exists, but does not allow connections - assuming it was 
> leftover from forced program termination
> Successfully replaced leftover ctrl_iface socket 
> '/var/run/wpa_supplicant/eth1'
> Added interface eth1
> Wireless event: cmd=0x8b06 len=8
> State: DISCONNECTED -> SCANNING
> Starting AP scan (broadcast SSID)
> Scan timeout - try to get results
> Received 4095 bytes of scan results (17 BSSes)
> Scan results: 17
> Selecting BSS from priority group 10
> 0: 00:13:1a:2a:bd:21 ssid='CS Administration' wpa_ie_len=26 
> rsn_ie_len=22 caps=0x11
>    skip - SSID mismatch
> 1: 00:13:60:0c:7c:92 ssid='CS Faculty' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
>    skip - SSID mismatch
> 2: 00:13:60:0c:7c:91 ssid='CS Administration' wpa_ie_len=26 
> rsn_ie_len=22 caps=0x11
>    skip - SSID mismatch
> 3: 00:13:60:0c:7c:95 ssid='Math' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
>    skip - SSID mismatch
> 4: 00:13:60:0c:7c:94 ssid='MSB Wireless' wpa_ie_len=26 rsn_ie_len=22 
> caps=0x11
>    skip - SSID mismatch
> 5: 00:13:60:0c:7b:60 ssid='CS' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
>    selected based on WPA IE
> Trying to associate with 00:13:60:0c:7b:60 (SSID='CS' freq=0 MHz)
> Cancelling scan request
> WPA: clearing own WPA/RSN IE
> Automatic auth_alg selection: 0x1
> wpa_driver_ipw_set_auth_alg: auth_alg=0x1
> ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
> 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=26): dd 18 00 50 f2 01 01 00 00 50 f2 
> 02 01 00 00 50 f2 02 01 00 00 50 f2 01 28 00
> WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 
> 0f ac 04 01 00 00 0f ac 01 28 00
> 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_ipw_set_drop_unencrypted: enabled=1
> ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
> State: SCANNING -> ASSOCIATING
> ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
> ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
> Setting authentication timeout: 5 sec 0 usec
> EAPOL: External notification - portControl=Auto
> RSN: Ignored PMKID candidate without preauth flag
> RSN: Ignored PMKID candidate without preauth flag
> Wireless event: cmd=0x8b1a len=11
> CTRL-EVENT-TERMINATING - signal 2 received
> Removing interface eth1
> State: ASSOCIATING -> DISCONNECTED
> No keys have been configured - skip key clearing
> EAPOL: External notification - portEnabled=0
> EAPOL: External notification - portValid=0
> wpa_driver_ipw_set_wpa: enabled=0
> ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
> ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
> wpa_driver_ipw_set_drop_unencrypted: enabled=0
> ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
> wpa_driver_ipw_set_countermeasures: enabled=0
> ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
> No keys have been configured - skip key clearing
> Cancelling scan request
> 
> 
> I have the latest ipw2200 - 1.0.8, ieeee stack - 1.1.5, kernel 2.6.14.
> 
> 
> Here is my /etc/wpa_supplicant.conf
> update_config=1
> ctrl_interface=/var/run/wpa_supplicant
> ctrl_interface_group=wheel
> eapol_version=1
> ap_scan=1
> fast_reauth=1
> network={
>         ssid="CS"
>         key_mgmt=WPA-EAP
>         eap=PEAP
>         proto=WPA
>         group=CCMP TKIP
>         identity="<myusername>"
>         password="<mypassword>"
>         #phase1="peaplabel=1"
>         phase2="auth=MSCHAPV2"
>         priority=10
> }
> 
> I have looked in the sources for the ipw2200 and it seems that the ioctl 
> command that it complains about it's declared , but I don't understand 
> why it doesn't work ...
> 
> Please advice.
> 
> Regards,
> Radu
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap


Use -Dwext instead of -Dipw

-- 
Pedro Ramalhais



More information about the HostAP mailing list