pybatmesh/systemd-networkd/03-wireless-ad-hoc.network
Pranav Jerry 8d318a5b13 fixed ad-hoc device getting ip address
naxalnet no longer creates temporary directories,
since the networkd configs no longer have device
names engraved in them.
2021-05-11 11:29:38 +05:30

16 lines
389 B
SYSTEMD

[Match]
# This will match all networks in ad-hoc mode.
# It assumes there is only one interface in ad-hoc mode.
WLANInterfaceType=ad-hoc
[Network]
Description=ad-hoc network connecting to other nodes
BatmanAdvanced=bat0
# this interface should not have any ip addresses assigned
# ip will be given later to the bridge
DHCP=no
DHCPServer=no
LinkLocalAddressing=no
LLMNR=no
MulticastDNS=no