From owner-freebsd-current@FreeBSD.ORG Tue Aug 2 19:52:38 2005 Return-Path: X-Original-To: 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 6921516A41F for ; Tue, 2 Aug 2005 19:52:38 +0000 (GMT) (envelope-from nike_d@cytexbg.com) Received: from office.suresupport.com (office.suresupport.com [213.145.98.15]) by mx1.FreeBSD.org (Postfix) with SMTP id 6832543D46 for ; Tue, 2 Aug 2005 19:52:37 +0000 (GMT) (envelope-from nike_d@cytexbg.com) Received: (qmail 59566 invoked by uid 1026); 2 Aug 2005 19:54:37 -0000 Received: from 213.145.98.14 by office.suresupport.com (envelope-from , uid 1004) with qmail-scanner-1.23 (f-prot: 4.4.2/3.14.11. Clear:RC:1(213.145.98.14):. Processed in 0.099374 secs); 02 Aug 2005 19:54:37 -0000 Received: from unknown (HELO 14.98.145.213.in-addr.arpa) (213.145.98.14) by office.suresupport.com with SMTP; 2 Aug 2005 19:54:37 -0000 From: Niki Denev To: current@freebsd.org Date: Tue, 2 Aug 2005 22:52:33 +0300 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508022252.33933.nike_d@cytexbg.com> Cc: Subject: if_ipw problems 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: Tue, 02 Aug 2005 19:52:38 -0000 Hello, I have problems getting the ipw(4) wireless interface on my TP X31 to work. I'm running -Current cvsupped and built from about 2 hours ago (i have this problem from long time, but hadn't the time to report it.) The firmware is the latest from the ports. When using exactly the same wpa_supplicant config with different wireless card (ralink) i can authentitace to a LinkSys WPA54G access point. But it never works for ipw. One thing that i discovered is that when i do ifconfig ipw0 scan there is always one 'fake network' without SSID and with zero macaddr : # ifconfig ipw0 scan SSID BSSID CHAN RATE S:N INT CAPS 00:00:00:00:00:00 11 0M 0:0 0 office.ss 00:0f:66:11:13:1e 11 54M 29:0 100 EP WPA This looks really odd, and i can't reproduce it with other wlan cards. wpa_supplicant.conf is : ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel eapol_version=1 or 2 (tried both of them) network={ ssid="office.ss" proto=WPA key_mgmt=WPA-PSK psk="xxxx" } network={ ssid="totalterror-wlan" proto=WPA key_mgmt=WPA-PSK psk="yyyy" } Here is debug output from wpa_supplicant with if_ipw : Initializing interface 'ipw0' 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') eapol_version=2 Line: 5 - start of a new network block ssid - hexdump_ascii(len=9): 6f 66 66 69 63 65 2e 73 73 office.ss proto: 0x1 key_mgmt: 0x2 PSK (ASCII passphrase) - hexdump_ascii(len=11): [REMOVED] PSK (from passphrase) - hexdump(len=32): [REMOVED] Line: 14 - start of a new network block ssid - hexdump_ascii(len=16): 74 6f 74 61 6c 74 65 72 72 6f 72 2d 77 6c 61 6e totalterror-wlan scan_ssid=1 (0x1) proto: 0x1 key_mgmt: 0x2 PSK (ASCII passphrase) - hexdump_ascii(len=15): [REMOVED] PSK (from passphrase) - hexdump(len=32): [REMOVED] Priority group 0 id=0 ssid='office.ss' id=1 ssid='totalterror-wlan' Initializing interface (2) 'ipw0' Own MAC address: 00:04:23:92:33:23 wpa_driver_bsd_set_wpa: enabled=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=16): 74 6f 74 61 6c 74 65 72 72 6f 72 2d 77 6c 61 6e totalterror-wlan Received 0 bytes of scan results (2 BSSes) Scan results: 2 Selecting BSS from priority group 0 0: 00:0f:66:11:13:1e ssid='office.ss' wpa_ie_len=24 rsn_ie_len=0 selected Trying to associate with 00:0f:66:11:13:1e (SSID='office.ss' freq=2462 MHz) Cancelling scan request Automatic auth_alg selection: 0x1 WPA: using IEEE 802.11i/D3.0 WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 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 No keys have been configured - skip key clearing wpa_driver_bsd_set_drop_unencrypted: enabled=1 wpa_driver_bsd_associate: ssid 'office.ss' wpa ie len 24 pairwise 2 group 2 key mgmt 1 wpa_driver_bsd_associate: set PRIVACY 1 Setting authentication timeout: 5 sec 0 usec Received 0 bytes of scan results (2 BSSes) Scan results: 2 Selecting BSS from priority group 0 0: 00:0f:66:11:13:1e ssid='office.ss' wpa_ie_len=24 rsn_ie_len=0 selected Trying to associate with 00:0f:66:11:13:1e (SSID='office.ss' freq=2462 MHz) Cancelling scan request Automatic auth_alg selection: 0x1 WPA: using IEEE 802.11i/D3.0 WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 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 No keys have been configured - skip key clearing wpa_driver_bsd_set_drop_unencrypted: enabled=1 wpa_driver_bsd_associate: ssid 'office.ss' wpa ie len 24 pairwise 2 group 2 key mgmt 1 wpa_driver_bsd_associate: set PRIVACY 1 Setting authentication timeout: 5 sec 0 usec Received 0 bytes of scan results (2 BSSes) Scan results: 2 Selecting BSS from priority group 0 0: 00:0f:66:11:13:1e ssid='office.ss' wpa_ie_len=24 rsn_ie_len=0 selected Trying to associate with 00:0f:66:11:13:1e (SSID='office.ss' freq=2462 MHz) Cancelling scan request Automatic auth_alg selection: 0x1 WPA: using IEEE 802.11i/D3.0 WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 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 No keys have been configured - skip key clearing wpa_driver_bsd_set_drop_unencrypted: enabled=1 wpa_driver_bsd_associate: ssid 'office.ss' wpa ie len 24 pairwise 2 group 2 key mgmt 1 wpa_driver_bsd_associate: set PRIVACY 1 Setting authentication timeout: 5 sec 0 usec Received 0 bytes of scan results (2 BSSes) Scan results: 2 Selecting BSS from priority group 0 0: 00:0f:66:11:13:1e ssid='office.ss' wpa_ie_len=24 rsn_ie_len=0 selected Trying to associate with 00:0f:66:11:13:1e (SSID='office.ss' freq=2462 MHz) Cancelling scan request Automatic auth_alg selection: 0x1 WPA: using IEEE 802.11i/D3.0 WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 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 No keys have been configured - skip key clearing wpa_driver_bsd_set_drop_unencrypted: enabled=1 wpa_driver_bsd_associate: ssid 'office.ss' wpa ie len 24 pairwise 2 group 2 key mgmt 1 wpa_driver_bsd_associate: set PRIVACY 1 Setting authentication timeout: 5 sec 0 usec Received 0 bytes of scan results (2 BSSes) Scan results: 2 Selecting BSS from priority group 0 0: 00:0f:66:11:13:1e ssid='office.ss' wpa_ie_len=24 rsn_ie_len=0 selected Trying to associate with 00:0f:66:11:13:1e (SSID='office.ss' freq=2462 MHz) Cancelling scan request Automatic auth_alg selection: 0x1 --- i cancelled it at this point, but it loops like this forever(or atleast couple of hours :) ) I will gladly provide more info if needed. --niki