Skip to content

About

Glue hooks to sync dhcpcd.conf & /etc/network/interfaces

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

23 Commits

Folders and files

Repository files navigation

tkl-dhcpcd-ifupdown-glue

Provides ifupdown glue hook scripts to keep dhcpcd.conf and /etc/network/interfaces in sync.

If an interface is configured as either 'static' or 'manual', ifup dynamically adds config to /etc/dhcpcd.conf to disable DHCP for that interface.

When an interface is bought down, config is removed from /etc/dhcpcd.conf to ensure that manually invoking dhcpcd still works as expected.

Supports enabling/disabling IPv4 and IPv6 DHCP separately via interfaces file.

Static DNS settings

The native ifupdown-ng DNS executor registers the interface's nameservers and resolver options with resolvconf when the interface comes up. Taking the interface down removes that interface's static contribution while preserving DHCP and other interfaces' resolver records. IPv4 and IPv6 resolver addresses are supported. Nameservers from separate IPv4 and IPv6 stanzas are retained, including when an alternate interfaces file is selected with ifup -i.

For existing installations, install the package update through the TurnKey APT repository once it is published. Reapply the network settings through Confconsole or reboot to activate the corrected resolver integration. Use a local or VM console when changing the active network connection.

See the regression procedure for validation.

About

Glue hooks to sync dhcpcd.conf & /etc/network/interfaces

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages