User Tools

Site Tools


mesh:nameservice

Mesh-Nameservice

  • 2x Python-Scripts (see python_libs) started during init

1. Sending regurlar “Hello, I'm xy.piratebox.lan and my IP is 10.x.x.x )

2. Receiving Data:

  • Collecting “Hello”s from other (counting them)
  • Printing out collected informations in:
    • /opt/piratebox/conf/hosts_mesh in hosts format
    • /opt/piratebox/www/station_list.json (json format)
    • and decrease counter in internal list
  • CleanUp Entries with counter =< 0

Should be better implemented with Avahi

Wikipedia-Avahi Configuration: http://linux.die.net/man/5/avahi-daemon.conf

Can be enhanced with scripts using DBUS and python: Python-Browse example & Python-Publish example

https://wiki.archlinux.org/index.php/Avahi

Server-Daemon possible?? https://code.google.com/p/giver/

—→ http://wiki.openwrt.org/timemachine?s[]=avahi#avahi

OpenWRT package is available.

somehow it is possible to announce webservers, (reffering to http://wiki.ubuntuusers.de/Avahi ) … http://bytewise.blogspot.de/2007/08/avahi-announcing-services-on-behalf-of.html ??

mesh/nameservice.txt · Last modified: 2013/04/28 14:30 by matthias