diff options
| author | Roy Marples <roy@marples.name> | 2008-04-18 23:12:44 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-04-18 23:12:44 +0000 |
| commit | ba9dfb7aaeb7eb870cfc1c93c4e519d58f082b75 (patch) | |
| tree | 48e3d853d6b9e083ebda6703324a2053426a3c49 /dhcpcd.conf.5 | |
| parent | 7eb93bd9e42aa2d63c28e006f74ee19d0a13a31d (diff) | |
| download | dhcpcd-ba9dfb7aaeb7eb870cfc1c93c4e519d58f082b75.tar.xz | |
dhcpcd can now read a basic config file! Add a default dhcpcd.conf and matching man page. Add dhcpcd.sh man page. dhcpcd can now report variables it can send to dhcpcd.sh as well.
Diffstat (limited to 'dhcpcd.conf.5')
| -rw-r--r-- | dhcpcd.conf.5 | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/dhcpcd.conf.5 b/dhcpcd.conf.5 new file mode 100644 index 00000000..9b95fba1 --- /dev/null +++ b/dhcpcd.conf.5 @@ -0,0 +1,87 @@ +.\" Copyright 2006-2008 Roy Marples +.\" All rights reserved +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.Dd Apr 18, 2008 +.Dt DHCPCD.CONF 5 SMM +.Sh NAME +.Nm dhcpcd.conf +.Nd dhcpcd configuration file +.Sh DESCRIPTION +Although +.Nm dhcpcd +can do everything from the command line, there are cases where it's just easier +to do it once in a configuration file. Most of the options found in +.Xr dhcpcd 8 +can be used here. The first word on the line is the option and the rest of the +line is the value. Blank lines and lines starting with # are ignored. +.Pp +Here's a list of available options: +.Bl -tag -width indent +.It Ic option Ar dhcp-option +Requests the +.Ar dhcp-option +from the server. It can be a variable to be used in +.Xr dhcpcd.sh 8 +or the numerical value. You can specify more seperated by commas, spaces or +more option lines. +.It Ic hostname Ar name +Sends specified hostname to the DHCP server so it can be registered in DNS. +.It Ic leasetime Ar seconds +Request a leasetime of +.Ar seconds . +.It Ic timeout Ar seconds +The default timeout for waiting for a DHCP response is 20 seconds which may +be too long or too short and can be changed here. +.It Ic classid Ar string +Change the default classid sent from dhcpcd-version. If not set then none +is sent. +.It Ic clientid Ar string +By default, +.Nm dhcpcd +sends a Client Node Identifier +.Rs +.%T "RFC 4361" +.Re +as the ClientID. Not setting anything causes the interface MAC address to +be sent instead. Otherwise, it sends the string specified. If the string +is of the format 01:02:03 then it encodes it. +.It Ic userclass Ar string +Tag the DHCP messages with the userclass. You can specify more than one. +.It Ic noarp +Don't send any ARP requests. This also disables IPv4LL. +.It Ic nogateway +Don't install any default routes. +.It Ic noipv4ll +Don't attempt to obtain an IPv4LL address if we failed to get one via DHCP. +See +.Rs +.%T "RFC 3927" +.Re +.Sh SEE ALSO +.Xr dhcpcd.sh 8 , +.Xr dhcpcd 8 +.Sh AUTHORS +.An "Roy Marples" Aq roy@marples.name +.Sh BUGS +Please report them to http://bugs.marples.name |
