Package Details: libnm-iwd 1.40.6-1

Git Clone URL: https://aur.archlinux.org/networkmanager-iwd.git (read-only, click to copy)
Package Base: networkmanager-iwd
Description: NetworkManager client library with iwd backend
Upstream URL: https://networkmanager.dev/
Licenses: LGPL
Conflicts: libnm
Provides: libnm, libnm.so
Submitter: digitalone
Maintainer: buzo
Last Packager: buzo
Votes: 24
Popularity: 0.77
First Submitted: 2019-08-10 10:04 (UTC)
Last Updated: 2022-12-02 21:37 (UTC)

Required by (34)

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 »

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

Tomodoro 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?

buzo commented on 2021-08-27 14:31 (UTC)

pyxel: Works for me, so wouldn't it be sufficient to add that to your /etc/makepkg.conf?

pyxel commented on 2021-08-25 11:21 (UTC)

link time optimizations are causing this to fail to build on my system, is it possible -D b_lto=false could be added to the PKGBUILD?

buzo commented on 2021-07-15 16:36 (UTC)

maksverver: Thanks for the detailed clarification.

maksverver commented on 2021-06-22 13:01 (UTC)

The mainline networkmanager package switched to provides=(libnm.so) and its dependants have been updated too, so it makes sense for networkmanager-iwd to do the same.

Using the name of the provided library (rather than the name of a compatible package) seems compatible with the packaging guidelines described here: https://wiki.archlinux.org/title/PKGBUILD#provides

There is no rationale provided there, but I suspect the goal is to decouple library dependencies from package dependencies:

  1. Packages that work with any implementation of libnm.so but don't care about which package provides it should depend only libnm.so (the library can be provided by either libnm or libnm-iwd).
  2. Packages that need a particular implementation can depend on the package that provides it (e.g networkmanager-iwd must depend on libnm-iwd, because it won't work with mainline libnm).

The conclusion is that if your system is up-to-date, the official packages should already work, and for any custom PKGBUILDs or AUR packages, you should update the dependency on libnm to either libnm.so (if mainline will work) or libnm-iwd (if required).

Gadgethm commented on 2021-06-22 05:27 (UTC) (edited on 2021-06-22 05:30 (UTC) by Gadgethm)

If you change all instances of 'provides=(libnm.so)' and 'provides = libnm.so' to 'provides=(libnm)' and 'provides = libnm' respectively in both the PKGBUILD and the .SRCINFO files, then it will properly build and install, or at least that worked for me. Will report back more if I run into problems.

Not sure why the changes in 48622efab81d got backed out... Any ideas?