p Blank lines and lines starting with # are ignored.
p Here's a list of available options: l -tag -width indent t Ic background Background immediately. This is useful for startup scripts which don't disable link messages for carrier status. t Ic clientid Ar string Change the default clientid sent from the interface hardware address. If the string is of the format 01:02:03 then it is encoded as hex. If not set then none is sent. t Ic duid Generate an .Rs .%T "RFC 4361" .Re compliant clientid. This requires persistent storage and not all DHCP servers work with it so it's not enabled by default. The duid generated will be held in
a /system/etc/dhcpcd/dhcpcd.duid and should not be copied to other hosts. t Ic hostname Ar name Sends specified .Ar hostname to the DHCP server so it can be registered in DNS. If .Ar hostname if a FQDN (ie, contains a .) then it will be encoded as such. t Ic fqdn Op none | ptr | both none disables FQDN encoding, ptr just asks the DHCP server to update the PTR record of the host in DNS whereas both also updates the A record. The current hostname or the hostname specified using the c hostname option must be a FQDN. .Nm dhcpcd itself never does any DNS updates. .Nm dhcpcd encodes the FQDN hostname as specified in .Li RFC1035 . t Ic interface Ar interface Subsequent options are only parsed for this .Ar interface . t Ic leasetime Ar seconds Request a leasetime of .Ar seconds . t Ic noarp Don't send any ARP requests. This also disables IPv4LL. t Ic nogateway Don't install any default routes. t Ic nohook Ar script Don't run this hook script. Matches full name, or prefixed with 2 numbers optionally ending with
a .sh . t Ic noipv4ll Don't attempt to obtain an IPv4LL address if we failed to get one via DHCP. See .Rs .%T "RFC 3927" .Re t Ic nolink Don't receive link messages about carrier status. You should only set this for buggy interface drivers. t Ic option Ar option Requests the .Ar option from the server. It can be a variable to be used in .Xr dhcpcd-run-hooks 8 or the numerical value. You can specify more options seperated by commas, spaces or more option lines. t Ic require Ar option Requires the .Ar option to be present in all DHCP messages, otherwise the message is ignored. It can be a variable to be used in .Xr dhcpcd-run-hooks 8 or the numerical value. You can specify more options seperated by commas, spaces or more require lines. t Ic script Ar script Use .Ar script instead of the default
a /system/etc/dhcpcd/dhcpcd-run-hooks . t Ic timeout Ar seconds The default timeout for waiting for a DHCP response is 30 seconds which may be too long or too short and can be changed here. t Ic userclass Ar string Tag the DHCP messages with the userclass. You can specify more than one. t Ic vendor Ar code , Ns Ar value Add an enscapulated vendor option. .Ar code should be between 1 and 254 inclusive. Examples.
p Set the vendor option 01 with an IP address. .D1 vendor 01,192.168.0.2 Set the vendor option 02 with a hex code. .D1 vendor 02,01:02:03:04:05 Set the vendor option 03 with an IP address as a string. .D1 vendor 03,\e"192.168.0.2\e" t Ic vendorclassid Ar string Change the default vendorclassid sent from dhcpcd-version. If not set then none is sent. .El .Sh SEE ALSO .Xr dhcpcd-run-hooks 8 , .Xr dhcpcd 8 .Sh AUTHORS .An Roy Marples <roy (at] marples.name> .Sh BUGS Please report them to http://bugs.marples.name