Skip to content

Conversation

@h8d13
Copy link
Contributor

@h8d13 h8d13 commented Dec 22, 2025

This PR should solve a lot of issues for Intel users among other legacy hardware.

Issue originally from user: Coda_Phi : On a surface pro 7 (Notoriously Intel contributes to IWD dev, and has bad support with default wpa_supplicant default backend) This notably results in "No networks" in desktops.

image

So I tested a little on a Intel AX211 similar to user's AX201

It follows https://wiki.archlinux.org/title/NetworkManager#Using_iwd_as_the_Wi-Fi_backend
And https://wiki.archlinux.org/title/NetworkManager#iwd_support_for_captive_portal_support_on_legacy_hardware

By setting enable services to False then enabling only NetworkManager and writing the necessary config file to use IWD as back-end. It also still copies from ISO re-using existing definitions too.

Simply makes it so that you configure in ISO env before or during archinstall => Still works in DE

@h8d13 h8d13 requested a review from Torxed as a code owner December 22, 2025 14:17
@svartkanin
Copy link
Collaborator

The wpa_supplication package is installed by default

, I think this will need to be only added if the default NM is selected.

Group NM types and handle configurations appropriatly
	- For IWD -> Copy from ISO + Disable standalone and configure back-end
	- For standard -> Install wpa_supplicant
	- For both install applet only when Desktop profile

Added comments for clearer logic
@h8d13
Copy link
Contributor Author

h8d13 commented Dec 25, 2025

Maybe we hold on to this for a little testing on appropriate hardware

@Torxed
Copy link
Member

Torxed commented Dec 27, 2025

I think this looks good to go in now.
Future idea: maybe by selecting NM we can have a sub-menu or something to "configure" it, when it's selected a submenu could be to "select backend".. or just a "popup" asking :)

But that can be a separate/later PR when the new TUI is in.

@svartkanin
Copy link
Collaborator

I think the "Copy ISO config" option is somewhat misleading altogether as it won't copy any manually setup wifi networking which would be ideal as I imagine laptop users will mostly connect to it

@svartkanin svartkanin merged commit c1eae10 into archlinux:master Dec 28, 2025
9 checks passed
@h8d13 h8d13 deleted the dot-iwd branch December 28, 2025 12:05
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.

3 participants