Re: [Server-devel] Server configuration for static IP instead of DHCP
On Mon, Jun 15, 2009 at 7:01 PM, Sameer Vermasve...@sfsu.edu wrote: Have you tried adding your ISP's DNS server(s) to the /etc/named-xs.conf file as forwarders? Yep! that's the 2 steps needed for a static IP address on eth0 - an ifcfg-eth0-local file as Rodolfo's example - upstream DNS servers set as forwarders Also, /etc/resolv.conf needs to be pointing to the DNS server on the XS. Otherwise the local names (needed for ejabberd and other services) will be missing (unless you configure the upstream DNS servers to serve them but that is more complicated). cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Server configuration for static IP instead of DHCP
Thanks for all the advice and help. I went to sleep after setting it without success ... and came back after work at it again - when I ping it works!! Maybe the lesson is to wait for the network stuff to sort things out and be patient? Have set the forwarders commands to my actual DNS and the resolv.conf nameserver points to 172.18.0.1. My thanks to you all. Cheers -Original Message- From: Martin Langhoff [mailto:martin.langh...@gmail.com] Sent: Tuesday, June 16, 2009 03:58 PM To: 'Sameer Verma' Cc: tkk...@nurturingasia.com, 'XS Devel' Subject: Re: [Server-devel] Server configuration for static IP instead of DHCP On Mon, Jun 15, 2009 at 7:01 PM, Sameer Vermasve...@sfsu.edu wrote: Have you tried adding your ISP's DNS server(s) to the /etc/named-xs.conf file as forwarders? Yep! that's the 2 steps needed for a static IP address on eth0 - an ifcfg-eth0-local file as Rodolfo's example - upstream DNS servers set as forwarders Also, /etc/resolv.conf needs to be pointing to the DNS server on the XS. Otherwise the local names (needed for ejabberd and other services) will be missing (unless you configure the upstream DNS servers to serve them but that is more complicated). cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Server configuration for static IP instead of DHCP
On Tue, Jun 16, 2009 at 4:24 PM, tkk...@nurturingasia.com wrote: Thanks for all the advice and help. I went to sleep after setting it without success ... and came back after work at it again - when I ping it works!! Maybe the lesson is to wait for the network stuff to sort things out and be patient? Fantastic news! DNS/resolver stuff is sometimes cached so going to sleep is sometimes the right fix ;-) Have set the forwarders commands to my actual DNS and the resolv.conf nameserver points to 172.18.0.1. Perfect-o. m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Server configuration for static IP instead of DHCP
Maybe the WIKI need an update that include ... take a break and come back for the cache stuff Working normally..and I am amazed by the level of automation via the XS. Just registered 2 XOs via wireless. Now I need to see how the Moodle could be a mix of external users and XOs registered users. I use to have success login in with admin and the password supplied to add newlanguage options. Any changes? I have not been login with the combination recently? Cheers -Original Message- From: Martin Langhoff [mailto:martin.langh...@gmail.com] Sent: Tuesday, June 16, 2009 10:59 PM To: tkk...@nurturingasia.com Cc: 'Sameer Verma', 'Rodolfo D. Arce S.', 'XS Devel' Subject: Re: [Server-devel] Server configuration for static IP instead of DHCP On Tue, Jun 16, 2009 at 4:24 PM, tkk...@nurturingasia.com wrote: Thanks for all the advice and help. I went to sleep after setting it without success ... and came back after work at it again - when I ping it works!! Maybe the lesson is to wait for the network stuff to sort things out and be patient? Fantastic news! DNS/resolver stuff is sometimes cached so going to sleep is sometimes the right fix ;-) Have set the forwarders commands to my actual DNS and the resolv.conf nameserver points to 172.18.0.1. Perfect-o. m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Server configuration for static IP instead of DHCP
On Tue, Jun 16, 2009 at 5:25 PM, tkk...@nurturingasia.com wrote: Maybe the WIKI need an update that include ... take a break and come back for the cache stuff Probably a strategic reboot is better, faster and clearer. You do need it once you've set the domain. If you 1 - install 2 - set the domain (which sets resolv.conf 3 - set the forwarders 4 - set ifcfg-eth0-local 5 - reboot everything 'just works'. Once I make 0.6 an official release -- soon! I promise! -- we can update the install guide with this info. Working normally..and I am amazed by the level of automation via the XS. Just registered 2 XOs via wireless. Great! Now I need to see how the Moodle could be a mix of external users and XOs registered users. I use to have success login in with admin and the password supplied to add newlanguage options. Any changes? I have not been login with the combination recently? Use the first registered XO -- which has 'course creator' rights in Moodle. It can create new normal accounts, which login with username/password. If you want those accounts to be 'course creators' too, after creating the accounts you can grant them the right from Users-Roles-Sitewide roles (a standard Moodle procedure) hth, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Server configuration for static IP instead of DHCP
Sorry, made a mistake in the conf file.. here's the real example #IFCFG-ETH0-LOCAL DEVICE=eth0 ONBOOT=on IPADDR=192.168.1.230 NETMASK=255.255.255.0 BROADCAST=192.168.1.255 NETWORK=192.168.1.0 GATEWAY=192.168.1.1 DNS1=192.168.1.1 cheers.. R On Mon, Jun 15, 2009 at 9:18 AM, Rodolfo D. Arce S.rodolfoa...@eyuhoo.com wrote: Could you ping hosts in your internal network? perhaps you didn't set you gateway Instead of changing the /etc/resolv.conf maybe you could try to add the option in the interface configuration Example: #IFCFG-ETH0-LOCAL DEVICE=eth0 ONBOOT=on IPADDR=192.168.1.230 NETWORK=255.255.255.0 BROADCAST=192.168.1.255 GATEWAY=192.168.1.1 DNS1=192.168.1.1 Could you send your ifcfg-eth0-local file? cheers.. R On Fri, Jun 12, 2009 at 7:32 PM, tkk...@nurturingasia.com wrote: Yes, I followed the instruction and created a ifcfg-eth0-local and change the /etc/resolv.conf with the original nameserver 172.18.0.1 to 192.168.1.1 It boot and set my ip to 192.168.1.230. I could not ping an external IP not resolve domain names. The orignal dhcp setting just works well. I hope setting a static IP would be as easy. I want a static ip as I want to play around with external web access to the Xs-server loaded with other elearning application. -Original Message- From: Rodolfo D. Arce S. [mailto:rodolfoa...@eyuhoo.com] Sent: Saturday, June 13, 2009 01:58 AM To: tkk...@nurturingasia.com, 'XS Devel' Subject: Re: [Server-devel] Server configuration for static IP instead of DHCP You have to create a file /etc/sysconfig/network-sripts/ifcfg-eth0-local and configue in it your static IP like any other fedora machine hope that works.. cheers.. R On 6/12/09, tkk...@nurturingasia.com tkk...@nurturingasia.com wrote: Everything works well with DHCP on eth0. However I want have a fixed ip instead. I followed the instruction Configuring a Static IP address. Each time I reboot I have assign a satic IP of 192.168.1.130. However not able to resolve when I ping mail.google.com. Read the thread below. What else do I need to do to get it functioning as before? Cheers -Original Message- From: Martin Langhoff [mailto:martin.langh...@gmail.com] Sent: Tuesday, June 2, 2009 07:27 PM To: i...@grapeprojects.com Cc: server-devel@lists.laptop.org Subject: Re: [Server-devel] Server configuration On Tue, Jun 2, 2009 at 12:40 PM, Neo Masilo i...@grapeprojects.com wrote: 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 From what you are saying, you are right in setting up the static address. Your ISP is blocking direct DNS queries -- so for the correct DNS settings you need to instead set the 'forwarders' properly in /etc/named/named-xs.conf m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Server configuration for static IP instead of DHCP
I tried your config - thanks. No luck. I get a fixed IP of 192.168.1.230 and could ping 192.168.1.1, etc and even the designated public IP of my router given by my ISP. However I can't ping any external network outside. Have you go this working with a XS server with a static IP? -Original Message- From: Rodolfo D. Arce S. [mailto:rodolfoa...@eyuhoo.com] Sent: Monday, June 15, 2009 09:25 PM To: tkk...@nurturingasia.com, 'XS Devel' Subject: Re: [Server-devel] Server configuration for static IP instead of DHCP Sorry, made a mistake in the conf file.. here's the real example #IFCFG-ETH0-LOCAL DEVICE=eth0 ONBOOT=on IPADDR=192.168.1.230 NETMASK=255.255.255.0 BROADCAST=192.168.1.255 NETWORK=192.168.1.0 GATEWAY=192.168.1.1 DNS1=192.168.1.1 cheers.. R On Mon, Jun 15, 2009 at 9:18 AM, Rodolfo D. Arce S.rodolfoa...@eyuhoo.com wrote: Could you ping hosts in your internal network? perhaps you didn't set you gateway Instead of changing the /etc/resolv.conf maybe you could try to add the option in the interface configuration Example: #IFCFG-ETH0-LOCAL DEVICE=eth0 ONBOOT=on IPADDR=192.168.1.230 NETWORK=255.255.255.0 BROADCAST=192.168.1.255 GATEWAY=192.168.1.1 DNS1=192.168.1.1 Could you send your ifcfg-eth0-local file? cheers.. R On Fri, Jun 12, 2009 at 7:32 PM, tkk...@nurturingasia.com wrote: Yes, I followed the instruction and created a ifcfg-eth0-local and change the /etc/resolv.conf with the original nameserver 172.18.0.1 to 192.168.1.1 It boot and set my ip to 192.168.1.230. I could not ping an external IP not resolve domain names. The orignal dhcp setting just works well. I hope setting a static IP would be as easy. I want a static ip as I want to play around with external web access to the Xs-server loaded with other elearning application. -Original Message- From: Rodolfo D. Arce S. [mailto:rodolfoa...@eyuhoo.com] Sent: Saturday, June 13, 2009 01:58 AM To: tkk...@nurturingasia.com, 'XS Devel' Subject: Re: [Server-devel] Server configuration for static IP instead of DHCP You have to create a file /etc/sysconfig/network-sripts/ifcfg-eth0-local and configue in it your static IP like any other fedora machine hope that works.. cheers.. R On 6/12/09, tkk...@nurturingasia.com tkk...@nurturingasia.com wrote: Everything works well with DHCP on eth0. However I want have a fixed ip instead. I followed the instruction Configuring a Static IP address. Each time I reboot I have assign a satic IP of 192.168.1.130. However not able to resolve when I ping mail.google.com. Read the thread below. What else do I need to do to get it functioning as before? Cheers -Original Message- From: Martin Langhoff [mailto:martin.langh...@gmail.com] Sent: Tuesday, June 2, 2009 07:27 PM To: i...@grapeprojects.com Cc: server-devel@lists.laptop.org Subject: Re: [Server-devel] Server configuration On Tue, Jun 2, 2009 at 12:40 PM, Neo Masilo i...@grapeprojects.com wrote: 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 From what you are saying, you are right in setting up the static address. Your ISP is blocking direct DNS queries -- so for the correct DNS settings you need to instead set the 'forwarders' properly in /etc/named/named-xs.conf m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Server configuration for static IP instead of DHCP
On Mon, Jun 15, 2009 at 8:24 AM, tkk...@nurturingasia.com wrote: I tried your config - thanks. No luck. I get a fixed IP of 192.168.1.230 and could ping 192.168.1.1, etc and even the designated public IP of my router given by my ISP. However I can't ping any external network outside. Have you go this working with a XS server with a static IP? Have you tried adding your ISP's DNS server(s) to the /etc/named-xs.conf file as forwarders? options { ... ... ... forwarders { dnsserver1; dnsserver2; }; forward only; }; Sameer -Original Message- From: Rodolfo D. Arce S. [mailto:rodolfoa...@eyuhoo.com] Sent: Monday, June 15, 2009 09:25 PM To: tkk...@nurturingasia.com, 'XS Devel' Subject: Re: [Server-devel] Server configuration for static IP instead of DHCP Sorry, made a mistake in the conf file.. here's the real example #IFCFG-ETH0-LOCAL DEVICE=eth0 ONBOOT=on IPADDR=192.168.1.230 NETMASK=255.255.255.0 BROADCAST=192.168.1.255 NETWORK=192.168.1.0 GATEWAY=192.168.1.1 DNS1=192.168.1.1 cheers.. R On Mon, Jun 15, 2009 at 9:18 AM, Rodolfo D. Arce S.rodolfoa...@eyuhoo.com wrote: Could you ping hosts in your internal network? perhaps you didn't set you gateway Instead of changing the /etc/resolv.conf maybe you could try to add the option in the interface configuration Example: #IFCFG-ETH0-LOCAL DEVICE=eth0 ONBOOT=on IPADDR=192.168.1.230 NETWORK=255.255.255.0 BROADCAST=192.168.1.255 GATEWAY=192.168.1.1 DNS1=192.168.1.1 Could you send your ifcfg-eth0-local file? cheers.. R On Fri, Jun 12, 2009 at 7:32 PM, tkk...@nurturingasia.com wrote: Yes, I followed the instruction and created a ifcfg-eth0-local and change the /etc/resolv.conf with the original nameserver 172.18.0.1 to 192.168.1.1 It boot and set my ip to 192.168.1.230. I could not ping an external IP not resolve domain names. The orignal dhcp setting just works well. I hope setting a static IP would be as easy. I want a static ip as I want to play around with external web access to the Xs-server loaded with other elearning application. -Original Message- From: Rodolfo D. Arce S. [mailto:rodolfoa...@eyuhoo.com] Sent: Saturday, June 13, 2009 01:58 AM To: tkk...@nurturingasia.com, 'XS Devel' Subject: Re: [Server-devel] Server configuration for static IP instead of DHCP You have to create a file /etc/sysconfig/network-sripts/ifcfg-eth0-local and configue in it your static IP like any other fedora machine hope that works.. cheers.. R On 6/12/09, tkk...@nurturingasia.com tkk...@nurturingasia.com wrote: Everything works well with DHCP on eth0. However I want have a fixed ip instead. I followed the instruction Configuring a Static IP address. Each time I reboot I have assign a satic IP of 192.168.1.130. However not able to resolve when I ping mail.google.com. Read the thread below. What else do I need to do to get it functioning as before? Cheers -Original Message- From: Martin Langhoff [mailto:martin.langh...@gmail.com] Sent: Tuesday, June 2, 2009 07:27 PM To: i...@grapeprojects.com Cc: server-devel@lists.laptop.org Subject: Re: [Server-devel] Server configuration On Tue, Jun 2, 2009 at 12:40 PM, Neo Masilo i...@grapeprojects.com wrote: 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 From what you are saying, you are right in setting up the static address. Your ISP is blocking direct DNS queries -- so for the correct DNS settings you need to instead set the 'forwarders' properly in /etc/named/named-xs.conf m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Server configuration for static IP instead of DHCP
You have to create a file /etc/sysconfig/network-sripts/ifcfg-eth0-local and configue in it your static IP like any other fedora machine hope that works.. cheers.. R On 6/12/09, tkk...@nurturingasia.com tkk...@nurturingasia.com wrote: Everything works well with DHCP on eth0. However I want have a fixed ip instead. I followed the instruction Configuring a Static IP address. Each time I reboot I have assign a satic IP of 192.168.1.130. However not able to resolve when I ping mail.google.com. Read the thread below. What else do I need to do to get it functioning as before? Cheers -Original Message- From: Martin Langhoff [mailto:martin.langh...@gmail.com] Sent: Tuesday, June 2, 2009 07:27 PM To: i...@grapeprojects.com Cc: server-devel@lists.laptop.org Subject: Re: [Server-devel] Server configuration On Tue, Jun 2, 2009 at 12:40 PM, Neo Masilo i...@grapeprojects.com wrote: 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 From what you are saying, you are right in setting up the static address. Your ISP is blocking direct DNS queries -- so for the correct DNS settings you need to instead set the 'forwarders' properly in /etc/named/named-xs.conf m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Server configuration for static IP instead of DHCP
Yes, I followed the instruction and created a ifcfg-eth0-local and change the /etc/resolv.conf with the original nameserver 172.18.0.1 to 192.168.1.1 It boot and set my ip to 192.168.1.230. I could not ping an external IP not resolve domain names. The orignal dhcp setting just works well. I hope setting a static IP would be as easy. I want a static ip as I want to play around with external web access to the Xs-server loaded with other elearning application. -Original Message- From: Rodolfo D. Arce S. [mailto:rodolfoa...@eyuhoo.com] Sent: Saturday, June 13, 2009 01:58 AM To: tkk...@nurturingasia.com, 'XS Devel' Subject: Re: [Server-devel] Server configuration for static IP instead of DHCP You have to create a file /etc/sysconfig/network-sripts/ifcfg-eth0-local and configue in it your static IP like any other fedora machine hope that works.. cheers.. R On 6/12/09, tkk...@nurturingasia.com tkk...@nurturingasia.com wrote: Everything works well with DHCP on eth0. However I want have a fixed ip instead. I followed the instruction Configuring a Static IP address. Each time I reboot I have assign a satic IP of 192.168.1.130. However not able to resolve when I ping mail.google.com. Read the thread below. What else do I need to do to get it functioning as before? Cheers -Original Message- From: Martin Langhoff [mailto:martin.langh...@gmail.com] Sent: Tuesday, June 2, 2009 07:27 PM To: i...@grapeprojects.com Cc: server-devel@lists.laptop.org Subject: Re: [Server-devel] Server configuration On Tue, Jun 2, 2009 at 12:40 PM, Neo Masilo i...@grapeprojects.com wrote: 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 From what you are saying, you are right in setting up the static address. Your ISP is blocking direct DNS queries -- so for the correct DNS settings you need to instead set the 'forwarders' properly in /etc/named/named-xs.conf m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Server configuration
*** Neo, Hi. I'm wondering why you need the Static IP. NeoOk 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 ejabb...@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@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 reu...@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: i...@grapeprojects.com web:www.grapeprojects.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Server configuration
On Tue, Jun 2, 2009 at 12:40 PM, Neo Masilo i...@grapeprojects.com wrote: 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 From what you are saying, you are right in setting up the static address. Your ISP is blocking direct DNS queries -- so for the correct DNS settings you need to instead set the 'forwarders' properly in /etc/named/named-xs.conf m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Server configuration
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 ejabb...@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@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Server configuration
Neo, 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? 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 ejabb...@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@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 reu...@laptop.org Deployments Support http://wiki.laptop.org/go/Deployments_Support ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel