[WLANware] Setting up FFSomething ..

Ufo ufo at landezone.net
Wed Sep 26 13:24:00 CEST 2007


l0ki at frubsd.org schrieb:
> This mail will be in english, since my english is much better than my
> german. So here is the problem .. I have started similar wireless
> community/project as freifunk.net here in Ljubljana/Slovenia and I've
> spotted this FFSomething software for "managing"/monitoring olsr nodes
> and stuff. I even managed to set it up on one debian server.
cool.

> The problem I'm facing is how to make "real-time topology" viewer
> working (uptime modul). 
in leipzig we had the same problem for some weeks, because the 
programmer of the Suite is currently on holiday.
the installation-guide at 
https://dev.leipzig.freifunk.net/trac/wiki/FFSomething/Installation%20on%20Debian 
  is not completed. feel free to add some hints or commands there!
but, finally i fixed our problem somehow:


> /var/www/ffsomething# python bin/update.py 
> xxx root         INFO     Get topology from:http://10.14.0.5:2004

try this: change to the ffsomething-user, to the ffsomething-directory 
and start the setup-sh-script before the update-script (some 
PATH-variables...)

root at db:~# su db
db at db:/root$ cd
db at db:~$ cd web/ffsomething
db at db:~/web/ffsomething$ . ./setup.sh
run this script with '. setup.sh' in your ffsomething directory
You can now use './bin/django-admin.py syncdb' to continue
db at db:~/web/ffsomething$ ~/web/ffsomething/bin/update.py
26-09 13:13 root         INFO     Get topology from: wrtolsr://104.61.0.1
26-09 13:13 root         INFO     Generate topology images
26-09 13:16 root         INFO     finished
db at db:~/web/ffsomething$


and you can also try the verbose-mode:

db at db:~$ ~/web/ffsomething/bin/update.py -v
....
.....
......
19-09 02:00 root         DEBUG    New Connection 104.61.19.12(1601) 0.85 
<-> 0.06 104.61.19.21(686)
19-09 02:00 root         DEBUG    New Connection 104.61.19.11(1559) 0.54 
<-> 0.16 104.61.19.10(939)
19-09 02:00 root         DEBUG    New Connection 104.61.19.10(939) 0.08 
<-> 0.05 104.61.19.19(2114)
19-09 02:00 root         INFO     Generate topology images
19-09 02:02 root         INFO     finished

---------------
p.s. my new cronjob (user db!):

#!/bin/sh
export PYTHONPATH="/home/db/web/ffsomething/external:/home/db/web:"
export DJANGO_SETTINGS_MODULE="ffsomething.settings_local"
/home/db/web/ffsomething/bin/update.py



More information about the WLANware mailing list