Commit Graph

17 Commits

Author SHA1 Message Date
Roy Marples
a544b76a69 Add the persistent option to the default dhcpcd.conf
Document how this can affect connected clients at shutdown, such as SSH
2013-08-26 12:20:53 +00:00
Roy Marples
2326c6baed Stop sending FQDN by default.
Instead, if sending the hostname in DHCPv4, send a FQDN in DHCPv6.

This allows for a cleaner configuration file and fixes some DDNS problems
with upstream servers.
2013-07-22 19:05:54 +00:00
Roy Marples
30edc129ed Rename the script option fqdn_name to fqdn for DHCPv4 replies to
match DHCPv6 as it makes name sense.
Request the FQDN option by default as well as sending it.
2013-07-21 09:57:27 +00:00
Roy Marples
6bb6f71742 Add support for Rapid Commit, RFC3315 and RFC4039. 2013-06-05 23:57:03 +00:00
Roy Marples
b8ffa3cd19 Map DHCPv4 options to DHCPv6 where applicable.
This makes for an easier configuration.
Send the FQDN option by default.
2013-06-05 20:13:14 +00:00
Roy Marples
13c646b4d4 Default to using a DUID + IAID for DHCPv4 Client ID.
Disable requesting the MTU by default as some interface drivers still
incorrectly reset themselves when changing the MTU.
2013-03-26 06:39:58 +00:00
Roy Marples
ae92a9b5bb Don't always request classless_static_routes, instead add it to dhcpcd.conf
as a default option. Add a debug message when adding classless_static_routes.
This is because some DHCP servers have this option badly setup and it could
not be otherwise disabled.
2009-10-17 15:31:39 +00:00
Roy Marples
5b839b24c1 Add a comment about enabling a ClientID. 2009-09-20 16:20:31 +00:00
Roy Marples
7107a8013b Simplify config. 2009-09-09 10:32:48 +00:00
Roy Marples
070d1bdcf5 Respect the MTU by default.
If people have broken DHCP servers, or use an ISP with one they can
always change the setting.
2009-07-03 09:55:16 +00:00
Roy Marples
3c12970b61 Although RFC2131 requires a ServerID we can actually work without one.
Some broken servers don't send a ServerID, so make the requirement optional.
We default to requiring ServerID in dhcpcd.conf though as some other broken
servers NAK incorrectly without a ServerID.
2009-05-13 19:17:21 +00:00
Roy Marples
489188f618 Install the lookup-hostname script by default but don't run it by default. 2009-05-09 20:55:36 +00:00
Roy Marples
ed913a5977 dhcpcd should not send hostname by default.
However, the default config file we ship enables the sending of the hostname
by default.
This makes things more explicit I think, and also allows the FQDN to be sent
but not the hostname if someone ever needs this.
2009-01-29 11:21:16 +00:00
Roy Marples
9e917fed88 Disable the requesting of MTU by default as there's a lot of buggy servers out there. Plus we maybe trying to use jumbo frames. 2008-06-13 10:10:00 +00:00
Roy Marples
fa1d328922 Add 05-mtu hook so we respect the desired MTU on networks. 2008-06-13 09:55:18 +00:00
Roy Marples
ee4e620abb Move dhcpcd.sh to dhcpcd-run-hooks and remove .sh suffixes 2008-05-24 17:15:14 +00:00
Roy Marples
ba9dfb7aae 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. 2008-04-18 23:12:44 +00:00