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.
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
and so on.
From /var/log/messages I see that the nas0 interface created
by br2684ctl is not ready yet when it's needed.
/etc/init.d/net.nas0: ERROR: interface nas0 does not exist
/etc/init.d/net.nas0: Ensure that you have loaded the correct kernel module for your hardware
/etc/init.d/net.nas0: ERROR: net.nas0 failed to start
/etc/init.d/net.ppp0: ERROR: cannot start net.ppp0 as net.nas0 would not start
br2684ctl: Interface "nas0" created sucessfully
br2684ctl: Communicating over ATM 0.8.35, encapsulation: LLC
br2684ctl: Interface configured
br2684ctl: 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
explained and how can I insert some 'sleep'?
Many thanks for a hint,
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany