On Wednesday 23 February 2011 18:42:58 Dr. Stefan Radtke wrote:
Hello Antonio, Sven,
thanks for your comments. With your help I could set it up. The mistake was in fact the ip-address on bat0.
I removed all IP addresses and set them to the bridge. That worked !
For those who might run into the same problem, here is the correct setup: http://www.radtke.eu/tmp/Leitzberg-Mesh-corrected.gif
I've noticed two IPs for br0:0 in node1 but no for br0 - is this correct?
But a question is remaining: once the mesh was running, I wanted to turn on enrcyption but this seems not working in ad-hoc mode with OpenWRT . If I select Access Point mode for wlan0 the WPA2 encryption works....but this is not supported with batman-adv since the wifis need to run in ad-hoc mode. Any hint for this if I want to run the mesh encrypted ?
This is wrong. batman-adv doesn't need a network which is setup in adhoc mode. It only needs a layer which has roughly the characteristics of ethernet (frame header, broadcast/multicast addresses, ...).
If you want some kind of encryption in adhoc mode as part of the wifi layer then please try WPA_NONE or similar protocols. Authorisation, authentication and encryption in higher layers are still highly recommended.
Best regards, Sven