If I call the script in rc.local (after NetworkManager starts), could I force to activate NetworkManager? <br><br> <div style="text-align: left;"><font face="'times new roman', serif">Esteban Bordón</font></div><div style="text-align: left;">

<font face="'times new roman', serif">Investigación y Desarrollo - Plan Ceibal</font></div><font face="'times new roman', serif">CITS - Av. Italia 6201 - Montevideo, Uruguay<br></font><br><br><div class="gmail_quote">

2010/8/9 Bernie Innocenti <span dir="ltr"><<a href="mailto:bernie@codewiz.org">bernie@codewiz.org</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

El Mon, 09-08-2010 a las 16:33 -0300, Esteban Bordon escribió:<br>
<div><div></div><div class="h5">> Hi all,<br>
><br>
> I have a script that execute ip route to get the default gateway. If I<br>
> run the script when sugar has started works fine, but, I need to run<br>
> it during boot. I added a line in rc.sysinit calling it, but ip route<br>
> doesn't prints any data. I tried to add the line in /etc/rc (like I<br>
> used to in F9-0.82) and it neither prints the route.<br>
><br>
> Any idea?<br>
<br>
</div></div>NetworkManager starts after rc.sysinit and remains quiescent until Sugar<br>
tells it to connect. So I'm not surprised you don't get any route during<br>
boot. I wonder how it could possibly have worked in F9-0.82...<br>
<font color="#888888"><br>
--<br>
   // Bernie Innocenti - <a href="http://codewiz.org/" target="_blank">http://codewiz.org/</a><br>
 \X/  Sugar Labs       - <a href="http://sugarlabs.org/" target="_blank">http://sugarlabs.org/</a><br>
<br>
</font></blockquote></div><br>