wpa_supplicant + WEP + iwi + unknown authentication state 8

From: Panagiotis Astithas <past_at_ebs.gr>
Date: Sun, 02 Oct 2005 02:13:06 +0300
This is my particular combination and it is not working. It is similar 
to the other two recent threads, but not quite the same, hence the new 
thread.

I have the following:

FreeBSD ajax.ebs.gr 6.0-BETA5 FreeBSD 6.0-BETA5 #6: Fri Sep 30 22:09:56 
EEST 2005     past_at_ajax.ebs.gr:/usr/obj/usr/src/sys/GENERIC  i386

iwi0: <Intel(R) PRO/Wireless 2200BG> mem 0xc2005000-0xc2005fff irq 11 at 
device 10.0 on pci2

I have never been able to use wpa_supplicant to connect to my work or 
home APs (both using WEP), but I can do it manually using ifconfig. My 
iwi driver contains the recent MFC from Damien with the WME & IBSS 
fixes, which make it the same as the -current driver AFAICT. What works 
for me is this:

ifconfig_iwi0="channel 11 ssid past_home authmode shared wepmode on 
weptxkey 1 wepkey 1:0xblablablabla DHCP"

What fails is this:

ifconfig_iwi0="WPA DHCP"

with the following wpa_supplicant.conf. This causes a whole bunch of 
these messages form the kernel (about one per second):

Oct  1 12:42:35 ajax kernel: iwi0: unknown authentication state 8

sprinkled among the following output from wpa_supplicant. Is there still 
a bug in iwi and its integration with net80211? Am I doing something wrong?

Thanks,

Panagiotis



wpa_supplicant.conf
-------------------

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
#
# home network
network={
         ssid="past_home"
         scan_ssid=1
         key_mgmt=NONE
#       auth_alg=SHARED
         wep_key0=blablabla
#       wep_tx_keyidx=0
}

#
# work network
network={
         ssid="ebs_wifi_ap"
#       scan_ssid=1
         key_mgmt=NONE
         wep_key0=bliblibli
         wep_tx_keyidx=0
#       channel=1
}



wpa_supplicant output
---------------------

Initializing interface 'iwi0' conf '/etc/wpa_supplicant.conf' driver 
'default'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group=0 (from group name 'wheel')
Priority group 0
    id=0 ssid='past_home'
    id=1 ssid='ebs_wifi_ap'
Initializing interface (2) 'iwi0'
Own MAC address: 00:0e:35:40:42:99
wpa_driver_bsd_set_wpa: enabled=1
wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1
wpa_driver_bsd_del_key: keyidx=0
wpa_driver_bsd_del_key: keyidx=1
wpa_driver_bsd_del_key: keyidx=2
wpa_driver_bsd_del_key: keyidx=3
wpa_driver_bsd_set_countermeasures: enabled=0
wpa_driver_bsd_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=9):
      70 61 73 74 5f 68 6f 6d 65                        past_home
Received 0 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:09:5b:c1:75:86 ssid='past_home' wpa_ie_len=0 rsn_ie_len=0
    skip - no WPA/RSN IE
    selected non-WPA AP 00:09:5b:c1:75:86 ssid='past_home'
Trying to associate with 00:09:5b:c1:75:86 (SSID='past_home' freq=2462 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
No keys have been configured - skip key clearing
wpa_driver_bsd_set_key: alg=WEP addr=ff:ff:ff:ff:ff:ff key_idx=0 
set_tx=1 seq_len=0 key_len=13
wpa_driver_bsd_set_drop_unencrypted: enabled=1
wpa_driver_bsd_associate: ssid 'past_home' wpa ie len 0 pairwise 4 group 
4 key mgmt 2
wpa_driver_bsd_associate: set PRIVACY 1
Setting authentication timeout: 5 sec 0 usec
Received 0 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:09:5b:c1:75:86 ssid='past_home' wpa_ie_len=0 rsn_ie_len=0
    skip - no WPA/RSN IE
    selected non-WPA AP 00:09:5b:c1:75:86 ssid='past_home'
Trying to associate with 00:09:5b:c1:75:86 (SSID='past_home' freq=2462 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
wpa_driver_bsd_del_key: keyidx=0
wpa_driver_bsd_del_key: keyidx=1
wpa_driver_bsd_del_key: keyidx=2
wpa_driver_bsd_del_key: keyidx=3
wpa_driver_bsd_del_key: addr=00:09:5b:c1:75:86 keyidx=0
wpa_driver_bsd_set_key: alg=WEP addr=ff:ff:ff:ff:ff:ff key_idx=0 
set_tx=1 seq_len=0 key_len=13
wpa_driver_bsd_set_drop_unencrypted: enabled=1
wpa_driver_bsd_associate: ssid 'past_home' wpa ie len 0 pairwise 4 group 
4 key mgmt 2
wpa_driver_bsd_associate: set PRIVACY 1
Setting authentication timeout: 5 sec 0 usec
Received 0 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:09:5b:c1:75:86 ssid='past_home' wpa_ie_len=0 rsn_ie_len=0
    skip - no WPA/RSN IE
    selected non-WPA AP 00:09:5b:c1:75:86 ssid='past_home'
Trying to associate with 00:09:5b:c1:75:86 (SSID='past_home' freq=2462 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
wpa_driver_bsd_del_key: keyidx=0
wpa_driver_bsd_del_key: keyidx=1
wpa_driver_bsd_del_key: keyidx=2
wpa_driver_bsd_del_key: keyidx=3
wpa_driver_bsd_del_key: addr=00:09:5b:c1:75:86 keyidx=0
wpa_driver_bsd_set_key: alg=WEP addr=ff:ff:ff:ff:ff:ff key_idx=0 
set_tx=1 seq_len=0 key_len=13
wpa_driver_bsd_set_drop_unencrypted: enabled=1
wpa_driver_bsd_associate: ssid 'past_home' wpa ie len 0 pairwise 4 group 
4 key mgmt 2
wpa_driver_bsd_associate: set PRIVACY 1
Setting authentication timeout: 5 sec 0 usec
Received 0 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:09:5b:c1:75:86 ssid='past_home' wpa_ie_len=0 rsn_ie_len=0
    skip - no WPA/RSN IE
    selected non-WPA AP 00:09:5b:c1:75:86 ssid='past_home'
Trying to associate with 00:09:5b:c1:75:86 (SSID='past_home' freq=2462 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
wpa_driver_bsd_del_key: keyidx=0
wpa_driver_bsd_del_key: keyidx=1
wpa_driver_bsd_del_key: keyidx=2
wpa_driver_bsd_del_key: keyidx=3
wpa_driver_bsd_del_key: addr=00:09:5b:c1:75:86 keyidx=0
wpa_driver_bsd_set_key: alg=WEP addr=ff:ff:ff:ff:ff:ff key_idx=0 
set_tx=1 seq_len=0 key_len=13
wpa_driver_bsd_set_drop_unencrypted: enabled=1
wpa_driver_bsd_associate: ssid 'past_home' wpa ie len 0 pairwise 4 group 
4 key mgmt 2
wpa_driver_bsd_associate: set PRIVACY 1
Setting authentication timeout: 5 sec 0 usec
Received 0 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:09:5b:c1:75:86 ssid='past_home' wpa_ie_len=0 rsn_ie_len=0
    skip - no WPA/RSN IE
    selected non-WPA AP 00:09:5b:c1:75:86 ssid='past_home'
Trying to associate with 00:09:5b:c1:75:86 (SSID='past_home' freq=2462 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
wpa_driver_bsd_del_key: keyidx=0
wpa_driver_bsd_del_key: keyidx=1
wpa_driver_bsd_del_key: keyidx=2
wpa_driver_bsd_del_key: keyidx=3
wpa_driver_bsd_del_key: addr=00:09:5b:c1:75:86 keyidx=0
wpa_driver_bsd_set_key: alg=WEP addr=ff:ff:ff:ff:ff:ff key_idx=0 
set_tx=1 seq_len=0 key_len=13
wpa_driver_bsd_set_drop_unencrypted: enabled=1
wpa_driver_bsd_associate: ssid 'past_home' wpa ie len 0 pairwise 4 group 
4 key mgmt 2
wpa_driver_bsd_associate: set PRIVACY 1
Setting authentication timeout: 5 sec 0 usec
Received 0 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:09:5b:c1:75:86 ssid='past_home' wpa_ie_len=0 rsn_ie_len=0
    skip - no WPA/RSN IE
    selected non-WPA AP 00:09:5b:c1:75:86 ssid='past_home'
Trying to associate with 00:09:5b:c1:75:86 (SSID='past_home' freq=2462 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
wpa_driver_bsd_del_key: keyidx=0
wpa_driver_bsd_del_key: keyidx=1
wpa_driver_bsd_del_key: keyidx=2
wpa_driver_bsd_del_key: keyidx=3
wpa_driver_bsd_del_key: addr=00:09:5b:c1:75:86 keyidx=0
wpa_driver_bsd_set_key: alg=WEP addr=ff:ff:ff:ff:ff:ff key_idx=0 
set_tx=1 seq_len=0 key_len=13
wpa_driver_bsd_set_drop_unencrypted: enabled=1
wpa_driver_bsd_associate: ssid 'past_home' wpa ie len 0 pairwise 4 group 
4 key mgmt 2
wpa_driver_bsd_associate: set PRIVACY 1
Setting authentication timeout: 5 sec 0 usec
Received 0 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:09:5b:c1:75:86 ssid='past_home' wpa_ie_len=0 rsn_ie_len=0
    skip - no WPA/RSN IE
    selected non-WPA AP 00:09:5b:c1:75:86 ssid='past_home'
Trying to associate with 00:09:5b:c1:75:86 (SSID='past_home' freq=2462 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
wpa_driver_bsd_del_key: keyidx=0
wpa_driver_bsd_del_key: keyidx=1
wpa_driver_bsd_del_key: keyidx=2
wpa_driver_bsd_del_key: keyidx=3
wpa_driver_bsd_del_key: addr=00:09:5b:c1:75:86 keyidx=0
wpa_driver_bsd_set_key: alg=WEP addr=ff:ff:ff:ff:ff:ff key_idx=0 
set_tx=1 seq_len=0 key_len=13
wpa_driver_bsd_set_drop_unencrypted: enabled=1
wpa_driver_bsd_associate: ssid 'past_home' wpa ie len 0 pairwise 4 group 
4 key mgmt 2
wpa_driver_bsd_associate: set PRIVACY 1
Setting authentication timeout: 5 sec 0 usec
Received 0 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:09:5b:c1:75:86 ssid='past_home' wpa_ie_len=0 rsn_ie_len=0
    skip - no WPA/RSN IE
    selected non-WPA AP 00:09:5b:c1:75:86 ssid='past_home'
Trying to associate with 00:09:5b:c1:75:86 (SSID='past_home' freq=2462 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
wpa_driver_bsd_del_key: keyidx=0
wpa_driver_bsd_del_key: keyidx=1
wpa_driver_bsd_del_key: keyidx=2
wpa_driver_bsd_del_key: keyidx=3
wpa_driver_bsd_del_key: addr=00:09:5b:c1:75:86 keyidx=0
wpa_driver_bsd_set_key: alg=WEP addr=ff:ff:ff:ff:ff:ff key_idx=0 
set_tx=1 seq_len=0 key_len=13
wpa_driver_bsd_set_drop_unencrypted: enabled=1
wpa_driver_bsd_associate: ssid 'past_home' wpa ie len 0 pairwise 4 group 
4 key mgmt 2
wpa_driver_bsd_associate: set PRIVACY 1
Setting authentication timeout: 5 sec 0 usec
Received 0 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:09:5b:c1:75:86 ssid='past_home' wpa_ie_len=0 rsn_ie_len=0
    skip - no WPA/RSN IE
    selected non-WPA AP 00:09:5b:c1:75:86 ssid='past_home'
Trying to associate with 00:09:5b:c1:75:86 (SSID='past_home' freq=2462 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
wpa_driver_bsd_del_key:
Received on Sat Oct 01 2005 - 21:13:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:44 UTC