dhcpcd is an RFC2131-, RFC2132-, and RFC1541-compliant DHCP client daemon. dhcpcd gets an IP address and other information from a corresponding DHCP server, configures the network interface automatically, and tries to renew the lease time according to RFC2131 or RFC1541 depending on the command line option. Please see the dhcpcd man page for complete description of command-line options.
dhcpcd-1.3 has been reported to compile and successfully used on Intel, PowerPC, and Alpha-based Linux platforms providing glibc-2.0.5 or later has been installed.
Invoke the client by typing in console 'dhcpcd'. Note you should NOT explicitly put it in the background with the '&' character - background processing is automatic unless 'dhcpcd' was
compiled with -DDEBUG flag. Dhcpcd will fork into background as soon as it configures the interface. By default, dhcpcd will attach to 'eth0' unless you explicitly give an interface name on the command line.
The example below demonstrates dhcpcd usage in a case where linux box serves as a router/firewall for the local network 192.168.12.0.
What's New in This Release: [ read full changelog ]
· Fixes include checking poll for POLLERR and POLLNVAL, and only opening raw sockets when there is a link.
· dhcpcd now logs to LOG_DAEMON instead of LOG_LOCAL0.