head 1.2; access; symbols cjep_sun2x:1.2.0.32 cjep_sun2x-base:1.2 cjep_staticlib_x-base1:1.2 cjep_staticlib_x:1.2.0.30 cjep_staticlib_x-base:1.2 phil-wifi-20200421:1.2 phil-wifi-20200411:1.2 phil-wifi-20200406:1.2 pgoyette-compat-merge-20190127:1.2 pgoyette-compat-20190127:1.2 pgoyette-compat-20190118:1.2 pgoyette-compat-1226:1.2 pgoyette-compat-1126:1.2 pgoyette-compat-1020:1.2 pgoyette-compat-0930:1.2 pgoyette-compat-0906:1.2 pgoyette-compat-0728:1.2 pgoyette-compat-0625:1.2 pgoyette-compat-0521:1.2 pgoyette-compat-0502:1.2 pgoyette-compat-0422:1.2 pgoyette-compat-0415:1.2 pgoyette-compat-0407:1.2 pgoyette-compat-0330:1.2 pgoyette-compat-0322:1.2 pgoyette-compat-0315:1.2 pgoyette-compat:1.2.0.28 pgoyette-compat-base:1.2 prg-localcount2-base3:1.2 prg-localcount2-base2:1.2 prg-localcount2-base1:1.2 prg-localcount2:1.2.0.26 prg-localcount2-base:1.2 pgoyette-localcount-20170426:1.2 bouyer-socketcan-base1:1.2 pgoyette-localcount-20170320:1.2 bouyer-socketcan:1.2.0.24 bouyer-socketcan-base:1.2 pgoyette-localcount-20170107:1.2 pgoyette-localcount-20161104:1.2 localcount-20160914:1.2 pgoyette-localcount-20160806:1.2 pgoyette-localcount-20160726:1.2 pgoyette-localcount:1.2.0.22 pgoyette-localcount-base:1.2 netbsd-5-2-3-RELEASE:1.2 netbsd-5-1-5-RELEASE:1.2 yamt-pagecache-base9:1.2 yamt-pagecache-tag8:1.2 tls-earlyentropy:1.2.0.18 tls-earlyentropy-base:1.2 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.2 riastradh-drm2-base3:1.2 netbsd-5-2-2-RELEASE:1.2 netbsd-5-1-4-RELEASE:1.2 netbsd-5-2-1-RELEASE:1.2 netbsd-5-1-3-RELEASE:1.2 agc-symver:1.2.0.20 agc-symver-base:1.2 tls-maxphys-base:1.2 yamt-pagecache-base8:1.2 netbsd-5-2:1.2.0.16 yamt-pagecache-base7:1.2 netbsd-5-2-RELEASE:1.2 netbsd-5-2-RC1:1.2 yamt-pagecache-base6:1.2 yamt-pagecache-base5:1.2 yamt-pagecache-base4:1.2 netbsd-5-1-2-RELEASE:1.2 netbsd-5-1-1-RELEASE:1.2 yamt-pagecache-base3:1.2 yamt-pagecache-base2:1.2 yamt-pagecache:1.2.0.2 yamt-pagecache-base:1.2 bouyer-quota2-nbase:1.2 bouyer-quota2:1.2.0.14 bouyer-quota2-base:1.2 matt-nb5-pq3:1.2.0.12 matt-nb5-pq3-base:1.2 netbsd-5-1:1.2.0.10 netbsd-5-1-RELEASE:1.2 netbsd-5-1-RC4:1.2 netbsd-5-1-RC3:1.2 netbsd-5-1-RC2:1.2 netbsd-5-1-RC1:1.2 netbsd-5-0-2-RELEASE:1.2 netbsd-5-0-1-RELEASE:1.2 jym-xensuspend-nbase:1.2 netbsd-5-0:1.2.0.8 netbsd-5-0-RELEASE:1.2 netbsd-5-0-RC4:1.2 netbsd-5-0-RC3:1.2 netbsd-5-0-RC2:1.2 jym-xensuspend:1.2.0.6 jym-xensuspend-base:1.2 netbsd-5-0-RC1:1.2 netbsd-5:1.2.0.4 netbsd-5-base:1.2 wrstuden-revivesa-base:1.1.1.1 wrstuden-revivesa-base-1:1.1.1.1 yamt-pf42-base4:1.1.1.1 yamt-pf42:1.1.1.1.0.2 yamt-pf42-base3:1.1.1.1 dhcpcd-4-0-0-beta4:1.1.1.1 DHCPCD:1.1.1; locks; strict; comment @# @; 1.2 date 2008.07.27.19.31.02; author joerg; state dead; branches; next 1.1; 1.1 date 2008.05.24.19.37.41; author joerg; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2008.05.24.19.37.41; author joerg; state Exp; branches 1.1.1.1.2.1; next ; 1.1.1.1.2.1 date 2008.05.24.19.37.41; author yamt; state dead; branches; next 1.1.1.1.2.2; 1.1.1.1.2.2 date 2008.06.04.02.03.00; author yamt; state Exp; branches; next ; desc @@ 1.2 log @Update build glue for dhcpcd 4.0.0rc3 and move it to src/external/dhcpcd. Make dhcpcd quiet by default when run from rc. @ text @.\" 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 May 20, 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. Leading and trailing whitespace for the option and value are trimmed. You can escape characters in the value using the \\ character. .Pp Blank lines and lines starting with # are ignored. .Pp Here's a list of available options: .Bl -tag -width indent .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 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. .It 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 .Pa @@SYSCONFDIR@@/dhcpcd.duid and should not be copied to other hosts. .It 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. .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. The current hostname or the hostname specified using the .Fl h , -hostname option must be a FQDN. .Nm dhcpcd itself never does any DNS updates. .It Ic interface Ar interface Subsequent options are only parsed for this .Ar interface . .It Ic leasetime Ar seconds Request a leasetime of .Ar seconds . .It Ic noarp Don't send any ARP requests. This also disables IPv4LL. .It Ic nogateway Don't install any default routes. .It Ic nohook Ar script Don't run this hook script. Matches full name, or prefixed with 2 numbers optionally ending with .Pa .sh . .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 .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-run-hooks 8 or the numerical value. You can specify more seperated by commas, spaces or more option lines. .It Ic script Ar script Use .Ar script instead of the default .Pa @@SCRIPT@@ . .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 userclass Ar string Tag the DHCP messages with the userclass. You can specify more than one. .El .Sh SEE ALSO .Xr dhcpcd-run-hooks 8 , .Xr dhcpcd 8 .Sh AUTHORS .An Roy Marples .Sh BUGS Please report them to http://bugs.marples.name @ 1.1 log @Initial revision @ text @@ 1.1.1.1 log @Import dhcpcd 4.0.0-beta5. dhcpcd is a small DHCP client, supporting most, if not all, features of dhclient. It is much smaller (1/6 of the size on amd64), but still supports many of the more advanced modern RFCs like IPv4LL (RFC 3927), Classless Static Routes (RFC 3442) and Node-specific Client Identifiers (RFC 4361). It was written by Roy Marpled, partly in reply to the discussion of the DHCP client Sommer of Code project. @ text @@ 1.1.1.1.2.1 log @file dhcpcd.conf.5.in was added on branch yamt-pf42 on 2008-06-04 02:03:00 +0000 @ text @d1 125 @ 1.1.1.1.2.2 log @sync with head @ text @a0 125 .\" 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 May 20, 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. Leading and trailing whitespace for the option and value are trimmed. You can escape characters in the value using the \\ character. .Pp Blank lines and lines starting with # are ignored. .Pp Here's a list of available options: .Bl -tag -width indent .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 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. .It 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 .Pa @@SYSCONFDIR@@/dhcpcd.duid and should not be copied to other hosts. .It 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. .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. The current hostname or the hostname specified using the .Fl h , -hostname option must be a FQDN. .Nm dhcpcd itself never does any DNS updates. .It Ic interface Ar interface Subsequent options are only parsed for this .Ar interface . .It Ic leasetime Ar seconds Request a leasetime of .Ar seconds . .It Ic noarp Don't send any ARP requests. This also disables IPv4LL. .It Ic nogateway Don't install any default routes. .It Ic nohook Ar script Don't run this hook script. Matches full name, or prefixed with 2 numbers optionally ending with .Pa .sh . .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 .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-run-hooks 8 or the numerical value. You can specify more seperated by commas, spaces or more option lines. .It Ic script Ar script Use .Ar script instead of the default .Pa @@SCRIPT@@ . .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 userclass Ar string Tag the DHCP messages with the userclass. You can specify more than one. .El .Sh SEE ALSO .Xr dhcpcd-run-hooks 8 , .Xr dhcpcd 8 .Sh AUTHORS .An Roy Marples .Sh BUGS Please report them to http://bugs.marples.name @