Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Oct 2007 01:06:35 -0400 (EDT)
From:      "kalin mintchev" <kalin@el.net>
To:        freebsd-mobile@freebsd.org
Cc:        freebsd-questions@freebsd.org
Subject:   WPA
Message-ID:  <56805.74.64.6.149.1192597595.squirrel@mail.el.net>

next in thread | raw e-mail | index | archive | help
hi all...

having trouble to get the wi0 interface up with WPA. below is the relevant
information. can somebeody explain what the problem is? thanks...


device   = 'PRISM 2.5 802.11b 11Mbps Wireless Controller'

wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
        ether 00:05:3c:09:82:a3
        media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps)
        status: associated
        ssid myap channel 6 bssid 00:1c:10:9e:ef:b2
        stationname "FreeBSD WaveLAN/IEEE node"
        authmode WPA1+WPA2/802.11i privacy MIXED deftxkey UNDEF txpowmax 100
        bmiss 7 roaming MANUAL bintval 100


# /etc/wpa_supplicant.conf:
network={
ssid="myap"
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
psk="secret"
}


# wpa_supplicant -i wi0 -dd -c /etc/wpa_supplicant.conf

Initializing interface 'wi0' conf '/etc/wpa_supplicant.conf' driver
'default' ctrl_interface 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Line: 1 - start of a new network block
ssid - hexdump_ascii(len=6):
     77 74 70 67 6e 79                                 myap
scan_ssid=1 (0x1)
proto: 0x1
key_mgmt: 0x2
PSK (ASCII passphrase) - hexdump_ascii(len=11): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='myap'
Initializing interface (2) 'wi0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Own MAC address: 00:05:3c:09:82:a3
wpa_driver_bsd_set_wpa: enabled=1
wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=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
Added interface wi0
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=6):
     77 74 70 67 6e 79                                 myap
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec
CTRL-EVENT-TERMINATING - signal 2 received
Removing interface wi0
State: SCANNING -> DISCONNECTED
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_bsd_set_wpa: enabled=0
wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0
wpa_driver_bsd_set_drop_unencrypted: enabled=0
wpa_driver_bsd_set_countermeasures: enabled=0
No keys have been configured - skip key clearing
wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0
wpa_driver_bsd_deinit: failed to restore roaming state
Cancelling scan request
.....................................


and a bunch of these on the terminal:

ioctl[SIOCS80211, op 1, len 6]: Operation not supported by device
ioctl[SIOCS80211, op 22, len 0]: Operation not supported by device
ioctl[SIOCS80211, op 17, arg 0x0]: Operation not supported by device
ioctl[SIOCS80211, op 26, arg 0x0]: Operation not supported by device
Failed to disable WPA in the driver.
ioctl[SIOCS80211, op 18, arg 0x0]: Operation not supported by device
ioctl[SIOCS80211, op 25, arg 0x0]: Operation not supported by device
ioctl[SIOCS80211, op 22, len 0]: Operation not supported by device
ioctl[SIOCS80211, op 17, arg 0x0]: Operation not supported by device
ioctl[SIOCS80211, op 26, arg 0x0]: Operation not supported by device
ioctl[SIOCS80211, op 16, arg 0x1]: Operation not supported by device






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56805.74.64.6.149.1192597595.squirrel>