On dom, nov 20, 2011 at 10:49:16 +0200, Panayot Daskalov wrote:
Hi All,
I want to ask for your advice about a batman problem I am facing. I have a mesh network of custom build embedded Linux devices. The devices have only network one interface and this is the Wi-Fi that is used by batman. So far the mesh is running OK, but at some point I need to be able to connect with a laptop (non-Linux) to the network and access some of the devices via its IP address. I tried simply connecting to the adhoc network and setting a static IP to my laptop. I have managed to do that, but I can't access the nodes from the mesh.
I read the instruction for mixing with non-batman devices by bridging the bat0 interface with the "non-batman" interface, but as far as I understand that applies to systems with at least 2 network interfaces e.g one for batman nodes and one for the non-batman. So my question is - can I mix non-batman and batman nodes when I have only one network interface on the batman nodes? If yes, then how?
Hi Panayot,
you are right: you need two "interfaces" in order to let clients connect to the mesh. However (if you want to use wifi interfaces only) you can also create "virtual interaces" using the same "real interface". This feature is available depending on the wifi driver you are using. If you are using madwifi or one of the new mac80211 drivers (not all support it), this technique should be feasiable without introducing many problems :)
For instance, what driver are you using?
Cheers,