Gentoo Archives: gentoo-user

From: Helmut Jarausch <jarausch@××××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] etc/conf.d/net format ?
Date: Mon, 23 Feb 2009 13:14:33

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/
link_ppp0='nas0' # The name of the RFC2684 bridge interface

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

Where is the syntax
br2684ctl_nas0= ...

explained and how can I insert some 'sleep'?

Many thanks for a hint,

Helmut Jarausch

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


Subject Author
Re: [gentoo-user] etc/conf.d/net format ? Mike Kazantsev <mike_kazantsev@×××××××.net>
Re: [gentoo-user] etc/conf.d/net format ? Stroller <stroller@××××××××××××××××××.uk>