From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 9 04:35:32 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D25C16A41F for ; Tue, 9 Aug 2005 04:35:32 +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 D51D943D45 for ; Tue, 9 Aug 2005 04:35:31 +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 j794ZVms051271 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 8 Aug 2005 21:35:31 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <42F832BF.3050706@errno.com> Date: Mon, 08 Aug 2005 21:36:15 -0700 From: Sam Leffler Organization: Errno Consulting User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: chuck References: <3c3ce1970508071029797ae723@mail.gmail.com> In-Reply-To: <3c3ce1970508071029797ae723@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: hackers@freebsd.org Subject: Re: FreeBSD 6.0BETA2 ndis(4) WPA-PSK X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2005 04:35:32 -0000 chuck wrote: > Hi, > > I've just install the 6.0Beta2 to test the new WPA-PSK functionality. > Regarding this, > I have 2 questions. > > 1) The signal strength is quite different between drivers. (ath vs ndis). > - The signal is much stronger when I use the ndis drivers. Why ? No config info, no way to answer or even guess. > > > 2) The wpa-psk works perfectly when I use the ath(4) driver and it doesn't work > with the ndis(4) drivers. When I use wpa_supplicant I get this (from dmesg) > > ndis0: NDIS API version: 5.1 > ndis0: Ethernet address: 00:0f:b5:5d:52:2f > ndis0: failed to get bssid > ndis0: setting encryption status to ENC2 failed > > Here's the specs and configurations: ndis wpa-psk support is an unknown quantity. > > ==> uname > > FreeBSD silence 6.0-BETA2 FreeBSD 6.0-BETA2 #0: Sun Aug 7 09:30:39 EDT 2005 > > ==> Wirecard Card: > > ath0@pci0:11:0: class=0x020000 card=0x4d001385 chip=0x0013168c rev=0x01 hdr=0x00 > vendor = 'Atheros Communications Inc.' > device = 'AR5212, AR5213 802.11a/b/g Wireless Adapter' > class = network > subclass = ethernet > > ==> wpa_supplicant.conf > > ctrl_interface=/var/run/wpa_supplicant > ctrl_interface_group=wheel > network={ > ssid="somessid" > scan_ssid=1 > key_mgmt=WPA-PSK > psk="somekey" > } > > ==> wpa_supplicant invocation (log) > > wpa_supplicant -i ndis0 -d -c /etc/wpa_supplicant.conf > Initializing interface 'ndis0' 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='somessid' > Initializing interface (2) 'ndis0' > Own MAC address: 00:0f:b5:5d:52:2f > 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=6): > 6f 6b 73 61 6c 61 somessid > # (I know) > Received 0 bytes of scan results (2 BSSes) > Scan results: 2 > Selecting BSS from priority group 0 > 0: 00:11:95:73:1d:08 ssid='somessid' wpa_ie_len=24 rsn_ie_len=0 > selected > Trying to associate with 00:11:95:73:1d:08 (SSID='somessid' 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 'somessid' 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 > Authentication with 00:00:00:00:00:00 timed out. > Added BSSID 00:00:00:00:00:00 into blacklist > No keys have been configured - skip key clearing > Setting scan request: 0 sec 0 usec > Starting AP scan (broadcast SSID) > Received 0 bytes of scan results (2 BSSes) > Scan results: 2 > Selecting BSS from priority group 0 > 0: 00:11:95:73:1d:08 ssid='somessid' wpa_ie_len=24 rsn_ie_len=0 > selected > Trying to associate with 00:11:95:73:1d:08 (SSID='somessid' 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 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >