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"><<a href="mailto:timmoody@sympatico.ca">timmoody@sympatico.ca</a>></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't said how the XS and AP connect to<br>
each other, but I'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'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's what.<br>
<br>
My guess is that you had the XOs in the same VLAN as the XS's external port<br>
before, which is why ping worked, but nothing else.<br>
<br>
Hope this helps,<br>
<br>
Tim<br>
<br>
<br>
> Message: 8<br>
> Date: Sat, 16 May 2009 06:10:07 -0400<br>
> From: Gerald Ardito <<a href="mailto:gmanb5@gmail.com">gmanb5@gmail.com</a>><br>
> Subject: Re: [Server-devel] XS Help, please<br>
> To: Martin Langhoff <<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a>><br>
> Cc: <a href="mailto:Server-devel@lists.laptop.org">Server-devel@lists.laptop.org</a><br>
> Message-ID:<br>
> <<a href="mailto:9403b1570905160310w678cae38w958bbdadfe63448a@mail.gmail.com">9403b1570905160310w678cae38w958bbdadfe63448a@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="iso-8859-1"<br>
<div class="im">><br>
> Martin,<br>
><br>
> Thanks for the help.<br>
><br>
</div><div class="im">> I am running version 0.5.2 (the latest stable version).<br>
><br>
</div><div class="im">> The network looks like this:<br>
> XOs connect to an AP<br>
> AP points to server box<br>
> Server box connected to VLAN<br>
><br>
</div><div class="im">> The problems I am having:<br>
> 1) I was told by my network guy to set the box for a static IP address and<br>
> default gateway. I do this via ifconfig, but when I reboot, it is gone.<br>
</div><div class="im">> 2) I was told by my network guy to configure DHCP for a bunch of<br>
> parameters<br>
> (subnet mask, IP range). I have references about dhcpd.conf but I was<br>
> worried it was created by one of the olpc-scripts.<br>
</div><div class="im">> 3) So, since the server is not set properly, the XOs can't connect to that<br>
> newly created wireless network.<br>
><br>
</div><div class="im">> The old problems I was having:<br>
> 1) When we were all on the school's regular network, the XOs could ping<br>
> the<br>
> server and vice versa. But the "Register" function didn't work. I don't<br>
> know<br>
> if this is still a problem because I can't get the new chunk of things to<br>
> work.<br>
><br>
</div><div class="im">> Does this give you what you need?<br>
> Is it possible to Skype sometime? My Skype username is gmanb5.<br>
><br>
</div>> Thanks.<br>
> Gerald<br>
> On Sat, May 16, 2009 at 5:45 AM, Martin Langhoff<br>
<div class="im">> <<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a>>wrote:<br>
><br>
</div><div><div></div><div class="h5">>> Hello Gerald,<br>
>><br>
>> It'd be useful to hear more about<br>
>><br>
>> - what XS version<br>
>> - network topology<br>
>> - what exact problems you are having<br>
>><br>
>> it's hard to provide advise.<br>
>><br>
>> I'll try however. In general, you should not change the dhcpd<br>
>> configuration<br>
>> on the XS. Give the XS 2 NICs, and let it run its own subnet.<br>
>><br>
>> hope that helps - but do give us some more info!<br>
>><br>
>><br>
>> martin<br>
>><br>
>> On Fri, May 15, 2009 at 10:50 PM, Gerald Ardito <<a href="mailto:gmanb5@gmail.com">gmanb5@gmail.com</a>> wrote:<br>
>><br>
>>> Hello.<br>
>>><br>
>>> I need some help. I have been trying to get my XS Server running for<br>
>>> some<br>
>>> months now with little success.<br>
>>><br>
>>> Recently, in order to alleviate some problems, our school's network guy<br>
>>> established a new VLAN only for the XOs.<br>
>>><br>
>>> The VLAN points to my server box as the DHCP server.<br>
>>><br>
>>> Here's what I think I need to do:<br>
>>> 1. Edit the DHCP config file for: 1) IP address; 2) subnet mask; 3) and<br>
>>> IP<br>
>>> range<br>
>>> 2. Edit the resolv.config file to point our schoolserver to the IP<br>
>>> address<br>
>>> set above<br>
>>> 3. Start the dhcpd service.<br>
>>><br>
>>> Here are my questions:<br>
>>> 1) is that right?<br>
>>> 2) is there anything else I need to do to configure the DNS and DHCP<br>
>>> services?<br>
>>><br>
>>><br>
>>> Thanks. I really need to get this running!<br>
>>><br>
>>> Gerald<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>
>>><br>
>>><br>
>><br>
>><br>
>> --<br>
</div></div><div class="im">>> <a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a><br>
>> <a href="mailto:martin@laptop.org">martin@laptop.org</a> -- School Server Architect<br>
>> - ask interesting questions<br>
>> - don't get distracted with shiny stuff - working code first<br>
>> - <a href="http://wiki.laptop.org/go/User:Martinlanghoff" target="_blank">http://wiki.laptop.org/go/User:Martinlanghoff</a><br>
>><br>
</div>> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL:<br>
> <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>
><br>
> ------------------------------<br>
<div class="im">><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>
><br>
><br>
</div>> End of Server-devel Digest, Vol 25, Issue 15<br>
> ********************************************<br>
<div><div></div><div class="h5">><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>