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

Replies

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