Thanks Paul.<br><br>I will give it a try myself.<br><br>Just one last question ::<br>I suppose that 'echo 0 > "/sys/class/net/eth0/lbs_mesh"' is a hack that is olpc-customised. So, I will be really grateful if you could point me to some docs (a wiki page may be), that provide information as to how this hack affects, and is affected.<br>
<br><br>Thanks for your help.<br><br>Regards,<br>Ajay<br><br><div class="gmail_quote">On Tue, May 1, 2012 at 8:36 PM, Paul Fox <span dir="ltr"><<a href="mailto:pgf@laptop.org" target="_blank">pgf@laptop.org</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 class="HOEnZb"><div class="h5">ajay wrote:<br>
> Thanks Paul.<br>
><br>
> On Tue, May 1, 2012 at 8:03 PM, Paul Fox <<a href="mailto:pgf@laptop.org">pgf@laptop.org</a>> wrote:<br>
><br>
> > ajay wrote:<br>
> > > Any ideas please, regarding the two latest queries :) ?<br>
> > ><br>
> > > Regards,<br>
> > > Ajay<br>
> > ><br>
> > > On Mon, Apr 30, 2012 at 1:00 PM, Ajay Garg <<a href="mailto:ajay@activitycentral.com">ajay@activitycentral.com</a>><br>
> > wrote:<br>
> > ><br>
> > > > Thanks Martin and Jon for the replies.<br>
> > > ><br>
> > > > On Sun, Apr 29, 2012 at 3:04 PM, Jon Nettleton <<br>
> > <a href="mailto:jon.nettleton@gmail.com">jon.nettleton@gmail.com</a>>wrote:<br>
> > > ><br>
> > > >> On Sun, Apr 29, 2012 at 10:04 AM, Martin Abente<br>
> > > >> <<a href="mailto:martin.abente.lahaye@gmail.com">martin.abente.lahaye@gmail.com</a>> wrote:<br>
> > > >> > Are you guys still using this?<br>
> > > >> ><br>
> > > >><br>
> > ><br>
> ><br>
> <a href="http://git.sugarlabs.org/dextrose-platform/mainline/blobs/master/etc/powerd/post" target="_blank">http://git.sugarlabs.org/dextrose-platform/mainline/blobs/master/etc/powerd/post</a><br>
> > > resume.d/disable_mesh.sh<br>
> > > >> ><br>
> > > >> > If so, you should remove it IF there is no way to guarantee that it<br>
> > > >> 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<br>
> > disable a<br>
> > > >> > particular device, like banning a device(?).<br>
> > > >><br>
> > > >> 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>
> > > >><br>
> > > ><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<br>
> > "lo"<br>
> > > > (no mesh device listed).<br>
> > > > So, how can the mac address for the mesh device be found?<br>
> ><br>
> > it's the same as that for eth0.<br>
> ><br>
><br>
> Does that mean, that banning eth0-mac-address prevent the loading of<br>
> wifi-hardware-device as well (in obvious addition to mesh) ?<br>
> This seems very pricky.<br>
<br>
</div></div>i don't know. i'm unfamiliar with NM config. it doesn't sound too<br>
hard to try.<br>
<br>
paul<br>
<div><div class="h5"><br>
><br>
><br>
><br>
><br>
><br>
> ><br>
> > > > b)<br>
> > > > Are mac address for XO-1s, EXACTLY same, for every XO-1 on this<br>
> > planet?<br>
> ><br>
> > of course not. how would they tell one another apart?<br>
> ><br>
><br>
> Alright.<br>
> But my first doubt (same mac address for mesh-hardware and wifi-hardware)<br>
> has put me in topspin :~<br>
><br>
><br>
><br>
> Regards,<br>
> Ajay<br>
><br>
><br>
><br>
><br>
><br>
> ><br>
> > paul<br>
> ><br>
> > > ><br>
> > > ><br>
> > > > Looking forward to a reply.<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > Thanks and Regards,<br>
> > > > Ajay<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > >><br>
> > > >> This does not stop NM from managing your device, but does stop it<br>
> > from<br>
> > > >> auto-connecting the device. You would still be able to go into NM<br>
> > and<br>
> > > >> manually enable the mesh network. If you want NM to completely<br>
> > 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<br>
> > address<br>
> > > >> of the device you want to ignore)<br>
> > > >><br>
> > > >><br>
> > > >> Hope that helps, let me know if you have further questions.<br>
> > > >><br>
> > > >> -Jon<br>
> > > >><br>
> > > ><br>
> > > ><br>
> > > part 2 text/plain 129<br>
> > > _______________________________________________<br>
> > > Devel mailing list<br>
> > > <a href="mailto:Devel@lists.laptop.org">Devel@lists.laptop.org</a><br>
> > > <a href="http://lists.laptop.org/listinfo/devel" target="_blank">http://lists.laptop.org/listinfo/devel</a><br>
> ><br>
> > =---------------------<br>
> > paul fox, <a href="mailto:pgf@laptop.org">pgf@laptop.org</a><br>
> ><br>
<br>
</div></div>=---------------------<br>
paul fox, <a href="mailto:pgf@laptop.org">pgf@laptop.org</a><br>
</blockquote></div><br>