On 05/19/2013 07:50 AM, Simon Wunderlich wrote:
To those of you who actively follow the recent discussions it may
come to no
big surprise that it was decided to remove the vis functionality from the
batman-adv kernel module in a not so distant future (with the next
compatibility bump). There always has been a debate whether or not such
functionality belongs into the kernel or not. The in-kernel solution bears the
disadvantage of being rather inflexible because every change has to go through
the official Linux channels. With the growing interest in flooding the network
with arbitrary data in addition to the visualization data realizing a solution
in user-space became the obvious choice.
A new, more general user-space daemon which takes over the old vis
functionality and much more, called A.L.F.R.E.D. (Almighty Lightweight Fact
Remote Exchange Daemon) came to life. Alfred is capable of distributing
information over your mesh network in a decentralized fashion, for example
graph information for vis, but also any other data which appears to be useful
- like hostnames, phone books, administration information, DNS information,
the local weather forecast, etc while requiring (almost) zero configuration.
As the development on the core functionality has been finished and alfred works
(at least on the developers boxes), we would like to call for an open beta!
There are bleeding edge downloads and an OpenWRT feed available . Please
try alfred and report bugs, send patches and inform us about your experiences.
finally, i have just taken the time to test alfred, and it looks pretty
good, binary cli is dead simple to use, thanks a lot!!
i'll take a stab at making a bat-hosts generator (are there any
published efforts along these lines already?), but first i gave a quick
look into current vis generator, and i observed some glitches
* where does this 00:00:00:00:00:00 mac come from?
* double interfaces don't seem to be properly detected or something
(as you can see in the attached graphs, there were also glitches in
graphs generated by "batctl vd dot", but alfred output is even weirder)
"batctl if ; batctl o ; ip l ; vis " on each node:
it's a simple 3 node setup, two of them are dualband wdr3500 (and have a
very weak link over 5ghz) and the other one (karugua) is a single-band
wr842nd on 2.4ghz
all of them have
in addition, karugua is set to "batctl vm server", and with that node i
made the vis_batctl.svg and vis_alfred.svg graphs.
It's probably pretty trivial stuff, but i thought any feedback is better
than no feedback! :P