Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Boa server depends on net.eth0?
Date: Sun, 19 Nov 2006 18:37:08
Message-Id: 200611191831.54276.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] Boa server depends on net.eth0? by Walter Dnes
1 On Sunday 19 November 2006 17:45, Walter Dnes wrote:
2 > On Wed, Nov 15, 2006 at 01:02:58PM +0000, Mick wrote
3 >
4 > > Hi All,
5 > >
6 > > I am trying to start boa while connected to dial-up (ppp0) and what I am
7 > > getting is this network related error:
8 > > ================================================================
9 > > rc-scripts: WARNING: boa is scheduled to start when net.eth0 has started
10 > > ================================================================
11 > >
12 > > Any idea why this is so? Do I need to change something to let it start
13 > > up on any iface?
14 >
15 > [m3000][root][~] head -11 /etc/init.d/boa
16 > #!/sbin/runscript
17 > # Copyright 1999-2004 Gentoo Foundation
18 > # Distributed under the terms of the GNU General Public License v2
19 > # $Header: /var/cvsroot/gentoo-x86/www-servers/boa/files/boa.rc6,v 1.2
20 > # 2005/07/28 14:24:36 tigger Exp $
21 >
22 > # NB: Standard config is in /etc/boa/boa.conf
23 > # NB: Arguments to pass to boa are in /etc/conf.d/boa
24 >
25 > depend() {
26 > need net
27 > }
28 >
29 > The init script says so. Do you try "/etc/init.d/boa restart" *AFTER*
30 > connecting via dialup?
31
32 Yes, I did. The same error comes up. I see the script but cannot understand
33 why only eth0 counts as a net iface. It may be worth noting that I do not
34 have configured ppp0 through /etc/conf.d/net. Somehow kppp picks it up and
35 runs fine. Could this have something to do with it?
36
37 Also, under /proc/sys/net/ipv4/conf/ I only have:
38
39 ls -la /proc/sys/net/ipv4/conf/
40 total 0
41 dr-xr-xr-x 6 root root 0 Nov 19 18:15 .
42 dr-xr-xr-x 6 root root 0 Nov 19 18:15 ..
43 dr-xr-xr-x 2 root root 0 Nov 19 18:15 all
44 dr-xr-xr-x 2 root root 0 Nov 19 18:15 default
45 dr-xr-xr-x 2 root root 0 Nov 19 18:15 eth0
46 dr-xr-xr-x 2 root root 0 Nov 19 18:15 lo
47
48 I don't have any other ifaces listed there. Shouldn't there be more, like
49 wlan0, ppp0, etc.?
50
51 > Another thing to check is whether you have the
52 > "listen" address hard-coded to your eth0 address in your boa.conf file.
53
54 I do. It's like so:
55
56 Listen 192.168.0.5
57
58 but I don't define an iface in the boa.conf file and I don't have
59 a /etc/conf.d/boa file. Any more ideas please?
60 --
61 Regards,
62 Mick