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

Using connman with iwd is impossible due to incorrect assertion #56125

Closed
ilya-fedin opened this issue Feb 21, 2019 · 7 comments · Fixed by #76153
Closed

Using connman with iwd is impossible due to incorrect assertion #56125

ilya-fedin opened this issue Feb 21, 2019 · 7 comments · Fixed by #76153

Comments

@ilya-fedin
Copy link
Contributor

Issue description

connman built with iwd: https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/networking/connman/default.nix#L47
But module contains assertion that returns error when wpa_supplicant is disabled (enabling iwd disables wpa_supplicant):

assertion = config.networking.wireless.enable;

@eadwu
Copy link
Member

eadwu commented Feb 21, 2019

In master, the only supported way to use iwd is to use it as a standalone wireless daemon. Even if you assertion was disabled, it wouldn't make a difference, since the configurations don't allow for iwd to connect to connman. The default iwd.service is setup for dbus which differs from the one that is required [1]. Though it does look like it's relatively easy to enable iwd integration with the addition of two services, for now it might be better to just override the module manually on your local configuration.

[1] https://wiki.archlinux.org/index.php/ConnMan#Using_iwd_instead_of_wpa_supplicant

@dtzWill
Copy link
Member

dtzWill commented Feb 23, 2019

If someone ends up putting together the needed bits, please share (probably as a PR)!

Ive kludged network-manager into using iwd (kludge is needed for similar assertion and to not run iwd standalone, IIRC) but I'm keen to give connman a try :).

@stellarhoof
Copy link

stellarhoof commented Mar 31, 2019

FYI guys, ConnMan doesn't really keep up to date with iwd and integration between the two might lead to frustration. See

The best bet for now is to use network manager with iwd (#51803)

@ilya-fedin
Copy link
Contributor Author

NetworkManager is ugly and buggy

@stellarhoof
Copy link

stellarhoof commented Apr 4, 2019

I've been also using iwd without network manager or connman just fine.

@ilya-fedin
Copy link
Contributor Author

I'm thinking of writing a GUI for iwd - to use iwd + dhcpcd

@doronbehar
Copy link
Contributor

Heads up for anyone interested iwd 1.0 was released with breaking changes, refs:

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 a pull request may close this issue.

5 participants