[systemd-devel] Wireless mesh networks and link_carrier_gained

Lennart Poettering lennart at poettering.net
Tue Dec 18 15:12:29 UTC 2018


On Di, 18.12.18 05:46, Roger James (roger at beardandsandals.co.uk) wrote:

> Hello,
>
> I have been testing the uses of systemd-networkd to configure wireless mesh
> networks, and have encountered a problem which manifests itself as a failure
> to correctly configure the additional dchp options offered by the inbuilt
> dhcpv4 server.
>
> This is related to the following commit.
>
> https://github.com/systemd/systemd/commit/45a9eac9a0c85c0c76b46388a530edd335ae44af#diff-12a3ecdf5af7aa9f8583c27ac442ca43
>
> This commit makes an assumption that carrier has been lost before it can be
> gained.
>
> Mesh networks require configuration by external agents such as
> wpa_supplicant, hostapd or other command line tools. These can/will cause
> the carrier gained event to be generated. In the current code this causes an
> assertion which aborts further address configuration on the link.

Hmm, if that's the case there's a bug. Can you file an issue about
this please on github? Even better, provide a PR... ;-)

Lennart

--
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list