FreeBSD 6.0BETA2 ndis(4) WPA-PSK

From: chuck (enshow_at_gmail.com)
Date: 08/07/05

  • Next message: Brennan Stehling: "Re: Soc ssh fs: dummy Fuse module aviable for review"
    Date: Sun, 7 Aug 2005 13:29:13 -0400
    To: hackers@freebsd.org
    
    

    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 ?

    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:

    ==> 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"


  • Next message: Brennan Stehling: "Re: Soc ssh fs: dummy Fuse module aviable for review"

    Relevant Pages

    • Re: Anyone got 802.1x working on a wireless network?
      ... including that I had to get "generic" drivers from Intel for one ... getting 802.1x authentication working for my wireless. ... GPOs configured as per MS technet article for WPA, TKIP, etc. ... The next piece of frustration is with wireless NICs from other ...
      (microsoft.public.windows.server.sbs)
    • if_ipw problems
      ... Selecting BSS from priority group 0 ... WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 ... WPA: using GTK TKIP ...
      (freebsd-current)
    • usb wireless adaptor - rt73
      ... Failed to disable WPA in the driver. ... EAPOL: SUPP_PAE entering state DISCONNECTED ... EAPOL: External notification - portEnabled=0 ... Selecting BSS from priority group 0 ...
      (comp.os.linux.networking)
    • Re: The operating system image you selected does not contain the . Hel
      ... the drivers you are using. ... Added folder $oem$\$1\Drivers\NIC under I386 folder with intel ... Try selecting a different operating ... > net start binlsvc ...
      (microsoft.public.win2000.setup_deployment)
    • wpa_supplicant ipw problem
      ... WPA or WEP I cant get an IP. ... EAPOL: SUPP_PAE entering state DISCONNECTED ... EAPOL: External notification - portEnabled=0 ... Selecting BSS from priority group 0 ...
      (freebsd-questions)

    Loading