<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Neo,<br>
<br>
Hi. I'm wondering why you need the Static IP. Does the XS have one or
two network cards? Will the XS act as a gateway to the Internet?<br>
<br>
Thanks,<br>
<br>
Reuben<br>
<br>
<br>
Grape Projects IT wrote:
<blockquote
cite="mid:2754.196.211.13.179.1243852548.squirrel@www.grapeprojects.com"
type="cite">
<pre wrap="">Hi Martin,
I have never setup a static address before and therefore have never had
this issue before. Below is the step-by-step configuration that I followed
and I am having a problem with the DNS as the XO's do not connect to the
Internet
I downloaded the XS 0.5.2 image and followed the instructions
<a class="moz-txt-link-freetext" href="http://wiki.laptop.org/go/XS_Installing_Software">http://wiki.laptop.org/go/XS_Installing_Software</a>.
1.I initially ran the script /etc/sysconfig/olpc-scripts/domainconfig
katane.org with katane.org being the hostname
2.I also changed the HOSTNAME=localhost.localdomain to
HOSTNAME=schoolserver.katane.org
Our internet has a static IP address therefore I copied
/usr/share/doc/xs-config-*/ifcfg-eth0-local.example to
/etc/sysconfig/olpc-scripts/ifcfg-eth0-local and edited the file
with the following:
IPADDR=10.50.211.15
IPV6ADDR=no
NETMASK=255.255.255.0
NETWORK=10.50.211.0
BROADCAST=10.50.211.255
GATEWAY=10.50.211.5
I also edited the /etc/resolv.conf to resolve the DNS nameserver as follows:
search katane.org
nameservers 10.50.211.5
3. Restarted the machine
4. I then started the ejabberd service at runlevels 345
5. Restarted the machine " shutdown -r now"
6. After reboot I pinged <a class="moz-txt-link-abbreviated" href="http://www.google.com">www.google.com</a> and I got reply packets which
meant that I had connection to the internet
7. now the problem is that when I check the ejabberd status "ejabberdctl
status" I get an error RPC failed on the node ejabberd@schoolserver:
nodedown
so I went back to my /etc/resolv.conf file and edited the nameserver back
to 172.18.0.1 and restarted ejabberd and this executed with no errors. But
now the server does not resolve the DNS addresses cause when I ping
<a class="moz-txt-link-abbreviated" href="http://www.google.com">www.google.com</a> I get the error unknown host <a class="moz-txt-link-abbreviated" href="http://www.google.com">www.google.com</a>
8.Another thing is that the XO does not connect to the internet under all
scenarios but it connects to the schoolserver as I get to the "who are
you?" page
Now what do I need to do to make this work as I am using Active Antenna to
connect the XO's to the Server
Regards
Neo Masilo
_______________________________________________
Server-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Server-devel@lists.laptop.org">Server-devel@lists.laptop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.laptop.org/listinfo/server-devel">http://lists.laptop.org/listinfo/server-devel</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
Reuben K. Caron<br>
Country Support Engineer<br>
One Laptop per Child<br>
Mobile: +1-617-230-3893<br>
<a class="moz-txt-link-abbreviated" href="mailto:reuben@laptop.org">reuben@laptop.org</a><br>
<a href="http://wiki.laptop.org/go/Deployments_Support">
Deployments Support</a>
</div>
</body>
</html>