OLSR Dot Draw: Difference between revisions

From WirelessAfrica
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:


[http://meshcube.org/nylon/utils/olsr-topology-view.pl Original Source]
[http://meshcube.org/nylon/utils/olsr-topology-view.pl Original Source]
[ftp://ftp2.za.freebsd.org/pub/mesh/visualization/olsr-topology-view.pl Local copy]


The visualisation produced interesting images showing the complexity of mesh networking. The placement of nodes in the script is done using several algorithms and therefore aren't definately related to the nodes spacial position. We wanted a better feeling of what was going on in the [[49-node Indoor Mesh]] and it therefore was necessary to edit the script to fix the positions of the nodes according to their grid positions. This was accomplished by instructing the script to first look at a header file for position information before drawing the links.
The visualisation produced interesting images showing the complexity of mesh networking. The placement of nodes in the script is done using several algorithms and therefore aren't definately related to the nodes spacial position. We wanted a better feeling of what was going on in the [[49-node Indoor Mesh]] and it therefore was necessary to edit the script to fix the positions of the nodes according to their grid positions. This was accomplished by instructing the script to first look at a header file for position information before drawing the links.


Our version of the script will be added [ftp://willfillinsoon here] and our header file [ftp://willfillinsoon here].
Our version of the script can be found [ftp://ftp2.za.freebsd.org/pub/mesh/visualization/olsr-topology-mesh-lab.pl here] and the header file [ftp://ftp2.za.freebsd.org/pub/mesh/visualization/header.dot here].


[[Image:Topology_orig.png|thumb]]
[[Image:Topology_orig.png|thumb]]
[[Image:Topology_new.png|thumb]]
[[Image:Topology_new.png|thumb]]


To use the visualisation you will need to install the following packages:   
To use the visualisation you will need to:
*graphviz
*Install the following packages on the pc used for generating the images:   
*imagemagick
**graphviz
**imagemagick


Then assuming that you've installed the plugin, add the following line to /etc/olsrd.conf
*Install the Olsr Dot Draw Plugin (on a WRT54G for example):
 
ipkg install olsrd-libs
 
*Then assuming that you've installed the plugin, add the following line to /etc/olsrd.conf


LOAD_PLUGIN    olsrd_dot_draw.so.0.1
LOAD_PLUGIN    olsrd_dot_draw.so.0.1


then restart olsr and check if you get output on port 2004 by typing:
*then restart olsr and check if you get output on port 2004 by typing:


telnet localhost 2004
telnet localhost 2004


Thereafter you can run the script by typing:
*Thereafter you can run the script by typing:
./olsr-topology-mesh-lab.pl  
./olsr-topology-mesh-lab.pl  


or as we do to get the funky colours and info from a lab node:
or as we do to get the funky colours and info from a lab node:
./olsr-topology-mesh-lab.pl --server meshy.dhcp --noshow --fontsize 14 --size 10,10 --port 2005 --bgcolor blue
./olsr-topology-mesh-lab.pl --server meshy.dhcp --noshow --fontsize 14 --size 10,10 --port 2005 --bgcolor blue

Latest revision as of 15:37, 18 November 2005

A perl script, found at Meshcube, which makes use of the OSLR Dot topology information plugin was used as a 1st cut tool to visualise the networks.

Original Source Local copy

The visualisation produced interesting images showing the complexity of mesh networking. The placement of nodes in the script is done using several algorithms and therefore aren't definately related to the nodes spacial position. We wanted a better feeling of what was going on in the 49-node Indoor Mesh and it therefore was necessary to edit the script to fix the positions of the nodes according to their grid positions. This was accomplished by instructing the script to first look at a header file for position information before drawing the links.

Our version of the script can be found here and the header file here.

Topology orig.png
Topology new.png

To use the visualisation you will need to:

  • Install the following packages on the pc used for generating the images:
    • graphviz
    • imagemagick
  • Install the Olsr Dot Draw Plugin (on a WRT54G for example):

ipkg install olsrd-libs

  • Then assuming that you've installed the plugin, add the following line to /etc/olsrd.conf

LOAD_PLUGIN olsrd_dot_draw.so.0.1

  • then restart olsr and check if you get output on port 2004 by typing:

telnet localhost 2004

  • Thereafter you can run the script by typing:

./olsr-topology-mesh-lab.pl

or as we do to get the funky colours and info from a lab node: ./olsr-topology-mesh-lab.pl --server meshy.dhcp --noshow --fontsize 14 --size 10,10 --port 2005 --bgcolor blue