Re: [Server-devel] Wikiserver on XS

2008-07-01 Thread Bryan Berry
good thing there are brighter bulbs involved in olpc than myself :)

cbj I will have to look at your code for wikislice and see how it
harvests the images from wikipedia. I was having the most trouble w/
that part. Perhaps wikislice can easily be reused for wiktionary

we like wiktionary because it is quite small and it has audio samples
that say the word. Nepali kids seem really like the latter feature.

-Original Message-
From: Chris Ball [EMAIL PROTECTED]
To: Bryan Berry [EMAIL PROTECTED]
Cc: server-devel@lists.laptop.org
Subject: Re: [Server-devel] Wikiserver on XS
Date: Mon, 30 Jun 2008 12:06:51 -0400

Hi,

I tried setting up a Wiktionary server on a shared server that our
pilots have access to and it was a major pain in the ass. After 3
days I couldn't get it to work. I had a lot of trouble downloading
and importing the images, perhaps Chris Ball's wikislices gets this
right. I will have to look at the code and ask him.

Oh, you mean using the wikislice technology to build a snapshot of the
dictionary data from wiktionary, rather than the wikipedia data?  That's
an interesting idea.

The wikislices are alright but they don't allow for searching for
content which I think is an essential feature.

Yes, they do; when you run the Wikipedia activity, there's a search
toolbar that searches against the local index.  (You might be confusing
the Wikipedia activity with some hand-made Wikislice HTML content
bundles that SJ made quite a while ago.)

- Chris.

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


[Server-devel] VPN server for our project

2008-07-01 Thread s . boutayeb
Hi,

OLPC France is plannig a project Windrose
(http://wiki.laptop.org/go/Projects/WindroseOLPC ) consisting for the schools
among the world participating in the project to share and publish their contents
(text, images, videos, etc.) in a semi-private BLOG (likely EduBlogger).

My question: has anyone experimented the fonction of a VPN network involving
remote XS servers ?
Our concern is to protect the privacy of the kids, allowing private areas and
public areas and making the login process easier for the kids/teachers. The
communication/authentification to the VNP server will possibly be organised via
a local XS server.

Thank you for your comments

Best regards

Samy



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


Re: [Server-devel] Want to package PostgreSQL for OLPC

2008-07-01 Thread Devrim GÜNDÜZ
On Wed, 2008-06-25 at 08:48 -0400, Martin Langhoff wrote:

 How hard is it to get a backport of Pg8.2/8.3, plus some key
 dependencies (php-pgsql, python-pgsql, pam-pgsql) recompiled to use
 the new libpq, all on F7?

http://yum.pgsqlrpms.org ;)

I have already built all PG combinations against Fedora 7-8-9 and RHEL
4,5. 

We have compat packages, and all pam-pgsql, etc in that repository. So,
using those files won't be a problem.

 Also - I see you work at CommandPrompt -- so I'll throw a wishlist
 item I have on my list in your direction. Perhaps you, or someone at
 CommandPrompt has something similar. With Pg packaged, what we will
 need to come up with is ~3 sets of config files tuned for different
 memory footprints. The same XS image will be used in hosts with
 various memory configurations - 256MB RAM on XO hardware, 1GB on the
 recommended config, and high-end hosts may have more RAM.

Sure, it is doable -- I can do it for you.

 Pg cannot take all of that memory, but perhaps 15%-20% is a reasonable
 footprint. The workload for Pg is mainly Moodle and MediaWiki.

Ok.

 One of the key things for the XS is that we should not OOM, and our
 working set _must not_ end up in swap. And we have several services we
 have to run, so it's a bit of a tough diet on RAM usage. We gotta
 sweat every MB :-)

You are right.

So, please let me know when you need the config files, and also how can
I submit those packages to OLPC repository.

Regards,
-- 
Devrim GÜNDÜZ , RHCE
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, ODBCng - http://www.commandprompt.com/


signature.asc
Description: This is a digitally signed message part
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Want to package PostgreSQL for OLPC

2008-07-01 Thread Devrim GÜNDÜZ
On Wed, 2008-06-25 at 09:44 -0400, Martin Langhoff wrote:
 
  We have compat packages, and all pam-pgsql, etc in that repository.
 So,
  using those files won't be a problem.
 
 Fantastic! So python-pgsql and php-pgsql are there too?

python-psycopg2 is there, but not php-pgsql. The question is: Is
php-pgsql already in OLPC package set? If yes, we have compat packages
to satisfy dependencies. If not, I can give it a shot.

 ...
  So, please let me know when you need the config files, and also how
 can
  I submit those packages to OLPC repository.
 
 When? Yesterday ;-)  - but perhaps there is no need for rebuilding the
 packages. What I am wondering about is what the best solution is to
 maintain those alternative configurations long-term.


 Perhaps we could have a postgresql-server-altinit package that
 provides an alternative init script + config files and disables the
 init script from postgresql-server. The alternative init check memory
 size, and starts with the appropriate config files.

Maybe we can solve this issue during initdb process, and copy the
preconfigured config file based on the memory to data directory after we
run initdb.

It may be easier to maintain...

BTW... I must admit that I did not work for OLPC project before, so I
don't know how to do things.

Regards,
-- 
Devrim GÜNDÜZ , RHCE
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, ODBCng - http://www.commandprompt.com/


signature.asc
Description: This is a digitally signed message part
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Laptop XS working

2008-07-01 Thread David Leeming
Martin/list

To remind you, I am getting to know the XS using an installation on a
laptop, with 2 XO-B4s and 1 XO-1, all running build 703 and G1G1 activity
pack. I have followed the configuration instructions for a small school
server, ejabberd starts on boot etc. I have tested the server with and
without Internet access via Ethernet.

I am using a prototype active antenna that obviously is working fine.

I had initial success, finding that all three XOs immediately could access
the server and Internet through the browser, and they could see each other
in the neighbourhood, share and invite.

I then registered all three, this was uneventful. The register option no
longer appears on the XOs. 

However, the result (unless this is a red herring) is that they can all
still access the server and Internet but do not see each other any more in
the neighbourhood and cannot collaborate. 

Can you point to any lines of attack to diagnose the problem.

I can see the school mesh and simple (olpc) mesh with my Windows laptop.


David Leeming
Technical Advisor, People First Network
Tel: +677 76396(m) 24419(h) 26358 (w)
www.leeming-consulting.com


-Original Message-
From: Martin Langhoff [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 1 July 2008 8:40 a.m.
To: David Leeming
Cc: Pia Waugh; Phill Hardstaff; Jeff Waugh; Ian Thomson; Barry Vercoe;
Michael Hutak; OLPC Australia Board; XS Devel
Subject: Re: Laptop XS working

On Mon, Jun 30, 2008 at 4:14 PM, David Leeming
[EMAIL PROTECTED] wrote:
 I got them collaborating (at the same time accessing Internet - so via the
 server) without even registering. How could that be? But I will do so.

XOs are smart enough to collaborate even without the XS, and in this
case they are using the AP but not using the ejabberd-provided
services for collaboration. The main difference is that it scales much
*much* better once they've registered and are using it.

 Can you explain the importance of the domain name. I just called mine
 oceania.org. Do we need to register domain names for external services?

None whatsoever.

I've copied this reply to [EMAIL PROTECTED] - let's have technical
questions and answers archived *there* -- it is pretty hard for me to
scale if the technical questions are asked in private. Doing it in the
public list means they are archived and searchable :-)

cheers,



m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- 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] Laptop XS working

2008-07-01 Thread David Leeming
OK, done all that, 

I was fooled for a while, when logging onto ejabberd via the web interface
(on a connected XO) I did not realise you need to enter the full username,
i.e. [EMAIL PROTECTED] I bet that will fool a few other novices
like me :) 

Two of the 3 laptops are now OK, but the third does not find the school mesh
and reverts to the simple mesh. This happened after I registered it, it then
locked up and had to be rebooted.. last question is, how does one remove
the registered laptop, reset the XO (I can always reinstall it) and
re-register it?


David Leeming


-Original Message-
From: Martin Langhoff [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 2 July 2008 9:38 a.m.
To: David Leeming
Cc: Pia Waugh; Phill Hardstaff; Jeff Waugh; Ian Thomson; Barry Vercoe;
Michael Hutak; OLPC Australia Board; XS Devel
Subject: Re: Laptop XS working

On Tue, Jul 1, 2008 at 6:07 PM, David Leeming
[EMAIL PROTECTED] wrote:
 I then registered all three, this was uneventful. The register option no
 longer appears on the XOs.

 However, the result (unless this is a red herring) is that they can all
 still access the server and Internet but do not see each other any more in
 the neighbourhood and cannot collaborate.

 Can you point to any lines of attack to diagnose the problem.

The output of the olpc-netstatus script is a key debugging tool. What
do they say?

A couple of questions that might help the matter

- Did you restart the laptops after registration?

- Did you configure ejabberd appropiately? Look in the configuration
guide thesteps to setup the Online roster.


cheers,




m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- 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] Laptop XS working

2008-07-01 Thread David Leeming
John,

Thanks, I have set it up now, including the roster, and it seems fine.
Thanks all,

David Leeming
Technical Advisor, People First Network
Tel: +677 76396(m) 24419(h) 26358 (w)
www.leeming-consulting.com


-Original Message-
From: John Watlington [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 2 July 2008 3:10 p.m.
To: David Leeming
Cc: John Watlington; OLPC Australia Board; Pia Waugh; Barry Vercoe; Martin
Langhoff; Michael Hutak; Phill Hardstaff; Ian Thomson; XS Devel; Jeff Waugh
Subject: Re: [Server-devel] Laptop XS working


On Jul 1, 2008, at 6:38 PM, Martin Langhoff wrote:

 On Tue, Jul 1, 2008 at 6:07 PM, David Leeming
 [EMAIL PROTECTED] wrote:
 I then registered all three, this was uneventful. The register  
 option no
 longer appears on the XOs.

 However, the result (unless this is a red herring) is that they  
 can all
 still access the server and Internet but do not see each other any  
 more in
 the neighbourhood and cannot collaborate.

 Can you point to any lines of attack to diagnose the problem.

 The output of the olpc-netstatus script is a key debugging tool. What
 do they say?

 A couple of questions that might help the matter

 - Did you restart the laptops after registration?

 - Did you configure ejabberd appropiately? Look in the configuration
 guide thesteps to setup the Online roster.

Symptom:
olpc-netstatus shows all laptops running gabble to a server,
the ejabberd admin page shows the laptop online,
but the laptops can't see one another.

This sounds like the online roster isn't setup properly.
Another possibility is that there needs to be a DNS entry
for conference.schoolserver resolvable on the school server.
(An obscure riff on this is that ejabberd uses erlang name
resolution, which tends to use alternate nameserver entries
more aggressively than libc.  Make sure that /etc/resolv.conf
only points to the local nameserver.)

Can we get more details about the laptop XS ?  Is it on an XO 

wad

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