From eb51df86e4b2da76e6c812534acce3f3ed2eb0a6 Mon Sep 17 00:00:00 2001 From: Pranav Jerry Date: Tue, 15 Jun 2021 17:21:13 +0530 Subject: [PATCH] Updated MTU in 03-wireless-ad-hoc.network Added link to open mesh page announcing systemd support --- README.md | 3 ++- systemd-networkd/03-wireless-ad-hoc.network | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f592d57..1bfd2d0 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ or anyone else advocating for their rights). ## Requirements -- systemd{,-networkd} v248 or more (for batman support) +- systemd{,-networkd} v248 or more (for [batman support][batman-systemd]) - Linux kernel with batman-adv module (if `modinfo batman-adv` shows no error then you already have it) - iwd (for starting ad-hoc network) @@ -157,3 +157,4 @@ This project is in alpha stage. Documentation is incomplete. [python-dasbus]: https://github.com/rhinstaller/dasbus [naxalnet-git]: https://aur.archlinux.org/packages/naxalnet-git [arch-resolved]: https://wiki.archlinux.org/title/Systemd-resolved#DNS +[batman-systemd]: https://www.open-mesh.org/news/101 diff --git a/systemd-networkd/03-wireless-ad-hoc.network b/systemd-networkd/03-wireless-ad-hoc.network index 8e4906e..b0019ae 100644 --- a/systemd-networkd/03-wireless-ad-hoc.network +++ b/systemd-networkd/03-wireless-ad-hoc.network @@ -3,6 +3,11 @@ # It assumes there is only one interface in ad-hoc mode. WLANInterfaceType=ad-hoc +[Link] +# BATMAN packets are 32 bits larger than normal packets +# and I don't know what that means +MTUBytes=1560 + [Network] Description=ad-hoc network connecting to other nodes BatmanAdvanced=bat0