[Commotion-dev] adding Babel + IPv6 support - follow-up 2

Linic linic at hotmail.ca
Wed Mar 26 18:47:24 UTC 2014


Hi,

We made a small modification to the header of the web interface. The 
branch for the the pull-request is : 
https://github.com/opentechinstitute/luci-theme-commotion/pull/37. All 
necessary information is commented in the code.

Team Réseau Libre
École Polytechnique de Montréal

On 2014-03-21 11:00, Linic wrote:
> Hi,
>
> BABEL + IPv6
> ------------------
> We created a first branch which we'll turn into a pull-request today. 
> It contains the work we have done with Babel and IPv6. When Babel is 
> turned on, Olsr is turned off and IPv6 unique-local addresses are 
> configured on the Lan interface. The mesh interfaces use the 
> link-local addresses.
>
> How to turn on Babel in this pull-request :
> 1) uci set network.<meshName>.proto=babel  (meshName is the value of 
> 'uci show wireless.commotionMesh.network')
> 2) uci set wireless.commotionMesh.proto=babel
> 3) uci commit
> 4) /etc/init.d/network restart
>
> The branch for the pull-request is here : 
> https://github.com/reseaulibre-polymtl/commotion-router/tree/babel. 
> You can test the changes with an image we built here : 
> http://serveur1.lerb.polymtl.ca:8080/job/commotion-router-polymtl/4/.
>
>
> Web interface
> --------------------
> The changes we made to the web interface are located here : 
> https://github.com/reseaulibre-polymtl/luci-commotion/tree/babel. We 
> would like to know if you prefer to have a look at it before we make a 
> pull-request or if you prefer to receive a pull-request right now.
>
> Changes made to the luci-commotion web interface:
> 1) Basic status pages: when the selected mesh protocol is babel, a 
> warning is shown instead of olsrd daemon errors.
> 2) Add mesh protocol selection to basic mesh configuration and setup 
> wizard.
> 3) Add babel protocol to advanced network interface protocol selection.
>
>
> Team Réseau Libre
> École Polytechnique de Montréal
>
> On 2014-03-07 10:09, Seamus Tuohy wrote:
>> Hey,
>>
>> On #3, do you have a repo that I can look at? I would be more than happy
>> to take a look and possibly send some pull requests / issues your way to
>> make sure it easily integrates into our interface work.
>>
>> s2e
>>
>> On 03/04/2014 09:06 AM, Linic wrote:
>>> Hi everyone,
>>>
>>> In the middle of January, we started working on adding Babel with IPv6
>>> support to the Commotion firmware. Right now we are here :
>>>
>>> 1. We have an auto-configuration script that is close to completion for
>>> Babel.
>>> Babel should work natively with IPv4 and IPv6 in the end.
>>>
>>> 2. We have implemented scripts to auto-assign IPv6 prefixes to nodes
>>> based on RFC4193 and BCP106.
>>> Prefixes are used to issue a default unique-local address to the 
>>> network
>>> interface used for the lan where computers that host services or 
>>> connect
>>> to the mesh are connected. In the end, the node will also be able to
>>> dynamically assign addresses to this lan. A 48 bit prefix is generated.
>>> It leaves 16 bits for the node owner for subnetting as needed.
>>>
>>> 3. We have made some modifications to the web interface to be able to
>>> activate Babel within it.
>>> Right now, selecting Babel as the «Protocol of the new interface» 
>>> starts
>>> babeld and assigns an IPv6 prefix if it's not already present. From 
>>> what
>>> we understand, the web interface is a very important piece of the
>>> Commotion firmware. We understand that our modifications here may 
>>> not be
>>> accepted.
>>>
>>> During the month, we will start to divide these functionalities and
>>> create pull-request. The most important points for us are 1. and 2.
>>>
>>> Thank you in advance for your help in the next days and have a nice 
>>> day!
>>>
>>> Nicolas Brochu
>>> Developer
>>> Team Réseau Libre
>>> École Polytechnique de Montréal
>>>
>>> _______________________________________________
>>> Commotion-dev mailing list
>>> Commotion-dev at lists.chambana.net
>>> https://lists.chambana.net/mailman/listinfo/commotion-dev
>>>
>>>
>> _______________________________________________
>> Commotion-dev mailing list
>> Commotion-dev at lists.chambana.net
>> https://lists.chambana.net/mailman/listinfo/commotion-dev
>>
>




More information about the Commotion-dev mailing list