Hello Simon,

many thanks for all the infos and hints. The base install seems to work properly. I'll take a look at s3d this weekend cause I'm very interested in getting it running at ethernet frame level. By the way, the JSON output seems to be really nice feature but the code is only available for level3 batman ?

Greets.
Chris <°(((><

2009/5/22 Simon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
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
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkoWh6oACgkQrzg/fFk7axazzwCdEj0eeCi+lI10Fjo3IXevv78Q
PWYAn01bptuXhZX+bo6rXE5Sm1n8N3jt
=ouCT
-----END PGP SIGNATURE-----




--
"Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)