FreifunkUFO / meshrc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

meshrc

meshrc-web

Uses the prometheus-node-exporter-lua with bmx7 plugin to generate valid NetJson which can be visualized via netjsongraph.js

example_output

Also creates an simple overview & allow configuration of the mesh via meshrc-client.

meshrc-config

meshrc-cli

Has various command to set the mesh configuration:

Usage: ./cli.sh
    -h --help                           : show this message
    -i --shortid <shortid>              : short id of node to be configured
    -l --list-nodes                     : show all nodes of mesh network
    -n --node-name <name>               : sets node name for given shortId
    -a --ap-pass <passworkd>            : set access point password of all nodes
    -m --mesh-pass <passworkd>          : set mesh password of all nodes
    -f --firstboot                      : resets all nodes by removing overlayfs
    -r --raw                            : runs given command directly on node
    -s --set-ssh <ssh_keys>             : set ssh key to all nodes
Examples:
    ./cli.sh -i ABCD1234 -a "individual-ap-password"
    ./cli.sh -i ABCD1234 -i BCDE2345 -r "reboot"
    ./cli.sh -m "new-mesh-password"

The command transport is done via bmx7-sms and requires clients that trust the sending node.

meshrc-client

Run the commands received from the cli.

About


Languages

Language:JavaScript 49.0%Language:Shell 22.0%Language:Python 11.6%Language:HTML 9.5%Language:CSS 5.4%Language:Makefile 2.5%