All of lore.kernel.org
 help / color / mirror / Atom feed
* Start iwd only after dbus
@ 2020-06-02  3:35 dapolinario
  2020-06-03 14:03 ` Paul Menzel
  0 siblings, 1 reply; 3+ messages in thread
From: dapolinario @ 2020-06-02  3:35 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 315 bytes --]

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Start iwd only after dbus
  2020-06-02  3:35 Start iwd only after dbus dapolinario
@ 2020-06-03 14:03 ` Paul Menzel
  2020-06-03 14:06   ` Daniel Apolinario
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Menzel @ 2020-06-03 14:03 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 829 bytes --]


Dear dapolinario,


Am 02.06.20 um 05:35 schrieb dapolinario(a)gmail.com:
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Start iwd only after dbus
  2020-06-03 14:03 ` Paul Menzel
@ 2020-06-03 14:06   ` Daniel Apolinario
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Apolinario @ 2020-06-03 14:06 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 527 bytes --]

Hello!

> 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.

> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-03 14:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-02  3:35 Start iwd only after dbus dapolinario
2020-06-03 14:03 ` Paul Menzel
2020-06-03 14:06   ` Daniel Apolinario

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.