From owner-freebsd-mobile@FreeBSD.ORG Wed Oct 17 05:30:42 2007 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A055716A41A for ; Wed, 17 Oct 2007 05:30:42 +0000 (UTC) (envelope-from kalin@el.net) Received: from mail.el.net (mail.el.net [74.2.36.130]) by mx1.freebsd.org (Postfix) with ESMTP id 47ABF13C457 for ; Wed, 17 Oct 2007 05:30:42 +0000 (UTC) (envelope-from kalin@el.net) Received: (qmail 55678 invoked by uid 1008); 17 Oct 2007 05:06:35 -0000 Received: from unknown (HELO mail.el.net) (127.0.0.1) by mail.el.net with SMTP; 17 Oct 2007 05:06:35 -0000 Received: from 74.64.6.149 (SquirrelMail authenticated user kalin@el.net) by mail.el.net with HTTP; Wed, 17 Oct 2007 01:06:35 -0400 (EDT) Message-ID: <56805.74.64.6.149.1192597595.squirrel@mail.el.net> Date: Wed, 17 Oct 2007 01:06:35 -0400 (EDT) From: "kalin mintchev" To: freebsd-mobile@freebsd.org User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions@freebsd.org Subject: WPA X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kalin@el.net List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 05:30:42 -0000 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 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