Francesco wrote:
Hi all, i'm starting a B.A.T.M.A.N. mesh testbed, i've read some messages to find some answers but no luck. I'll try to explain what I've done and the errors i get..hope i get some help in here.
From the beginning, I am using batman-adv 3.2 compiled along with batctl.
There is nothing like batman-adv 3.2. Where did you got it from?
Only one wireless interface (wlan0) on each linux box (5 boxes by now) Here are commands I fire on each node:
$ insmod batman-adv.ko $ iwconfig wlan0 mode ad-hoc essid BATMAN_NET $ echo wlan0 > /proc/net/batman-adv/interfaces $ ifconfig wlan0 192.168.1.xxx up $ ifconfig bat0 up
You must give bat0 also an ip to use IPv4(/6) over it... in most cases only bat0 as it is just the hardware interface the bat0 interface is using. If you only want to test raw ethernet data over bat0 this should work.
I get a new bat0 interface, iwconfig shows nodes properly part of the ad-hoc network. I see correct $batctl o output but i cannot $batctl ping $mac_address
Can you please give the originator table and send some small dumps (tcpdump - w, batctl td) of both nodes when you try to send a batctl ping? What mac address did you use?
Best regards, Sven