[Sugar-devel] Sugar + OLPC mesh network selection logic

Daniel Drake dsd at laptop.org
Mon Jul 6 12:27:41 EDT 2009


On Wed, 2009-07-01 at 12:18 -0400, Dan Williams wrote:
> If other APs appear later, it may well trigger the
> schedule_activate_check() which might cause NM to try to connect to that
> new network.  To combat that, I'd suggest that the mesh device block the
> wifi device from activating if it already failed by putting it into the
> UNAVAILABLE state or something, but that could be error prone.  What I
> think we really want here is the 'device idle' concept that asac and I
> have been talking over for a while.

The same consideration has to apply for when the mesh device disconnects
the eth device, because the user requested a mesh connection. Right now,
NM immediately reactivates eth0 (usually reconnecting to the same
network as before) and "wins."

What is the "device idle" concept? What do you think of an approach
along these lines? This way the mesh device can attach to the
autoconnect-allowed signal on the main device, and influence when it can
and cannot be used for automatic connections.

Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Allow-devices-to-inhibit-autoconnect-through-a-signa.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://lists.sugarlabs.org/archive/sugar-devel/attachments/20090706/e5c5a852/attachment.bin 


More information about the Sugar-devel mailing list