Package Details: networkmanager-iwd 1.50.0-1

Git Clone URL: https://aur.archlinux.org/networkmanager-iwd.git (read-only, click to copy)
Package Base: networkmanager-iwd
Description: Network connection manager and user applications; using iwd backend instead of wpa_supplicant
Upstream URL: https://networkmanager.dev/
Licenses: GPL-2.0-or-later, LGPL-2.1-or-later
Conflicts: networkmanager
Provides: networkmanager
Submitter: digitalone
Maintainer: buzo
Last Packager: buzo
Votes: 34
Popularity: 0.31
First Submitted: 2019-08-10 10:04 (UTC)
Last Updated: 2024-10-10 13:06 (UTC)

Dependencies (65)

Required by (286)

Sources (2)

Pinned Comments

digitalone commented on 2019-08-10 10:37 (UTC) (edited on 2019-08-15 09:14 (UTC) by digitalone)

This is a modified package configured to get NetworkManager working exclusively with iwd. Main difference with upstream version is that iwd is required and wpa_supplicant is not needed (so you can uninstall it); iwd seems more reliable on certain wireless cards, so someone could prefer it in place of wpa_supplicant.

It's recommended to enable systemd iwd.service at boot: systemctl enable iwd.service

Tested with Plasma NM system tray applet (plasma-nm), it's working.

Note that wpa_supplicant is still needed to build the package, but you can uninstall it after the building stage.

Latest Comments

1 2 3 4 5 Next › Last »

Taijian commented on 2024-10-09 00:00 (UTC)

While looking at some code over on github, I noticed that for the past two years there has been this build option: -D config_wifi_backend_default=iwd. Using this allows building without wpa-supplicant as a build dependency and without installing that override file into /usr/lib/NetworkManager/conf.d/30-wifi-backend.conf

JoeyCorleone commented on 2024-06-22 07:03 (UTC)

Yes, confirmed. As per this comment by heftig:

Thanks to Fabian, as of 2.80.3-1, the development utilities requiring additional dependencies (python, python-packaging, libelf) have been split from glib2 into glib2-devel with proper depends. You may need to add glib2-devel to the makedepends of your packages to get them to build again. At the same time, consider removing python or python-packaging from the makedepends if they were only added to run gdbus-codegen, glib-genmarshal or glib-mkenums.

Taijian commented on 2024-06-21 09:48 (UTC) (edited on 2024-06-21 09:49 (UTC) by Taijian)

Well, in this case glib2-devel should probably be added to makedepends instead of glib2?

dumbnerd commented on 2024-06-21 09:20 (UTC) (edited on 2024-06-21 09:21 (UTC) by dumbnerd)

If anyone else encounters this error during the build:

ERROR: Dependency 'gio-2.0' tool variable 'gdbus_codegen' contains erroneous value: '/usr/bin/gdbus-codegen'

Make sure you have the glib2-devel package installed.

JoeyCorleone commented on 2024-06-19 14:05 (UTC)

Build-time dependency gio-2.0 found: YES 2.80.3
Program /usr/bin/gdbus-codegen found: NO

NetworkManager/introspection/meson.build:66:14: ERROR: Dependency 'gio-2.0' tool variable 'gdbus_codegen' contains erroneous value: '/usr/bin/gdbus-codegen'

This is a distributor issue -- please report it to your gio-2.0 provider.

Anybody else getting this when trying to build?

buzo commented on 2021-12-15 16:24 (UTC)

Thanks Tomodoro for that research, and sorry for the delay. Turns out that the default location for polkit_agent_helper_1 is already the correct one, so I have omitted it completely.

saubakirov: I have no clue what these error messages mean – I hope this update fixes the build for you, too.

saubakirov commented on 2021-11-22 10:08 (UTC) (edited on 2021-11-22 10:08 (UTC) by saubakirov)

Package not updating, I'm getting this error

Cloning networkmanager-iwd build files...
Generating libnm-iwd information...
Failed to prepare transaction:
Failed to generate libnm-iwd information

<deleted-account> commented on 2021-11-14 04:06 (UTC)

The source code replaced the build option polkit_agent with polkit_agent_helper_1_path on this commit with the description "Path name to the polkit-agent-helper-1 binary from polkit", then renamed it to polkit_agent_helper_1 on this other commit.

I searched on the polkit package the path to the file polkit-agent-helper-1 and I got /usr/lib/polkit-1/.

I replaced the line -D polkit_agent=true with the line -D polkit_agent_helper_1=/usr/lib/polkit-1/ on the PKGBUILD and I was able to compile successfully.

WaterInMyLungs commented on 2021-11-14 00:14 (UTC)

receiving the same error as TornaxO7, can't find fix

TornaxO7 commented on 2021-10-25 09:50 (UTC)

I'm getting an error when I try to install it:

  • exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true NetworkManager build -D dbus_conf_dir=/usr/share/dbus-1/system.d -D dist_version=1.32.12-1 -D session_tracking_consolekit=false -D suspend_resume=systemd -D modify_system=true -D polkit_agent=true -D selinux=false -D iwd=true -D pppd_plugin_dir=/usr/lib/pppd/2.4.9 -D teamdctl=true -D nm_cloud_setup=true -D bluez5_dun=true -D ebpf=true -D config_plugins_default=keyfile -D netconfig=no -D config_dns_rc_manager_default=symlink -D vapi=true -D docs=true -D more_asserts=no -D more_logging=false -D qt=false The Meson build system Version: 0.60.0 Source dir: /home/tornax/.cache/yay/networkmanager-iwd/src/NetworkManager Build dir: /home/tornax/.cache/yay/networkmanager-iwd/src/build Build type: native build

NetworkManager/meson.build:3:0: ERROR: Unknown options: "polkit_agent"

A full log can be found at /home/tornax/.cache/yay/networkmanager-iwd/src/build/meson-logs/meson-log.txt ==> ERROR: A failure occurred in build(). Aborting... -> error making: networkmanager-iwd (libnm-iwd networkmanager-iwd)

How can I fix this?