Repository : ssh://git@open-mesh.org/doc
On branches: backup-redmine/2017-07-13,master
commit a831581bb5549b57074f053b41e5ddc6e6b031a2 Author: Martin Hundebøll martin@hundeboll.net Date: Fri Dec 2 16:43:18 2011 +0000
doc: batman-adv/Using-batctl
a831581bb5549b57074f053b41e5ddc6e6b031a2 batman-adv/Using-batctl.textile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+)
diff --git a/batman-adv/Using-batctl.textile b/batman-adv/Using-batctl.textile new file mode 100644 index 00000000..7a4a8ce5 --- /dev/null +++ b/batman-adv/Using-batctl.textile @@ -0,0 +1,25 @@ +h1. Using batctl + +Batctl is the configuration and debugging tool for batman-adv. It is thoroughly documented in its man page, so please refer to "man batctl" on your system or "this online version":http://downloads.open-mesh.org/batman/manpages/batctl.8.html . + +h2. Using batctl for configuration + +All configuration of batman-adv is done in the virtual filesystem _sysfs_ and batctl is merely an convenient interface to this. + +A quick overview of the config options available with batctl: +* Add and remove interfaces to the mesh network. +* Set or change parameters of batman-adv module. +* Enable or disable features of batman-adv. (e.g. gateway announcements). + +h2. Using batctl for debugging + +batctl offers a great deal of tools for monitoring the state of your mesh node/network. For many of the features to be available, you must compile your kernel with debugfs (it usually is by default) and mount your debugfs: +<pre> +mount -t debugfs none /sys/kernel/debug +</pre> + +With debugfs mounted, you can use batctl to, among other, seeing the following: +* A list of other mesh nodes in the network (originators). +* Lists of none-mesh nodes connected to the network (clients or neighbors). +* A list of available gateways in the network. +* Log messages from the batman-adv module (if debug \ No newline at end of file