Gentoo Archives: gentoo-server

From: Collin Starkweather <collin.starkweather@××××××××××××××××××.com>
To: gentoo-server@l.g.o
Subject: [gentoo-server] What provides net (e.g., /etc/init.d/net.eth0)?
Date: Sun, 07 Mar 2004 19:53:11
Message-Id: 1078689184.5402.19.camel@localhost
1 I have an interface ath0 set up and would like all the various things
2 that 'need net' to recognize that as something that provides it.
3
4 Per the Gentoo initscripts docs
5
6 http://www.gentoo.org/doc/en/handbook/handbook.xml?part=2&chap=5
7
8 something in /etc/init.d should have 'provide net' in the depend()
9 section. But /etc/init.d/net.eth0 has
10
11 depend() {
12 use hotplug pcmcia
13 }
14
15 and a grep comes up empty. Where is the provider of the 'net' virtual
16 dependency defined?
17
18 I put a 'provide net' in /etc/init.d/net.ath0 but when I start it up,
19 other things that 'need net' such as sshd still don't recognize it as
20 something that provides the virtual 'net' dependency and try to start
21 eth0.
22
23 Thanks,
24
25 -Collin
26
27 --
28 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29 Collin Starkweather, Ph.D. collin.starkweather@××××××××××××××××××.com
30 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Replies

Subject Author
Re: [gentoo-server] What provides net (e.g., /etc/init.d/net.eth0)? Matt Steven <matt@×××××××××.com>
[gentoo-server] Re: What provides net (e.g., /etc/init.d/net.eth0)? Jerry McBride <mcbrides9@×××××××.net>