Skip to contentSkip to conversation

I need some help with BATMAN configuration

B.A.T.M.A.N. Lucy Coya 3 participants 3 messages May 30, 2014

lore
Share & tools
lore

Lucy Coya

author
#0 lore raw

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 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

#1 lore raw

I am in a similar boat. I can ping the local interfaces but not the
remote ones.
Please CC me on your email with Lucy.

‹David.

Quoted 25 lines · ext Lucy Coya

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 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

#2 lore raw
In reply to Lucy Coya
Quoted 9 lines · Lucy Coya

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).

Quoted 5 lines

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

Quoted 11 lines

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