Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 1 | .\" Copyright (c) 2006-2012 Roy Marples |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 2 | .\" All rights reserved |
| 3 | .\" |
| 4 | .\" Redistribution and use in source and binary forms, with or without |
| 5 | .\" modification, are permitted provided that the following conditions |
| 6 | .\" are met: |
| 7 | .\" 1. Redistributions of source code must retain the above copyright |
| 8 | .\" notice, this list of conditions and the following disclaimer. |
| 9 | .\" 2. Redistributions in binary form must reproduce the above copyright |
| 10 | .\" notice, this list of conditions and the following disclaimer in the |
| 11 | .\" documentation and/or other materials provided with the distribution. |
| 12 | .\" |
| 13 | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND |
| 14 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 15 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 16 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE |
| 17 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 18 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
| 19 | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 20 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
| 21 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
| 22 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 23 | .\" SUCH DAMAGE. |
| 24 | .\" |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 25 | .Dd June 7, 2012 |
| 26 | .Dt DHCPCD 8 |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 27 | .Os |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 28 | .Sh NAME |
| 29 | .Nm dhcpcd |
| 30 | .Nd an RFC 2131 compliant DHCP client |
| 31 | .Sh SYNOPSIS |
| 32 | .Nm |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 33 | .Op Fl ABbDdEGgHJKkLnpqTVw |
| 34 | .Op Fl C , Fl Fl nohook Ar hook |
| 35 | .Op Fl c , Fl Fl script Ar script |
| 36 | .Op Fl e , Fl Fl env Ar value |
| 37 | .Op Fl F , Fl Fl fqdn Ar FQDN |
| 38 | .Op Fl f , Fl Fl config Ar file |
| 39 | .Op Fl h , Fl Fl hostname Ar hostname |
| 40 | .Op Fl I , Fl Fl clientid Ar clientid |
| 41 | .Op Fl i , Fl Fl vendorclassid Ar vendorclassid |
| 42 | .Op Fl l , Fl Fl leasetime Ar seconds |
| 43 | .Op Fl m , Fl Fl metric Ar metric |
| 44 | .Op Fl O , Fl Fl nooption Ar option |
| 45 | .Op Fl o , Fl Fl option Ar option |
| 46 | .Op Fl Q , Fl Fl require Ar option |
| 47 | .Op Fl r , Fl Fl request Ar address |
| 48 | .Op Fl S , Fl Fl static Ar value |
| 49 | .Op Fl s , Fl Fl inform Ar address Ns Op Ar /cidr |
| 50 | .Op Fl t , Fl Fl timeout Ar seconds |
| 51 | .Op Fl u , Fl Fl userclass Ar class |
| 52 | .Op Fl v , Fl Fl vendor Ar code , Ar value |
| 53 | .Op Fl W , Fl Fl whitelist Ar address Ns Op Ar /cidr |
| 54 | .Op Fl y , Fl Fl reboot Ar seconds |
| 55 | .Op Fl X , Fl Fl blacklist Ar address Ns Op Ar /cidr |
| 56 | .Op Fl Z , Fl Fl denyinterfaces Ar pattern |
| 57 | .Op Fl z , Fl Fl allowinterfaces Ar pattern |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 58 | .Op interface |
| 59 | .Op ... |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 60 | .Nm |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 61 | .Fl k , Fl Fl release |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 62 | .Op interface |
| 63 | .Nm |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 64 | .Fl U, Fl Fl dumplease |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 65 | .Ar interface |
| 66 | .Nm |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 67 | .Fl Fl version |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 68 | .Nm |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 69 | .Fl x , Fl Fl exit |
| 70 | .Op interface |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 71 | .Sh DESCRIPTION |
| 72 | .Nm |
| 73 | is an implementation of the DHCP client specified in |
| 74 | .Li RFC 2131 . |
| 75 | .Nm |
| 76 | gets the host information |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 77 | .Po |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 78 | IP address, routes, etc |
| 79 | .Pc |
| 80 | from a DHCP server and configures the network |
| 81 | .Ar interface |
| 82 | of the |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 83 | machine on which it is running. |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 84 | .Nm |
| 85 | then runs the configuration script which writes DNS information to |
| 86 | .Xr resolvconf 8 , |
| 87 | if available, otherwise directly to |
| 88 | .Pa /etc/resolv.conf . |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 89 | If the hostname is currently blank, (null) or localhost, or |
| 90 | .Va force_hostname |
| 91 | is YES or TRUE or 1 then |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 92 | .Nm |
| 93 | sets the hostname to the one supplied by the DHCP server. |
| 94 | .Nm |
| 95 | then daemonises and waits for the lease renewal time to lapse. |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 96 | It will then attempt to renew its lease and reconfigure if the new lease |
| 97 | changes. |
| 98 | .Pp |
| 99 | .Nm |
| 100 | is also an implementation of the BOOTP client specified in |
| 101 | .Li RFC 951 . |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 102 | .Pp |
| 103 | .Nm |
| 104 | is also an implementation of an IPv6 Router Solicitor as specified in |
| 105 | .Li RFC 4861 |
| 106 | and |
| 107 | .Li RFC 6106 . |
| 108 | .Nm |
| 109 | can optionally handle address and route management itself, |
| 110 | and will do so by default if Router Solicitation is disabled in the kernel. |
| 111 | If |
| 112 | .Nm |
| 113 | is managing routes, |
| 114 | .Nm |
| 115 | sends Neighbor Solicitions to each advertising router periodically and will |
| 116 | expire the ones that do not respond. |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 117 | .Ss Local Link configuration |
| 118 | If |
| 119 | .Nm |
| 120 | failed to obtain a lease, it probes for a valid IPv4LL address |
| 121 | .Po |
| 122 | aka ZeroConf, aka APIPA |
| 123 | .Pc . |
| 124 | Once obtained it restarts the process of looking for a DHCP server to get a |
| 125 | proper address. |
| 126 | .Pp |
| 127 | When using IPv4LL, |
| 128 | .Nm |
| 129 | nearly always succeeds and returns an exit code of 0. |
| 130 | In the rare case it fails, it normally means that there is a reverse ARP proxy |
| 131 | installed which always defeats IPv4LL probing. |
| 132 | To disable this behaviour, you can use the |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 133 | .Fl L , Fl Fl noipv4ll |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 134 | option. |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 135 | .Ss Multiple interfaces |
| 136 | If a list of interfaces are given on the command line, then |
| 137 | .Nm |
| 138 | only works with those interfaces, otherwise |
| 139 | .Nm |
| 140 | discovers available Ethernet interfaces. |
| 141 | If any interface reports a working carrier then |
| 142 | .Nm |
| 143 | will try and obtain a lease before forking to the background, |
| 144 | otherwise it will fork right away. |
| 145 | This behaviour can be modified with the |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 146 | .Fl b , Fl Fl background |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 147 | and |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 148 | .Fl w , Fl Fl waitip |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 149 | options. |
| 150 | .Pp |
| 151 | If a single interface is given then |
| 152 | .Nm |
| 153 | only works for that interface and runs as a separate instance. |
| 154 | The |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 155 | .Fl w , Fl Fl waitip |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 156 | option is enabled in this instance to maintain compatibility with older |
| 157 | versions. |
| 158 | .Pp |
| 159 | Interfaces are preferred by carrier, DHCP lease/IPv4LL and then lowest metric. |
| 160 | For systems that support route metrics, each route will be tagged with the |
| 161 | metric, otherwise |
| 162 | .Nm |
| 163 | changes the routes to use the interface with the same route and the lowest |
| 164 | metric. |
| 165 | See options below for controlling which interfaces we allow and deny through |
| 166 | the use of patterns. |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 167 | .Ss Hooking into DHCP events |
| 168 | .Nm |
| 169 | runs |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 170 | .Pa /libexec/dhcpcd-run-hooks , |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 171 | or the script specified by the |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 172 | .Fl c , Fl Fl script |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 173 | option. |
| 174 | This script runs each script found in |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 175 | .Pa /libexec/dhcpcd-hooks |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 176 | in a lexical order. |
| 177 | The default installation supplies the scripts |
| 178 | .Pa 01-test , |
| 179 | .Pa 10-mtu , |
| 180 | .Pa 20-resolv.conf |
| 181 | and |
| 182 | .Pa 30-hostname . |
| 183 | You can disable each script by using the |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 184 | .Fl C , Fl Fl nohook |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 185 | option. |
| 186 | See |
| 187 | .Xr dhcpcd-run-hooks 8 |
| 188 | for details on how these scripts work. |
| 189 | .Nm |
| 190 | currently ignores the exit code of the script. |
| 191 | .Ss Fine tuning |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 192 | You can fine-tune the behaviour of |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 193 | .Nm |
| 194 | with the following options: |
| 195 | .Bl -tag -width indent |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 196 | .It Fl b , Fl Fl background |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 197 | Background immediately. |
| 198 | This is useful for startup scripts which don't disable link messages for |
| 199 | carrier status. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 200 | .It Fl c , Fl Fl script Ar script |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 201 | Use this |
| 202 | .Ar script |
| 203 | instead of the default |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 204 | .Pa /libexec/dhcpcd-run-hooks . |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 205 | .It Fl D , Fl Fl duid |
| 206 | Generate an |
| 207 | .Li RFC 4361 |
| 208 | compliant clientid. |
| 209 | This requires persistent storage and not all DHCP servers work with it so it |
| 210 | is not enabled by default. |
| 211 | .Nm |
| 212 | generates the DUID and stores it in |
| 213 | .Pa /etc/dhcpcd.duid . |
| 214 | This file should not be copied to other hosts. |
| 215 | .It Fl d , Fl Fl debug |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 216 | Echo debug messages to the stderr and syslog. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 217 | .It Fl E , Fl Fl lastlease |
| 218 | If |
| 219 | .Nm |
| 220 | cannot obtain a lease, then try to use the last lease acquired for the |
| 221 | interface. |
| 222 | If the |
| 223 | .Fl p, Fl Fl persistent |
| 224 | option is not given then the lease is used if it hasn't expired. |
| 225 | .It Fl e , Fl Fl env Ar value |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 226 | Push |
| 227 | .Ar value |
| 228 | to the environment for use in |
| 229 | .Xr dhcpcd-run-hooks 8 . |
| 230 | For example, you can force the hostname hook to always set the hostname with |
| 231 | .Fl e |
| 232 | .Va force_hostname=YES . |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 233 | .It Fl g , Fl Fl reconfigure |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 234 | .Nm |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 235 | will re-apply IP address, routing and run |
| 236 | .Xr dhcpcd-run-hooks 8 |
| 237 | for each interface. |
| 238 | This is useful so that a 3rd party such as PPP or VPN can change the routing |
| 239 | table and / or DNS, etc and then instruct |
| 240 | .Nm |
| 241 | to put things back afterwards. |
| 242 | .Nm |
| 243 | does not read a new configuration when this happens - you should rebind if you |
| 244 | need that functionality. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 245 | .It Fl F , Fl Fl fqdn Ar fqdn |
| 246 | Requests that the DHCP server updates DNS using FQDN instead of just a |
| 247 | hostname. |
| 248 | Valid values for |
| 249 | .Ar fqdn |
| 250 | are disable, none, ptr and both. |
| 251 | .Nm |
| 252 | itself never does any DNS updates. |
| 253 | .Nm |
| 254 | encodes the FQDN hostname as specified in |
| 255 | .Li RFC1035 . |
| 256 | .It Fl f , Fl Fl config Ar file |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 257 | Specify a config to load instead of |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 258 | .Pa /etc/dhcpcd.conf . |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 259 | .Nm |
| 260 | always processes the config file before any command line options. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 261 | .It Fl h , Fl Fl hostname Ar hostname |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 262 | Sends |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 263 | .Ar hostname |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 264 | to the DHCP server so it can be registered in DNS. |
| 265 | If |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 266 | .Ar hostname |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 267 | is an empty string then the current system hostname is sent. |
| 268 | If |
| 269 | .Ar hostname |
| 270 | is a FQDN (ie, contains a .) then it will be encoded as such. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 271 | .It Fl I , Fl Fl clientid Ar clientid |
| 272 | Send the |
| 273 | .Ar clientid . |
| 274 | If the string is of the format 01:02:03 then it is encoded as hex. |
| 275 | For interfaces whose hardware address is longer than 8 bytes, or if the |
| 276 | .Ar clientid |
| 277 | is an empty string then |
| 278 | .Nm |
| 279 | sends a default |
| 280 | .Ar clientid |
| 281 | of the hardware family and the hardware address. |
| 282 | .It Fl i , Fl Fl vendorclassid Ar vendorclassid |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 283 | Override the |
| 284 | .Ar vendorclassid |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 285 | field sent. |
| 286 | The default is |
| 287 | dhcpcd-<version>:<os>:<machine>:<platform>. |
| 288 | For example |
| 289 | .D1 dhcpcd-5.5.6:NetBSD-6.99.5:i386:i386 |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 290 | If not set then none is sent. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 291 | Some badly configured DHCP servers reject unknown vendorclassids. |
| 292 | To work around it, try and impersonate Windows by using the MSFT vendorclassid. |
| 293 | .It Fl k , Fl Fl release |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 294 | This causes an existing |
| 295 | .Nm |
| 296 | process running on the |
| 297 | .Ar interface |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 298 | to release its lease, de-configure the |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 299 | .Ar interface |
| 300 | and then exit. |
| 301 | .Nm |
| 302 | then waits until this process has exited. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 303 | .It Fl l , Fl Fl leasetime Ar seconds |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 304 | Request a specific lease time in |
| 305 | .Ar seconds . |
| 306 | By default |
| 307 | .Nm |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 308 | does not request any lease time and leaves it in the hands of the |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 309 | DHCP server. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 310 | .It Fl m , Fl Fl metric Ar metric |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 311 | Metrics are used to prefer an interface over another one, lowest wins. |
| 312 | .Nm |
| 313 | will supply a default metic of 200 + |
| 314 | .Xr if_nametoindex 3 . |
| 315 | An extra 100 will be added for wireless interfaces. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 316 | .It Fl n , Fl Fl rebind |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 317 | Notifies |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 318 | .Nm |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 319 | to reload its configuration and rebind its interfaces. |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 320 | If |
| 321 | .Nm |
| 322 | is not running, then it starts up as normal. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 323 | .It Fl o , Fl Fl option Ar option |
| 324 | Request the DHCP |
| 325 | .Ar option |
| 326 | variable for use in |
| 327 | .Pa /libexec/dhcpcd-run-hooks . |
| 328 | .It Fl p , Fl Fl persistent |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 329 | .Nm |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 330 | normally de-configures the |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 331 | .Ar interface |
| 332 | and configuration when it exits. |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 333 | Sometimes, this isn't desirable if, for example, you have root mounted over |
| 334 | NFS. |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 335 | You can use this option to stop this from happening. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 336 | .It Fl r , Fl Fl request Op Ar address |
| 337 | Request the |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 338 | .Ar address |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 339 | in the DHCP DISCOVER message. |
| 340 | There is no guarantee this is the address the DHCP server will actually give. |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 341 | If no |
| 342 | .Ar address |
| 343 | is given then the first address currently assigned to the |
| 344 | .Ar interface |
| 345 | is used. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 346 | .It Fl s , Fl Fl inform Op Ar address Ns Op Ar /cidr |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 347 | Behaves like |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 348 | .Fl r , Fl Fl request |
| 349 | as above, but sends a DHCP INFORM instead of DISCOVER/REQUEST. |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 350 | This does not get a lease as such, just notifies the DHCP server of the |
| 351 | .Ar address |
| 352 | in use. |
| 353 | You should also include the optional |
| 354 | .Ar cidr |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 355 | network number in case the address is not already configured on the interface. |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 356 | .Nm |
| 357 | remains running and pretends it has an infinite lease. |
| 358 | .Nm |
| 359 | will not de-configure the interface when it exits. |
| 360 | If |
| 361 | .Nm |
| 362 | fails to contact a DHCP server then it returns a failure instead of falling |
| 363 | back on IPv4LL. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 364 | .It Fl t , Fl Fl timeout Ar seconds |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 365 | Timeout after |
| 366 | .Ar seconds , |
| 367 | instead of the default 30. |
| 368 | A setting of 0 |
| 369 | .Ar seconds |
| 370 | causes |
| 371 | .Nm |
| 372 | to wait forever to get a lease. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 373 | .It Fl u , Fl Fl userclass Ar class |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 374 | Tags the DHCP message with the userclass |
| 375 | .Ar class . |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 376 | DHCP servers use this to give members of the class DHCP options other than the |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 377 | default, without having to know things like hardware address or hostname. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 378 | .It Fl v , Fl Fl vendor Ar code , Ns Ar value |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 379 | Add an encapsulated vendor option. |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 380 | .Ar code |
| 381 | should be between 1 and 254 inclusive. |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 382 | To add a raw vendor string, omit |
| 383 | .Ar code |
| 384 | but keep the comma. |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 385 | Examples. |
| 386 | .Pp |
| 387 | Set the vendor option 01 with an IP address. |
| 388 | .D1 dhcpcd \-v 01,192.168.0.2 eth0 |
| 389 | Set the vendor option 02 with a hex code. |
| 390 | .D1 dhcpcd \-v 02,01:02:03:04:05 eth0 |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 391 | Set the vendor option 03 with an IP address as a string. |
| 392 | .D1 dhcpcd \-v 03,\e"192.168.0.2\e" eth0 |
| 393 | Set un-encapsulated vendor option to hello world. |
| 394 | .D1 dhcpcd \-v ,"hello world" eth0 |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 395 | .It Fl Fl version |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 396 | Display both program version and copyright information. |
| 397 | .Nm |
| 398 | then exits before doing any configuration. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 399 | .It Fl w , Fl Fl waitip |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 400 | Wait for an address to be assigned before forking to the background. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 401 | .It Fl x , Fl Fl exit |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 402 | This will signal an existing |
| 403 | .Nm |
| 404 | process running on the |
| 405 | .Ar interface |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 406 | to de-configure the |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 407 | .Ar interface |
| 408 | and exit. |
| 409 | .Nm |
| 410 | then waits until this process has exited. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 411 | .It Fl y , Fl Fl reboot Ar seconds |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 412 | Allow |
| 413 | .Ar reboot |
| 414 | seconds before moving to the discover phase if we have an old lease to use. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 415 | The default is 5 seconds. |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 416 | A setting of 0 seconds causes |
| 417 | .Nm |
| 418 | to skip the reboot phase and go straight into discover. |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 419 | .El |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 420 | .Ss Restricting behaviour |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 421 | .Nm |
| 422 | will try to do as much as it can by default. |
| 423 | However, there are sometimes situations where you don't want the things to be |
| 424 | configured exactly how the the DHCP server wants. |
| 425 | Here are some options that deal with turning these bits off. |
| 426 | .Bl -tag -width indent |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 427 | .It Fl A , Fl Fl noarp |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 428 | Don't request or claim the address by ARP. |
| 429 | This also disables IPv4LL. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 430 | .It Fl B , Fl Fl nobackground |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 431 | Don't run in the background when we acquire a lease. |
| 432 | This is mainly useful for running under the control of another process, such |
| 433 | as a debugger or a network manager. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 434 | .It Fl C , Fl Fl nohook Ar script |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 435 | Don't run this hook script. |
| 436 | Matches full name, or prefixed with 2 numbers optionally ending with |
| 437 | .Pa .sh . |
| 438 | .Pp |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 439 | So to stop |
| 440 | .Nm |
| 441 | from touching your DNS or MTU settings you would do:- |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 442 | .D1 dhcpcd -C resolv.conf -C mtu eth0 |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 443 | .It Fl G , Fl Fl nogateway |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 444 | Don't set any default routes. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 445 | .It Fl H , Fl Fl xidhwaddr |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 446 | Use the last four bytes of the hardware address as the DHCP xid instead |
| 447 | of a randomly generated number. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 448 | .It Fl J , Fl Fl broadcast |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 449 | Instructs the DHCP server to broadcast replies back to the client. |
| 450 | Normally this is only set for non Ethernet interfaces, |
| 451 | such as FireWire and InfiniBand. |
| 452 | In most instances, |
| 453 | .Nm |
| 454 | will set this automatically. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 455 | .It Fl K , Fl Fl nolink |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 456 | Don't receive link messages for carrier status. |
| 457 | You should only have to use this with buggy device drivers or running |
| 458 | .Nm |
| 459 | through a network manager. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 460 | .It Fl L , Fl Fl noipv4ll |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 461 | Don't use IPv4LL (aka APIPA, aka Bonjour, aka ZeroConf). |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 462 | .It Fl O , Fl Fl nooption Ar option |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 463 | Don't request the specified option. |
| 464 | If no option given, then don't request any options other than those to |
| 465 | configure the interface and routing. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 466 | .It Fl Q , Fl Fl require Ar option |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 467 | Requires the |
| 468 | .Ar option |
| 469 | to be present in all DHCP messages, otherwise the message is ignored. |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 470 | To enforce that |
| 471 | .Nm |
| 472 | only responds to DHCP servers and not BOOTP servers, you can |
| 473 | .Fl Q |
| 474 | .Ar dhcp_message_type . |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 475 | .It Fl q , Fl Fl quiet |
| 476 | Quiet |
| 477 | .Nm |
| 478 | on the command line, only warnings and errors will be displayed. |
| 479 | The messages are still logged though. |
| 480 | .It Fl S, Fl Fl static Ar value |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 481 | Configures a static |
| 482 | .Ar value . |
| 483 | If you set |
| 484 | .Ic ip_address |
| 485 | then |
| 486 | .Nm |
| 487 | will not attempt to obtain a lease and just use the value for the address with |
| 488 | an infinite lease time. |
| 489 | .Pp |
| 490 | Here is an example which configures a static address, routes and dns. |
| 491 | .D1 dhcpcd -S ip_address=192.168.0.10/24 \e |
| 492 | .D1 -S routers=192.168.0.1 \e |
| 493 | .D1 -S domain_name_servers=192.168.0.1 \e |
| 494 | .D1 eth0 |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 495 | .It Fl T, Fl Fl test |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 496 | On receipt of DHCP messages just call |
| 497 | .Pa /libexec/dhcpcd-run-hooks |
| 498 | with the reason of TEST which echos the DHCP variables found in the message |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 499 | to the console. |
| 500 | The interface configuration isn't touched and neither are any configuration |
| 501 | files. |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 502 | To test INFORM the interface needs to be configured with the desired address |
| 503 | before starting |
| 504 | .Nm . |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 505 | .It Fl U, Fl Fl dumplease Ar interface |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 506 | Dumps the last lease for the |
| 507 | .Ar interface |
| 508 | to stdout. |
| 509 | .Ar interface |
| 510 | could also be a path to a DHCP wire formatted file. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 511 | .It Fl V, Fl Fl variables |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 512 | Display a list of option codes and the associated variable for use in |
| 513 | .Xr dhcpcd-run-hooks 8 . |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 514 | Variables are prefixed with new_ and old_ unless the option number is -. |
| 515 | Variables without an option are part of the DHCP message and cannot be |
| 516 | directly requested. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 517 | .It Fl W, Fl Fl whitelist Ar address Ns Op /cidr |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 518 | Only accept packets from |
| 519 | .Ar address Ns Op /cidr . |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 520 | .Fl X, Fl Fl blacklist |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 521 | is ignored if |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 522 | .Fl W, Fl Fl whitelist |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 523 | is set. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 524 | .It Fl X, Fl Fl blacklist Ar address Ns Op Ar /cidr |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 525 | Ignore all packets from |
| 526 | .Ar address Ns Op Ar /cidr . |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 527 | .It Fl Z , Fl Fl denyinterfaces Ar pattern |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 528 | When discovering interfaces, the interface name must not match |
| 529 | .Ar pattern |
| 530 | which is a space or comma separated list of patterns passed to |
| 531 | .Xr fnmatch 3 . |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 532 | .It Fl z , Fl Fl allowinterfaces Ar pattern |
| 533 | When discovering interfaces, the interface name must match |
| 534 | .Ar pattern |
| 535 | which is a space or comma separated list of patterns passed to |
| 536 | .Xr fnmatch 3 . |
| 537 | If the same interface is matched in |
| 538 | .Fl Z , Fl Fl denyinterfaces |
| 539 | then it is still denied. |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 540 | .El |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 541 | .Sh 3RDPARTY LINK MANAGEMENT |
| 542 | Some interfaces require configuration by 3rd parties, such as PPP or VPN. |
| 543 | When an interface configuration in |
| 544 | .Nm |
| 545 | is marked as STATIC or INFORM without an address then |
| 546 | .Nm |
| 547 | will monitor the interface until an address is added or removed from it and |
| 548 | act accordingly. |
| 549 | For point to point interfaces (like PPP), a default route to its |
| 550 | destination is automatically added to the configuration. |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 551 | If the point to point interface is configured for INFORM, then |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 552 | .Nm |
| 553 | unicasts INFORM to the destination, otherwise it defaults to STATIC. |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 554 | .Sh NOTES |
| 555 | .Nm |
| 556 | requires a Berkley Packet Filter, or BPF device on BSD based systems and a |
| 557 | Linux Socket Filter, or LPF device on Linux based systems. |
| 558 | .Sh FILES |
| 559 | .Bl -ohang |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 560 | .It Pa /etc/dhcpcd.conf |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 561 | Configuration file for dhcpcd. |
| 562 | If you always use the same options, put them here. |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 563 | .It Pa /etc/dhcpcd.duid |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 564 | Text file that holds the DUID used to identify the host. |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 565 | .It Pa /libexec/dhcpcd-run-hooks |
| 566 | Bourne shell script that is run to configure or de-configure an interface. |
| 567 | .It Pa /libexec/dhcpcd-hooks |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 568 | A directory containing bourne shell scripts that are run by the above script. |
| 569 | Each script can be disabled by using the |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 570 | .Fl C , Fl Fl nohook |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 571 | option described above. |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 572 | .It Pa /var/db/dhcpcd\- Ns Ar interface Ns .lease |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 573 | The actual DHCP message send by the server. |
| 574 | We use this when reading the last |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 575 | lease and use the files mtime as when it was issued. |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 576 | .It Pa /var/run/dhcpcd.pid |
| 577 | Stores the PID of |
| 578 | .Nm |
| 579 | running on all interfaces. |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 580 | .It Pa /var/run/dhcpcd\- Ns Ar interface Ns .pid |
| 581 | Stores the PID of |
| 582 | .Nm |
| 583 | running on the |
| 584 | .Ar interface . |
| 585 | .El |
| 586 | .Sh SEE ALSO |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 587 | .Xr fnmatch 3 , |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 588 | .Xr if_nametoindex 3 , |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 589 | .Xr dhcpcd.conf 5 , |
| 590 | .Xr resolv.conf 5 , |
| 591 | .Xr dhcpcd-run-hooks 8 , |
| 592 | .Xr resolvconf 8 |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 593 | .Sh STANDARDS |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 594 | RFC 951, RFC 1534, RFC 2131, RFC 2132, RFC 2855, RFC 3004, RFC 3361, RFC 3396, |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 595 | RFC 3397, RFC 3442, RFC 3927, RFC 4361, RFC 4390, RFC 4702, RFC 4861, RFC 5969, |
| 596 | RFC 6106. |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 597 | .Sh AUTHORS |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 598 | .An Roy Marples Aq roy@marples.name |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 599 | .Sh BUGS |
Dmitry Shmidt | a3a2260 | 2012-07-23 16:45:46 -0700 | [diff] [blame] | 600 | Please report them to |
| 601 | .Lk http://roy.marples.name/projects/dhcpcd |