[Server-devel] Server configuration

Neo Masilo info at grapeprojects.com
Tue Jun 2 06:40:00 EDT 2009



*********************************************************************** Neo,

Hi. I'm wondering why you need the Static IP. Neo>>Ok the situation is
that the internet provider uses WiMax to distribute the signal and then
this signal is received by a Radio receiver that has a static ip address.
Now in windows /Mac for me to have an internet connection I have to assign
a static Ip to the machine with the dns settings as well. This leads me to
think that the same information is applied to the ifcfg-eth0-local file as
specified on the wiki.>>Rueben Does the XS have one or
two network cards?>>Neo one network card for the WAN/eth0 and I do have
Active antenna plugged in on the usb port and the XO's do connect to the
server, but not the internet (DNS)>>Reuben Will the XS act as a gateway to
the Internet?>>Neo Yes  . When I ping www.google.com on the server with
the /etc/resolv.conf edited with the remote DNS server ip address ie
10.50.211.5 then I do recieve packets back . I also installed the lynx
text browser on the server to browse the internet form the XS and the
pages do load. When I  do the same on the connected XO I get unknown host
but when I insert the google IP address in the address bar of the XO the
google page loads.

Thanks,

Reuben


Grape Projects IT wrote:
> 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
> http://wiki.laptop.org/go/XS_Installing_Software.
> 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 www.google.com 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 at 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
www.google.com I get the error unknown host www.google.com
> 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
> Server-devel at lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel

--
Reuben K. Caron
Country Support Engineer
One Laptop per Child
Mobile: +1-617-230-3893
reuben at laptop.org
Deployments Support <http://wiki.laptop.org/go/Deployments_Support>



Neo Masilo
Grape Projects (Pty)Ltd
PO Box 394 Pimville 1808 South Africa
4238 Khomo Street Pimville 1808, South Africa
Tel +27 11 933 4961
Mobile +27 73 656 0707
email: info at grapeprojects.com
web:www.grapeprojects.com






More information about the Server-devel mailing list