[GLLUG] gentoo Question 1: dhcpcd

Matt Graham danceswithcrows at usa.net
Tue Mar 8 11:55:08 EST 2005


On Tuesday 08 March 2005 10:39, after a long battle with technology, 
Brian Hoort wrote:
> Every boot of my system, I have to log in as root and "# dhcpcd eth0"
> manually.  I figured I needed to "# rc-update dhcp" or something, but
> there is no /etc/init.d/dhcp*.

There is an /etc/init.d/net.eth0 , isn't there?  "rc-update add net.eth0 
default".

> What do I need to do to make this automatic?  My /etc/conf.d/net is
> configured for dhcp.  There is a /etc/dhcpc directory, but it is
> empty.  I do not know what that is for.

/etc/conf.d/net should have the following lines in it:

iface_eth0="dhcp"
# writes DHCPCD messages to syslog, so if something goes wrong, you'll 
# get some warning
dhcpcd_eth0="-d" 

/etc/dhcpc/ contains something or other.  Looks like a couple of text 
files describing the network settings that were obtained by dhcpcd.  
Strangely, the last time these files were modified on my laptop was in 
late 2003, though I've been using dhcpcd with my laptop for a very long 
time. 


-- 
   People don't tend to get paid.
   --MegaHAL, trained on Netizen's quotes file
There is no Darkness in Eternity/But only Light too dim for us to see


More information about the linux-user mailing list