FreeBSD 6.0BETA2 ndis(4) WPA-PSK
Sam Leffler
sam at errno.com
Tue Aug 9 04:35:32 GMT 2005
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 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>
More information about the freebsd-hackers
mailing list