Quick mesh network setup for Archlinux. Once enabled, this service connects a device to a specified mesh network on boot.
This repo is a pacman package. You can install it like any other pacman package.
$ sudo pacman -U https://github.com/mgbelisle/mesh/raw/master/mesh.pkg.tar.xz
Enabling the mesh service will start it on boot.
$ sudo systemctl enable mesh
Once started, machines on the mesh are addressable via hostname.local
.
$ ping ares.local
Configs are set via /etc/mesh.conf.
- If a machine is not reachable via
hostname.local
, make sure mdns is enabled in/etc/nsswitch.conf
.
hosts: files mdns dns myhostname