[Commotion-dev] startard olsrd.conf for commotion?

Will Hawkins hawkinsw at opentechinstitute.org
Thu Jul 5 15:52:13 UTC 2012


Hey Hans,


On 07/04/2012 05:56 PM, Ben West wrote:
> Hi Hans,
> 
> My observation is that the meshconfig tool will dynamically create
> /var/etc/olsrd.conf upon power-up, so that it can populate the file with
> stanzas for the appropriate interfaces.

This is my understanding as well.

I have attached an example olsrd.conf file from a running node. The
subnets announced using HNA are automatically selected based on the
node's running configuration. You will see where other parameters are
determined based upon the node's configuration (e.g., nameservice, p2pd).

>From my work getting a good olsrd.conf for the Android app that works
with Commotion, it seems like the LinkQualityLevel and
LinkQualityAlgorithm are the most important parameters to match.

I hope this helps,
Will

> 
> I think this is done to distinguish gateway from repeater nodes.
> 
> On Wed, Jul 4, 2012 at 3:38 PM, Hans-Christoph Steiner
> <hans at guardianproject.info <mailto:hans at guardianproject.info>> wrote:
> 
> 
>     Is there a standard olsrd.conf for Commotion?  I'm collecting
>     olsrd.conf files for various networks and sticking them into
>     olsr.org/olsrd/files/ <http://olsr.org/olsrd/files/> to serve as
>     reference and examples.
> 
>     I started putting one together, if this is useful:
> 
> 
> 
>     .hc
>     _______________________________________________
>     Commotion-dev mailing list
>     Commotion-dev at lists.chambana.net
>     <mailto:Commotion-dev at lists.chambana.net>
>     http://lists.chambana.net/mailman/listinfo/commotion-dev
> 
> 
> 
> 
> -- 
> Ben West
> me at benwest.name <mailto:me at benwest.name>
> 
> 
> 
> _______________________________________________
> Commotion-dev mailing list
> Commotion-dev at lists.chambana.net
> http://lists.chambana.net/mailman/listinfo/commotion-dev
> 

-------------- next part --------------

DebugLevel 0
AllowNoInt yes
IpVersion 4
LinkQualityLevel 2
LinkQualityAlgorithm "etx_ffeth"
SmartGateway yes

Hna4
{
		101.149.21.0 255.255.255.0
		102.149.21.0 255.255.255.0
		103.149.21.0 255.255.255.0
}

LoadPlugin "olsrd_arprefresh.so.0.1"
{
}

LoadPlugin "olsrd_dyn_gw.so.0.5"
{
}

LoadPlugin "olsrd_httpinfo.so.0.1"
{
	PlParam "Net" "0.0.0.0 0.0.0.0"
	PlParam "port" "1978"
}

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

LoadPlugin "olsrd_p2pd.so.0.1.0"
{
	PlParam "NonOlsrIf" "wlan0-1"
	PlParam "NonOlsrIf" "eth0"
	PlParam "NonOlsrIf" "br-secure"
	PlParam "P2pdTtl" "5"
	PlParam "UdpDestPort" "224.0.0.251 5353"
}

LoadPlugin "olsrd_txtinfo.so.0.1"
{
	PlParam "accept" "0.0.0.0"
}

Interface "wlan0-2"
{
	Ip4Broadcast 255.255.255.255
}



More information about the Commotion-dev mailing list