Skip to contentSkip to conversation

Start iwd only after dbus

DISCUSSION [email protected] 2 participants 3 messages Jun 2, 2020 – Jun 3, 2020

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw

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

#2 lore raw

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