After installing network-manager-iwd and iwd, why does NetworkManager not tell iwd the known networks? According to https://archive.kernel.org/oldwiki/iwd. ... nager.html this is supposed to work. netplan/cloud-init in my case have created /run/NetworkManager/system-connections/netplan-wlan0-Abc.nmconnection, which contains all necessary information.
I am running Raspberry Pi OS Trixie with kernel 6.12.62+rpt-rpi-v8,/boot/firmware/network-config has created /etc/netplan/90-NM-7e1e647f-2002-3499-bb11-d21ed9a33f01.yaml and for NetworkManager there is a connection definiton at /run/NetworkManager/system-connections/netplan-wlan0-Abc.nmconnection . NetworkManager configuration:I install explicitly network-manager-iwd, implicitly iwd. This removes the package wpasupplicant. Then I do cloud-init clean -c network -r . Installed are:NetworkManager --print-config now:and shows no network. /run/NetworkManager/system-connections/netplan-wlan0-Abc.nmconnection containsThe connection is established after I create /var/lib/iwd/Abc.psk with* How to convince NetworkManager to tell iwd that this network is known and the password is also known?
I am running Raspberry Pi OS Trixie with kernel 6.12.62+rpt-rpi-v8,
Code:
ii cloud-guest-utils 0.33-1 all cloud guest utilitiesii cloud-init 25.2-1~bpo13+1+rpt19 all initialization system for infrastructure cloud instancesii rpi-cloud-init-mods 1:20251114 all Cloud-Init and netplan configuration for Raspberry Pi OSii wpasupplicant 2:2.10-24 armhf client support for WPA and WPA2 (IEEE 802.11i)ii network-manager 1.52.1-1+rpt4 armhf network management framework (daemon and userspace tools)ii network-manager-l10n 1.52.1-1+rpt4 all network management framework (translation files)ii libnetplan1:armhf 1.1.2-7+rpt1 armhf Declarative network configuration runtime libraryii netplan-generator 1.1.2-7+rpt1 armhf Declarative network configuration for various backends at bootii netplan.io 1.1.2-7+rpt1 armhf Declarative network configuration for various backends at runtimeii python3-netplan 1.1.2-7+rpt1 armhf Declarative network configuration Python bindingsii rpi-cloud-init-mods 1:20251114 all Cloud-Init and netplan configuration for Raspberry Pi OSCode:
$ NetworkManager --print-config# NetworkManager configuration: /etc/NetworkManager/NetworkManager.conf, /usr/lib/NetworkManager/conf.d/{no-mac-addr-change.conf,rpi-no-scan-rand-mac-address.conf}, /run/NetworkManager/conf.d/{10-globally-managed-devices.conf,netplan.conf} [main] # rc-manager=auto# migrate-ifcfg-rh=false # auth-polkit=true # dhcp=internal # iwd-config-path=plugins=ifupdown,keyfile configure-and-quit=no [ifupdown]managed=false[logging]# backend=journal# audit=true[device]# wifi.backend=wpa_supplicantwifi.scan-rand-mac-address=no[device-netplan.wifis.wlan0] match-device=type:wifimanaged=1[device-31-mac-addr-change]match-device=driver:eagle_sdio,driver:wlwifi.scan-rand-mac-address=no# no-auto-default file "/var/lib/NetworkManager/no-auto-default.state"Code:
ii iwd 3.8-2 armhf wireless daemon for Linuxii network-manager-iwd 3.8-2 all wireless daemon for Linux - NetworkManager integrationCode:
# NetworkManager configuration: /etc/NetworkManager/NetworkManager.conf, /usr/lib/NetworkManager/conf.d/{iwd.conf,rpi-no-scan-rand-mac-address.conf}, /run/NetworkManager/conf.d/{10-globally-managed-devices.conf,netplan.conf}[main]# rc-manager=auto# migrate-ifcfg-rh=false# auth-polkit=true# dhcp=internal# iwd-config-path=plugins=ifupdown,keyfileconfigure-and-quit=no[ifupdown]managed=false[logging]# backend=journal# audit=true[device]wifi.backend=iwdwifi.scan-rand-mac-address=no[device-netplan.wifis.wlan0]match-device=type:wifimanaged=1# no-auto-default file "/var/lib/NetworkManager/no-auto-default.state"Code:
iwctl known-networks listCode:
[connection]id=netplan-wlan0-Abctype=wifiuuid=7e1e647f-2002-3499-bb11-d21ed9a33f01[ipv4]method=manualaddress1=192.168.0.12/24dns=192.168.0.1;route1=0.0.0.0/0,192.168.0.1[ipv6]method=ignore[wifi]ssid=Abcmode=infrastructure[wifi-security]key-mgmt=wpa-pskpsk=abcdefg1[proxy]Code:
[Security]Passphrase=abcdefg1Statistics: Posted by dpa — Wed Jan 28, 2026 2:03 pm — Replies 0 — Views 29