On Tuesday 07 August 2012 10:18:13 adam wiz wrote:
I am having some trouble setting up batman-adv for my mesh. I can get each access point to see the other using "batctl o" but I am not able to route messages between my client devices. I think there is something wrong with my bridging.
[...]
In setting up batman-adv, I run these commands:
sudo modprobe batman-adv sudo batctl if add eth0 sudo batctl if add wlan1 sudo ifconfig eth0 0.0.0.0 mtu 1528 sudo ifconfig wlan1 0.0.0.0 mtu 1528 sudo ifconfig bat0 10.50.0.x (x being a unique number for each access point) netmask 255.255.0.0 up
What brigde? I don't see a single bridge here. Only an ethernet device, wlan device and a batman device that contains both. The bat0 device has an ip... so I would doubt that you added it to a bridge.
I would guess that you wanted to do something like this (I just assume that br0 is already created through hostapd and includes wlan0... you have to ensure that this is done):
sudo modprobe batman-adv sudo batctl if add eth0 sudo batctl if add wlan1 sudo ip addr flush dev eth0 sudo ip addr flush dev wlan1 sudo ip link set dev eth0 mtu 1528 sudo ip link set dev wlan1 mtu 1528 sudo brctl addif br0 bat0 sudo ip link set dev bat0 up sudo ip addr add 10.50.0.x/24 dev br0 sudo ip link set dev br0 up
Kind regards, Sven