Any ideas please, regarding the two latest queries :) ?<br><br>Regards,<br>Ajay<br><br><div class="gmail_quote">On Mon, Apr 30, 2012 at 1:00 PM, Ajay Garg <span dir="ltr"><<a href="mailto:ajay@activitycentral.com" target="_blank">ajay@activitycentral.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Thanks Martin and Jon for the replies.<br><br><div class="gmail_quote"><div class="im">On Sun, Apr 29, 2012 at 3:04 PM, Jon Nettleton <span dir="ltr"><<a href="mailto:jon.nettleton@gmail.com" target="_blank">jon.nettleton@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>On Sun, Apr 29, 2012 at 10:04 AM, Martin Abente<br>
<<a href="mailto:martin.abente.lahaye@gmail.com" target="_blank">martin.abente.lahaye@gmail.com</a>> wrote:<br>
> Are you guys still using this?<br>
> <a href="http://git.sugarlabs.org/dextrose-platform/mainline/blobs/master/etc/powerd/postresume.d/disable_mesh.sh" target="_blank">http://git.sugarlabs.org/dextrose-platform/mainline/blobs/master/etc/powerd/postresume.d/disable_mesh.sh</a><br>
><br>
> If so, you should remove it IF there is no way to guarantee that it will run<br>
> before NM picks up the device. At least it will avoid the crash...<br>
><br>
> I would ask in the NM community if there is a better way to disable a<br>
> particular device, like banning a device(?).<br>
<br>
</div>Edit /etc/NetworkManager/NetworkManager.conf<br>
<br>
Add a line to the [main] section like<br>
<br>
no-auto-default=xx:xx:xx:xx:xx (obviously replacing the x's with the<br>
mac-address of your mesh device.)<br></blockquote></div><div><br><br>This should be a lot cleaner solution.<br>However, two queries :: <br><br><br>a)<br>Doing "ifconfig" on the XO-1, only shows information for "eth0" and "lo" (no mesh device listed).<br>
So, how can the mac address for the mesh device be found?<br><br><br>b)<br>Are mac address for XO-1s, EXACTLY same, for every XO-1 on this planet?<br><br><br>Looking forward to a reply.<br><br><br><br>Thanks and Regards,<br>
Ajay<br><br> </div><div class="im"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
This does not stop NM from managing your device, but does stop it from<br>
auto-connecting the device. You would still be able to go into NM and<br>
manually enable the mesh network. If you want NM to completely leave<br>
the device alone you can go one more step.<br>
<br>
Also in /etc/NetworkManager/NetworkManager.conf<br>
<br>
change the plugins line to<br>
<br>
plugins=ifcfg-rh,keyfile<br>
<br>
Then add a section that looks like this.<br>
<br>
[keyfile]<br>
unmanaged-devices=mac:xx:xx:xx:xx:xx:xx (Where X's are the mac address<br>
of the device you want to ignore)<br>
<br>
<br>
Hope that helps, let me know if you have further questions.<br>
<span><font color="#888888"><br>
-Jon<br>
</font></span></blockquote></div></div><br>
</blockquote></div><br>