[Dextrose] re active the network mesh when suspends the system

Bernie Innocenti bernie at codewiz.org
Fri Dec 17 14:58:29 EST 2010


On Thu, 2010-12-16 at 10:57 -0200, Esteban Arias wrote:
> If I execute "pm-suspend" the system runs the script correctly, but
> If I close and open the laptop xo, the system don't suspends or at
> least not run the scripts /etc/pm/sleep.d/

Ah, that's interesting.

Perhaps powerd does not rely on the pm-* scripts? Added Paul Fox on cc,
he would know.
> 
> 2010/12/15 Bernie Innocenti <bernie at codewiz.org>
>         On Mon, 2010-12-06 at 14:12 -0200, Esteban Arias wrote:
>         > Hi,
>         >
>         > I have the mesh inactive.
>         >
>         > In the file: /etc/rc.local I have:
>         > echo 0 > /sys/class/net/eth0/lbs_mesh
>         >
>         >
>         > but, when suspends the system, (close and open the laptop
>         xo),
>         > reactive the mesh....
>         >
>         > any idea?
>         
>         
>         Nope, but we may fix it by dropping a script
>         in /etc/pm/sleep.d/.
>         See /usr/lib64/pm-utils/sleep.d/ for some examples.
>         
>         If you end up solving this problem, could you please post the
>         script for
>         inclusion in upstream Dextrose? Thanks!
>         
>         --
>           // Bernie Innocenti - http://codewiz.org/
>          \X/  Sugar Labs       - http://sugarlabs.org/
>         
> 
> 
> 
> -- 
>     Esteban Arias
>     Investigación y Desarrollo - Plan Ceibal
>     Avda. Italia 6201 - Edificio Los Ceibos
>     Montevideo - Uruguay.
>     Tel.: 2601.57.73 Interno 2228
>     E-mail : earias at plan.ceibal.edu.uy
> 
> _______________________________________________
> Dextrose mailing list
> Dextrose at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/dextrose

-- 
   // Bernie Innocenti - http://codewiz.org/
 \X/  Sugar Labs       - http://sugarlabs.org/



More information about the Dextrose mailing list