Wireless Networking in the Developing World

An open ebook to help with your wireless

Chapter 3: Installing the dot_draw Plugin

Posted by Mungo under Chapter 3 on March 15th, 2007.

Compile the olsr plugins separately and install them. To load the plugin add the following lines to /etc/olsrd.conf

 LoadPlugin "olsrd_dot_draw.so.0.3"
 {
       PlParam “accept” “192.168.0.5″
       PlParam “port” “2004″
 }

The parameter “accept” specifies which host is accepted to view the Topology Information (currently only one) and is “localhost” by default. The parameter “port” specifies the TCP port.

Then restart olsr and check if you get output on TCP Port 2004

 telnet localhost 2004

After a while you should get some text output.

Now you can save the output graph descriptions and run the tools dot or neato form the graphviz package to get images.

Bruno Randolf has written a small perl script which continuously gets the topology information from olsrd and displays it using the graphviz and ImageMagick tools.

First install the following packages on your workstation:

Download the script at: http://meshcube.org/nylon/utils/olsr-topology-view.pl

Now you can start the script with ./olsr-topology-view.pl and view the topology updates in near-realtime.

No comments yet. Be the first.

Leave a reply