On 30/05/14 11:22, Lucy Coya wrote:
> Hi everyone,
> My name is Lucy Coya, I´m a telecommunications engineer and I need some
> help with my BATMAN configuration. I´m using batman-adv-2014-2.0 and
> batctl-2014-2.0
> I´m trying to use BATMAN protocol in a very very simple routing scenario
> at first to study the protocol. I have:
> -Two Laptops using two wireless interfaces each (wlan0 in AP mode and
> wlan1 in Ad Hoc mode).
> 
> I meshed the two wireless interfaces in ad hoc mode according to the
> wiki steps and it worked fine,so I can ping the interfaces. Now I´m
> trying to make that two clients connected to the AP interfaces can ping
> each other through the mesh network. I tried creating a bridge between
> wlan0 and wlan1 as the wiki says but no ping :-(. I don´t know what to

you should bridge wlan0 (the AP interface) with bat0
and add wlan1 (adhoc) to bat0 with "batctl if add"

in ascii art that'd be:
br-lan
 \ wlan0
 \ bat0
    \ wlan1

in bash commands that'd be

# add adhoc interface to bat0
batctl if add wlan1

# remove addresses from slave interfaces
ip addr flush dev wlan0
ip addr flush dev wlan1
ip addr flush dev bat0

# bridge ap interface with bat0
brctl addif br-lan wlan0
brctl addif br-lan bat0

# add the ip address to the bridge
ip addr add dev br-lan 2001:db8::1/64


cheers!

gui

> do so any help would be awesome!!! Thanks
> Sorry if my English is bad :-)
> 
> Lucy
> 
> 
> 
> 50 Aniversario de la Cujae. Inaugurada por Fidel el 2 de diciembre de
> 1964  http://cujae.edu.cu
> 
> 

Reply via email to