From owner-freebsd-questions@FreeBSD.ORG Fri Feb 1 23:06:20 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 E1A4A16A418 for ; Fri, 1 Feb 2008 23:06:20 +0000 (UTC) (envelope-from jamesh@lanl.gov) Received: from mailwasher.lanl.gov (mailwasher.lanl.gov [204.121.3.2]) by mx1.freebsd.org (Postfix) with ESMTP id B160013C455 for ; Fri, 1 Feb 2008 23:06:20 +0000 (UTC) (envelope-from jamesh@lanl.gov) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailwasher.lanl.gov (Postfix) with ESMTP id E55D8540442; Fri, 1 Feb 2008 16:06:19 -0700 (MST) X-CTN-5-Virus-Scanner: amavisd-new at mailwasher.lanl.gov Received: from mailwasher.lanl.gov (localhost.localdomain [127.0.0.1]) by mailwasher.lanl.gov (Postfix) with ESMTP id D2243540445; Fri, 1 Feb 2008 16:06:19 -0700 (MST) Received: from mailrelay3.lanl.gov (mailrelay3.lanl.gov [128.165.4.104]) by mailwasher.lanl.gov (Postfix) with ESMTP id D0255540442; Fri, 1 Feb 2008 16:06:19 -0700 (MST) Received: from oppie-mail.lanl.gov (oppie-mail.lanl.gov [128.165.4.123]) by mailrelay3.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id m11N6HaL014076; Fri, 1 Feb 2008 16:06:17 -0700 Received: from [128.165.86.60] (p25dual1.lanl.gov [128.165.86.60]) by oppie-mail.lanl.gov (Postfix) with ESMTP id CA5FB1F8002; Fri, 1 Feb 2008 16:06:13 -0700 (MST) From: James Harrison To: Reinis Ivanovs In-Reply-To: <5b826e210802011432y53ed197cocfc5543073d2faa4@mail.gmail.com> References: <5b826e210802011432y53ed197cocfc5543073d2faa4@mail.gmail.com> Content-Type: text/plain Organization: Los Alamos National Labs Date: Fri, 01 Feb 2008 16:06:13 -0700 Message-Id: <1201907173.24542.1.camel@p25dual1.lanl.gov> Mime-Version: 1.0 X-Mailer: Evolution 2.8.0 (2.8.0-33.0.1.el5) Content-Transfer-Encoding: 7bit X-CTN-5-MailScanner-Information: Please see http://network.lanl.gov/email/virus-scan.php X-CTN-5-MailScanner: Found to be clean X-CTN-5-MailScanner-From: jamesh@lanl.gov X-Spam-Status: No Cc: freebsd-questions@freebsd.org 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 Reply-To: jamesh@lanl.gov List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2008 23:06:21 -0000 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