<div dir="ltr"><div><div>Looking into this a bit more, what I am seeing may be dependency specific.<br><br></div>If you are lucky enough to have a XO image that has extra items added, nss-mdns may be present as a dependency. Otherwise it is not.<br>
<br></div>I could have sworn this worked at one point in this past though because I have definitely pinged .local addresses when testing collaboration.<br><br><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Jul 31, 2013 at 6:39 PM, James Cameron <span dir="ltr"><<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks. I hit this yesterday.<br>
<br>
We already have some mDNS support present for Sugar collaboration in a<br>
network when a School Server is absent; we have the Avahi packages,<br>
but as you rightly point out we don't have the name service switch<br>
module for mDNS, and so a gethostbyname(3) doesn't look at that<br>
namespace.<br>
<br>
I have looked for but cannot see evidence of it being removed, it<br>
seems it was simply not included.<br>
<br>
Does mDNS for Internet-in-a-Box work for you in the face of the<br>
enthusiastic suspend of our automatic power management feature?<br>
<br>
What would prevent a network intruder, or a malicious user of OLPC OS,<br>
from supplanting <a href="http://know.local" target="_blank">http://know.local</a> ?<br>
<br>
Installing nss-mdns as an RPM during XO customisation is practical if<br>
you use the right customisation tools, which in order of complexity<br>
are:<br>
<br>
- unlock the laptops and use the xo-custom script in mktinycorexo,<br>
thanks to Jerry,<br>
<br>
- unlock the laptops and make your own build, with the patch below,<br>
<br>
- sign an xo-custom script with deployment keys.<br>
<br>
Waiting for the next OLPC OS build is an option, but I don't know when<br>
that will be. I've raised ticket #12730 to track the enhancement request.<br>
<br>
<br>
>From bc224068e4976fce2cbbc4de9378f4cb425027fe Mon Sep 17 00:00:00 2001<br>
From: James Cameron <<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>><br>
Date: Thu, 1 Aug 2013 08:31:01 +1000<br>
Subject: [PATCH] add mDNS support for host name resolution<br>
<br>
---<br>
modules/base/kspkglist.10.core.inc | 3 +++<br>
1 file changed, 3 insertions(+)<br>
<br>
diff --git a/modules/base/kspkglist.10.core.inc b/modules/base/kspkglist.10.core.inc<br>
index 857157c..1ff5b4c 100644<br>
--- a/modules/base/kspkglist.10.core.inc<br>
+++ b/modules/base/kspkglist.10.core.inc<br>
@@ -55,3 +55,6 @@ usb_modeswitch-data<br>
<br>
# provides firewall-offline-cmd, needed for kickstart<br>
firewalld<br>
+<br>
+# support mDNS name resolution for local network content repositories<br>
+nss-mdns<br>
<span><font color="#888888">--<br>
1.8.1.2<br>
<br>
<br>
--<br>
James Cameron<br>
<a href="http://quozl.linux.org.au/" target="_blank">http://quozl.linux.org.au/</a><br>
</font></span><div><div>_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@lists.laptop.org" target="_blank">Devel@lists.laptop.org</a><br>
<a href="http://lists.laptop.org/listinfo/devel" target="_blank">http://lists.laptop.org/listinfo/devel</a><br>
</div></div></blockquote></div><br></div></div>