[Commotion-dev] Merged olsrd branch commotion + release-0.6.6

Ben West ben at gowasabi.net
Thu Apr 24 13:11:20 EDT 2014


Apologies for previous pollution on olsrd commit logs.  Github to push my
local merged branch directly to your repo.

Here is the PR for olsrd v0.6.6.1:
https://github.com/opentechinstitute/olsrd/pull/22


On Wed, Apr 23, 2014 at 4:54 PM, Ben West <ben at gowasabi.net> wrote:

> So far, the specific atheros repeater node where I'd been having apparent
> SmartGateway issues seems to be OK now after upgrading its local olsrd to
> v0.6.6.1 yesterday (along with the same on the affected gateway nodes).  It
> does indeed look like the SmartGateway updates have yielded improvement for
> my situation.
>
> I should point out that *option 'SmartGatewayUseCount' '1'* is needed to
> tell the newer SmartGateway code to only use one gateway at a time.  The
> OLSR folks are now testing out multiple gateway nodes simultaneously in
> HEAD, but I believe it doesn't play wall with typical NAT configurations,
> so just use one gateway at a time for now.
>
> The rationale for the timing tweaks from Ferry are somewhat opaque to me.
> The old ROBIN mesh firmware using olsrd v0.5 did deploy similar tweaks:
>
> https://trac.assembla.com/RobinMesh/browser/trunk/robin/robin-mesh/files/etc/config/olsr
>
> 16<https://trac.assembla.com/RobinMesh/browser/trunk/robin/robin-mesh/files/etc/config/olsr#L16>config
> "olsr" "interface" 17<https://trac.assembla.com/RobinMesh/browser/trunk/robin/robin-mesh/files/etc/config/olsr#L17>
>       option HelloInterval '2.0'18<https://trac.assembla.com/RobinMesh/browser/trunk/robin/robin-mesh/files/etc/config/olsr#L18>
>       option HelloValidityTime '40.0'19<https://trac.assembla.com/RobinMesh/browser/trunk/robin/robin-mesh/files/etc/config/olsr#L19>
>       option TcInterval '5.0' 20<https://trac.assembla.com/RobinMesh/browser/trunk/robin/robin-mesh/files/etc/config/olsr#L20>
>       option TcValidityTime '100.0'21<https://trac.assembla.com/RobinMesh/browser/trunk/robin/robin-mesh/files/etc/config/olsr#L21>
>       option MidInterval '18.0'22<https://trac.assembla.com/RobinMesh/browser/trunk/robin/robin-mesh/files/etc/config/olsr#L22>
>       option MidValidityTime '324.0' 23<https://trac.assembla.com/RobinMesh/browser/trunk/robin/robin-mesh/files/etc/config/olsr#L23>
>       option HnaInterval '18.0'24<https://trac.assembla.com/RobinMesh/browser/trunk/robin/robin-mesh/files/etc/config/olsr#L24>
>       option HnaValidityTime '108.0'
> Antonio from ROBIN published a the calculations behind these timings on
> his wiki http://wiki-robin.meshroot.com/ , but unfortunately that site
> now seems lost to the sands of time (and likewise to archive.org).
>
> It is likely these params are unnecessary.  I was initially wanting to
> mimic Ferry's suggested config to rule out problems.
>
> I can see about making the PR to the commotion branch later today.
>
>
>
> On Wed, Apr 23, 2014 at 3:06 PM, Josh King <jking at opentechinstitute.org>wrote:
>
>> Hey Ben,
>>
>> How about you open a pull request against the 'commotion' branch in
>> upstream? I'll go ahead and test and then merge that into the rc2
>> testing images I'm working on.
>>
>> Also, I'm interested in the defaults you got from Ferry in the config
>> file below. Is there a rationale behind those that exists somewhere?
>>
>> On 04/22/2014 12:25 PM, Ben West wrote:
>> > Thus far only deployed to a handful of atheros 802.11g nodes running
>> > r40431 OpenWRT AA (i.e. not commotion-router proper, nor yet on ar71xx
>> > target, nor with olsrd-mdp plugin).  The specific failure I was seeing
>> > on an atheros repeater node has not recurred yet, although I only
>> > reflashed it a couple hours ago.  I can at least say that v0.6.6.1 is
>> > working just fine on those nodes previously running olsrd v0.6.5-4.  No
>> > obvious regression.
>> >
>> > Here is the /etc/config/olsrd I'm using, for your reference, based on
>> > advice from Ferry Huberts:
>> >
>> > config olsrd
>> >     # uncomment the following line to use a custom config file instead:
>> >     #option config_file '/etc/olsrd.conf'
>> >
>> >     option 'IpVersion' '4'
>> >     option 'LinkQualityLevel' '2'
>> >     option 'LinkQualityAlgorithm' 'etx_ffeth'
>> >     option 'SmartGateway' 'yes'
>> >     option 'SmartGatewayUseCount' '1'
>> >     option 'Pollrate' '0.1'
>> >     option 'TcRedundancy'    '2'
>> >     option 'MprCoverage'    '5'
>> >     option 'LinkQualityFishEye' '0'
>> >
>> > config 'LoadPlugin'
>> >     option 'library' 'olsrd_arprefresh.so.0.1'
>> >
>> > config 'LoadPlugin'
>> >     option 'library' 'olsrd_dyn_gw.so.0.5'
>> >     option 'HNA' '0.0.0.0 0.0.0.0'
>> >
>> > config 'LoadPlugin'
>> >   option 'library' 'olsrd_nameservice.so.0.3'
>> >   #option 'resolv_file' '/tmp/resolv.conf.auto'
>> >   option 'sighup_pid_file' '/var/run/dnsmasq.pid'
>> >   option 'suffix' '.mesh'
>> >
>> > config 'LoadPlugin'
>> >     option 'library' 'olsrd_txtinfo.so.0.1'
>> >     option 'port'    '2006'
>> >     option 'Accept' '127.0.0.1'
>> >
>> > config 'Interface'
>> >     list 'interface' 'wan'
>> >     option 'Mode' 'ether'
>> >
>> > config 'Interface'
>> >     list 'interface' 'mesh'
>> >     option 'Ip4Broadcast' '255.255.255.255'
>> >         option 'Mode' 'mesh'
>> >     #peformance-tuned params from Ferry Huberts <mailings at hupie.com
>> > <mailto:mailings at hupie.com>>
>> >     option HelloInterval '2.0'
>> >         option HelloValidityTime '20.0'
>> >         option TcInterval '5.0'
>> >         option TcValidityTime '30.0'
>> >         option MidInterval '5.0'
>> >         option MidValidityTime '50.0'
>> >         option HnaInterval '5.0'
>> >         option HnaValidityTime '15.0'
>> >
>> >
>> >
>> >
>> > On Tue, Apr 22, 2014 at 11:13 AM, Josh King <
>> jking at opentechinstitute.org
>> > <mailto:jking at opentechinstitute.org>> wrote:
>> >
>> >     Hey Ben,
>> >
>> >     That sounds great. Have you tried it out on any images yet? I was
>> going
>> >     to start rolling 1.1rc2 images maybe later today, and if that
>> release
>> >     fixes some SmartGateway bugs then it might be worth including.
>> >
>> >     On 04/22/2014 11:56 AM, Ben West wrote:
>> >     > Howdy,
>> >     >
>> >     > I'd been having problems with the v0.6.5-4 version of olsrd in
>> >     OTI's git
>> >     > repo having sporadic gateway problems using the SmartGateway
>> feature,
>> >     > specifically with repeater nodes seeing their route to the
>> Internet
>> >     > occasionally broken in the presence of multiple gateway nodes.
>> >     >
>> >     > Some responses on the olsr-users listserv indicated quite a few
>> >     > improvements to SmartGateway in the v0.6.6 release, especially for
>> >     > situations with multiple gateway nodes, so I made a merged branch:
>> >     >
>> >     > https://github.com/opentechinstitute/olsrd/tree/commotion
>> >     > +
>> >     >
>> http://olsr.org/git/?p=olsrd.git;a=shortlog;h=refs/heads/release-0.6.6
>> >     > =
>> >     > https://github.com/westbywest/olsrd/tree/commotion-0.6.6
>> >     >
>> >     > (New branch name "commotion-0.6.6")
>> >     >
>> >     > Posting here in case there is interest to push this branch
>> upstream to
>> >     > OTI's repo too.
>> >     >
>> >     > --
>> >     > Ben West
>> >     > http://gowasabi.net
>> >     > ben at gowasabi.net <mailto:ben at gowasabi.net>
>> >     <mailto:ben at gowasabi.net <mailto:ben at gowasabi.net>>
>> >     > 314-246-9434 <tel:314-246-9434> <tel:314-246-9434 <tel:
>> 314-246-9434>>
>> >     >
>> >     >
>> >     > _______________________________________________
>> >     > Commotion-dev mailing list
>> >     > Commotion-dev at lists.chambana.net
>> >     <mailto:Commotion-dev at lists.chambana.net>
>> >     > https://lists.chambana.net/mailman/listinfo/commotion-dev
>> >     >
>> >
>> >     --
>> >     Josh King
>> >     Lead Technologist
>> >     The Open Technology Institute
>> >     http://opentechinstitute.org
>> >     PGP Fingerprint: 8269 ED6F EA3B 7D78 F074 1E99 2FDA 4DA1 69AE 4999
>> >
>> >
>> >
>> >
>> > --
>> > Ben West
>> > http://gowasabi.net
>> > ben at gowasabi.net <mailto:ben at gowasabi.net>
>> > 314-246-9434
>>
>> --
>> Josh King
>> Lead Technologist
>> The Open Technology Institute
>> http://opentechinstitute.org
>> PGP Fingerprint: 8269 ED6F EA3B 7D78 F074 1E99 2FDA 4DA1 69AE 4999
>>
>>
>
>
> --
> Ben West
> http://gowasabi.net
> ben at gowasabi.net
> 314-246-9434
>



-- 
Ben West
http://gowasabi.net
ben at gowasabi.net
314-246-9434
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-dev/attachments/20140424/9fba67f7/attachment.html>


More information about the Commotion-dev mailing list