From owner-freebsd-questions@FreeBSD.ORG Fri Feb 1 23:11:27 2008 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 39D4F16A41B for ; Fri, 1 Feb 2008 23:11:27 +0000 (UTC) (envelope-from fatalis.erratum@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.227]) by mx1.freebsd.org (Postfix) with ESMTP id D5B4E13C448 for ; Fri, 1 Feb 2008 23:11:26 +0000 (UTC) (envelope-from fatalis.erratum@gmail.com) Received: by wr-out-0506.google.com with SMTP id 68so1288443wri.3 for ; Fri, 01 Feb 2008 15:11:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=+EYrxU5iqVHFFNRaE2X/YOLJqLXSZKcS/dWeu3hAsuM=; b=XE9X2iEUwQ94rQMuRXcYBYrdVVXE329a1zZ9RV47+avwML9JajQbzE1KNrmYHIrVCF2eG1XdBQ3WBze/q92vWZ/KtQNgg9o5oaDoWpsBBMicu9vfNROEA5apYGe/odHyTVOovvpENY0QJ8K45ZGWQZhJfd12B0+vZ0woY6IIzco= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=hzxJYWMFTUQoZfXTs5tERm1g0bgYtgjXfFG3hx/arWMGhoqW5ZDImV5FXYxEFl0YXlY5pvQ67pwQJdS1VqSuJol6MKAnR2orovai0YKuEUDgD+KCED3pZdDTJrSCSGGboUOra64+0YV9nxavicEAQt0CkklJfXTkrA7TgBPG8zc= Received: by 10.150.121.2 with SMTP id t2mr1569772ybc.130.1201907486279; Fri, 01 Feb 2008 15:11:26 -0800 (PST) Received: by 10.150.11.19 with HTTP; Fri, 1 Feb 2008 15:11:26 -0800 (PST) Message-ID: <5b826e210802011511hfbbbd85ufc19a3b2e44894be@mail.gmail.com> Date: Sat, 2 Feb 2008 01:11:26 +0200 From: "Reinis Ivanovs" Sender: fatalis.erratum@gmail.com To: jamesh@lanl.gov, freebsd-questions@freebsd.org In-Reply-To: <1201907173.24542.1.camel@p25dual1.lanl.gov> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5b826e210802011432y53ed197cocfc5543073d2faa4@mail.gmail.com> <1201907173.24542.1.camel@p25dual1.lanl.gov> X-Google-Sender-Auth: 15aff2c0a0844081 Cc: Subject: Re: wpa_supplicant not starting with /etc/rc.d/netif 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: Fri, 01 Feb 2008 23:11:27 -0000 Hi, James, It doesn't work with just "DHCP", and I'm not sure you've read that correctly. All it says is that you don't have to run "dhclient" manually, and I'm not doing that anyway. Regards, Reinis On Feb 2, 2008 1:06 AM, James Harrison wrote: > > On Sat, 2008-02-02 at 00:32 +0200, Reinis Ivanovs wrote: > > Hello, > > > > I have been following these instructions from the manual: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html#NETWORK-WIRELESS-WPA-WPA-PSK > > However, in the step that requires me to run "/etc/rc.d/netif start", > > instead of it starting wpa_supplicant, I see only "ral0: no > > link........................ giving up". I've added > > "ifconfig_ral0="WPA DHCP" to /etc/rc.conf, and it works just fine if I > > start it manually with "wpa_supplicant -B -c /etc/wpa_supplicant.conf > > -i ral0". What should I do to get it working? Could it be that there's > > some bug in your scripts? > > > > Regards, > > Reinis > > > > I've not done this, but the documentation says: > > Note: If the /etc/rc.conf is set up with the line ifconfig_ath0="DHCP" > then it is no need to run the dhclient command manually, dhclient will > be launched after wpa_supplicant plumbs the keys. > > As such, I don't understand why you're running the ifconfig command > in /etc/rc.conf with the extra WPA flag. > > Try making it read ifconfig_ral0="DHCP" and see if that helps. > > > Best > > James > > -- http://untu.ms/