From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NqB1I-0006TA-Uw for garchives@archives.gentoo.org; Fri, 12 Mar 2010 19:59:41 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C11BAE0A6E; Fri, 12 Mar 2010 19:59:30 +0000 (UTC) Received: from mail-pz0-f204.google.com (mail-pz0-f204.google.com [209.85.222.204]) by pigeon.gentoo.org (Postfix) with ESMTP id 9411EE0A6E for ; Fri, 12 Mar 2010 19:59:30 +0000 (UTC) Received: by pzk42 with SMTP id 42so1046754pzk.32 for ; Fri, 12 Mar 2010 11:59:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=VkjHs1US1OuS1SLlst8lXjY7+oD3nQKQ5p9RDGcxHNI=; b=uj63CVDZuVQT+ova+8rp45saCjnszo3rJqVx6tbCc/rjqssfdyBLZryibht18m0egs 1u9Hv6gg+QEDGcWYCODtmhjgMKenoLWKGTPDHlDFUi0t31PvWABP9bTwZxydDxxTqsU2 fItdPW+lzqNqY0ggMnM8/7fojD9FafHSwnwx4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=JXMnL/Rm0Epf4HEcA8ox5RNUCCLL5Qfma+IAA+/kIDYCL6B9Euy0wTpXPMTg5yN079 Je+JS9sCg4ETdxKtAvj722cJIvb3VwtEDzg3jNhutybD7AKG+It6X52K74naLGp6LM/X paem75FowbfH7QS8VIPodpBJabuKCrzPttGN4= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.141.108.8 with SMTP id k8mr3441121rvm.102.1268423970033; Fri, 12 Mar 2010 11:59:30 -0800 (PST) In-Reply-To: <201003120655.05681.michaelkintzios@gmail.com> References: <201003120655.05681.michaelkintzios@gmail.com> Date: Fri, 12 Mar 2010 11:59:29 -0800 Message-ID: Subject: Re: [gentoo-user] /etc/init.d/net.ra0 is not bringing up the interface? From: Tony Miller To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=000e0cd13ac228afad04819ff89c X-Archives-Salt: c010c5d5-1b7b-46d9-a59f-698f58c6bd0b X-Archives-Hash: 395edec90de126e0ef3f4c1c849cf921 --000e0cd13ac228afad04819ff89c Content-Type: text/plain; charset=ISO-8859-1 That was just it! Thank you so much. On Thu, Mar 11, 2010 at 10:54 PM, Mick wrote: > On Friday 12 March 2010 06:12:55 Tony Miller wrote: > > I have added /etc/init.d/net.ra0 (my wireless interface is called ra0 > > instead of wlan0) to the default runlevel. It starts the script at boot, > > but it acts like the device has not been brought up(i.e. with ifconfig > ra0 > > up). For instance the boot log will say: > > > > * Starting ra0 > > * Configuring wireless network for ra0 > > Error for wireless request "Set Mode" (8B06) : > > SET failed on device ra0; Network is down > > Error for wireless request "Set encode" (8B2A) : > > SET failed on device ra0; Network is down > > Error for wireless request "Set essid" (8B1A) : > > SET failed on device ra0; Network is down > > > > And so on and so on for all the different settings, until it finally > gives > > up. > > > > I can do ifconfig ra0 up, iwconfig ra0 essid any, dhcpcd ra0 and connect > to > > the network just fine! Of course I would like it to start at boot > however. > > > > Any ideas? The init script is broken? The actual init script is very > > complicated, and even if it were easy to just add "ifconfig ra0 up" > > somewhere to it, I'm not sure if that's the "best" solution. > > Look at /etc/conf.d/wireless.example to see how you are meant to configure > /etc/conf.d/net to manage your wireless card either using iwconfig, or > using > wpa_supplicant. You probably need something like: > > sleep_scan_ra0="3" #where "3" is three seconds > > HTH. > -- > Regards, > Mick > --000e0cd13ac228afad04819ff89c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable That was just it! Thank you so much.

On T= hu, Mar 11, 2010 at 10:54 PM, Mick <michaelkintzios@gmail.com> wrote:<= br>
On Friday= 12 March 2010 06:12:55 Tony Miller wrote:
> I have added /etc/init.d/net.ra0 (my wireless interface is called ra0<= br> > instead of wlan0) to the default runlevel. It starts the script at boo= t,
> =A0but it acts like the device has not been brought up(i.e. with ifcon= fig ra0
> =A0up). For instance the boot log will say:
>
> * Starting ra0
> * =A0Configuring wireless network for ra0
> Error for wireless request "Set Mode" (8B06) :
> =A0 =A0 SET failed on device ra0; Network is down
> Error for wireless request "Set encode" (8B2A) :
> =A0 =A0 SET failed on device ra0; Network is down
> Error for wireless request "Set essid" (8B1A) :
> =A0 =A0 SET failed on device ra0; Network is down
>
> And so on and so on for all the different settings, until it finally g= ives
> up.
>
> I can do ifconfig ra0 up, iwconfig ra0 essid any, dhcpcd ra0 and conne= ct to
> the network just fine! Of course I would like it to start at boot howe= ver.
>
> Any ideas? The init script is broken? The actual init script is very > complicated, and even if it were easy to just add "ifconfig ra0 u= p"
> somewhere to it, I'm not sure if that's the "best" s= olution.

Look at /etc/conf.d/wireless.example to see how you are meant t= o configure
/etc/conf.d/net to manage your wireless card either using iwconfig, or usin= g
wpa_supplicant. =A0You probably need something like:

sleep_scan_ra0=3D"3" #where "3" is three seconds

HTH.
--
Regards,
Mick

--000e0cd13ac228afad04819ff89c--