Skip to content

WIP More dhcpcd related networking updates#104

Draft
JedMeister wants to merge 3 commits intoturnkeylinux:masterfrom
JedMeister:more-networking-updates
Draft

WIP More dhcpcd related networking updates#104
JedMeister wants to merge 3 commits intoturnkeylinux:masterfrom
JedMeister:more-networking-updates

Conversation

@JedMeister
Copy link
Copy Markdown
Member

This PR adds management of dhcpcd config when a network interface is reconfigured to use a static IP (or reset to DHCP after having been static) via Confconsole.

Despite dhcpcd being "compatible" with ifupdown & /etc/network/interfaces file, it does not honor DHCP related config in the interfaces file so /etc/dhcpcd.conf needs to be configured explicitly to disable DHCP. Otherwise if an interface is set to static in the interfaces file it will still also use DHCP - resulting in 2 IP addresses plus other info from DHCP.

FYI Confconsole still only handles IPv4 WRT DHCP - IPv6 is "hardcoded" as DHCP & if set to a static IP via /etc/interfaces file it will still get network config from DHCP - assuming it can.

@JedMeister JedMeister requested a review from OnGle April 17, 2026 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant