Start iwd only after dbus
When iwd is not synchronized to start after dbus, NetworkManager often does not identify that the service is already running and does not manage the wireless interface.
I suggest adding the line "After=dbus.service" in "iwd.service" in the [Unit] section, so NetworkManager always identifies that iwd is working.
Dear dapolinario,
Am 02.06.20 um 05:35 schrieb dapolinario(a)gmail.com:
Quoted 7 lines
When iwd is not synchronized to start after dbus, NetworkManager often does not identify that the service is already running and does not manage the wireless interface.
I suggest adding the line "After=dbus.service" in "iwd.service" in the [Unit] section, so NetworkManager always identifies that iwd is working.
Did that fix that issue for you permanently?
How is iwd started? By NetworkManager over D-Bus or by systemd, because it was installed into it?
There is NetworkManager issue *iwd backend gets activated but NM considers the device unavailable* [1] about problems when iwd gets started by NM.
Kind regards,
Paul
[1]:
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/101
Hello!
Quoted 2 lines
How is iwd started? By NetworkManager over D-Bus or by systemd, because it was installed into it?
Iwd is started by NetworkManager over D-Bus instead of systemd.
Quoted 3 lines
There is NetworkManager issue *iwd backend gets activated but NM considers the device unavailable* [1] about problems when iwd gets started by NM.
Yes, this fix solves my problem and the referenced NetworkManager issue. I performed several tests and every time the interface was available for NetworkManager.
Kind regards
Daniel