Gentoo Archives: gentoo-user

From: Tony Miller <mcfiredrill@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] /etc/init.d/net.ra0 is not bringing up the interface?
Date: Wed, 17 Mar 2010 08:24:48
Message-Id: b77b56401003170124w6a73bfedt2f65413843a6407e@mail.gmail.com
In Reply to: Re: [gentoo-user] /etc/init.d/net.ra0 is not bringing up the interface? by Tony Miller
1 Well it was working, then I wanted to add this to my /etc/conf.d/net:
2
3 essid_ra0=( "my essid" )
4
5 Now the same problem is happening again, any advice?
6
7 Nothing else in my /etc/conf.d/net except for this:
8
9 sleep_scan_ra0="5"
10 config_ra0=( "dhcp" )
11
12
13 On Fri, Mar 12, 2010 at 12:59 PM, Tony Miller <mcfiredrill@×××××.com> wrote:
14
15 > That was just it! Thank you so much.
16 >
17 >
18 > On Thu, Mar 11, 2010 at 10:54 PM, Mick <michaelkintzios@×××××.com> wrote:
19 >
20 >> On Friday 12 March 2010 06:12:55 Tony Miller wrote:
21 >> > I have added /etc/init.d/net.ra0 (my wireless interface is called ra0
22 >> > instead of wlan0) to the default runlevel. It starts the script at boot,
23 >> > but it acts like the device has not been brought up(i.e. with ifconfig
24 >> ra0
25 >> > up). For instance the boot log will say:
26 >> >
27 >> > * Starting ra0
28 >> > * Configuring wireless network for ra0
29 >> > Error for wireless request "Set Mode" (8B06) :
30 >> > SET failed on device ra0; Network is down
31 >> > Error for wireless request "Set encode" (8B2A) :
32 >> > SET failed on device ra0; Network is down
33 >> > Error for wireless request "Set essid" (8B1A) :
34 >> > SET failed on device ra0; Network is down
35 >> >
36 >> > And so on and so on for all the different settings, until it finally
37 >> gives
38 >> > up.
39 >> >
40 >> > I can do ifconfig ra0 up, iwconfig ra0 essid any, dhcpcd ra0 and connect
41 >> to
42 >> > the network just fine! Of course I would like it to start at boot
43 >> however.
44 >> >
45 >> > Any ideas? The init script is broken? The actual init script is very
46 >> > complicated, and even if it were easy to just add "ifconfig ra0 up"
47 >> > somewhere to it, I'm not sure if that's the "best" solution.
48 >>
49 >> Look at /etc/conf.d/wireless.example to see how you are meant to configure
50 >> /etc/conf.d/net to manage your wireless card either using iwconfig, or
51 >> using
52 >> wpa_supplicant. You probably need something like:
53 >>
54 >> sleep_scan_ra0="3" #where "3" is three seconds
55 >>
56 >> HTH.
57 >> --
58 >> Regards,
59 >> Mick
60 >>
61 >
62 >

Replies

Subject Author
Re: [gentoo-user] /etc/init.d/net.ra0 is not bringing up the interface? Mick <michaelkintzios@×××××.com>