Hello Christoph,
On Thu, May 21, 2009 at 10:19:40PM +0200, Christoph Pilka wrote:
Hi folks,
my goal is to visualize batman-adv-kernelland network topology. 'echo "server" > /proc/net/batman-adv/vis' activates vis server on the mesh node directly, right?
Yes, that's right.
Do the other nodes find the vis server autmagically?
Yup, they do.
What happens, if I wanna use more than one vis server?
The running vis servers synchronize each other. You can set up multiple vis servers inside your mesh (this is different from L3 batman).
And the last and most important question: is it possible to run a vis server outside the mesh running layer 2 batman-adv?
That's not possible. They only run within the batman-adv module, and you can only access the data locally on the node. One thing you can do is building a script with ssh, e.g.
ssh <yournode> 'cat /proc/net/batman-adv/vis'
which would give you the topology even on a remote node. What you can also do is building a vis server similar to the L3 one on the node by using netcat and a small shellscript which prints out /proc/net/batman-adv/vis in a loop.
The layer 3 vis runs fine but I have no clue how to get the visualization running on batman-adv nodes. How to tell the vis server on the mesh nodes to output their data to a dot-draw server (s3d) ? Lot of questions ;-)
if you build a vis server with netcat and a shellscript this will be possible. Please note however that you might need to patch the s3d visualization program (olsrs3d or meshs3d) as it expects IP addresses, not MAC addresses. This is not hard to do ....
For the German readers: I am documenting all the stuff on http://debian.asconix.com/batman-advanced-openwrt-howto but I think, the way I'm describing in the vis chapter is the way to get vis running in layer3 batman, isn't it?
Right, your description references to the layer 3 vis server. Layer 2 is a little bit different ...
Greets, Chris
-- "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)
B.A.T.M.A.N mailing list B.A.T.M.A.N@open-mesh.net https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n