Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[19.09] nixos/networkmanager: allow iwd as Wi-Fi backend #71207

Merged
merged 1 commit into from Oct 16, 2019

Conversation

worldofpeace
Copy link
Contributor

Motivation for this change

This introduces an option wifi.backend to the networkmanager module.

Version of 86dea55 for release-19.09.


Backporting because it's an experimental feature that people would like to use at their discretion.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

cc @

This introduces an option wifi.backend to the networkmanager module.

Version of 86dea55 for release-19.09.
@worldofpeace
Copy link
Contributor Author

Needs manual testing as always with NM.

@flokli
Copy link
Contributor

flokli commented Oct 16, 2019

cc @mweinelt

@mweinelt
Copy link
Member

mweinelt commented Oct 16, 2019

Had to reboot after switching, because the interaction with nm-applet was somewhat broken. All WPA entries in nm-applet were greyed out. I was asked to reenter the password for a WLAN network but couldn't:

2019-10-16-143140_721x200_scrot

After reboot WPA networks were available again. I had to reenter passwords, connections are working. WPA2/WPA3 (WPA-PSK SAE) mixed works, WPA3 (SAE) alone does not even though nm-applet offers to connect to it. NetworkManager receives a GDBus.Error:net.connman.iwd.NotSupported error.

Another bummer: My WLAN interface is not using predictive interface naming anymore (wlp2s0 before, now wlan0).

I don't have an EAP network in range now, so I can't test that until later tonight.

Switched back to wifi.backend = "wpa_supplicant"; and after a switch iwd has vanished but wpa_supplicant does not get started. After another reboot WLAN works again and WPA3 networks are greyed out in nm-applet. And the WLAN interface is wlp2s0 again, so the renaming is caused by iwd apparently.

Tested on 8bf142e + dcc4078

@worldofpeace
Copy link
Contributor Author

Sounds like a typical iwd experience @mweinelt. Though I must admit it went better for me.

The bit with having to restart I think is expected, unless you manually restart/start things.

Another bummer: My WLAN interface is not using predictive interface naming anymore (wlp2s0 before, now wlan0).

I did notice that.


Thanks for testing ✨

@worldofpeace worldofpeace merged commit c35f716 into NixOS:release-19.09 Oct 16, 2019
@worldofpeace worldofpeace deleted the nm-iwd-19.09 branch October 16, 2019 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants