B.A.T.M.A.N. is an alias for "Better Approach To Mobile Adhoc Networking".
Batman-advis a mesh protocol for a layer 2 network
batmandis a userspace daemon that operates on layer 3
But please see the Documentation on the Project Homepage.
Package: kmod-batman-adv Version: 22.214.171.124+2011.3.0-1 Depends: kernel (= 126.96.36.199-1), kmod-crc16 Size: 74121 Description: B.A.T.M.A.N. advanced is a kernel module which allows to build layer 2 mesh networks. This package contains the version 2011.3.0 of the kernel module plus its user space configuration & managerment tool batctl.
Package: batmand Version: r1439-1 Depends: libpthread, kmod-tun Size: 37577 Description: B.A.T.M.A.N. layer 3 routing daemon
The first step is to download the required OpenWrt and batman source code. For this guide I am using OpenWrt backfire 10.03. Make sure you have the following packages installed: gcc, binutils, patch, bzip2, flex, bison, make, gettext, pkg-config, unzip, libz-dev, libc headers and subversion.
svn co svn://svn.openwrt.org/openwrt/branches/backfire cd backfire/
Install luci (optional) and batman-adv:
./scripts/feeds update ./scripts/feeds install -a -p luci ./scripts/feeds install kmod-batman-adv-kernelland
To configure the compilation options type:
make menuconfigSelect "Target System" and press enter to select your applicable platform (more information can be found on the OpenWrt Table of Hardware). Then go to: Image Configuration → Kernel Modules → Network Support. Select kmod-batman-adv-kernelland to be installed as part of the image by selecting it and pressing the spacebar until there is a asterisk ('*') next to it. Also make sure that batctl is selected with an asterisk. Press Escape until you are asked to save your configuration and select 'Yes'.
Compile your new images by typing:
makeAlternatively if an error occurs, type the following to get debugging output:
Refer to the applicable documentation for your device in the Table of Hardware. Once installed set a default password and login via ssh:
inbox/mesh.batman.txt · Last modified: 2013/01/26 04:44 by whuang