From owner-freebsd-current@FreeBSD.ORG Sat Oct 1 23:13:21 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 884F216A41F for ; Sat, 1 Oct 2005 23:13:21 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0754243D45 for ; Sat, 1 Oct 2005 23:13:18 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id j91NDH9V075794 for ; Sun, 2 Oct 2005 02:13:17 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.200] (pptp.ebs.gr [10.1.1.200]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j91NDQVE038216 for ; Sun, 2 Oct 2005 02:13:27 +0300 (EEST) (envelope-from past@ebs.gr) Message-ID: <433F1802.4080206@ebs.gr> Date: Sun, 02 Oct 2005 02:13:06 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050830) X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD Current Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: wpa_supplicant + WEP + iwi + unknown authentication state 8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Oct 2005 23:13:21 -0000 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@ajax.ebs.gr:/usr/obj/usr/src/sys/GENERIC i386 iwi0: 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: