The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 1 | # A sample configuration for dhcpcd. |
| 2 | # See dhcpcd.conf(5) for details. |
| 3 | |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 4 | # Inform the DHCP server of our hostname for DDNS. |
| 5 | hostname |
| 6 | # To share the DHCP lease across OSX and Windows a ClientID is needed. |
| 7 | # Enabling this may get a different lease than the kernel DHCP client. |
| 8 | # Some upstream DHCP servers may also require a ClientID, such as FRITZ!Box. |
| 9 | #clientid |
| 10 | |
| 11 | # A list of options to request from the DHCP server. |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 12 | option domain_name_servers, domain_name, domain_search, host_name |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 13 | option classless_static_routes |
| 14 | # Most distributions have NTP support. |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 15 | option ntp_servers |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 16 | # Respect the network MTU. |
| 17 | option interface_mtu |
| 18 | # A ServerID is required by RFC2131. |
| 19 | require dhcp_server_identifier |
The Android Open Source Project | f7c5421 | 2009-03-03 19:29:22 -0800 | [diff] [blame] | 20 | |
Dmitry Shmidt | e86eee1 | 2011-01-24 16:27:51 -0800 | [diff] [blame] | 21 | # A hook script is provided to lookup the hostname if not set by the DHCP |
| 22 | # server, but it should not be run by default. |
| 23 | nohook lookup-hostname |