[Commotion-dev] first test version of NetworkManager integration for GNU/Linux

Hans-Christoph Steiner hans at guardianproject.info
Fri Feb 15 19:05:00 UTC 2013


Its still pretty raw, but if you're up for diving in, I'm happy to have
feedback.  I added a hack to configure the commotionwireless.net connection in
NetworkManager but it doesn't really seem to work, so you might need to
manually configure the adhoc wireless settings in NetworkManager for now,
until I figure out how to automate it.

.hc

On 02/15/2013 01:18 PM, Dan Staples wrote:
> That's excellent. I'd like to try it out in our Commotion-OpenBTS live
> images, since they are based on Ubuntu.
> 
> On 02/14/2013 02:21 PM, Hans-Christoph Steiner wrote:
>> Hey all,
>>
>> I got the core of my 'dispatcher script' NetworkManager integration working,
>> its called 'nm-dispatcher-olsrd' for now.  It uses the very simple
>> 'dispatcher' script API to launch a python script in respond to network
>> changes (interface up/down), then that python script talks to NetworkManager
>> over dbus to get the whole picture. It then parses any profiles that are in
>> /etc/nm-dispatcher-olsrd and if a new wifi connection matches one of the
>> profiles, it sets up olsrd properly.
>>
>> The profiles are the same format as the MethTether profile, and the
>> nm-dispatcher-olsrd Ubuntu packages I created include a profile for
>> commotionwireless.net/02:ca:ff:ee:ba:be/channel 5.  So if you are within range
>> of another commotionwireless.net node, you should just be able to install
>> nm-dispatcher-olsrd, click commotionwireless.net in the NetworkManager wifi
>> browser panel applet, then have working OLSR mesh!
>>
>>
>> To try this on Ubuntu/Mint and probably Debian, do:
>>
>> sudo add-apt-repository ppa:guardianproject/commotion
>> sudo apt-get install nm-dispatcher-olsrd
>>
>>
>> Here are the repos:
>>
>> Ubuntu packages:
>> https://launchpad.net/~guardianproject/+archive/commotion
>>
>> sources:
>> https://github.com/eighthave/nm-dispatcher-olsrd
>> https://github.com/eighthave/python-networkmanager
>> http://pypi.python.org/pypi/pyjavaproperties
>>
>> Coming soon:
>> * a panel applet to represent the status of the mesh
>> * hopefully more automation of profiles
>>
>> .hc
>>
>> _______________________________________________
>> 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