Difference between revisions of "Mesh/BATMAN-adv"

33 bytes added ,  15:49, 20 July 2014
changed menu structure
(added more details about algorithms)
(changed menu structure)
Line 21: Line 21:
* o (originator interval in ms) - a node transmits broadcast messages  (we  call  them  [http://www.open-mesh.org/projects/batman-adv/wiki/OGM originator message or OGM], [http://www.open-mesh.org/projects/batman-adv/wiki/Ogm-v2 version 2]) to inform the neighboring does about it's existence.  Originator interval is the time to  wait  after  sending one  message  and  before  sending the next message. The default value is 1000 ms (1 second).  In a mobile network, you may  want to detect network changes very quickly, so you need to send message very often, for example, use a  value  of  500  ms.  In  a static  network, you can save bandwidth by using a higher value.
* o (originator interval in ms) - a node transmits broadcast messages  (we  call  them  [http://www.open-mesh.org/projects/batman-adv/wiki/OGM originator message or OGM], [http://www.open-mesh.org/projects/batman-adv/wiki/Ogm-v2 version 2]) to inform the neighboring does about it's existence.  Originator interval is the time to  wait  after  sending one  message  and  before  sending the next message. The default value is 1000 ms (1 second).  In a mobile network, you may  want to detect network changes very quickly, so you need to send message very often, for example, use a  value  of  500  ms.  In  a static  network, you can save bandwidth by using a higher value.


= configuration files =
= Configuration files =
== Device configuration ==


This configuration is valid for [http://wiki.openwrt.org/about/history OpenWRT 12.09] (Attitude Adjustment), which uses BATMAN 2012.4.0. In newer versions, the version of BATMAN used is 2013.0.0 and the configuration of BATMAN slightly differs.
This configuration is valid for [http://wiki.openwrt.org/about/history OpenWRT 12.09] (Attitude Adjustment), which uses BATMAN 2012.4.0. In newer versions, the version of BATMAN used is 2013.0.0 and the configuration of BATMAN slightly differs.
Line 57: Line 58:
Write some of this stuff down for reference later! You might need it!
Write some of this stuff down for reference later! You might need it!


= Network configuration =
== Network configuration ==


In /etc/config/network:
In /etc/config/network:
Line 87: Line 88:
</pre>
</pre>


= BATMAN configuration =
== BATMAN configuration ==


There are [http://www.open-mesh.org/projects/batman-adv/wiki/Tweaking other options], but these are the recommended settings in /etc/config/batman-adv:
There are [http://www.open-mesh.org/projects/batman-adv/wiki/Tweaking other options], but these are the recommended settings in /etc/config/batman-adv:
Line 103: Line 104:
* [http://www.open-mesh.org/projects/batman-adv/wiki/Understand-your-batman-adv-network routing_algo] - an option to change the routing algorithm.  
* [http://www.open-mesh.org/projects/batman-adv/wiki/Understand-your-batman-adv-network routing_algo] - an option to change the routing algorithm.  


= System configuration =
== System configuration ==


In /etc/config/system you can set hostname and timezone. This is not strictly necessary for BATMAN to work, but it should be set correctly. The below timezone is correct for the pacific U.S. timezone. The naming convention for hostnames is: <router-model-name>-<some-unique-name-you-choose>
In /etc/config/system you can set hostname and timezone. This is not strictly necessary for BATMAN to work, but it should be set correctly. The below timezone is correct for the pacific U.S. timezone. The naming convention for hostnames is: <router-model-name>-<some-unique-name-you-choose>
289

edits