Tim,<br><br>I want to make sure I understand what you are saying.<br><br>First, I need to add the second NIC (which I bought today).<br>Then, I need to reinstall the server software.<br>By default, eth0 should be connected to the outside world/internet.<br>
Eth1 will set itself up (with no help from me) as the DNS and DHCP server. Therefore, the XOs talk to the AP which talk to the XS which assigns IP addresses to the XOs. <br><br>Is that right?<br><br>Thanks.<br>Gerald<br><br>
<div class="gmail_quote">On Sat, May 16, 2009 at 11:55 AM, Tim Moody <span dir="ltr">&lt;<a href="mailto:timmoody@sympatico.ca">timmoody@sympatico.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Gerald,<br>
<br>
To expand a bit on what Martin wrote, the XS sits between the XOs and the<br>
world (rest of the network).  You haven&#39;t said how the XS and AP connect to<br>
each other, but I&#39;m assuming it is via ethernet, that is the AP is not<br>
directly attached via USB.  If that is the case the XS needs two ethernet<br>
cards, one for the AP and XOs, and another for the world.  In all likelihood<br>
these would attach to different VLANs.<br>
<br>
I have fiddled with manually configuring ethernet on the XS and have wasted<br>
a lot of time.  If I were in your situation, I would simply reinstall the<br>
latest version of XS, especially since it is suited to your architecture and<br>
you probably don&#39;t have anything at this point that you need to preserve.<br>
<br>
Ask your network guy for a static IP address and addresses of the DNS server<br>
and gateway for the world.  During the install use these values to set up<br>
eth0.  Attach this ethernet port to the VLAN that includes external access<br>
(not the XOs and AP).<br>
<br>
XS install will set up eth1 with the proper IP address along with DHCP, DNS,<br>
Gateway for the XOs.  Attach this ethernet port to the special VLAN created<br>
for XOs and attach the AP to the same VLAN.  If the AP has a static IP<br>
address it needs to be in the subnet of eth1 and not in the range of DHCP<br>
address supplied by the XS, though letting the AP get its IP address via<br>
DHCP from the XS may also work.  Eth1 addresses will probably start 172.18.<br>
It is also possible that what you think are eth0 and eth1 are reversed by<br>
the install and there is a command to switch them, but a little<br>
experimenting will also reveal what&#39;s what.<br>
<br>
My guess is that you had the XOs in the same VLAN as the XS&#39;s external port<br>
before, which is why ping worked, but nothing else.<br>
<br>
Hope this helps,<br>
<br>
Tim<br>
<br>
<br>
&gt; Message: 8<br>
&gt; Date: Sat, 16 May 2009 06:10:07 -0400<br>
&gt; From: Gerald Ardito &lt;<a href="mailto:gmanb5@gmail.com">gmanb5@gmail.com</a>&gt;<br>
&gt; Subject: Re: [Server-devel] XS Help, please<br>
&gt; To: Martin Langhoff &lt;<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a>&gt;<br>
&gt; Cc: <a href="mailto:Server-devel@lists.laptop.org">Server-devel@lists.laptop.org</a><br>
&gt; Message-ID:<br>
&gt; &lt;<a href="mailto:9403b1570905160310w678cae38w958bbdadfe63448a@mail.gmail.com">9403b1570905160310w678cae38w958bbdadfe63448a@mail.gmail.com</a>&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<div class="im">&gt;<br>
&gt; Martin,<br>
&gt;<br>
&gt; Thanks for the help.<br>
&gt;<br>
</div><div class="im">&gt; I am running version 0.5.2 (the latest stable version).<br>
&gt;<br>
</div><div class="im">&gt; The network looks like this:<br>
&gt; XOs connect to an AP<br>
&gt; AP points to server box<br>
&gt; Server box connected to VLAN<br>
&gt;<br>
</div><div class="im">&gt; The problems I am having:<br>
&gt; 1) I was told by my network guy to set the box for a static IP address and<br>
&gt; default gateway. I do this via ifconfig, but when I reboot, it is gone.<br>
</div><div class="im">&gt; 2) I was told by my network guy to configure DHCP for a bunch of<br>
&gt; parameters<br>
&gt; (subnet mask, IP range). I have references about dhcpd.conf but I was<br>
&gt; worried it was created by one of the olpc-scripts.<br>
</div><div class="im">&gt; 3) So, since the server is not set properly, the XOs can&#39;t connect to that<br>
&gt; newly created wireless network.<br>
&gt;<br>
</div><div class="im">&gt; The old problems I was having:<br>
&gt; 1) When we were all on the school&#39;s regular network, the XOs could ping<br>
&gt; the<br>
&gt; server and vice versa. But the &quot;Register&quot; function didn&#39;t work. I don&#39;t<br>
&gt; know<br>
&gt; if this is still a problem because I can&#39;t get the new chunk of things to<br>
&gt; work.<br>
&gt;<br>
</div><div class="im">&gt; Does this give you what you need?<br>
&gt; Is it possible to Skype sometime? My Skype username is gmanb5.<br>
&gt;<br>
</div>&gt; Thanks.<br>
&gt; Gerald<br>
&gt; On Sat, May 16, 2009 at 5:45 AM, Martin Langhoff<br>
<div class="im">&gt; &lt;<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a>&gt;wrote:<br>
&gt;<br>
</div><div><div></div><div class="h5">&gt;&gt; Hello Gerald,<br>
&gt;&gt;<br>
&gt;&gt; It&#39;d be useful to hear more about<br>
&gt;&gt;<br>
&gt;&gt;  - what XS version<br>
&gt;&gt;  - network topology<br>
&gt;&gt;  - what exact problems you are having<br>
&gt;&gt;<br>
&gt;&gt; it&#39;s hard to provide advise.<br>
&gt;&gt;<br>
&gt;&gt; I&#39;ll try however. In general, you should not change the dhcpd<br>
&gt;&gt; configuration<br>
&gt;&gt; on the XS. Give the XS 2 NICs, and let it run its own subnet.<br>
&gt;&gt;<br>
&gt;&gt; hope that helps - but do give us some more info!<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; martin<br>
&gt;&gt;<br>
&gt;&gt; On Fri, May 15, 2009 at 10:50 PM, Gerald Ardito &lt;<a href="mailto:gmanb5@gmail.com">gmanb5@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Hello.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I need some help. I have been trying to get my XS Server running for<br>
&gt;&gt;&gt; some<br>
&gt;&gt;&gt; months now with little success.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Recently, in order to alleviate some problems, our school&#39;s network guy<br>
&gt;&gt;&gt; established a new VLAN only for the XOs.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; The VLAN points to my server box as the DHCP server.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Here&#39;s what I think I need to do:<br>
&gt;&gt;&gt; 1. Edit the DHCP config file for: 1) IP address; 2) subnet mask; 3) and<br>
&gt;&gt;&gt; IP<br>
&gt;&gt;&gt; range<br>
&gt;&gt;&gt; 2. Edit the resolv.config file to point our schoolserver to the IP<br>
&gt;&gt;&gt; address<br>
&gt;&gt;&gt; set above<br>
&gt;&gt;&gt; 3. Start the dhcpd service.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Here are my questions:<br>
&gt;&gt;&gt; 1) is that right?<br>
&gt;&gt;&gt; 2) is there anything else I need to do to configure the DNS and DHCP<br>
&gt;&gt;&gt; services?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thanks. I really need to get this running!<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Gerald<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; Server-devel mailing list<br>
&gt;&gt;&gt; <a href="mailto:Server-devel@lists.laptop.org">Server-devel@lists.laptop.org</a><br>
&gt;&gt;&gt; <a href="http://lists.laptop.org/listinfo/server-devel" target="_blank">http://lists.laptop.org/listinfo/server-devel</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
</div></div><div class="im">&gt;&gt; <a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a><br>
&gt;&gt; <a href="mailto:martin@laptop.org">martin@laptop.org</a> -- School Server Architect<br>
&gt;&gt; - ask interesting questions<br>
&gt;&gt; - don&#39;t get distracted with shiny stuff  - working code first<br>
&gt;&gt; - <a href="http://wiki.laptop.org/go/User:Martinlanghoff" target="_blank">http://wiki.laptop.org/go/User:Martinlanghoff</a><br>
&gt;&gt;<br>
</div>&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL:<br>
&gt; <a href="http://lists.laptop.org/pipermail/server-devel/attachments/20090516/6ea6e1ba/attachment.htm" target="_blank">http://lists.laptop.org/pipermail/server-devel/attachments/20090516/6ea6e1ba/attachment.htm</a><br>

&gt;<br>
&gt; ------------------------------<br>
<div class="im">&gt;<br>
&gt; _______________________________________________<br>
&gt; Server-devel mailing list<br>
&gt; <a href="mailto:Server-devel@lists.laptop.org">Server-devel@lists.laptop.org</a><br>
&gt; <a href="http://lists.laptop.org/listinfo/server-devel" target="_blank">http://lists.laptop.org/listinfo/server-devel</a><br>
&gt;<br>
&gt;<br>
</div>&gt; End of Server-devel Digest, Vol 25, Issue 15<br>
&gt; ********************************************<br>
<div><div></div><div class="h5">&gt;<br>
<br>
_______________________________________________<br>
Server-devel mailing list<br>
<a href="mailto:Server-devel@lists.laptop.org">Server-devel@lists.laptop.org</a><br>
<a href="http://lists.laptop.org/listinfo/server-devel" target="_blank">http://lists.laptop.org/listinfo/server-devel</a><br>
</div></div></blockquote></div><br>