Network manager 0.7: Difference between revisions

From OLPC
Jump to navigation Jump to search
(add SugarLabs bug 230 reference, adjust headings per OLPC:Style Guide, Category:Network)
No edit summary
Line 1: Line 1:
We currently use a pretty hacked version of network manager 0.6
OLPC OS v8.2.x uses a hacked version of NetworkManager-0.6.


NetworkManager-0.7 is now supported by Sugar, but does not support the mesh device found in the OLPC XO-1.
Sjoerd modified network manager to work with the mesh in 0.7 (forward ported the changes).


Sjoerd Simons and Daniel Drake have worked to add mesh support upstream in NetworkManager so that (hopefully) we do not end up in the same situation again. Mesh support also needs to be readded to the sugar UI.
It would be nice if we had network manager 0.7 in joyride.


=== NetworkManager-0.8 ===
* Nicer API
* Nobody is developing 0.6 anymore
* 0.7 has new functionality and may have support for more networks


The first step is to add the device support to NetworkManager's development branch so that it hangs around in future. This is currently NetworkManager-0.8.
This would likely require working with
* Sugar presence service
* Neighborhood view
* Frame for the mesh device representation


== Progress ==
=== NetworkManager-0.7 ===
* Michael Stone told bjordan this would be nice
* Sent out email to devel --[[User:Bjordan|Bjordan]] 22:35, 16 July 2008 (UTC)
* Initial NM 0.7 with mesh support ready -- sjoerd, 17 July 2008
* SugarLabs tracking bug {{SugarLabs Trac|230}}


After NetworkManager-0.8 includes mesh device support, we should backport the changes to NetworkManager-0.7 as this is what is being shipped in Fedora 11.
== Testing NM 0.7 ==

=== sugar-0.86 ===

Once NetworkManager supports the device, mesh device support needs to be re-added to Sugar. Again, the development branch should be targetted first, currently v0.86.

=== sugar-0.84 ===

After getting mesh support back into upstream sugar, we should backport it to the version being shipped in Fedora 11 - sugar-0.84. It looks like sugarlabs are not accepting any feature patches, so this patch would instead be added to OLPC's fork of the sugar package.

=== Old stuff ===

==== Sjoerd's old testing instructions ====


A version of NM 0.7 with support for the OLPC mesh device is available at http://dev.laptop.org/~sjoerd/NM0.7/, this contains rpms, some needed config files and a few demo python programs. A git tree is available at http://dev.laptop.org/git?p=users/sjoerd/NetworkManager.git;a=summary.
A version of NM 0.7 with support for the OLPC mesh device is available at http://dev.laptop.org/~sjoerd/NM0.7/, this contains rpms, some needed config files and a few demo python programs. A git tree is available at http://dev.laptop.org/git?p=users/sjoerd/NetworkManager.git;a=summary.
Line 37: Line 40:
* connect.py to connect to normal access points
* connect.py to connect to normal access points
* connectmsh.py to connect to the mesh in various ways
* connectmsh.py to connect to the mesh in various ways

== TODO ==
* Mesh Portal (MPP) support in NM 0.7
* NM 0.7 support in sugar:
What we need now is for someone to port the sugar components to use the new NetworkManager D-Bus API. NM 0.7 introduces a new D-Bus API and no longer supports the old one, which is what we use in sugar. --[[User:DanielDrake]], via [http://lists.laptop.org/pipermail/devel/2008-July/thread.html#16756 devel@]


Bug [http://dev.laptop.org/ticket/6248 #6248] - Presence service broken with NetworkManager-0.7 (NM D-Bus API change)

== Interested in helping ==
--[[User:Bjordan|Bjordan]] - The more helpful information on the Wiki, the better my capacity to contribute (haven't done much dealing with network manager)

--[[User:MartinDengler|mtd]] - I've done some work on {{Trac|6995|Frame/mesh icons}}, so I could help with "Frame for the mesh device representation"


[[Category:Network]]
[[Category:Network]]

Revision as of 12:48, 15 July 2009

OLPC OS v8.2.x uses a hacked version of NetworkManager-0.6.

NetworkManager-0.7 is now supported by Sugar, but does not support the mesh device found in the OLPC XO-1.

Sjoerd Simons and Daniel Drake have worked to add mesh support upstream in NetworkManager so that (hopefully) we do not end up in the same situation again. Mesh support also needs to be readded to the sugar UI.

NetworkManager-0.8

The first step is to add the device support to NetworkManager's development branch so that it hangs around in future. This is currently NetworkManager-0.8.

NetworkManager-0.7

After NetworkManager-0.8 includes mesh device support, we should backport the changes to NetworkManager-0.7 as this is what is being shipped in Fedora 11.

sugar-0.86

Once NetworkManager supports the device, mesh device support needs to be re-added to Sugar. Again, the development branch should be targetted first, currently v0.86.

sugar-0.84

After getting mesh support back into upstream sugar, we should backport it to the version being shipped in Fedora 11 - sugar-0.84. It looks like sugarlabs are not accepting any feature patches, so this patch would instead be added to OLPC's fork of the sugar package.

Old stuff

Sjoerd's old testing instructions

A version of NM 0.7 with support for the OLPC mesh device is available at http://dev.laptop.org/~sjoerd/NM0.7/, this contains rpms, some needed config files and a few demo python programs. A git tree is available at http://dev.laptop.org/git?p=users/sjoerd/NetworkManager.git;a=summary. Note that using this version will break network configuration in sugar!

To test do the following steps:

  • Ensure you have a recent joyride (Tested with build 2173)
  • Install ppp using yum
  • Install the NetworkManager-0.7.0 and NetworkManager-glib-0.7.0 rpms
  • copy olpc-mesh.fdi to /etc/hal/fdi/information
  • copy nm-user-settings.conf to /etc/dbus-1/system.d/
  • reboot! (or restart hal and NM)

Now one can use:

  • list_aps.py to list access points in range
  • connect.py to connect to normal access points
  • connectmsh.py to connect to the mesh in various ways