Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Where is /etc/conf.d/net.example?
Date: Mon, 17 Mar 2014 13:15:54
Message-Id: 5326F566.5090104@gmail.com
In Reply to: Re: [gentoo-user] Re: Where is /etc/conf.d/net.example? by Mick
1 On 17/03/2014 10:18, Mick wrote:
2 > On Monday 17 Mar 2014 03:21:38 eroen wrote:
3 >> On Sun, 16 Mar 2014 22:15:59 +0200, Alan McKinnon
4 >>
5 >> <alan.mckinnon@×××××.com> wrote:
6 >>> You have various choices
7 >>>
8 >>> - an orthodox network manager like wicd or nm
9 >>> - a minimal network manager like connman
10 >>> - /etc/init.d/net* scripts supplied by OpenRc
11 >>> - no manager, do it manually
12 >>
13 >> Why doesn't anyone ever mention using dhcpcd for managing connections?
14 >> It and its accompanying openrc init script are installed on almost
15 >> every gentoo box anyway. For simple setups it should Just Work(TM)
16 >> out-of-box.
17 >
18 > I can't find an /etc/conf.d/dhcpcd file. Will it use the /etc/conf.d/net file
19 > settings, or just try to bring up all and any /etc/init.d/net.* symlinks and
20 > get an IP address from any listening dhcp server?
21 >
22
23
24 I haven't used dhcpcd for a some years now, so YMMV:
25
26 It doesn't have an init script, it's started by OpenRc's net.* scripts.
27 If they are blank, OpenRc assumes a dhcp-managed interface and starts
28 the configured dhcp provider. dhcpcd is the default for this.
29
30 So, if you create /etc/init.d/net.eth0[1] and add nothing to
31 /etc/conf.d/net, dhcpcd is most ikely what you are going to be running.
32
33 [1] For the purposes of this thread, let's just assume that udev's
34 naming-shenanigans don't exist, we all know what we mean by "eth0"
35
36 --
37 Alan McKinnon
38 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-user] Re: Where is /etc/conf.d/net.example? Nilesh Govindrajan <me@××××××××.com>