ad-hoc interface getting IP address #19

Closed
opened 2021-09-28 07:46:39 +02:00 by pranav · 4 comments
Owner

There is a file /usr/lib/systemd/network/80-wifi-adhoc.network which is installed as part of systemd-networkd which assigns a link-local address to all ad-hoc interfaces.

[Match]
Type=wlan
WLANInterfaceType=ad-hoc

[Network]
LinkLocalAddressing=yes

This files takes precedence over the configuration of naxalnet.

There is a file `/usr/lib/systemd/network/80-wifi-adhoc.network` which is installed as part of systemd-networkd which assigns a link-local address to all ad-hoc interfaces. ```ini [Match] Type=wlan WLANInterfaceType=ad-hoc [Network] LinkLocalAddressing=yes ``` This files takes precedence over the configuration of naxalnet.
pranav added the
bug
label 2021-09-28 07:46:39 +02:00
pranav added this to the Version 0.5.0 milestone 2021-09-28 07:46:44 +02:00
Author
Owner

I think this did not occur before the files in systemd-networkd/ were renamed

I think this did not occur before the files in systemd-networkd/ were renamed
pranav referenced this issue from a commit 2021-09-28 09:08:41 +02:00
Author
Owner

Added a fix here: 5bde1faeba

If anyone knows a better way, don't hesitate to reopen this issue.

Added a fix here: 5bde1faebaad79aa5d7c60d8f3b4d036ac226076 If anyone knows a better way, don't hesitate to reopen this issue.
Author
Owner

Reopening this until the branch is merged

Reopening this until the branch is merged
pranav reopened this issue 2021-10-03 07:16:08 +02:00
pranav added a new dependency 2021-10-03 07:16:21 +02:00
pranav changed title from Default systemd-networkd config getting precedence to ad-hoc interface getting IP address 2021-10-03 07:17:23 +02:00
Author
Owner

Pull request #18 was merged. Closing this issue.

Pull request #18 was merged. Closing this issue.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Depends on
Reference: pranav/pybatmesh#19
No description provided.