From owner-freebsd-stable@FreeBSD.ORG Thu Apr 20 00:05:08 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C2D0816A400 for ; Thu, 20 Apr 2006 00:05:08 +0000 (UTC) (envelope-from oberman@es.net) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A26B43D58 for ; Thu, 20 Apr 2006 00:05:08 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id IBA74465; Wed, 19 Apr 2006 17:05:03 -0700 Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 6FD6345042; Wed, 19 Apr 2006 17:05:02 -0700 (PDT) To: "Isaac Waldron" In-reply-to: Your message of "Wed, 19 Apr 2006 18:12:13 EDT." <9c16502b0604191512ldeccd00r7e58dbf1ef120c43@mail.gmail.com> Date: Wed, 19 Apr 2006 17:05:02 -0700 From: "Kevin Oberman" Message-Id: <20060420000502.6FD6345042@ptavv.es.net> Cc: freebsd-stable@freebsd.org Subject: Re: wpa_supplicant and wi X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Apr 2006 00:05:08 -0000 > Date: Wed, 19 Apr 2006 18:12:13 -0400 > From: "Isaac Waldron" > Sender: owner-freebsd-stable@freebsd.org > > I should add that I'm running RELENG_6 updated and compiled on 4/19/2006. > > On 4/19/06, Isaac Waldron wrote: > > I am using a Netgear MA401 with the wi driver, and am having trouble > > using wpa_supplicant to set static WEP keys. I have the wlan_wep.ko > > module loaded with wlan and wi built into the kernel. My > > wpa_supplicant.conf looks like this: > > > > ctrl_interface=3D/var/run/wpa_supplicant > > ctrl_interface_group=3Dwheel > > > > network=3D{ > > ssid=3D"INTERNERD" > > scan_ssid=3D1 > > priority=3D1 > > key_mgmt=3DNONE > > wep_key0=3D75745E266D4247372840217E73 > > wep_tx_keyidx=3D0 > > } > > > > and wpa_supplicant -i wi0 -c /etc/wpa_supplicant.conf -d -d returns > > the following: > > > > Initializing interface 'wi0' conf '/etc/wpa_supplicant.conf' driver > > 'default' ctrl_interface 'N/A' > > Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.con= > f' > > Reading configuration file '/etc/wpa_supplicant.conf' > > ctrl_interface=3D'/var/run/wpa_supplicant' > > ctrl_interface_group=3D0 (from group name 'wheel') > > Line: 4 - start of a new network block > > ssid - hexdump_ascii(len=3D9): > > 49 4e 54 45 52 4e 45 52 44 INTERNERD > > scan_ssid=3D1 (0x1) > > priority=3D1 (0x1) > > key_mgmt: 0x4 > > wep_key0 - hexdump(len=3D13): 75 74 5e 26 6d 42 47 37 28 40 21 7e 73 > > wep_tx_keyidx=3D0 (0x0) > > Priority group 1 > > id=3D0 ssid=3D'INTERNERD' > > 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=3D0 > > EAPOL: External notification - portValid=3D0 > > Own MAC address: 00:09:5b:29:81:67 > > wpa_driver_bsd_set_wpa: enabled=3D1 > > wpa_driver_bsd_set_wpa_internal: wpa=3D3 privacy=3D1 > > wpa_driver_bsd_del_key: keyidx=3D0 > > wpa_driver_bsd_del_key: keyidx=3D1 > > wpa_driver_bsd_del_key: keyidx=3D2 > > wpa_driver_bsd_del_key: keyidx=3D3 > > wpa_driver_bsd_set_countermeasures: enabled=3D0 > > wpa_driver_bsd_set_drop_unencrypted: enabled=3D1 > > Setting scan request: 0 sec 100000 usec > > Added interface wi0 > > State: DISCONNECTED -> SCANNING > > Starting AP scan (specific SSID) > > Scan SSID - hexdump_ascii(len=3D9): > > 49 4e 54 45 52 4e 45 52 44 INTERNERD > > State: SCANNING -> ASSOCIATED > > Associated to a new BSS: BSSID=3D00:14:bf:00:2e:d4 > > No keys have been configured - skip key clearing > > Network configuration found for the current AP > > WPA: clearing AP WPA IE > > WPA: clearing AP RSN IE > > WPA: clearing own WPA/RSN IE > > EAPOL: External notification - portControl=3DForceAuthorized > > Associated with 00:14:bf:00:2e:d4 > > WPA: Association event - clear replay counter > > EAPOL: External notification - portEnabled=3D0 > > EAPOL: External notification - portValid=3D0 > > EAPOL: External notification - portEnabled=3D1 > > EAPOL: SUPP_PAE entering state S_FORCE_AUTH > > EAPOL: SUPP_BE entering state IDLE > > Cancelling authentication timeout > > State: ASSOCIATED -> COMPLETED > > > > No keys are set on the wi0 interface apparently, as ifconfig reports > > deftxkey UNDEF and no configured keys. In other outputs from > > wpa_supplicant that I've seen, there are lines beginning with > > wpa_driver_bsd_key_set that appear to be key setting. > > > > Does anyone have this working with a MA401 that could help me out? > > > > Thanks, > > Isaac Waldron > > -- > > Isaac Waldron > > isaac.waldron@gmail.com > > mobile: 1-508-353-3453 > > aim: n1yzi > > Unfortunately the wi driver (and some versions of the hardware) does not provide enough information to the wlan layer to support wpa-supplicant. Check out the archives for previous discussions of this. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634