From owner-freebsd-current@FreeBSD.ORG Wed Aug 3 02:46:30 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 1D67916A41F for ; Wed, 3 Aug 2005 02:46:30 +0000 (GMT) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C18C43D55 for ; Wed, 3 Aug 2005 02:46:29 +0000 (GMT) (envelope-from sam@errno.com) Received: from [66.127.85.93] ([66.127.85.93]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id j732kRms011664 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 2 Aug 2005 19:46:28 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <42F0302C.7080009@errno.com> Date: Tue, 02 Aug 2005 19:47:08 -0700 From: Sam Leffler Organization: Errno Consulting User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Niki Denev References: <200508022252.33933.nike_d@cytexbg.com> In-Reply-To: <200508022252.33933.nike_d@cytexbg.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: 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: Wed, 03 Aug 2005 02:46:30 -0000 Niki Denev wrote: > 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. Shouldn't matter. > > 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 You say things work with ral but not ipw? Was that with wpa-psk and the same ap? Have you ever been able to use ipw and wpa-psk? I don't personally know if it works and the driver's author has been out of touch for a long time. Sam