.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd July 11, 2009
+.Dd July 25, 2009
.Dt DHCPCD 8 SMM
.Os
.Sh NAME
.Nm
changes the routes to use the interface with the same route and the lowest
metric.
-See options below for controlling what interfaces we allow and deny through
-the use of patterns. Also, see the BUGS section if
-.Nm
-runs on a BSD system.
+See options below for controlling which interfaces we allow and deny through
+the use of patterns.
.Ss Hooking into DHCP events
.Nm
runs
instead of the default
.Pa @SCRIPT@ .
.It Fl d , -debug
-Echo debug and informational messages to the console.
+Echo debug messages to the stderr and syslog.
Subsequent debug options stop
.Nm
from daemonising.
.Xr dhcpcd-run-hooks 8
for each interface.
This is useful so that a 3rd party such as PPP or VPN can change the routing
-table and / or DNS, etc and then instruct dhcpcd to put things back afterwards.
+table and / or DNS, etc and then instruct
+.Nm
+to put things back afterwards.
.Nm
does not read a new configuration when this happens - you should rebind if you
need that functionality.
.Nm
always processes the config file before any command line options.
.It Fl h , -hostname Ar hostname
-By default,
-.Nm
-sends the current hostname to the DHCP server so it can register in DNS.
-You can use this option to specify the
+Sends
.Ar hostname
-sent, or an empty string to
-stop any
+to the DHCP server so it can be registered in DNS.
+If
.Ar hostname
-from being sent.
+is an empty string then the current system hostname is sent.
+If
+.Ar hostname
+is a FQDN (ie, contains a .) then it will be encoded as such.
.It Fl i , -vendorclassid Ar vendorclassid
Override the
.Ar vendorclassid
normally sends a DHCP DISCOVER to find servers to offer an address.
.Nm
then requests the address used.
-You can use this option to skip the BROADCAST step and just request the
+You can use this option to skip the DISCOVER phase and just request the
.Ar address .
The downside is if you request an
.Ar address
not enabled by default.
.Nm
generates the DUID and stores in it
-.Pa @SYSCONFDIR@/dhcpcd.duid
+.Pa @SYSCONFDIR@/dhcpcd.duid .
This file should not be copied to other hosts.
.It Fl E , -lastlease
If
.An Roy Marples Aq roy@marples.name
.Sh BUGS
Please report them to http://roy.marples.name/projects/dhcpcd
-.Pp
-.Nm
-does not wait for commands to complete when sending them to the master
-.Nm
-process, nor does it echo its progress to stderr.
-This is a behaviour change from dhcpcd-4 and may need to be addressed if
-there is sufficient need.
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd July 5, 2009
+.Dd July 25, 2009
.Dt DHCPCD.CONF 5 SMM
.Os
.Sh NAME
Fallback to using this profile if DHCP fails.
This allows you to configure a static profile instead of using ZeroConf.
.It Ic hostname Ar name
-Sends specified
+Sends
.Ar hostname
-to the DHCP server so it can be registered in DNS. If
+to the DHCP server so it can be registered in DNS.
+If
+.Ar hostname
+is an empty string then the current system hostname is sent.
+If
.Ar hostname
-if a FQDN (ie, contains a .) then it will be encoded as such.
+is a FQDN (ie, contains a .) then it will be encoded as such.
.It 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.