%general-entities; ]> DHCPCD-&dhcpcd-version; DHCPCD <para>The DHCPCD package provides a DHCP Client for network configuration.</para> </sect2> <sect2 role="installation"> <title>Installation of DHCPCD If you wish to configure your network to connect to a DHCP server, you will first need to install a DHCP client. CLFS uses the DHCPCD package for this. Prepare DHCPCD for compilation: ./configure \ --prefix=/usr \ --sbindir=/sbin \ --sysconfdir=/etc \ --dbdir=/var/lib/dhcpcd \ --libexecdir=/usr/lib/dhcpcd Compile the package: make This package does not come with a test suite. Install the package: make install Creating the DHCP Network Interface Configuration Files First install the service from the CLFS Bootscripts package: tar -xvf bootscripts-cross-lfs-&bootscripts-clfs-version;.tar.xz cd bootscripts-cross-lfs-&bootscripts-clfs-version; make install-service-dhcpcd Finally, create the /etc/sysconfig/network-devices/ifconfig.eth0/dhcpcd configuration file using the following commands. Adjust appropriately for additional interfaces: cd /etc/sysconfig/network-devices && mkdir -v ifconfig.eth0 && cat > ifconfig.eth0/dhcpcd << "EOF" ONBOOT="yes" SERVICE="dhcpcd" # Start Command for DHCPCD DHCP_START="-q" # Stop Command for DHCPCD DHCP_STOP="-k" EOF The DHCP_START and DHCP_STOP variables arguments that are passed onto dhcpcd when starting and stoppping the service. More information about what can be passed can be found in the dhcpcd(8) man page. To configure another Static Interface, Follow . Contents of dhcpcd Installed files dhcpcd Short Descriptions dhcpcd dhcpcd is an implementation of the DHCP client specified in RFC 2131. It gets the host information from a DHCP server and configures the network interface automatically. dhcpcd