netctl icon indicating copy to clipboard operation
netctl copied to clipboard

Support for Intel Wireless Daemon (iwd)

Open vially opened this issue 6 years ago • 9 comments

Are there any plans to add support for the Intel Wireless Daemon?

Recently NetworkManager added initial support for it too.

vially avatar Dec 13 '17 19:12 vially

All WPA functionality is currently isolated in /src/lib/wpa, so in order to support IWD a compatible rewrite of that file needs to be made. As we are currently a long way still from IWD being common, there is no reason to start working on it. Once it is available in the [core] or [extra] repository of Arch Linux, I might look into it. Before that, you are welcome to propose a patch!

P.S. While new technology may be cool, the long development of old technology often makes it the better choice. There is no real reason to replace wpa_supplicant with IWD, or iproute2 with systemd-networkd, other than to offer a broad range of options. Currently, wpa_supplicant and iproute2 are simply superior (if not technically, than certainly in their user interface).

joukewitteveen avatar Dec 13 '17 19:12 joukewitteveen

I was made aware of the release of IWD 0.1. However, there is no sign of a command line client. Such a client is on the TODO list (at the bottom) and required for support by netctl.

joukewitteveen avatar Feb 12 '18 08:02 joukewitteveen

Version 0.2 from the Arch repos provides a cli (iwctl) to iwd (described at the wiki). Is there still some necessary functionality missing from it? I also am not 100% sure, but believe that the todo list just hasn't been updated in light of iwctl being made available.

dryya avatar May 14 '18 05:05 dryya

Okay, so there is a sign of a command line client. However I cannot find a manpage. Does it even work non-interactively? The tool feels very unfinished...

joukewitteveen avatar May 22 '18 09:05 joukewitteveen

Looking into it, it seems that iwctl is for interactive use only, and otherwise the daemon can be managed via dbus, but there isn't much documentation for that case I can find besides the wiki page.

dryya avatar May 22 '18 19:05 dryya

Just a heads-up, iwctl is usable non-interactively by simply appending commands (e.g. iwctl station wlp2s0 connect myssid).

cosmojg avatar May 12 '19 00:05 cosmojg

I think this should be reopened now, since iwd is finally mature enough to have become the recommended way of managing Wi-Fi connections on Arch Linux instead of wpa_supplicant and to have been included in the archiso.

I love netctl and I've been using it for a very long time now, but to me it's losing much of its appeal for as long as it doesn't support iwd.

thithib avatar Jul 18 '20 20:07 thithib

I agree with the above. I think it makes a lot of sense to start fielding pull requests for iwd support at this point. Is there any reason we can't reopen this?

cosmojg avatar Jul 19 '20 17:07 cosmojg

While the situation is continually improving, I still think iwd is doing too much and is not a 'do one thing and do it well' tool. This makes integration in netctl hard (see rant below). I am open to patches, though, and willing to help out where needed. However, until iwd has a real advantage over wpa_supplicant, I will not spend my time spearheading support for iwd myself.

Rant: Despite widespread sentiment, netctl is a capable and effective implementation of systemd-aware profile-based network configuration with maximum flexibility and control. In comparison, iwd is less flexible as it tries to take networking control out of the hands of the user and into its own hands. For many (probably a majority), this will be fine (netctl-auto exists for a reason), but conceptually, these automagic tools do not align well with netctl. A similar situation occurs around the internal dhcp client of systemd. Supporting it in netctl would be easy if only systemd provided a cli. Likewise, everything ifplugd does is implemented in systemd, but it is only hooked up internally and therefore unusable for third party tools.

joukewitteveen avatar Jul 23 '20 16:07 joukewitteveen