Hello,
I am trying to create a mesh network using Arduino Yun and Batman-advance. I think I've succeeded in that because I was first able to install the package "kmod-batman-adv" and then to configure a mesh network with my two Yun.
The problem is that once I restart the Yuns to switch from my home wlan to the mesh, I cannot access anymore to the arduino! I've tried both using ssh via terminal and typing arduino.local in the browser. Essentially I can't reach the two nodes of the network anymore but using wireshark on my laptop I see the "batman" protocol messages exchange.
To configure the Yun I modified these two files:
/etc/config/wireless:
config wifi-iface
option device radio0
option ifname mesh0
option network mesh
option mode adhoc
option ssid mesh
option bssid '02:CA:FE:CA:CA:40'
option mcast_rate 18000
option encryption none
/etc/config/network:
config interface 'mesh'
option mtu 1532
option proto batadv
option mesh bat0
config interface 'bat'
option ifname 'bat0'
option proto 'static'
option mtu '1500'
option ipaddr '10.0.0.1'
option netmask '255.255.255.0'
I am not sure about what I should write in "option bssid", I wrote the MAC address of my home network AP, is it correct?
Thank you
