public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] /etc/init.d/net.ra0 is not bringing up the interface?
Date: Fri, 12 Mar 2010 06:54:53 +0000	[thread overview]
Message-ID: <201003120655.05681.michaelkintzios@gmail.com> (raw)
In-Reply-To: <b77b56401003112212u48a10b02r87f6730d09871952@mail.gmail.com>

[-- Attachment #1: Type: Text/Plain, Size: 1442 bytes --]

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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2010-03-12  6:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-12  6:12 [gentoo-user] /etc/init.d/net.ra0 is not bringing up the interface? Tony Miller
2010-03-12  6:54 ` Mick [this message]
2010-03-12 19:59   ` Tony Miller
2010-03-17  8:24     ` Tony Miller
2010-03-17 20:48       ` Mick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201003120655.05681.michaelkintzios@gmail.com \
    --to=michaelkintzios@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox