%general-entities; ]> $LastChangedBy$ $Date$ dhcpcd-&dhcpcd-version; dhcpcd Introduction to dhcpcd 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. Package Information Download (HTTP): Download (FTP): Download MD5 sum: &dhcpcd-md5sum; Download size: &dhcpcd-size; Estimated disk space required: &dhcpcd-buildsize; Estimated build time: &dhcpcd-time; User Notes: Installation of dhcpcd Install dhcpcd by running the following commands: make This package does not come with a test suite. Now, as the root user: make install Configuring dhcpcd Config Files /etc/dhcpcd.sh /etc/dhcpcd.sh Configuration Information To configure dhcpcd, you need to first install the network service script, /etc/sysconfig/network-devices/services/dhcpcd included in the package (as user root): dhcpcd (service script) make install-service-dhcpcd Whenever dhcpcd configures or shuts down a network interface, it executes the script /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. Finally, as the root user create the /etc/sysconfig/network-devices/ifconfig.eth0/dhcpcd configuration file using the following commands. Adjust appropriately for additional interfaces: /etc/sysconfig/.../dhcpcd install -v -d /etc/sysconfig/network-devices/ifconfig.eth0 && cat > /etc/sysconfig/network-devices/ifconfig.eth0/dhcpcd << "EOF" ONBOOT="yes" SERVICE="dhcpcd" DHCP_START="<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" EOF For more information on the appropriate DHCP_START and DHCP_STOP values, examine the man page for dhcpcd. The default behavior of dhcpcd is to overwrite (after making backup copies) /etc/resolv.conf, /etc/yp.conf and /etc/ntp.conf with new files containing information from the DHCP server. If this is undesirable, review the dhcpcd man page for switches to add to the DHCP_START value. /etc/resolv.conf /etc/yp.conf /etc/ntp.conf Contents Installed Program Installed Libraries Installed Directory dhcpcd None None Short Descriptions dhcpcd is an implementation of the DHCP client specified in RFC2131 (when -r option is not specified) and RFC1541 (when -r option is specified). dhcpcd