dhcpcd - a DHCP client
In layman's terms, dhcpcd runs on your machine and silently configures your computer to work on the attached networks without trouble and mostly without configuration.
If you're a desktop user then you may also be interested in Network Configurator (dhcpcd-ui) which sits in the notification area and monitors the state of the network via dhcpcd. It also has a nice configuration dialog and the ability to enter a pass phrase for wireless networks.
dhcpcd may not be the only daemon running that wants to configure DNS on the host, so it uses resolvconf to ensure they can co-exist.
dhcpcd is the only open source DHCP client to support:-
- DHCP over FireWire
- User Class
- SIP Servers
- Domain Search
- Classless Static Routes *
- IPv4LL, APIPA or ZeroConf
- DHCP over InfiniBand
- TimeZone options
- IPv6 Router Soliciation including optional address and route management
- IPv6 Router Advertisement Options for DNS Configuration
- IPv6 Stable Private Addresses
- Seamless quad stack of DHCPv4, IPv4LL, IPv6RS, DHCPv6
- Link carrier detection
- Wireless SSID profile support
- ARP ping profile support
- Dynamic route management for systems without metrics (ie, the BSDs)
- Share same IP address across different interfaces (only one active though)
- Exposes interface events and properties via user configurable shell scripts, sockets and libdhcpcd
- Support for dynamic /dev managers who like to rename interface (ie udev)
- Small runtime, 200k on amd64 NetBSD
Features shared with other clients
dhcpcd is released under the 2 clause BSD license.
- FTP: ftp://roy.marples.name/pub/dhcpcd/dhcpcd-6.11.5.tar.xz
- HTTP: http://roy.marples.name/downloads/dhcpcd/dhcpcd-6.11.5.tar.xz
- FOSSIL trunk: http://roy.marples.name/projects/dhcpcd/tarball/dhcpcd-trunk.tar.gz (login as anonymous first)
You should read the dhcpcd.conf man page and put your options into /etc/dhcpcd.conf. The default configuration file should work for most people just fine. Here it is, in case you lose it.
# A sample configuration for dhcpcd. # See dhcpcd.conf(5) for details. # Inform the DHCP server of our hostname for DDNS. hostname # To share the DHCP lease across OSX and Windows a ClientID is needed. # Enabling this may get a different lease than the kernel DHCP client. # Some upstream DHCP servers may also require a ClientID, such as FRITZ!Box. #clientid # A list of options to request from the DHCP server. option domain_name_servers, domain_name, domain_search, host_name option classless_static_routes # Most distributions have NTP support. option ntp_servers # Respect the network MTU. option interface_mtu # A ServerID is required by RFC2131. require dhcp_server_identifier
The dhcpcd man page has a lot of the same options and more, which only apply to calling dhcpcd from the command line.
dhcpcd Mailing Lists
Currently there is just the dhcpcd-discuss mailing list, which is powered by mlmmj. One interacts with mlmmj via email.
To subscribe to the list, send an empty email to firstname.lastname@example.org
Once subscribed to the list, you can post to it by sending an email to email@example.com
To unsubscribe from the list, send an empty email to firstname.lastname@example.org
You can learn more about the capabilities of mlmmj by sending an empty mail to email@example.com
You can also read the dhcpcd-discuss archive