Differences

This shows you the differences between two versions of the page.

inbox:mesh.batman [2013/01/26 04:44]
— (current)
Line 1: Line 1:
-====== B.A.T.M.A.N ====== 
-B.A.T.M.A.N. is an alias for "Better Approach To Mobile Adhoc Networking". 
-  * ''Batman-adv'' is a mesh protocol for a layer 2 network  
-  * ''batmand'' is a userspace daemon that operates on layer 3 
- 
-But please see the [[http://www.open-mesh.org/projects/open-mesh/wiki|Documentation on the Project Homepage]]. 
- 
-<code> 
-Package: kmod-batman-adv 
-Version: 2.6.39.4+2011.3.0-1 
-Depends: kernel (= 2.6.39.4-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. 
-</code> 
- 
-<code> 
-Package: batmand 
-Version: r1439-1 
-Depends: libpthread, kmod-tun 
-Size: 37577 
-Description: B.A.T.M.A.N. layer 3 routing daemon 
-</code> 
- 
-  * [[http://www.open-mesh.org/wiki/open-mesh/BranchesExplained]] 
- 
- 
-==== Compiling batman-adv and Openwrt ==== 
-=== Get the source code === 
--> [[doc:howto:build]] 
- 
-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.  
- 
-==Checkout OpenWrt backfire:== 
-<code> 
-svn co svn://svn.openwrt.org/openwrt/branches/backfire 
-cd backfire/  
-</code> 
- 
-==Update and install required packages== 
-Install luci (optional) and batman-adv: 
-<code> 
-./scripts/feeds update 
-./scripts/feeds install -a -p luci 
-./scripts/feeds install kmod-batman-adv-kernelland 
-</code> 
- 
-===Compile the images=== 
-To configure the compilation options type: 
-<code> 
-make menuconfig 
-</code> 
-Select "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: 
-<code> 
-make 
-</code> 
-Alternatively if an error occurs, type the following to get debugging output: 
-<code> 
-make V=99 
-</code> 
- 
-===Install and configure OpenWrt on your device=== 
-Refer to the applicable documentation for your device in the Table of Hardware. Once installed set a default password and login via ssh: 
-<code> 
-telnet 192.168.1.1 
-</code> 
- 
- 
-{{tag>mesh}} 

Back to top

inbox/mesh.batman.1359171853.txt.bz2 · Last modified: 2013/01/26 04:44 (external edit)