Key Pages:
Home
|
QwikiWiki
|
QwikiSyntax
|
Recent Changes
Recently Viewed:
CampaignGraphics
>
NameBrainStorming
>
Housing and acommodation
>
News and other stuff
>
OlsrVisualization
OlsrVisualization
here is a little script for visualizing the topology of the OLSR network.
0.) install the packages graphviz and imagemagick
1.) compile and install the OLSR libs
2.) add this to /etc/olsrd.conf
LOAD_PLUGIN olsrd_dot_draw.so.0.1
and restart the OLSR daemon
now the olsr daemon outputs the topology in the dot file format at localhost TCP port 2004 whenever the topology changes.
3.) the attached perl script connects to this port, writes the topology to a .dot file and then calls graphviz to generate the image
please improve the script - it's just a quick hack ;)
hmm, i had to add .txt the file because the wiki does not accept .pl attachments - and now i cant even see it, but it's there if you click edit - ???
Login
|
OlsrVisualization mailing list
Powered by
QwikiWiki
v1.4 -
www.qwikiwiki.com