From owner-freebsd-questions@FreeBSD.ORG Sat Sep 1 20:17:14 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E93F16A419 for ; Sat, 1 Sep 2007 20:17:14 +0000 (UTC) (envelope-from lists-fbsd@shadypond.com) Received: from mx-outbound01.easydns.com (mailout.easydns.com [205.210.42.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3CFB813C458 for ; Sat, 1 Sep 2007 20:17:14 +0000 (UTC) (envelope-from lists-fbsd@shadypond.com) Received: from slider.shadypond.com (69-12-173-117.static.humboldt1.com [69.12.173.117]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx-outbound01.easydns.com (Postfix) with ESMTP id E8889816D for ; Sat, 1 Sep 2007 11:28:54 -0400 (EDT) Received: from slider.shadypond.com (slider.shadypond.com [192.168.1.11]) by slider.shadypond.com (postoffice) with ESMTP id CBD00B65B5 for ; Sat, 1 Sep 2007 15:28:52 +0000 (UTC) From: Pollywog To: freebsd-questions@freebsd.org Date: Sat, 1 Sep 2007 15:28:51 +0000 References: <200709011447.l81ElnsJ024085@mi0.bluebottle.com> <200709011707.46857.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <200709011707.46857.fbsd.questions@rachie.is-a-geek.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709011528.51697.lists-fbsd@shadypond.com> Subject: Re: wpa_supplicant question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Sep 2007 20:17:14 -0000 On Saturday 01 September 2007 15:07:46 Mel wrote: > On Saturday 01 September 2007 16:47:49 Xihong Yin wrote: > > Thanks, I thought it was the problem of the argument. But I still can not > > connect to my Access Point using wap_supplicant while I can connect by > > 'ifconfig'. It always connects to a different network which is in the > > previous DHCP leases. But this network is not what I specified in my > > /etc/wap_supplicant.conf file. > > > > My /etc/wap_supplicant.conf looks like this: > > > > network={ > > ssid="home" > > key_mgmt=NONE > > wep_key1=1234567890 > > wep_tx_keyidx=1 > > } > > Unless that's a typo, it would be /etc/wpa_supplicant not wap. > Also make sure you don't specify the 0x in wep_key1. Also try wep_key0 and > wep_tx_keyidx=0. It automagically worked for me on one install. > > That said, I don't have much luck with wpa_supplicant either, some cards it > works some cards it doesn't and the output isn't very informative. Recently > `ifconfig ath0 up scan' seems to make all network traffic stop, even if > you're connected through a wire. Would one use a WEP key in /etc/wpa_supplicant.conf ? Mine looks like this and I have a laptop with built-in Ralink rt2500 ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel network={ ssid="myssid" key_mgmt=WPA-PSK psk=12345979374andalotorletterstoo }