* [gentoo-user] /etc/init.d/net.ra0 is not bringing up the interface?
@ 2010-03-12 6:12 Tony Miller
2010-03-12 6:54 ` Mick
0 siblings, 1 reply; 5+ messages in thread
From: Tony Miller @ 2010-03-12 6:12 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1043 bytes --]
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.
Thanks,
-Tony
[-- Attachment #2: Type: text/html, Size: 1332 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] /etc/init.d/net.ra0 is not bringing up the interface?
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
2010-03-12 19:59 ` Tony Miller
0 siblings, 1 reply; 5+ messages in thread
From: Mick @ 2010-03-12 6:54 UTC (permalink / raw
To: gentoo-user
[-- 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 --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] /etc/init.d/net.ra0 is not bringing up the interface?
2010-03-12 6:54 ` Mick
@ 2010-03-12 19:59 ` Tony Miller
2010-03-17 8:24 ` Tony Miller
0 siblings, 1 reply; 5+ messages in thread
From: Tony Miller @ 2010-03-12 19:59 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1591 bytes --]
That was just it! Thank you so much.
On Thu, Mar 11, 2010 at 10:54 PM, Mick <michaelkintzios@gmail.com> 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
>
[-- Attachment #2: Type: text/html, Size: 2146 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] /etc/init.d/net.ra0 is not bringing up the interface?
2010-03-12 19:59 ` Tony Miller
@ 2010-03-17 8:24 ` Tony Miller
2010-03-17 20:48 ` Mick
0 siblings, 1 reply; 5+ messages in thread
From: Tony Miller @ 2010-03-17 8:24 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1969 bytes --]
Well it was working, then I wanted to add this to my /etc/conf.d/net:
essid_ra0=( "my essid" )
Now the same problem is happening again, any advice?
Nothing else in my /etc/conf.d/net except for this:
sleep_scan_ra0="5"
config_ra0=( "dhcp" )
On Fri, Mar 12, 2010 at 12:59 PM, Tony Miller <mcfiredrill@gmail.com> wrote:
> That was just it! Thank you so much.
>
>
> On Thu, Mar 11, 2010 at 10:54 PM, Mick <michaelkintzios@gmail.com> 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
>>
>
>
[-- Attachment #2: Type: text/html, Size: 2915 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] /etc/init.d/net.ra0 is not bringing up the interface?
2010-03-17 8:24 ` Tony Miller
@ 2010-03-17 20:48 ` Mick
0 siblings, 0 replies; 5+ messages in thread
From: Mick @ 2010-03-17 20:48 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 419 bytes --]
On Wednesday 17 March 2010 08:24:07 Tony Miller wrote:
> Well it was working, then I wanted to add this to my /etc/conf.d/net:
>
> essid_ra0=( "my essid" )
>
> Now the same problem is happening again, any advice?
Yes, first please try not to top post because it messes up the natural flow of
the question/answer sequence.
Then try this syntax in case it works: essid_ra0="my essid"
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-03-17 20:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2010-03-12 19:59 ` Tony Miller
2010-03-17 8:24 ` Tony Miller
2010-03-17 20:48 ` Mick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox