[Babel-users] WWW Status Page and node name

sp2ong at wp.pl sp2ong at wp.pl
Thu Jun 11 05:13:32 UTC 2015


 Juliusz Chroboczek wrote:

> > Yes, but I must always put new node manually it will be nice to have this
> > update automatic :-)
>
> I'm trying to keep Babel reasonably lean, and I'm not planning to include
> any features that are not related to routing, so I don't think I'm going
> to use olsrd's approach for that.  OTOH, if you have ideas how to
> implement this feature without extending the protocol, I'm listening.
>
>
Hm, OLSR use plugins to deliver this information. For exmaple plugin
'nameserice'
https://github.com/servalproject/olsr/blob/master/lib/nameservice/README_NAMESERVICE
where we have all  information about Node name, lat lon position etc which
very useful to
show nodes on the maps etc.. Every node have stored in separate files this
information
/var/run/hosts_oslrd where we have:

 ### this /etc/hosts file is overwritten regularly by olsrd
### do not edit

127.0.0.1 localhost
::1 localhost

44.165.33.254 SP2PMK-club.ampr.org # myself
44.165.33.253 SP2PMK-lnk1.ampr.org # 44.165.33.253
44.165.33.1 SP2PMK.ampr.org # 44.165.33.1

or /var/run/latlon.js where is position, ip, end ETX
====================================
id('44.165.33.254','44.165.33.2');
Self('44.165.33.254',53.015427,18.597717,0,'0.0.0.0','SP2PMK-club');
Node('44.165.33.253',53.015652,18.592690,0,'0.0.0.0','SP2PMK-lnk1');
Node('44.165.33.1',53.015427,18.597717,0,'0.0.0.0','SP2PMK');
PLink('44.165.33.254','44.165.33.1',1.000,1.000,0.100,53.015427,18.597717,0,53.015427,18.597717,0);
PLink('44.165.33.254','44.165.33.253',1.000,1.000,1.000,53.015652,18.592690,0,53.015427,18.597717,0);
PLink('44.165.33.1','44.165.33.254',1.000,1.000,0.100,53.015427,18.597717,0,53.015427,18.597717,0);
PLink('44.165.33.253','44.165.33.254',1.000,1.000,1.000,53.015427,18.597717,0,53.015652,18.592690,0);
===
This file is useful to create information on the map with color line
according to value of ETX.

In BABAEL we can use color of line use value RXCosts ??? or other ?

You can see example

 http://tech4.pl/SQ9MDD/mapa/olsrmap.php


> I have see that babelweb need install nodejs etc and after installation
> > bableweb on my PC Debian server have total size of all files (with
> nodejs ,
> > babelweb) are about 14 Mb. It is not dedicate to install on routers like
> > Ubiquiti M2 etc ....
>
> > It is look that bablelweb is dedicate to install only PC servers ????
>
> It should be reasonably easy to reimplement BabelWeb in plain C, since the
> real magic is done in client-side Javascript code.  I don't think anyone
> is working on that, though.
>
> In the meantime, it should be easy to install node.js on a USB flashkey.
>
>
Most for outdoor routers like UBNT Nanostation M2, m5, Bullet etc or
WA5210G which we use don't have USB and
and they have  8MB Flash or for example home router which  we use like
WR740 have only 4 Mb flash and don't have USB.
For this reason I am asking about possibility get information via nc or
telnet and use AWK, etc shell command to create tables on
www page like I do with OLSRD. You cna see simple and useful WWW status
page on example our hamradio network

http://89.76.153.162:8080/cgi-bin/netmesh

I have use http server busybox and LUA to create this page and get
information form OLSR by nc command.
OLSR offer full information about topology, routers, neighbors via TXT or
JASON format which is very nice to
use to create HTML page


Waldek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/babel-users/attachments/20150611/0cfddf17/attachment.html>


More information about the Babel-users mailing list