public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] etc/conf.d/net format ?
@ 2009-02-23 13:14 Helmut Jarausch
  2009-02-23 13:31 ` Mike Kazantsev
  2009-02-23 18:21 ` Stroller
  0 siblings, 2 replies; 5+ messages in thread
From: Helmut Jarausch @ 2009-02-23 13:14 UTC (permalink / raw
  To: gentoo-user

Hi,

I have a timing problem setting up my ADSL network via bridge 2684

My script worked just fine until I moved my Gentoo system to my
new fast multicore PC.

Now it looks like the network configuration proceeds too fast.

In /etc/conf.d/net
I have
br2684ctl_nas0="-e 0 -a 8.35"
config_nas0=( null )

config_ppp0="ppp"  # Runs /lib/rcscripts/net/pppd.sh
link_ppp0='nas0' # The name of the RFC2684 bridge interface
plugins_ppp0="pppoe"

and so on.

From /var/log/messages I see that the nas0 interface created
by br2684ctl is not ready yet when it's needed.
I get

/etc/init.d/net.nas0[3452]: ERROR: interface nas0 does not exist
/etc/init.d/net.nas0[3453]: Ensure that you have loaded the correct kernel module for your hardware
/etc/init.d/net.nas0[3392]: ERROR: net.nas0 failed to start
/etc/init.d/net.ppp0[3454]: ERROR: cannot start net.ppp0 as net.nas0 would not start
br2684ctl[3426]: Interface "nas0" created sucessfully
br2684ctl[3426]: Communicating over ATM 0.8.35, encapsulation: LLC
br2684ctl[3426]: Interface configured
br2684ctl[3426]: RFC 1483/2684 bridge daemon started

which shows that it is ready (only) now.

IF I start net.ppp0 afterwards again, the network comes up.

So to fix this, I'd like to do some 'sleep' after /usr/bin/br2684ctl has
executed.

Where is the syntax
br2684ctl_nas0= ...

explained and how can I insert some 'sleep'?

Many thanks for a hint,
Helmut.



-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-02-23 18:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-23 13:14 [gentoo-user] etc/conf.d/net format ? Helmut Jarausch
2009-02-23 13:31 ` Mike Kazantsev
2009-02-23 13:35   ` Mike Kazantsev
2009-02-23 16:12     ` Helmut Jarausch
2009-02-23 18:21 ` Stroller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox