Home > freifunk > OLSR Topology Aurich

OLSR Topology Aurich

September 9th, 2009 admin Leave a comment Go to comments

Unsere aktuelle Netztopology
( Anklicken zum Vergrössern )

Die Topology wird mit folgenden Befehlen generiert:


wget -q -O topo.txt http://localhost:2006

perl topo.pl topo.txt > topo.dot

neato -Tpng -Gsize=40,30 -Gepsilon=0.01 -Gbgcolor=white -Gsplines=true -Nshape=ellipse -Nstyle=filled -Nheight=0.4 -Nfontname=BitStream -Nfontsize=17 -Efontname=BitStream -Efontsize=11 -Ncolor=red -Nfillcolor=yellow -Ecolor=orange -Elen=3.5 -Ewidth=2.0 -Earrowsize=1 -Efontcolor=orange topo.dot -o topo.png

export NODES="$(gc -n < topo.dot | awk '{print $1}')"

convert -font /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf -fill black -pointsize 20 -annotate 0 "\n$(date)\nFreifunk Aurich\nKnoten: ${NODES}" topo.png topo2.png

mv topo2.png topo.png

Das benötigte Perl Skript findest du hier topo.pl
Es wurde beim CCC Congress 2008 von uns und Jow von Freifunk Leipzig entwickelt.

Related posts:

  1. Freifunk Aurich 2009
Categories: freifunk Tags:
  1. No comments yet.
  1. No trackbacks yet.