dhcpcd is an implementation of the DHCP client specified in RFC2131. This is useful for connecting your computer to a network which uses DHCP to assign network addresses.
Download (HTTP): http://download.berlios.de/dhcpcd/dhcpcd-3.0.19.tar.bz2
Download (FTP): ftp://ftp.osuosl.org/pub/gentoo/distfiles/dhcpcd-3.0.19.tar.bz2
Download MD5 sum: 90d6df62d663bdea65d5905023377b39
Download size: 32.5 KB
Estimated disk space required: 0.3 MB
Estimated build time: less than 0.1 SBU
Install dhcpcd by running the following commands:
This package does not come with a test suite.
Now, as the
To configure dhcpcd, you need to first
install the network service script,
included in the blfs-bootscripts-20080816 package (as
configures or shuts down a network interface, it executes the
/etc/dhcpcd.sh. This script
can be customized to perform additional actions for the network
interface. See the man page of dhcpcd for more details. An
example file is shipped in the tarball which can be used to send
the interface details to syslog.
install -v -d /etc/sysconfig/network-devices/ifconfig.eth0 && cat > /etc/sysconfig/network-devices/ifconfig.eth0/dhcpcd << "EOF"
ONBOOT="yes" SERVICE="dhcpcd" DHCP_START="EOF
<insert appropriate start options here>" DHCP_STOP="-k
<insert additional stop options here>" # Set PRINTIP="yes" to have the script print # the DHCP assigned IP address PRINTIP="no" # Set PRINTALL="yes" to print the DHCP assigned values for # IP, SM, DG, and 1st NS. This requires PRINTIP="yes". PRINTALL="no"
For more information on the appropriate
DHCP_STOP values, examine the man page for
Last updated on 2008-03-18 10:49:58 -0500