Gentoo Archives: gentoo-user

From: walt <w41ter@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Why is dhcpcd starting by itself?
Date: Sun, 26 Feb 2012 16:31:21
Message-Id: jidmjm$75m$1@dough.gmane.org
In Reply to: Re: [gentoo-user] Re: Why is dhcpcd starting by itself? by Willie WY Wong
1 On 02/26/2012 06:17 AM, Willie WY Wong wrote:
2 > On Sun, Feb 26, 2012 at 05:35:30AM -0800, Penguin Lover walt squawked:
3 >> The value of ${IFACE} is set (I think) by looking at the ".lo"
4 >> or ".eth0" file extension of net.lo or net.eth0 (or whatever
5 >> symlink you created when you installed gentoo). If you don't
6 >> have a net.whatever symlink to net.lo, then openrc defaults to
7 >> dhcp.
8 >
9 > Gee-Mi-Ni init.d # ls -l net*
10 > lrwxrwxrwx 1 root root 6 Nov 7 2009 net.eth0 -> net.lo
11 > -rwxr-xr-x 1 root root 16852 Feb 26 10:06 net.lo
12 > -rwxr-xr-x 1 root root 2211 Feb 26 10:06 netmount
13 > lrwxrwxrwx 1 root root 6 Jan 22 2010 net.wlan0 -> net.lo
14 > -rwxr-xr-x 1 root root 6954 Feb 26 10:06 network
15 >
16 > I think I have the correct ones.
17
18 Yes, that looks okay. My other thought is about the contents of
19 /etc/conf.d/net. IIRC there was some confusion about the proper
20 syntax of that file concerning the use of parentheses and quote
21 marks, and I believe the syntax did change at least once.
22
23 You could check your current syntax against the most recently
24 installed /usr/share/doc/openrc*/net.example.bz2.