From owner-freebsd-stable@FreeBSD.ORG Wed Apr 19 22:12:14 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 7F69416A403 for ; Wed, 19 Apr 2006 22:12:14 +0000 (UTC) (envelope-from isaac.waldron@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id E044C43D48 for ; Wed, 19 Apr 2006 22:12:13 +0000 (GMT) (envelope-from isaac.waldron@gmail.com) Received: by wproxy.gmail.com with SMTP id i12so267998wra for ; Wed, 19 Apr 2006 15:12:13 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BqPuOAQTe5+1SaUv20F9qE6GmsOQZjijunc05hmcdAl7qRtg87XnSdbXKdELH7ki8S94yQqsWZTYb1RDOrIbL0c4jW6J4udDpQAMwoqztZjA/oYsoFwKSZ5l4wzi8wxT038o7BrgFgMcgJjFsiNemjH1Es5bXuL4zPIx+/a0VwU= Received: by 10.54.130.10 with SMTP id c10mr132350wrd; Wed, 19 Apr 2006 15:12:13 -0700 (PDT) Received: by 10.54.158.19 with HTTP; Wed, 19 Apr 2006 15:12:13 -0700 (PDT) Message-ID: <9c16502b0604191512ldeccd00r7e58dbf1ef120c43@mail.gmail.com> Date: Wed, 19 Apr 2006 18:12:13 -0400 From: "Isaac Waldron" To: freebsd-stable@freebsd.org In-Reply-To: <9c16502b0604191503u7891e5d6u17eaa3f5dc754c1e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <9c16502b0604191503u7891e5d6u17eaa3f5dc754c1e@mail.gmail.com> 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: Wed, 19 Apr 2006 22:12:14 -0000 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 > -- Isaac Waldron isaac.waldron@gmail.com mobile: 1-508-353-3453 aim: n1yzi