Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] how to forbid dhcp for eth0
Date: Fri, 14 Jan 2011 07:05:27
Message-Id: 4D2FE748.70904@gmail.com
In Reply to: [gentoo-user] how to forbid dhcp for eth0 by doherty pete
1 doherty pete wrote:
2 > when i start the kernel, it wait long time to dhcp for eth0:
3 > eth0:dhcped 4.0.15 starting
4 > eth0:waiting for carrier
5 >
6 > i want to forbid dhcp,how can i do?
7 >
8 > --
9 > pete_doherty
10
11 I'm not sure but would this help?
12
13 # Some people want a finer grain over hotplug/coldplug. RC_PLUG_SERVICES
14 is a
15 # list of services that are matched in order, either allowing or not. By
16 # default we allow services through as RC_COLDPLUG/RC_HOTPLUG has to be yes
17 # anyway.
18 # Example - RC_PLUG_SERVICES="net.wlan !net.*"
19 # This allows net.wlan and any service not matching net.* to be plugged.
20
21 RC_PLUG_SERVICES=""
22
23 That's in /etc/conf.d/rc.
24
25 Dale
26
27 :-) :-)