All of lore.kernel.org
 help / color / mirror / Atom feed
* Python script to setup batman networks
@ 2021-08-22  8:53 Pranav Jerry
  0 siblings, 0 replies; only message in thread
From: Pranav Jerry @ 2021-08-22  8:53 UTC (permalink / raw)
  To: b.a.t.m.a.n

Hi!

I have made a python script [1] to setup batman-adv networks using
systemd-networkd. It requires iwd and systemd-networkd v248 or above.

It starts an adhoc network on wlan0 (or any other wireless interface)
and adds it to bat0. To allow non-mesh clients to connect to
the mesh, if there are two WiFi adapters, the script starts an
AP on one of the adapters.

The script is supposed to be run as a systemd service, since
it can ensure that the dependencies are started before it is run.
The network is configured with systemd-networkd runtime configs
(since it has not implemented configuration via D-Bus)
and the iwd D-Bus API.

All suggestions, criticism and contributions are welcome.

[1]: https://git.disroot.org/pranav/naxalnet



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-22  8:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-22  8:53 Python script to setup batman networks Pranav Jerry

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.