On 13/03/14 10:24, Itamar Landsman wrote:
HI, I am running a project using Raspberry pi machines that create a batman-adv mesh. Each of the rpis has three wifi devices. each of the wifi devices hosts a separate ad-hoc network. This way I can get to work on three separate channels and let batman worry about paths.
My problem is that whenever I reboot a device, it comes back to life but IP connection is never regained until; I reboot all other devices.
I have tried to move the IP address from the bt0 interface to a bridge interface that hosts br0 with no success.
Any ideas?
I am using the "Out of the box" batman-adv modules and batctl that come with the most recent raspbian repo.
Unfortunately I don't know what version of batman-adv is shipped iwth raspbian. Can you check the exact version by typing "batctl -v" ?
This "issue" seems similar to something we already talked about in the past: it's a side effect of using DAT.
DAT caches ARP entries, therefore when you reboot your node and bat0 gets a "different" (randomly generated) MAC address, you should wait for all the other nodes in the network to drop their cached ARP entry and request the new one associated with your IP (this is a simplistic explanation of how ARP usually work).
I hop I made the "issue" clear. You can check if you are really using DAT by typing "batctl dat".
For more details about DAt, please check our wiki[1]
Cheers,
[1] http://www.open-mesh.org/projects/batman-adv/wiki/DistributedArpTable