opentechinstitute/commotion-mesh-applet — pull request #17 by technosopher (2013-11-04 23:04:38+00:00)
Title: Merge Decompose branch back into Master

This pull request overhauls commotion-mesh-applet to leverage the new commotionc core "library", which now contains all essential functions needed to establish a commotion network. Commotion-mesh-applet now serves as ONLY a frontend for other Commotion functions, including those automatically invoked by nm-dispatcher-olsrd. This pull request therefore depends on opentechinstitute/commotion-linux-py@f37ed66 and https://github.com/opentechinstitute/nm-dispatcher-olsrd/commit/ce35103ddf5890cd000d76168eb786460b7ce3da

Fixes issue #4 , #6 , #7 , #16 ; Partially addresses #9 , #12

Fixes https://github.com/opentechinstitute/commotion-linux-py/issues/1, https://github.com/opentechinstitute/commotion-linux-py/issues/8

To test this pull request, all of the following steps must be done for our three supported platforms (Ubuntu 12.04 or later, Ubuntu 11.10 or earlier, and Debian testing):

- Install the commotion-linux-py, olsrd, python-networkmanager, and commotion-wpasupplicant debian packages from downloads.commotionwireless.net/linux with dpkg -i
- On debian, recompile and reinstall the wpasupplicant package with CONFIG_IBSS_RSN=y set in /debian/config/linux. (To do this, apt-get source wpasupplicant, make the change, then dpkg-buildpackage -rfakeroot -uc -b in the root of the extracted source package, and the dpkg -i the newly-rebuilt package)
- Log in and log out of a user session to confirm that the applet loads automatically.
- Test all menu entries. Confirm that a signal-strength icon shows up next to any profile that is compatible with an active mesh. Edit a network profile using the built-in vi-based editor. Connect to a mesh using the applet menu, and confirm that all mesh status menu options are (a) available, and (b) produce useful information.
- Check /var/log/syslog to confirm that there are log messages coming in from commotion-mesh-applet.

KNOWN BUGS:
- Even though olsrd is running properly, it may sometimes fail to get routes when operating in the context of an encrypted mesh. This bug may be in upstream; in any case, it is beyond the scope of this pull request. If you run into problems testing the applet with an encrypted mesh, try using an unencrypted one.
- The check for IBSS_RSN compatibility doesn't work for debian testing (hence the need to preemptively recompile wpasupplicant on debian). There is a partial fix in commotion-linux-py's postinst script; watch closely to see if the check fails when installing on debian (which it should)