Gentoo Archives: gentoo-user

From: Mike Kazantsev <mike_kazantsev@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] eth0 keeps starting
Date: Fri, 10 Apr 2009 11:19:09
Message-Id: 20090410171544.5c25aa9b@coercion
In Reply to: [gentoo-user] eth0 keeps starting by Etaoin Shrdlu
1 On Fri, 10 Apr 2009 11:12:04 +0100
2 Etaoin Shrdlu <shrdlu@×××××××××××××.org> wrote:
3
4 > On my laptop, I always had an issue with eth0; during boot, I got a
5 > warning "no configuration found for eth0, assuming dhcp" despite the
6 > fact that in /etc/conf.d/net I had config_eth0=( "dhcp" ).
7
8 I don't remember since when, but the correct syntax should be
9 'config_eth0="dhcp"'. Could be it's that way since OpenRC and
10 baselayout-2, and that will explain why you don't have the same problem
11 on other, probably not up-to-date or just stable arch, machines.
12
13 > Now I don't want to start eth0 at boot anymore (only wlan0), so I
14 > commented out the config_eth0=( "dhcp" ) in /etc/conf.d/net, and did a
15 > rc-update del net.eth0 default (which correctly deleted net.eth0 from
16 > the default runlevel).
17
18 That should be done by disabling hotplugging in /etc/rc.conf.
19 You can either disable hotplug completely, or, better yet, since you
20 don't need in for one device only, disable it for that device:
21
22 rc_hotplug="!net.eth0"
23
24 Note that I'm not sure about syntax with baselayout-1, but the option
25 should be there anyway.
26
27 --
28 Mike Kazantsev // fraggod.net

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] eth0 keeps starting Etaoin Shrdlu <shrdlu@×××××××××××××.org>