[Commotion-dev] olsrd plugin config for GNU/Linux and Mac OS X

Hans-Christoph Steiner hans at guardianproject.info
Tue Feb 19 16:32:41 UTC 2013


For the Mac OS X and GNU/Linux clients, I'm wondering how the olsrd.conf
should be configured for the default commotionwireless.net profile.  dyn_gw
only works on the Linux kernel, so that's out on Mac OS X.  arprefresh,
nameservice, and p2pd seem to only be built on GNU/Linux and Android, so I
guess they also only work with the Linux kernel.

For GNU/Linux, there is then the question of how to configure nameservice and
p2pd.  It looks like 'name' should be unique per-host:

LoadPlugin "olsrd_nameservice.so.0.3"
{
        PlParam "name" "commotion-7814921"
        PlParam "sighup-pid-file" "/var/run/dnsmasq.pid"
        PlParam "suffix" ".mesh"
}

And with p2pd, it looks like NonOlsrIf needs to be updated based on the
interface names of the machine that it is currently running on.  Is there a
way to handle that in the olsrd.conf?  Otherwise I guess that the conf file
will have to be rewritten based on the network devices on the installed machine.

LoadPlugin "olsrd_p2pd.so.0.1.0"
{
        PlParam "NonOlsrIf" "eth0"
        PlParam "P2pdTtl" "5"
        PlParam "UdpDestPort" "224.0.0.251 5353"
}

.hc



More information about the Commotion-dev mailing list