<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3527" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Gerald,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Yes that's right. Have a look at the two
links below for more info and an architecture diagram. The two additional
things you may need to do, which I mentioned before, are change the
configuration of eth0 and that of the AP. If both use DHCP, then there is
a good chance that everything will work out of the box. If you have to use
a static IP for eth0 then you might need to edit <SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">/etc/sysconfig/olpc-scripts/ifcfg-eth0
(at least that's what I had to do the last time I did a fresh install, which was
version 0.4). If you need a static IP for the AP then, as I said below, it
needs to be in the subnet of eth1 and not in the range of DHCP address
supplied by the XS.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><A
href="http://wiki.laptop.org/go/XS_Installing_Software">http://wiki.laptop.org/go/XS_Installing_Software</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><A
href="http://wiki.laptop.org/go/XS_Release_Notes">http://wiki.laptop.org/go/XS_Release_Notes</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Tim</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=gmanb5@gmail.com href="mailto:gmanb5@gmail.com">Gerald Ardito</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=timmoody@sympatico.ca
href="mailto:timmoody@sympatico.ca">Tim Moody</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A
title=server-devel@lists.laptop.org
href="mailto:server-devel@lists.laptop.org">server-devel@lists.laptop.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, May 17, 2009 5:38 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Server-devel] XS Help,
please</DIV>
<DIV><BR></DIV>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="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">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></BLOCKQUOTE></BODY></HTML>