Add IWD standalone option to network configuration + fix NM_IWD#4528
Open
h8d13 wants to merge 3 commits intoarchlinux:masterfrom
Open
Add IWD standalone option to network configuration + fix NM_IWD#4528h8d13 wants to merge 3 commits intoarchlinux:masterfrom
h8d13 wants to merge 3 commits intoarchlinux:masterfrom
Conversation
Adds NicType.IWD as a third option alongside NM and NM_IWD: install iwd, write /etc/iwd/main.conf with EnableNetworkConfiguration=true and NameResolvingService=systemd, enable iwd.service + systemd-resolved.service. iwd handles DHCP itself and resolved picks up its DNS via the symlink, so no NetworkManager pulled in. Also fills in parse_arg cases for NM_IWD and IWD so config files round-trip both nic types. Assisted-By: Flint
similar pattern to .network files shipped in /etc/systemd/network
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR enables
iwdto be picked standalone (WITHOUT the dep chainnetworkmanager → wpa_supplicant → pcsclite → polkit) which enables minimalseatdsetups better.iwdhandles DHCP on the wireless link,systemd-resolvedhandles DNS ( Services:iwd.service+systemd-networkd.service+systemd-resolved.service) using stub symlink.Misc: was missing parse case for
NM_IWDmy mistake in PR #4025 saved configs with this type were silently falling through. L:131Tests: Both cases several times over, check existence of config files in target, ping.