/etc/dhcpc
directory used for storing files created by dhcpcd
Dhcp client daemon
dhcpcd [-c
filename]
[-d]
[-h
hostname]
[-i
vendorClassIdentifier]
[-I
clientIdentifier]
[-k]
[-l
leasetime]
[-r]
[interface]
dhcpcd is an implementation of the DHCP client specified in RFC2131 (when -r option is not specified) and RFC1541 (when -r option is specified).
It gets the host information (IP address, netmask, broadcast address, etc.) from a DHCP server and configures the network interface of the machine on which it is running. It also tries to renew the lease time according to RFC2131 or RFC1541 (obsolete).
-c filenameSpecifies the command file which is invoked when dhcpcd successfully gets an IP address.
-d
Forces dhcpcd to run in the foreground.
-h hostnamespecifies a string used for the hostname option field when dhcpcd sends DHCP messages. Some DHCP servers require the hostname option field containing a specific string in the DHCP messages from clients.
-i vendorClassIdentifierSpecifies the vendor class identifier string. dhcpcd uses the default vendor class identifier string (system name, sytem release, and machine type) if it is not specified.
-I clientIdentifierSpecifies the client identifier string. dhcpcd uses the default client identifier (Ethernet Address of the network interface) if it is not specified.
-k
Sends a SIGTERM signal to the dhcpcd process that is currently running.
-l leasetimeSpecifies (in seconds) the recommended lease time to the server. (Note that the server can override this value if it sees fit). This value is used in the DHCPDISCOVER message.
-r
Makes dhcpcd RFC1541 (obsolete) compliant. dhcpcd is RFC2131 compliant unless this option is specified.
interfaceSpecifies the network interface name (eth0, eth1, etc.). dhcpcd uses the network interface eth0 unless an explicit name is specified.
/etc/dhcpc
directory used for storing files created by dhcpcd
/etc/dhcpc/hostinfo-interface
file in which dhcpcd saves the host information. The word interface is actually replaced with the network interface name like eth0 to which dhcpcd is attached.
/etc/dhcp/resolv.conf
file created by dhcpcd when the client receives DNS and domain name options
/var/run/dhcpcd-pid
file containing the process id of dhcpcd
/var/run/dhcpcd-cache.interface
cache file containing the previously assigned IP address. The word interface is actually replaced with the network interface name like eth0 to which dhcpcd is attached.