Projecte

General

Perfil

AddBatmanAdv » Historial » Revisió 2

Revisió 1 (Agustí Moll Garcia, 07-05-2013 00:06) → Revisió 2/3 (Agustí Moll Garcia, 07-05-2013 00:08)

h1. Add BATMAN-Adv Cloud 

 0. Compile module batman-adv: 

 1. Make interface in /etc/config/network, where ifname is device in ad-hoc mode.  
 /etc/config/network: 
 <pre> 
 config interface 'mesh_batadv' 
     option ifname 'wlan1' 
     option mtu '1528' 
     option proto 'batadv' 
     option mesh 'bat0' 
 </pre> 
 2. Add device in interface lan (bridge): 
 <pre> 
 config interface 'lan' 
     option type 'bridge' 
     list ifname 'eth0.1' 
     list ifname 'bat0' 
     .... 
 </pre> 
 3. Configure /etc/config/batman-adv associed device and interface and active ap_isolation 
 <pre> 
 config 'mesh' 'bat0' 
     option 'interfaces' 'mesh_batadv' 
     option 'aggregated_ogms' 
     option 'ap_isolation' '1' 
     option 'bonding' 
     option 'fragmentation' 
     option 'gw_bandwidth' 
     option 'gw_mode' 
     option 'gw_sel_class' 
     option 'log_level' 
     option 'orig_interval' 
     option 'vis_mode' 
     option 'bridge_loop_avoidance' 
 </pre> 
 4. reload network or reboot 

 5. Use batctl to check cloud.