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
Message-Id: tkrat.b9de186eaf6b19ed@igpm.rwth-aachen.de
1 Hi,
2
3 I have a timing problem setting up my ADSL network via bridge 2684
4
5 My script worked just fine until I moved my Gentoo system to my
6 new fast multicore PC.
7
8 Now it looks like the network configuration proceeds too fast.
9
10 In /etc/conf.d/net
11 I have
12 br2684ctl_nas0="-e 0 -a 8.35"
13 config_nas0=( null )
14
15 config_ppp0="ppp" # Runs /lib/rcscripts/net/pppd.sh
16 link_ppp0='nas0' # The name of the RFC2684 bridge interface
17 plugins_ppp0="pppoe"
18
19 and so on.
20
21 From /var/log/messages I see that the nas0 interface created
22 by br2684ctl is not ready yet when it's needed.
23 I get
24
25 /etc/init.d/net.nas0[3452]: ERROR: interface nas0 does not exist
26 /etc/init.d/net.nas0[3453]: Ensure that you have loaded the correct kernel module for your hardware
27 /etc/init.d/net.nas0[3392]: ERROR: net.nas0 failed to start
28 /etc/init.d/net.ppp0[3454]: ERROR: cannot start net.ppp0 as net.nas0 would not start
29 br2684ctl[3426]: Interface "nas0" created sucessfully
30 br2684ctl[3426]: Communicating over ATM 0.8.35, encapsulation: LLC
31 br2684ctl[3426]: Interface configured
32 br2684ctl[3426]: RFC 1483/2684 bridge daemon started
33
34 which shows that it is ready (only) now.
35
36 IF I start net.ppp0 afterwards again, the network comes up.
37
38 So to fix this, I'd like to do some 'sleep' after /usr/bin/br2684ctl has
39 executed.
40
41 Where is the syntax
42 br2684ctl_nas0= ...
43
44 explained and how can I insert some 'sleep'?
45
46 Many thanks for a hint,
47 Helmut.
48
49
50
51 --
52 Helmut Jarausch
53
54 Lehrstuhl fuer Numerische Mathematik
55 RWTH - Aachen University
56 D 52056 Aachen, Germany

Replies

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>