[Server-devel] Problemas con servidor xs

Fernando Paz fipazc at gmail.com
Tue Apr 3 22:06:23 EDT 2012


I installed XS 0.7 with default settings and...

After installation i did this:

# xs-setup escuela


# reboot


# xs-setup-network  --> to activate standard network


# reboot

1. Deactivated DHCP in router

2. Default configuration in XS:

more ifcfg-eth0

Device = eth0
IPADDR1 = 172.18.96.1
NETMASK = 255.255.224.0

# The actrd initramfs tries to connect to the server 172.18.0.1 to request
# activation ....

IPADDR2= 172.18.0.1
NETMASK2= 255.255.255.0
IPV6 INIT = YES
....

Works registration of XOs and schoolserver domain, but i can't connect to
internet

I have to add IP (172.18.96.1) from server XS in DNS on 2wire or ?











2012/3/28 Reuben K. Caron <reuben at laptop.org>

> Fernando,
>
> So from a TCP/IP standpoint everything appears to be functioning
> correctly. If I am missing something that you believe is not functioning
> from the TCP/IP layers please point them out.
>
> You now have two issues:
>
> -DHCP clients (XOs) are getting the wrong DNS configuration. To resolve
> this:
> --On the 2wire, configure the DNS server to point to 192.168.1.253 (See
> attached, I believe it is the correct screenshot form your link. The
> picture shows a red box. The DNS configuration is two boxes above this)
>
> -The DNS server on the XS 0.6 will not answer DNS queries to
> 192.168.1.253. To resolve this:
> --Change the configurations files of named, httpd, and ejabberd to bind
> their services to 192.168.1.253, or
> --Install and Use XS 0.7 -- which resolves this issue by binding services
> to all available addresses (recommended)
>
> Please discuss with the team and let me know more questions.
>
> Regards,
>
> Reuben
>
>
>
> On Mar 27, 2012, at 11:33 PM, Fernando Paz wrote:
>
> Hi Reuben.
>
>
>
> On the XS I did this:
>
>
> *1.* Copy eth0-local.example to network-scripts
>
> -       cp
> /usr/share/doc/xs-config-0.6.0.16.g3c1e949/ifcfg-eth0-local.example
> /etc/sysconfig/network-scripts/ifcfg-eth0-local
>
>
> IPADDR = 192.168.1.253 à If I leave this line can I delete the one that
> is under or should I leave it
>
> IPV6ADDR = 2001:4830:2446:ff00: :2/64
>
> NETMASK = 255.255.255.0
>
> #NETWORK = 18.85.46.0
>
> #BROADCAST = 18.85.46.255
>
> GATEWAY = 192.168.1.254
>
>
> *2.* ifup eth0
>
> *3.* Setting the server domain name:
>
> /etc/sysconfig/olpc-scripts/domain_config nombreescuela(schoolname)
>
> *4.* reboot
>
>
> *DHCP activated in server:*
>
> * *
>
> *Ping schoolserver = *
>
> PING schoolserver.nombreescuela (172.18.0.1) 56(84) bytes of data
>
> 64 bytes from 172.18.0.1 ……
>
> 64 bytes from 172.18.0.1 ……
>
> 64 bytes from 172.18.0.1 ……
>
> *--- Schoolserver.nombreescuela ping stadistics –*
>
> *3 packets transmitted, 3 received, 0 % loss, time 2000ms*
>
> * *
>
> *Ping 192.168.1.254 = *
>
> *
> *
>
> --- 192.168.1.254 ping stadistics –
>
> 3 packets transmitted, 3 received, 0 % loss, time 2003ms
>
>
> *Ping google.com = *
>
> *
> *
>
> --- --- google.com ping stadistics –
>
> 3 packets transmitted, 3 received, 0 % loss, time 2029ms**
>
> * *
>
> *On the XO:*
>
> * *
>
> *Ping 192.168.1.254 =*
>
> --- --- 192.168.1.254 ping stadistics –
>
> 3 packets transmitted, 3 received, 0% packet loss, time 2003ms**
>
> * *
>
> *Ping 192.168.1.253 =*
>
> --- --- 192.168.1.253 ping stadistics –
>
> 3 packets transmitted, 3 received, 0% packet loss, time 2002ms
>
>
> *Ping google.com =*
>
> --- --- google.com ping stadistics –
>
> 3 packets transmitted, 3 received, 0% packet loss, time 2003ms**
>
> * *
>
> *IP ADDRESS OF XO = 192.168.1.24*
>
> * *
>
> *On the XS:*
>
> * *
>
> *Ping 192.168.1.24 =*
>
> --- --- 192.168.1.24 ping stadistics –
>
> 3 packets transmitted, 3 received, 0% packet loss, time 2130ms
>
>
> *Ping 192.168.1.25 = *
>
> --- --- 192.168.1.25 ping stadistics –
>
> 3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3001ms
> **
>
> * *
>
> *
> *
>
> *
> *
>
> *DHCP deactivated in the server:*
>
> *
> *
>
> *# chkconfig dhcpd off*
>
> *# service dhcpd status*
>
> … dhcpd is stopped**
>
> * *
>
> *Ping schoolserver =*
>
> 64 bytes from 172.18.0.1 ……
>
> 64 bytes from 172.18.0.1 ……
>
> 64 bytes from 172.18.0.1 ……
>
> *--- Schoolserver.nombreescuela ping stadistics –*
>
> *3 packets transmitted, 3 received, 0 % loss, time 2001ms*
>
> * *
>
> *Ping 192.168.1.254 = *
>
> *
> *
>
> --- 192.168.1.254 ping stadistics –
>
> 3 packets transmitted, 3 received, 0% packet loss, time 2003ms**
>
> * *
>
> *Ping google.com = *
>
> *
> *
>
> --- --- google.com ping stadistics –
>
> 3 packets transmitted, 3 received, 0 % packet loss, time 2031ms**
>
> * *
>
> * **On the XO:*
>  * *
> *Ping 192.168.1.254 =*
> *
> *
> --- --- 192.168.1.254 ping stadistics –
> 3 packets transmitted, 3 received, 0% packet loss, time 2002ms**
> * *
> *Ping 192.168.1.253 =*
> *
> *
> --- --- 192.168.1.253 ping stadistics –
> 3 packets transmitted, 3 received, 0% packet loss, time 2003ms**
> * *
> *Ping -c 3 google.com =*
> *
> *
> --- --- google.com ping stadistics –
> 3 packets transmitted, 3 received, 0% packet loss, time 2002ms**
> * *
> * *
> *IP ADDRESS OF XO = 192.168.1.24*
> * *
> *On the XS:*
> * *
> *Ping 192.168.1.24 =*
> *
> *
> --- --- 192.168.1.24 ping stadistics –
> 3 packets transmitted, 3 received, 0% packet loss, time 2003ms
>
>
> *Ping 192.168.1.25 =*
> *
> *
> *From 192.168.1.253 ... Destination Host Unreachable*
>
> *From 192.168.1.253 ... Destination Host Unreachable*
> *From 192.168.1.253 ... Destination Host Unreachable*
> *
> *
>
> --- --- 192.168.1.25 ping stadistics –
> 3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3001ms
> **
> * *
>
> Also in the link under there are some screenshots of 2wire 4011G router ,
> but is in Spanish http://issuu.com/vigilat/docs/router_2wire_4011g
>
>
>
> El 27 de marzo de 2012 07:15, Reuben K. Caron <reuben at laptop.org>escribió:
>
>> Fernando, Carlos,
>>
>> Hola Amigos.
>>
>> First, we'll troubleshoot this and then I'll tell you why this setup is
>> problematic.
>>
>> 2wire: 192.168.1.254
>> XS: 192.168.1.253
>> XOs: 192.168.1.0 -- > .252
>>
>> On the XS:
>>
>> -Did you save the static ip changes to the file:
>> /etc/sysconfig/network-scripts/ifcfg-eth0-local?
>> -What is the output of the command ifconfig -- Does it show that the
>> static IP address configured correctly?
>> -What is the output of the command ping schoolserver
>> -What is the output of the command ping 192.168.1.254
>> -What is the output of the command dig google.com
>> -What is the output of the command ping google.com
>>
>> On the XO:
>> -Connect to the Wireless.
>> -What is the output of the command ping 192.168.1.254
>> -What is the output of the command ping 192.168.1.253
>> -What is the output of the command dig google.com
>> -What is the output of the command ping google.com
>> -What is the output of the command ifconfig -- Note the IP address of the
>> XO
>>
>> On the XS:
>> -What is the output of the command ping IP_ADDRESS_OF_XO_ABOVE
>>
>> Your current setup has limitations:
>> 1.Only 252 clients will be able to connect
>> 2.XO's cannot connect, ping, or resolve "schoolserver," DNS entry because
>> they get IP configuration from DHCP of 2wire. 2Wire does not know how to
>> resolve the hostname schoolserver.
>>
>> The #2 issue can be resolved by either:
>>
>> -If possible you maybe able to assign the DNS server in 2Wire
>> configuration to point to 192.168.1.253 for DNS resolution, *or*
>> -Disable DHCP on 2Wire, Enable DHCP on XS, Add manual default routes from
>> XS <-> 2Wire
>>
>> Let us know the output of the commands and also some screenshots of the
>> available configuration of the 2Wire configuration screens because I cannot
>> find any manuals available online for this model.
>>
>> Regards,
>>
>> Reuben
>>
>>
>>
>> On Mar 27, 2012, at 1:04 AM, Fernando Paz wrote:
>>
>> Hola John, gracias por responder.
>>
>> 2 . Si 802.11. Logro hacer ping del servidor a otras computadoras y ping
>> así mismo. No logro hacer ping al servidor desde otras computadoras no
>> logran pasar por el router.
>>
>> 3. Tengo entendido que si se puede lograr hacer de esta manera con un
>> router, conectándose a la red del router y colocando en el navegador el
>> dominio del servidor schoolserver.escuelax
>>
>>  Por eso mi pregunta si alguien ya había utilizado este router 2wire
>> 4011G... o en este caso si no se puede el porque... o si  hay una lista de
>> router que no son compatibles con el servidor XS y si el 2wire pertenece a
>> esta lista ..
>>
>>
>>
>>
>>
>> El 26 de marzo de 2012 18:59, John Watlington <wad at laptop.org> escribió:
>>
>>>
>>> On Mar 26, 2012, at 8:05 PM, German Ruiz wrote:
>>>
>>> > Hola Fernando
>>> >
>>> > Tengo unas dudas:
>>>
>>> > 2. Cuando quieres registrar una XO, esta cómo se conecta al XS, si
>>> > dices que este no tiene AP en tu escenario.
>>>
>>> Tiene 802.11 el modem/router  ?   Si es verdad, cual es la dirección IP
>>> de la computadora con que logras al servidor ?
>>> Puedes "ping" al servidor ?
>>>
>>> > 3. Cuando corres el comando: chkconfig dhcpd off
>>> >
>>> > Deshabilitas el servicio dhcp para las XO, que estas lo necesitan para
>>> > conectarse al XS y registrarse.
>>>
>>> Actualmente, todavia pueden registrarse en este caso, pero necesitan
>>> que el nombre DNS "schoolserver" apunte al servidor.
>>>
>>> > 4. Adicionalmente ya está disponible la versión 0.7[0] del XS que está
>>> > basada en Centos 6 con el kernel de Fedora 15.
>>> >
>>> > [0] http://wiki.laptop.org/go/XS_Installing_Software_0.7
>>> >
>>> > Saludos
>>> >
>>> > --
>>> > German R S
>>> >
>>> > 2012/3/26 Fernando Paz <fipazc at gmail.com>
>>> >>
>>> >> Hola lista.
>>> >>
>>> >> Tengo problemas con hacer funcionar el servidor XS.
>>> >> El escenario actual es sin access points y es así:
>>> >> INTERNET -> Modem/Router <--> Servidor XS
>>> >>
>>> >> Internet por medio de DSL
>>> >> Modem/Router 2wire modelo: 4011G
>>> >> Servidor XS versión: 0.6
>>> >>
>>> >> Configuración:
>>> >> Modem/Router = DHCP activado, direcciónes = 192.168.1.1 -
>>> 192.168.1.252
>>> >> Servidor = DHCP desactivado usando el comando chkconfig dhcpd off,
>>> >> dirección estática = 192.168.1.253
>>> >>
>>> >> Configuracion de eth0 en servidor:
>>> >> #### To set a static address, copy or rename this file to
>>> >> ####   /etc/sysconfig/network-scripts/ifcfg-eth0-local
>>> >> #### and set the values below appropriately
>>> >> IPADDR=192.168.1.253
>>> >> IPV6ADDR=2001:4830:2446:ff00::2/64
>>> >> NETMASK=255.255.255.0
>>> >> #NETWORK=18.85.46.0
>>> >> #BROADCAST=18.85.46.255
>>> >> GATEWAY=192.168.1.254
>>> >>
>>> >> No logro entrar al servidor desde otra computadora ni registrar XO.
>>> >> Instale un escritorio grafico dentro del servidor para ver si en
>>> localhost y
>>> >> si funciona. El problema son las configuracion en el modem / router
>>> 2wire
>>> >> que no deja acceder al servidor desde otras maquinas...
>>> >>
>>> >>    Lic. Fernando Paz
>>> >> Oficina de Innovación Gubernamental
>>> >> Perif. Pte. 138 / Navarrete y Colosio
>>> >> Tel. +52(662) 213-8119, 23, 25
>>> >> fernando.paz at sonora.gob.mx
>>> >> Hermosillo, Sonora. México
>>> >> www.oig.sonora.gob.mx
>>> >>
>>> >>
>>> >>
>>> >>
>>> >> Contact me: fernando.pazc
>>> >> Latest tweet: Inauguración en Baviacora del decimo CCA en #sonora
>>> >> @unnuevofuturo http://t.co/YIda66fs
>>> >> Follow @fernandopaz1 Reply Retweet   17:35 Mar-24
>>> >>   Get this email app!
>>> >> Want a signature like mine? Click here.
>>> >>
>>> >> _______________________________________________
>>> >> Server-devel mailing list
>>> >> Server-devel at lists.laptop.org
>>> >> http://lists.laptop.org/listinfo/server-devel
>>> >>
>>> > _______________________________________________
>>> > Server-devel mailing list
>>> > Server-devel at lists.laptop.org
>>> > http://lists.laptop.org/listinfo/server-devel
>>> >
>>>
>>>
>> _______________________________________________
>> Server-devel mailing list
>> Server-devel at lists.laptop.org
>> http://lists.laptop.org/listinfo/server-devel
>>
>>
>>
> <LAN-DHCP.png><Firewall.png><firewall status.png><LAN 192.168.1.253
> details - .png><LAN-ESTADO.png><Setting advanced firewall.png>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/server-devel/attachments/20120403/8f42711a/attachment-0001.html>


More information about the Server-devel mailing list