NetworkConfiguration / Dhcpcd

Licence: other
DHCP / IPv4LL / IPv6RA / DHCPv6 client.

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Dhcpcd

ipv6-dhclient-script
IPv6 w/ dhclient configuration script (Debian/RedHat-based distros)
Stars: ✭ 68 (-54.05%)
Mutual labels:  ipv6, dhcp
Netdot
Network Documentation Tool
Stars: ✭ 180 (+21.62%)
Mutual labels:  ipv6, dhcp
Parity Zcash
Rust implementation of Zcash protocol
Stars: ✭ 136 (-8.11%)
Mutual labels:  client
Raw Packet
Raw-packet Project
Stars: ✭ 144 (-2.7%)
Mutual labels:  dhcp
Faunadb Go
Go driver for FaunaDB
Stars: ✭ 140 (-5.41%)
Mutual labels:  client
Libsmb2
SMB2/3 userspace client
Stars: ✭ 136 (-8.11%)
Mutual labels:  client
Graphlient
Ruby GraphQL Client
Stars: ✭ 142 (-4.05%)
Mutual labels:  client
Amqp
AMQP 1.0 client library for Go.
Stars: ✭ 135 (-8.78%)
Mutual labels:  client
Yang
The efficient and elegant, PSR-7 compliant JSON:API 1.1 client library for PHP
Stars: ✭ 148 (+0%)
Mutual labels:  client
Dowse
The Awareness Hub for the Internet of Things
Stars: ✭ 139 (-6.08%)
Mutual labels:  dhcp
Ndp
Package ndp implements the Neighbor Discovery Protocol, as described in RFC 4861. MIT Licensed.
Stars: ✭ 144 (-2.7%)
Mutual labels:  ipv6
Pipedrive
Complete Pipedrive API client for PHP
Stars: ✭ 138 (-6.76%)
Mutual labels:  client
Amadeus Ws Client
PHP Amadeus SOAP Web Service client library
Stars: ✭ 136 (-8.11%)
Mutual labels:  client
Sysuv6 Dns
May be the best DNS in SYSU.
Stars: ✭ 142 (-4.05%)
Mutual labels:  ipv6
Notion Js
🤯 Notion API
Stars: ✭ 136 (-8.11%)
Mutual labels:  client
Nftlb
nftables load balancer
Stars: ✭ 147 (-0.68%)
Mutual labels:  ipv6
Fdroidcl
F-Droid desktop client
Stars: ✭ 135 (-8.78%)
Mutual labels:  client
Microsoft Todo Mac
🐜 Microsoft-ToDo macOS App. 微软Todo mac客户端.
Stars: ✭ 138 (-6.76%)
Mutual labels:  client
Pytricia
A library for fast IP address lookup in Python.
Stars: ✭ 140 (-5.41%)
Mutual labels:  ipv6
Elasticsearch Ruby
Ruby integrations for Elasticsearch
Stars: ✭ 1,848 (+1148.65%)
Mutual labels:  client

dhcpcd

dhcpcd is a DHCP and a DHCPv6 client. It's also an IPv4LL (aka ZeroConf) 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 openresolv to ensure they can co-exist.

See BUILDING.md for how to build dhcpcd.

Configuration

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.

# Allow users of this group to interact with dhcpcd via the control socket.
#controlgroup wheel

# Inform the DHCP server of our hostname for DDNS.
hostname

# Use the hardware address of the interface for the Client ID.
#clientid
# or
# Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361.
# Some non-RFC compliant DHCP servers do not reply with this set.
# In this case, comment out duid and enable clientid above.
duid

# Persist interface configuration when dhcpcd exits.
persistent

# Rapid commit support.
# Safe to enable by default because it requires the equivalent option set
# on the server to actually work.
option rapid_commit

# A list of options to request from the DHCP server.
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes
# Respect the network MTU. This is applied to DHCP routes.
option interface_mtu

# Most distributions have NTP support.
#option ntp_servers

# A ServerID is required by RFC2131.
require dhcp_server_identifier

# Generate SLAAC address using the Hardware Address of the interface
#slaac hwaddr
# OR generate Stable Private IPv6 Addresses based from the DUID
slaac private

The dhcpcd man page has a lot of the same options and more, which only apply to calling dhcpcd from the command line.

Compatibility

dhcpcd-5 is only fully command line compatible with dhcpcd-4 For compatibility with older versions, use dhcpcd-4

Upgrading

dhcpcd-7 defaults the database directory to /var/db/dhcpcd instead of /var/db and now stores dhcpcd.duid and dhcpcd.secret in there instead of in /etc.

dhcpcd-9 defaults the run directory to /var/run/dhcpcd instead of /var/run and the prefix of dhcpcd has been removed from the files.

ChangeLog

We no longer supply a ChangeLog. However, you're more than welcome to read the commit log and archived release announcements.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].