Re: [Server-devel] Falla configuracion con Open DNS

2009-09-28 Thread Martin Langhoff
Luis,

Creo que Rodolfo tiene razón sobre 'forward only' (y probablemente
tenemos que actualizar el Wiki sobre este tema).

Hay 2 complicaciones en la edición del named.conf.in a considerar

 - El archivo de configuración tiene varias secciones, hay que agregar
la línea de 'forwarders' en la parte correcta. Como en el ejemplo
aquí, debe estar dentro de la sección 'options':
http://www.zytrax.com/books/dns/ch6/#forwarding

 - Luego de editar el named.conf.in, tienes que re-ejecutar domain_config

   --

I think Rodolfo is right about 'forward only' and we should update the
wiki too. There are 2 details to keep in mind when editing
named.conf.in

 - It has several sections, nd you have to add the 'forwarders' line
in the right section. As in the example here, it has to be inside of
'options': http://www.zytrax.com/books/dns/ch6/#forwarding

 - After editing named.conf.in, you must rerun domain_config

cheers,


m

On Tue, Sep 22, 2009 at 5:22 PM, Rodolfo D. rodolfo.arc...@gmail.com wrote:
 Espanol:

 Creo que la opcion forward only; esta de mas, podrias probar sacarla
 Creo que esa opcion hace que bind pregunte directamente a otros dns, y hay
 ciertas zonas que deberian de buscarse en la tabla local


 English:

 I think the opction forward only; is not supposed to be there, could you
 try reconfigure and test
 I think that makes BIND only ask other DNS servers, and there are some zones
 that should be looked at localy

 saludos.. cheers..

 R


 2009/9/22 Luis Diaz luisdiazmedp...@gmail.com

 Claro si corri la configuracion de red tal como indica la instalacion del
 XS, tambien corri el ejabberd y el squid lo levanté tambien.

 Gracias

 Luis

 On Tue, Sep 22, 2009 at 8:00 AM, Rodolfo D. rodolfo.arc...@gmail.com
 wrote:

 Espanol:

 Corriste la configuracion de red antes de configurar el Bind?

 root@ localhost # /etc/sysconfig/olpc-scripts/domain_config mi_dominio

 mi_dominio reemplazar por tu dominio y sin las comillas

 English:

 Did you execute the domain configuration script before you modified Bind?

 root@ localhost # /etc/sysconfig/olpc-scripts/domain_config my_domain

 my_domain replace for tour domain name without the quotes

 cheers.. saludos..

 R





 2009/9/21 Luis Diaz luisdiazmedp...@gmail.com

 Se esta configurando el XS para usar el OPEN DNS, los pasos que he
 seguido son:
 1) He creado una cuenta de Open DNS y egrege mi red.

 2) En el XS en: /etc/named-xs.conf.in agrege:


 forward   only;

 forwarders  {  208.67.222.222;  208.67.220.220; };

 3) Luego se hizo:
    cd /etc
    make -f xs-config.make named-xs.conf
    /etc/init.d/named restart
 En este punto sale este error:

 School.external.zone.db:4: no TTL specified; zone rejected
 School.external.zone.db:5: no TTL specified; zone rejected
 School.external.zone.db:6: no TTL specified; zone rejected
 .
 .
 zone \...@\@basednsdna...@\@/IN: loading from master file
 school.external.zone.db filed: bad name (check-names)
 external/@@BASEDNSNAME@@/IN: bad name (check-names)


 [FAILED]
 Entonces las laptops ya no entran a internet.
 Que se puede hacer?


 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel




 --
 Rodolfo





 --
 Rodolfo


 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel





-- 
 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] RACHEL, another developing world server project, would like to have a discussion with XS

2009-09-28 Thread Martin Langhoff
On Wed, Sep 23, 2009 at 1:16 AM, Dennis Nguyen
denniskdngu...@alumni.duke.edu wrote:
 I work with a volunteer project launched about a year ago that is
 working on developing a server package for education in the developing

Very interesting. Welcome to the list and hope you get a chance to meet Sameer!

Some questions - after an incomplete read of the RACHEL  website:

 - The content guidelines hint that the content must be able to be
served from a 'dumb' server (you are proposing wikis and similar are
included in a deployment but separate from content). This is good, and
means OLPC XS can re-use your content...

 - How do you build indexes and/or search across the content?

 - It mentions 'Wikipedia'.
   = Do you include all languages? The local language? Local lang +
Simple English? Some other variation?
   = Is anyone curating the wikipedia snapshots? OLPC has found that
after taking a 'wikislice' you _really_ want to spot-check all the
content, as you are bound to have some vandalism and inappropriate
content there (very small percentage, but when you capture a
large-enough slice...)
   = Which wikislice tool are you using?

 - Languages? Localisation?

 - Any consideration to encourage Gnash-compatible Flash?

 - Do you package your content in any way? If the school server has a
limited connection to the internet, can it download an update to the
content that is just delta?

Hope I haven't scared you with the storm of questions.

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] XS Timeout issue (maybe)

2009-09-28 Thread Martin Langhoff
On Wed, Sep 23, 2009 at 1:57 PM, Reuben K. Caron reu...@laptop.org wrote:
 I have set the Mesh Server on the XOs (in the Control Panel) for the
 server's URL, and edited /etc/hosts on the XOs to point toward the
 server's IP address.

 Have you tried to register them via the Register option that can be
 found when hovering over the XO?
 What was the server url that you entered?
 What was the entry in hosts?
...

 Can you switch to the terminal and type the command olpc-netstatus and
 let us  know if the XOs are using gabble or salut?

Reuben's suggestions are right on the mark. An additional thing to
check is -- on the XS -- what the ejabberd server thinks of the
situation, so if you do

 ejabberdctl connected-users

it will list the serial numbers ofthe currentyl connected users. Similar with

 ejabberdctl registered-users `hostname -f`

Note that in general the expectation of the XS/XO software is that
they are on the same network. If the NY and Boston networks are setup
so it is all transparently bridged, bravo. Otherwise, there are lots
of things that could be going wrong there (for example, registration
depends on local resolution of the 'schoolserver' name).

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] XS Timeout issue (maybe)

2009-09-28 Thread Martin Langhoff
On Mon, Sep 28, 2009 at 9:50 AM, Martin Langhoff
martin.langh...@gmail.com wrote:
 Reuben's suggestions are right on the mark. An additional thing to
 check is -- on the XS -- what the ejabberd server thinks of the
 situation, so if you do

Now at...
http://wiki.laptop.org/go/XS_Techniques_and_Configuration#Presence_Service_.28ejabberd.29_Troubleshooting



-- 
 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] noisy service dhcpd status

2009-09-28 Thread Martin Langhoff
On Thu, Sep 24, 2009 at 10:26 AM, Daniel Drake d...@laptop.org wrote:
 Running XS-0.6d, service dhcpd status is unusually noisy. It looks
 like it is regenerating the config file every time I check its status.
 Is this intentional?

For now it is. Neither the 'make' based approach or the remember to
run domain_config approach are quite doing it for us at the moment.

So we are re-generating the files on each call to the init scripts of
some services. Awkward, and generates some pointless churn on disk.

But less awkward than things breaking, and working through all the
configs that need some level of dynamic updating takes some time
(mainly in testing).

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] Ejabberd config question

2009-09-28 Thread Martin Langhoff
On Sat, Sep 26, 2009 at 2:53 PM, Gerald Ardito gerald.ard...@gmail.com wrote:
 This is a question about ejabberd admin configuration.
 In the web admin interface, the list of online users is by jabber id (about
 a million characters long).
 Is is possible to display instead the Nickname?

Unfortunately no, but you could write something that does it within
Moodle. Both Moodle and idmgr have access to the mapping between SN
and nickname.


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] Allowing Auto-Login to Moodle from 2 Domains

2009-09-28 Thread Martin Langhoff
On Sun, Sep 27, 2009 at 2:32 PM, Devon Connolly dev...@gmail.com wrote:
 logging in to moodle.  As auth_olpc only accepts connections using the
 standard schoolser...@domain.com, I would like it to additionally accept a
 no-ip.info host redirect domain.

Sounds like you may want to patch auth/olpcxs :-)

 Second, I know this is a bit more complicated, but what do I need to hack
 to allow firefox/opera to benefit from auto login?

During the startup of Browse, we add a cookie to the cookies.sqlite
file. The cookie is for the domain of the XS, and the value of it is
based on the laptop's serial number  uuid. Have a look at the moodle
code

Of course, it depedns on the XS knowing about the SN and uuid in
advance - and that happens with registration. Registration across 2
networks is not going to be easy :-/

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] XS upgrade

2009-09-28 Thread Martin Langhoff
2009/9/23 Henry Vélez Molina henry.lap...@gmail.com:
 I did an upgrade to the server with yum upgrade from the XS-0.5.2 version
 and I saw some strange things.

 * The transparent proxy does not work, I have to use my browser with the
 proxy ip to get access to the internet.

Jerry's advice on this can't be beaten so i won't try...

 * Before the upgrade I could see the moodle home page and the ejabberd web
 administration, but after that, I can see only the ejabberd page.

Strange!

First: ejabberd web admin should be _gone_. What does `rpm -V xs-config` say?

Second: the problem with Moodle may be related to Postgresql. Can you
tell us the output of these 2 commands?

 chkconfig --list pgsql-xs
 chkconfig --list postgresql

(First one should say 'on' on levels 3,4,5, second should be 'off' on all).

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] Ejabberd config question

2009-09-28 Thread Gerald Ardito
Okay, thanks.
Gerald

On Mon, Sep 28, 2009 at 4:09 AM, Martin Langhoff
martin.langh...@gmail.comwrote:

 On Sat, Sep 26, 2009 at 2:53 PM, Gerald Ardito gerald.ard...@gmail.com
 wrote:
  This is a question about ejabberd admin configuration.
  In the web admin interface, the list of online users is by jabber id
 (about
  a million characters long).
  Is is possible to display instead the Nickname?

 Unfortunately no, but you could write something that does it within
 Moodle. Both Moodle and idmgr have access to the mapping between SN
 and nickname.


 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] XS Timeout issue (maybe)

2009-09-28 Thread Gerald Ardito
Thanks.
G

On Mon, Sep 28, 2009 at 4:03 AM, Martin Langhoff
martin.langh...@gmail.comwrote:

 On Mon, Sep 28, 2009 at 9:50 AM, Martin Langhoff
 martin.langh...@gmail.com wrote:
  Reuben's suggestions are right on the mark. An additional thing to
  check is -- on the XS -- what the ejabberd server thinks of the
  situation, so if you do

 Now at...

 http://wiki.laptop.org/go/XS_Techniques_and_Configuration#Presence_Service_.28ejabberd.29_Troubleshooting



 --
  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] Allowing Auto-Login to Moodle from 2 Domains

2009-09-28 Thread Devon Connolly


Let me explain my setup in a little more detail.  The server DNS is
currently set to the standard schoolserver.notredame.sn.  I grabbed a host
redirect at no-ip.com pointing to my WAN router and subsequently the
server at http://notredamemboro.no-ip.info (have a look).  My intention is
to allow the kids to access server services such as Moodle if they are
sick or during the weekends.  Believe it or not, a number of the kids have
access to wifi outside of school.  My other primary reason is to allow the
kids in each class to make weekly blog posts to document their experiences.

Making the host redirect resolve properly on the LAN is a piece of cake
just appending the address to the hosts file.  As you can see right now,
everything works except moodle on the WAN.  I can make it work on the WAN
by modifying the code in /config.php by simply modifying $CFG-wwwroot.
This allows for everything to resolve correctly on the LAN  WAN but
breaks auth/olpcxs.   To test, I redefined XS_FQDN and replaced
'schoolserver' with the WAN host name.  Again, everything resolves
correctly, but auth doesn't work correctly.  If I were to register an XO
with the domain no-ip.info, I imagine it would work, but wouldn't that
require patching a good deal of the ejabberd config also?   Would it be
terribly complicated to rework auth to base authentication simply on UUID
and serial number on any domain?

If you think this is more work than it is worth, it isn't necessary by any
means.  I just think it would be convenient.

Thanks for the info

On Mon, 28 Sep 2009 08:16:19 -, Martin Langhoff
martin.langh...@gmail.com wrote:

 On Sun, Sep 27, 2009 at 2:32 PM, Devon Connolly dev...@gmail.com wrote:
 logging in to moodle.  As auth_olpc only accepts connections using the
 standard schoolser...@domain.com, I would like it to additionally  
 accept a
 no-ip.info host redirect domain.

 Sounds like you may want to patch auth/olpcxs :-)

 Second, I know this is a bit more complicated, but what do I need to  
 hack
 to allow firefox/opera to benefit from auto login?

 During the startup of Browse, we add a cookie to the cookies.sqlite
 file. The cookie is for the domain of the XS, and the value of it is
 based on the laptop's serial number  uuid. Have a look at the moodle
 code

 Of course, it depedns on the XS knowing about the SN and uuid in
 advance - and that happens with registration. Registration across 2
 networks is not going to be easy :-/

 cheers,


 m


-- 
--
--
Devon Connolly
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] Fwd: Help configuracion de DNS del XS y OpenDNS

2009-09-28 Thread Kevin Mauricio Benavides Castro
Hola como estas martin he tenido algunos problemas con los dns del server
shool la cual a mi entregaron la informacion de los dns que tengo que poner
en el servidor

te explico el procedimiento que hago en el XS

# cp /usr/share/doc/xs-config-*/ifcfg-eth0-local.example
  /etc/sysconfig/network-scripts/ifcfg-eth0-local

Seguidamente se editare el archivo “ifcfg-eth0-local” con el editor de texto
*nano, *el comando es el siguiente

# nano /etc/sysconfig/network-scripts/ifcfg-eth0-local

El editor me muestra lo siguiente



 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=18.85.46.29
IPV6ADDR=2001:4830:2446:ff00::2/64
NETMASK=255.255.255.0
#NETWORK=18.85.46.0
#BROADCAST=18.85.46.255
GATEWAY=18.85.46.1

Ahora martin la informacion que yo tengo que poner es la siguiente


la coloco y no me funciona el internet no se si tengo que hacer otra
configuracion mas con la otra targeta de red como hay dos puesta e el XS que
nosotros tenemos no se si tengo que hacer la misma configuracion con la
eth01 ???


y los dns de OpenDNS donde los coloco 

he tenido conflictos en esta parte como hacer



gracias


y felicidades :-)








-- 
Kevin Mauricio Benavides Castro
Fundación Zamora Terán
www.fundacionzt.org
Technical Support-Nicaragua OLPC
-
www.fedoraproject.org
Fedora Project Developer
Linux User: #12356
image002.jpg___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] RACHEL, another developing world server project, would like to have a discussion with XS

2009-09-28 Thread Dennis Nguyen
Hi Martin, thanks for the warm welcome!

We would definitely welcome re-use of the content, but since I'm relatively
new to this particular project I don't have an expert sense of the
particular permissions we have with the content providers as is. I will look
into it.

Indexing: none! All of the content is currently listed on the index page
with bare HTML. In our defense, this is a relatively new and shorthanded
project, and our very first priority is gathering content while the indexing
is supposed to follow later. I agree that indexing is sorely needed if we
want to bring this to scale.

The wikislice we're using for the moment is the 2008/9 Wikipedia Selection
for schools, which is handpicked front-to-back to fit the UK national
curriculum. The website with details for that is at
http://schools-wikipedia.org/

Currently for languages and localization, we're definitely improvising based
on locales we've visited and are planning to visit, and we attempt to gauge
what we can get away with as we go. We have English and Spanish content so
far.

This project has a voracious appetite for content, and as such we'd rather
stuff the project with content first regardless of compatibility with open
projects like Gnash. As is, the donated user equipment we've encountered so
far runs Flash on donated Windows, so at the moment mandating standards on
our (generous) content providers doesn't seem like the best proposition at
this time.

Nightly updates are on the drawing board as a feature and have been for
months. Again we've got limited manpower on this project, so once we find a
solution and a dedicated volunteer we can take a crack at it.

You can probably tell from this that this project is in a very early stage
as far as maturity of the platform is concerned. I'm working to engage you
folks at an early stage in case you have something grand to teach us :-)
Please let me know if you have any other questions! Again, our approach here
is content-first, which does have its weaknesses but it has been working
surprisingly well so far.

Dennis Nguyen


On Mon, Sep 28, 2009 at 12:41 AM, Martin Langhoff martin.langh...@gmail.com
 wrote:

 On Wed, Sep 23, 2009 at 1:16 AM, Dennis Nguyen
 denniskdngu...@alumni.duke.edu wrote:
  I work with a volunteer project launched about a year ago that is
  working on developing a server package for education in the developing

 Very interesting. Welcome to the list and hope you get a chance to meet
 Sameer!

 Some questions - after an incomplete read of the RACHEL  website:

  - The content guidelines hint that the content must be able to be
 served from a 'dumb' server (you are proposing wikis and similar are
 included in a deployment but separate from content). This is good, and
 means OLPC XS can re-use your content...

  - How do you build indexes and/or search across the content?

  - It mentions 'Wikipedia'.
   = Do you include all languages? The local language? Local lang +
 Simple English? Some other variation?
   = Is anyone curating the wikipedia snapshots? OLPC has found that
 after taking a 'wikislice' you _really_ want to spot-check all the
 content, as you are bound to have some vandalism and inappropriate
 content there (very small percentage, but when you capture a
 large-enough slice...)
   = Which wikislice tool are you using?

  - Languages? Localisation?

  - Any consideration to encourage Gnash-compatible Flash?

  - Do you package your content in any way? If the school server has a
 limited connection to the internet, can it download an update to the
 content that is just delta?

 Hope I haven't scared you with the storm of questions.

 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