Re: [Server-devel] server ecurity

2009-09-21 Thread Martin Langhoff
Hi Henry! 2009/9/19 Henry Vélez Molina henry.lap...@gmail.com: Our server is working very good with 0.5.2 version. But now, we have a big network in the neighborhood that is coming to the children´s houses through each access point. For that reason we need to have a big security on the

Re: [Server-devel] server ecurity

2009-09-21 Thread Martin Langhoff
2009/9/21 Jerry Vonau jvo...@shaw.ca: Don't hand out the gateway address from the dhcp server? Limit access to the net based on the mac addresses of OXs that are known to the XS maybe? Cron script to change the iptables rules outside of school hours maybe? Tell us what you would like to

Re: [Server-devel] server ecurity

2009-09-22 Thread Martin Langhoff
2009/9/21 Jerry Vonau jvo...@shaw.ca: Your proxy is slow to re-load the iptables rule-set? How many lines? No no. You got a mixup there :-). Adding/removing rules from iptables is fast -- we can create a new chain and add rules, flush it, etc. So we can manipulate rules there hot. For the

Re: [Server-devel] server ecurity

2009-09-22 Thread Martin Langhoff
2009/9/22 Henry Vélez Molina henry.lap...@gmail.com: ¿wheres is the moodle file with the XO´s registration? Some info in /home/idmgr/identity.db , and you will want to hook into /var/www/moodle/web/auth/olpcxs/auth.php which is the code that handles the automagic login. When the login succeeds,

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

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

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

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

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

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?

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

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

Re: [Server-devel] XS upgrade

2009-09-29 Thread Martin Langhoff
2009/9/28 Henry Vélez Molina henry.lap...@gmail.com: First: ejabberd web admin should be _gone_. What does `rpm -V xs-config` say? SM5T c/fsckoptions Ok. That sounds _very_ sane. Can you re-run domain_config and restart the machine? The ejabberd web UI should be gone after that. (And

Re: [Server-devel] DNS/dhcp question

2009-09-30 Thread Martin Langhoff
On Wed, Sep 30, 2009 at 12:49 AM, Gerald Ardito gerald.ard...@gmail.com wrote: How about this: 1. eth0 is plugged into our school network/internet 2. eth1 is connected via ethernet cable to an access point. Yes. This is what I would recommend to keep things simple... and your sanity now and

Re: [Server-devel] firewalling/nocat

2009-09-30 Thread Martin Langhoff
On Tue, Sep 29, 2009 at 9:39 PM, Jerry Vonau jvo...@shaw.ca wrote: I've worked up what I think the basic layout of what the firewall rules need to look like that would be used with nocat's access.fw I've Hey, that looks good! Haven't tested it either, but it reads logical and right to my eyes.

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

2009-10-01 Thread Martin Langhoff
On Thu, Oct 1, 2009 at 1:50 AM, Dennis Nguyen denniskdngu...@alumni.duke.edu wrote: Right now our content has a melange of licenses, with the majority being CC. Of course we do request permission from all of our content holders before packaging anything, which gets us past a few issues, but I

Re: [Server-devel] XS upgrade

2009-10-01 Thread Martin Langhoff
2009/9/29 Martin Langhoff martin.langh...@gmail.com: and then restart... with the restart, moodle should get started correctly... I have been playing with upgrades of 0.5.2 to 0.6 today and found a problem in the Moodle upgrade. Now fixed, and published as a new moodle-xs package. If Moodle

Re: [Server-devel] fresh 0.6 install

2009-10-02 Thread Martin Langhoff
On Fri, Oct 2, 2009 at 5:39 PM, Tim Moody timmo...@sympatico.ca wrote: In the end I've decided to try another fresh install. Good to see that itworked well! I think my main problem was in assuming that if a second nic is present in the box, that the install would configure it for the lan even

Re: [Server-devel] XS upgrade

2009-10-04 Thread Martin Langhoff
CC'ing the list again - let's keep it on list so otehrs can help too... 2009/10/2 Henry Vélez Molina henry.lap...@gmail.com: Error: Database connection failed. Hmm. Can you tell me the output of these again? chkconfig --list pgsql-xs chkconfig --list postgresql (First one should say

Re: [Server-devel] Name server operation

2009-10-05 Thread Martin Langhoff
On Fri, Oct 2, 2009 at 7:51 PM, Jerry Vonau jvo...@shaw.ca wrote: dnsmasq on lo only and point bind to the use lo as the forwarder. This requires dnsmasq to listen on 127.0.0.1 and bind on 172.18.0.1. The resolv.conf.in file wound need to be removed from git, so the OS could manage resolv.conf

Re: [Server-devel] Name server operation

2009-10-05 Thread Martin Langhoff
On Sun, Oct 4, 2009 at 6:16 PM, Rodolfo D. rodolfo.arc...@gmail.com wrote: I vote in favor of dnsmasq.. We all do. But I am leaning seriously towards F11. speaking of F11.. we read some issues regarding F9, and the whole infrastructure needed to build it.. I must admit that i understood less

[Server-devel] wlan0 as your WAN port

2009-10-05 Thread Martin Langhoff
Only good for development and testing, but good nonetheless. Anyway, quick notes on... http://wiki.laptop.org/go/XS_Techniques_and_Configuration#Using_a_wireless_NIC_for_WAN cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions -

[Server-devel] Howto: Segregating presence by course groups

2009-10-05 Thread Martin Langhoff
http://wiki.laptop.org/go/XS_Techniques_and_Configuration#Segregating_presence_by_course_groups from earlier discussion on this list... m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff -

[Server-devel] XS-0.6 -

2009-10-07 Thread Martin Langhoff
65d0816e002fe83f4e0130b6a92577377b9fd2e3 OLPC-School-Server-0.6-i386.iso c872907f1f696ea7bb1bb6e95319fa27e62ce76c OLPC-School-Server-0.6-i386.img.gz The 2 files above are transferring to xs-dev currently. Will take a couple more hours before they are there. Once they are in place I will move

[Server-devel] XS - rebase on F-11, notes and RHF

2009-10-08 Thread Martin Langhoff
So the F-9-based XS-0.6 is closed (at long last), and the next step is to prep 0.7 based on F-11. Here is a rundown of the packaging / installer work I think needs to be done: =Rebuild packages, spec fixups= Jerry Vonau has done a lot of the exploratory work, so mostly done I think. Thanks!

Re: [Server-devel] XS - rebase on F-11, notes and RHF

2009-10-08 Thread Martin Langhoff
On Thu, Oct 8, 2009 at 12:16 PM, Peter Robinson pbrobin...@gmail.com wrote: 0.6 looks like a great release. Thanks! 99.98% of the code is Fedora so it's gotta be very good :-) I would encourage you to look at using F-12 rather than F-11. F-12 will be more likely to be the base for RHEL-6

Re: [Server-devel] XS - rebase on F-11, notes and RHF

2009-10-08 Thread Martin Langhoff
On Thu, Oct 8, 2009 at 11:48 AM, Martin Langhoff martin.langh...@gmail.com wrote: So the F-9-based XS-0.6 is closed (at long last), and the next step is In the 0.6 set of packages there are 2 that stand out as generic packages that Fedorans may find interesting. Be warned though

Re: [Server-devel] XS - rebase on F-11, notes and RHF

2009-10-08 Thread Martin Langhoff
On Thu, Oct 8, 2009 at 1:07 PM, Mathieu Bridon (bochecha) boche...@fedoraproject.org wrote: I think I told you that at the SugarCamp in Paris You weren't the only one :-) and in general it seemed to make sense. Ah, well. We're programmers, not mindreaders. After a bit of thought, initially at

Re: [Server-devel] XS - rebase on F-11, notes and RHF

2009-10-08 Thread Martin Langhoff
On Thu, Oct 8, 2009 at 1:31 PM, Peter Robinson pbrobin...@gmail.com wrote: Well if i can help out in any regards there feel free to ping me. Thanks! Will keep the offer in mind :-) m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions -

[Server-devel] Working on the XS F11 rebase

2009-10-09 Thread Martin Langhoff
Working on... Packages: * idmgr - rebuilt * usbmont * pam_sotp -- help! doesn't build * ds-backup * ejabberd - rebuilt ** consider rebasing on 2.0.5, this will require remerging and retesting @online@ patches * fakeroot fakechroot: F11 has current versions * kernel-xs: we'll have to get XO-1

Re: [Server-devel] another distro?

2009-10-09 Thread Martin Langhoff
On Fri, Oct 9, 2009 at 6:01 PM, Sameer Verma sve...@sfsu.edu wrote: Now that we have XS 0.6 in the Stable, I'll raise the issue once more. Are we at a point in development where we can reassess the issue of basing the XS on other distros such as Debian stable or Ubuntu LTS? It is definitely

Re: [Server-devel] another distro?

2009-10-09 Thread Martin Langhoff
On Fri, Oct 9, 2009 at 11:43 PM, Devon Connolly dev...@gmail.com wrote: How about Gentoo?  Can't beat portage. I am still trying to compile an answer for that... :-) m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get

Re: [Server-devel] create_user and re-registration

2009-10-12 Thread Martin Langhoff
On Mon, Oct 12, 2009 at 10:25 AM, Daniel Drake d...@laptop.org wrote: What does sort -u do? The man page doesn't make it very clear. Same as sort|uniq, but... The awk command I inserted simply removes all lines from a file that are a duplicate of another. Or at least I hope it does - I don't

Re: [Server-devel] create_user and re-registration

2009-10-12 Thread Martin Langhoff
Now that makes more sense :-) m On Mon, Oct 12, 2009 at 10:53 AM, Daniel Drake d...@laptop.org wrote: 2009/10/12 Martin Langhoff martin.langh...@gmail.com: So that's the issue. I think you sent the wrong patch. No awk line in the patch, at least that I can see... Odd, lets try again

Re: [Server-devel] Problemas con el Internet con el XS

2009-10-12 Thread Martin Langhoff
2009/10/12 Kevin Mauricio Benavides Castro kbenavi...@americancollege.edu.ni: Hola como estas martin tengo un problema con el XS con lo que es el internet Hola Kevin! que en uno de los servidores lo configuro normal a como estan configurado el resto pero parece que este no transmite internet

Re: [Server-devel] fresh XS 0.6 install

2009-10-12 Thread Martin Langhoff
On Mon, Oct 12, 2009 at 6:13 PM, tkk...@nurturingasia.com wrote: Thanks. As I read the threads I figured out that I need to make some change to the idmgr.conf so that it listen to specific IP of my XS. Timely help from Dave Hamilton save my day - added BIND_ADDRESS=192.168.1.22 (my XS IP)

Re: [Server-devel] CCCS XS deployment

2009-10-13 Thread Martin Langhoff
On Tue, Oct 13, 2009 at 3:37 PM, Josh Totoro jtot...@chartersmi.com wrote: This limited the number of users per XS to 350 total and more like 100 concurrent. Why?  The kids only see other kids from their own building Unless you've configured that explicitly from Moodle, that is a hint of

Re: [Server-devel] Moodle/Ejabberd group config

2009-10-13 Thread Martin Langhoff
On Tue, Oct 13, 2009 at 5:22 PM, Dave Bauer d...@solutiongrove.com wrote: I am trying to test out the Moodle/Ejabberd course/group configuration following http://wiki.laptop.org/go/XS_Techniques_and_Configuration#Segregating_presence_by_course_groups I turned on the presence service on

Re: [Server-devel] Moodle/Ejabberd group config

2009-10-13 Thread Martin Langhoff
On Tue, Oct 13, 2009 at 5:58 PM, Dave Bauer d...@solutiongrove.com wrote: I tracked this down. In moodle/web/auth/olpcxs/auth.php where schoolserver is set as the hostname. I changed it to use php_uname('n') and it is working now. I'll submit a patch if you think this is workable. It coincides

Re: [Server-devel] Moodle/Ejabberd group config

2009-10-13 Thread Martin Langhoff
On Tue, Oct 13, 2009 at 6:37 PM, Dave Bauer d...@solutiongrove.com wrote: It was concatenating 'schoolserver' . $XS_FQDN where our XS is not called schoolserver. Arggg. This won't be the only thing broken then, several bits on the client side hardcode 'schoolserver'... Play with the domain

Re: [Server-devel] datastore is corrupt message after aliasing

2009-10-14 Thread Martin Langhoff
On Wed, Oct 14, 2009 at 6:44 AM, Hamilton Chua hamilton.c...@gmail.com wrote: We are seeing a problem after aliasing. When you visit the backup tab we get the error message Datastore is corrupt, or has unknown format ... or is empty. Are you using a recent moodle-xs? I was sure I had fixed

Re: [Server-devel] Strange Presence Anomoly?

2009-10-14 Thread Martin Langhoff
Interesting! Would be useful to test ... - checking that all XOs are on gabble throughout the adventure (maybe one of them saw an error and switched to salut at one point?) - checking whether it happens with an 'under a tree' setup -- with no ejabberd m On Wed, Oct 14, 2009 at 3:53 AM,

Re: [Server-devel] .6 release and Dansguardian

2009-10-16 Thread Martin Langhoff
On Fri, Oct 16, 2009 at 4:08 PM, Devon Connolly dev...@gmail.com wrote: I'm not sure what I am overlooking but was anything changed in .6 that could be breaking my Dansguardian install?  My iptables are set up as before adding the following entries: Hi! Yes, there has been a change in

Re: [Server-devel] .6 release and Dansguardian

2009-10-17 Thread Martin Langhoff
On Sat, Oct 17, 2009 at 2:15 AM, Devon Connolly dev...@gmail.com wrote: Right, I appended the aforementioned entries to iptables-xs.in so that the resulting iptables-xs file reflected the modifications, but the rules still did not take affect. And you did /etc/init.d/iptables restart to make

Re: [Server-devel] unregister soas

2009-10-18 Thread Martin Langhoff
On Sun, Oct 18, 2009 at 1:13 AM, Devon Connolly dev...@gmail.com wrote: # su - postgres # psql # \connect moodle-xs # DELETE FROM mdl_user; That will definitely mess up Moodle. Login as admin and delete the acct from the UI. But to re-register an XO, you _do not need to do any of the XS

Re: [Server-devel] Public folders in 0.6

2009-10-18 Thread Martin Langhoff
On Sat, Oct 17, 2009 at 10:22 PM, David Leeming da...@leeming-consulting.com wrote: Great work XS team! Thanks! I have upgraded 0.5.2 to 0.6 successfully. I want the choice to use Moodle or to be able to browse public folders of HTML content. Previously I did this by adding a file html.conf

Re: [Server-devel] moodle permissions

2009-10-18 Thread Martin Langhoff
On Sat, Oct 17, 2009 at 5:44 PM, Tim Moody timmo...@sympatico.ca wrote: User 1 (Admin), who was the first to register with XS, creates a news item that appears on the home page User 2 (Teacher) doesn't see it. Is this expected? Not expected. Maybe the news item is set to hidden? m --

Re: [Server-devel] rebuilding pam_sotp -- __stack_chk_fail_local ?

2009-10-19 Thread Martin Langhoff
On Thu, Oct 15, 2009 at 12:28 PM, Douglas Bagnall doug...@paradise.net.nz wrote: I've found these two files.  It looks like the cleverly named diff.diff shows what you need to do, and pam_sotp-cc-link.diff is the meta-patch that patches in the patch, and is what you actually want. Bingo!

Re: [Server-devel] Question from University of Delaware XO Class

2009-10-21 Thread Martin Langhoff
On Wed, Oct 21, 2009 at 9:40 PM, Josh Totoro jtot...@chartersmi.com wrote: Can you back up specific files, or does it back up the whole XO? It will back up the whole Journal, but not the whole XO. But if you are trying to publish specific files, you have Moodle installed, and doing automagic

[Server-devel] PolicyKit dependency chain for headless machines

2009-10-23 Thread Martin Langhoff
Working on the OLPC XS rebase to F11 -- I end up with random bits of gnome and kde, brought in by PolicyKit, which wants a PolicyKit-authentication-agent. Yum only seems to know of KDE and Gnome authentication-agents. How does PK handle users logging in in a VT? What is the authentication agent

[Server-devel] Early F11 XS build

2009-10-23 Thread Martin Langhoff
In between various complications, I have been working on getting an initial rebase of the XS packages and build infra to F11. After much wrangling with revisor, comps and image-creator, I have an initial installer iso and an image that boots on the XO-1. The XO image tests reasonably well, I

Re: [Server-devel] Early F11 XS build

2009-10-25 Thread Martin Langhoff
On Sat, Oct 24, 2009 at 9:51 AM, Peter Robinson pbrobin...@gmail.com wrote:   -- the vanilla F11 kernels fail to boot on the XO -- expected? I think it should boot but I don't think the boot.fth is created but its been a while since I've got around to trying it on my XO. boot.fth is created

Re: [Server-devel] unregister soas

2009-10-27 Thread Martin Langhoff
On Tue, Oct 27, 2009 at 2:30 AM, David Leeming da...@leeming-consulting.com wrote: I don't have access to the XO used as admin in 0.5.2 before upgrading. I want to restore Moodle and all the ejabberd data to fresh install status and then start again. Is thispossible? I suppose I can just

Re: [Server-devel] unregister soas

2009-10-27 Thread Martin Langhoff
On Tue, Oct 27, 2009 at 9:32 AM, Martin Langhoff martin.langh...@gmail.com wrote:   rm -fr /library/moodle-xs/* Actually, that line should be rm -fr /var/lib/moodle/* cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions

Re: [Server-devel] Backup and Recovery

2009-10-27 Thread Martin Langhoff
On Mon, Oct 26, 2009 at 10:27 PM, Caroline Meeks carol...@solutiongrove.com wrote: Backup is now working for us but when I try to recover files by clicking on Hi Caroline! You are a bit of a moving target, I don't know what XS you are using, or what Sugar you are using. And which ds-backup you

Re: [Server-devel] Early F11 XS build

2009-10-27 Thread Martin Langhoff
On Mon, Oct 26, 2009 at 10:40 PM, Jerry Vonau jvo...@shaw.ca wrote: http://members.shaw.ca/jvonau/pub/mkusbinstall-F11 http://members.shaw.ca/jvonau/pub/mkusbinstall-F12 Cool. I'll add those to the xs-livecd repo. My XO-1 boots using version 0.7.0 iso as the source for mkusbinstall. Great. I

Re: [Server-devel] Backup and Recovery

2009-10-27 Thread Martin Langhoff
On Tue, Oct 27, 2009 at 3:31 PM, Hamilton Chua hamilton.c...@gmail.com wrote: I see that it is a journal entry with a data file and a metadata directory. I can unzip the data file to get to the backed up files and it has the correct metadata. That sounds right. I think the problem is that

Re: [Server-devel] Backup and Recovery

2009-10-27 Thread Martin Langhoff
On Tue, Oct 27, 2009 at 5:05 PM, Hamilton Chua hamilton.c...@gmail.com wrote: The metadata for the journal is application/vnd.olpc-journal-entry as per its metadata. I'll do a packet capture as you suggested and I'll check the apache server logs too for clues. Then you can probably skip the

Re: [Server-devel] minor xs-activation-httphandler bug

2009-10-27 Thread Martin Langhoff
On Fri, Oct 23, 2009 at 8:32 AM, Daniel Drake d...@laptop.org wrote: xs-activation-httphandler.py does:        lease = myoat.get_lease(sn, 300)        if lease is not None:            myoat.mark_served_lease(sn)            resp[lease] = lease Duh! thanks for the report. Fixed, pushed out.

[Server-devel] Spaces in the 'family'?

2009-10-28 Thread Martin Langhoff
Playing with F11 anaconda, there seems to be a regression in the handling of the 'family' string. In my iso, I have: $ head -n2 .treeinfo [general] family = OLPC School Server $ cat .discinfo 1256302801.615137 OLPC School Server 0.7 i386 1 When anaconda starts, it talks about

Re: [Server-devel] Early F11 XS build

2009-10-28 Thread Martin Langhoff
On Mon, Oct 26, 2009 at 6:42 PM, Jerry Vonau jvo...@shaw.ca wrote: Ok, see two issue, I forgot that the behaviour of method= changed between F9 F11. We now need to make use of stage2= in place of method=(method is going away, anyway). Actually, the winner is repo=hd:LABEL=XSRepo -- with that

Re: [Server-devel] F11: re-installing on an LVM from Kickstart dies with 'name already in use'

2009-10-28 Thread Martin Langhoff
On Wed, Oct 28, 2009 at 3:39 PM, Martin Langhoff martin.langh...@gmail.com wrote: I am seeing anaconda die with a kickstart that defines LVMs and partitions like this: clearpart --drives=sda bootloader --location=mbr part /boot --fstype ext3 --size=100 --ondisk=sda part / --fstype ext3

Re: [Server-devel] xs-activation and OS update info

2009-10-29 Thread Martin Langhoff
On Thu, Oct 29, 2009 at 5:09 PM, Daniel Drake d...@laptop.org wrote: I don't understand this question. My patch only adds it for xs-activation purposes. It is about avoiding maintaining a bespoke lib. If you say it is a variant on a python standard lib, do you think we can subclass it? Or is

Re: [Server-devel] Backup and Recovery

2009-11-02 Thread Martin Langhoff
On Mon, Nov 2, 2009 at 4:43 AM, Hamilton Chua hamilton.c...@gmail.com wrote: I have backported the changes to the strawberry release and restore seems to be working now. Good to hear you've narrowed it down. I'll probably have to apply similar patches on the OLPC F11 Sugar :-) 4) Browse

Re: [Server-devel] First semi-version of Simple Digital Library Index

2009-11-02 Thread Martin Langhoff
On Sun, Nov 1, 2009 at 8:21 PM, Mike Dawson mikeofmanches...@gmail.com wrote: Finally made a first version of Simple Digital Library Index that we have designed here to make libraries easier in limited connectivity scenarios: Good to hear it is progressing! How would the workflow be? I

Re: [Server-devel] First semi-version of Simple Digital Library Index

2009-11-03 Thread Martin Langhoff
On Tue, Nov 3, 2009 at 2:58 PM, Mike Dawson mikeofmanches...@gmail.com wrote: 1. A content team uses the app as a normal desktop java app and exports it all Tell me more about this model. The content team is going to be preparing content for 5 000 XSs, each in one of 5 000 schools. Some of those

Re: [Server-devel] Backup and Recovery

2009-11-10 Thread Martin Langhoff
On Fri, Nov 6, 2009 at 1:41 PM, Hamilton Chua hamilton.c...@gmail.com wrote: Please allow me, you can download a sample of the downloaded backup journal from http://www.solutiongrove.com/backup-journal-sample.tar.bz2 Note that the xoj files don't look like that at all. I think you've tarred

Re: [Server-devel] Backup and Recovery

2009-11-11 Thread Martin Langhoff
On Wed, Nov 11, 2009 at 11:33 AM, Hamilton Chua hamilton.c...@gmail.com wrote: I'm going to grab the patch from http://bugs.sugarlabs.org/ticket/1098 and test it out on SoaS. It will work better in the Journal interaction, but the contents of the document will fail to be loaded in the Activity

Re: [Server-devel] Fresh install of XS 0.6 -- Moodle is disabled at the moment.

2009-11-23 Thread Martin Langhoff
On Mon, Nov 23, 2009 at 7:13 AM, Ben T benjt...@gmail.com wrote: I just did a fresh install of XS 0.6 and now I can't access Moodle.  I dug around in the mail archive but couldn't find anything to fix the problem.  Please see details below. Hi Ben, Strange -- it should not happen. I had seen

Re: [Server-devel] Fresh install of XS 0.6 -- Moodle is disabled at the moment.

2009-11-24 Thread Martin Langhoff
On Tue, Nov 24, 2009 at 3:20 AM, Ben T benjt...@gmail.com wrote: Thanks!  I do software qa. Cool -  - What are your mountpoints? Does /library mount correctly, and does /library/pgsql-xs exist is owned by postgres user? Seems possible that the install process created a /library mountpoint

Re: [Server-devel] Development state

2009-11-27 Thread Martin Langhoff
Hola Ulises! The info on the wiki is sometimes a little bit old. XS-0.6 is stable, and works well. There are of course things we'd like to improve, but XS-0.6 is a very usable, and if you have a deployment, I can only recommend you use it. Recommended reading to get a picture of where we are:

Re: [Server-devel] Fresh install of XS 0.6 -- Moodle is disabled at the moment.

2009-11-27 Thread Martin Langhoff
On Tue, Nov 24, 2009 at 4:17 PM, Martin Langhoff martin.langh...@gmail.com wrote: drwx-- 3 postgres postgres 1024 2009-11-22 13:49 data-8.3 So it exists... and is mounted correctly! What happens if you try to start pgsql-xs service? Does it still complain? With this, and your logs

Re: [Server-devel] Transparent proxy

2009-11-28 Thread Martin Langhoff
2009/11/27 Henry Vélez Molina henry.lap...@gmail.com: We are working with the XS-0.6 version and for the moment all is working well. We want to disable the transparent proxy, for security,  and put it as an intermediary proxy in a different port. Jerry's instructions are right. However, the

Re: [Server-devel] Proxy auto-configuration (was: Re: Transparent proxy)

2009-11-28 Thread Martin Langhoff
2009/11/28 Sascha Silbe sascha-ml-ui-sugar-olpc-de...@silbe.org: On Sat, Nov 28, 2009 at 10:11:44AM +0100, Martin Langhoff wrote: A while ago Pia Waugh figured out how to serve the proxy config via DHCP and to make the XOs obey it (you'll have to google for it as I don't have a link, when you

Re: [Server-devel] Transparent proxy

2009-11-30 Thread Martin Langhoff
2009/11/28 Henry Vélez Molina henry.lap...@gmail.com:  We want to prevent strangers in our network. Ok. Then we need something else I think. The proxy stuff won't help there. Short term options: A - Use WPA with PSK. You can add the password by hand on each XO, or add (again by hand) a

Re: [Server-devel] Transparent proxy

2009-12-02 Thread Martin Langhoff
2009/12/1 Henry Vélez Molina henry.lap...@gmail.com: make: Nothing to be done for `squid/squid-xs.conf'. Sorry - I missed the obvious: make -f xs-config.make squid/squid-xs.conf cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting

Re: [Server-devel] Fresh install of XS 0.6 -- Moodle is disabled at the moment.

2009-12-03 Thread Martin Langhoff
On Thu, Dec 3, 2009 at 1:15 AM, Ben T benjt...@gmail.com wrote: I deleted everything under /library/pgsql-xs/ but 'service pgsql-xs initdb' failed.  Ended up with an initdb.log file that was the same as running 'service postgresql initdb.' That is completely bizarre. I assume that

Re: [Server-devel] XS + CFEngine? / Web CP?

2009-12-09 Thread Martin Langhoff
Hi Mike! thanks for your interest! Brief reply as I am dealing with some RL things that are keeping me away from computers. We definitely need a config mgmt scheme. We need one that is pull-based, however, where each XS (configuration client) requests updates from the configuration server. -

Re: [Server-devel] [IAEP] Sharing EToys projects

2009-12-09 Thread Martin Langhoff
On Mon, Dec 7, 2009 at 12:31 AM, Gerald Ardito gerald.ard...@gmail.com wrote: I am working with 140 5th grade students who are using XOs (mostly) and netbooks with SOAS. About 50 of them are using Etoys to create projects. I am trying to find a way to share them with their teachers and each

Re: [Server-devel] Ejabberd CPU/RAM Spike - Crashes

2009-12-16 Thread Martin Langhoff
Hi Devon, Sure we can debug this. Lots of questions for you - version of XS? - How much physical RAM? - Number of XOs registered, and in use on the network when the problem happens - Output of the commands suggested in

Re: [Server-devel] specs for virtual machines

2009-12-16 Thread Martin Langhoff
On Thu, Dec 10, 2009 at 10:09 PM, Reuben K. Caron reu...@laptop.org wrote: Hrmm, an interesting proposal. I'd be happy to talk to them. This of course would require a ~100% connectivity on site which may be more useful for SOAS deployment's but nonetheless it may be of some interest to OLPC

Re: [Server-devel] Ejabberd CPU/RAM Spike - Crashes

2009-12-17 Thread Martin Langhoff
On Thu, Dec 17, 2009 at 11:35 AM, Devon Connolly dev...@gmail.com wrote: XS Version: 0.6 1 GB Physical Ram, 2GB Swap Ok - the RAM is on the low side for an XS but should handle 150 ok. # ejabberdctl connected-users ... I counted 12 lines in the output of connected-users. That should not cause

Re: [Server-devel] Ejabberd CPU/RAM Spike - Crashes

2009-12-17 Thread Martin Langhoff
On Thu, Dec 17, 2009 at 1:12 PM, Martin Langhoff martin.langh...@gmail.com wrote On Thu, Dec 17, 2009 at 11:35 AM, Devon Connolly dev...@gmail.com wrote: XS Version: 0.6 1 GB Physical Ram, 2GB Swap Ok - the RAM is on the low side for an XS but should handle 150 ok. # ejabberdctl connected

Re: [Server-devel] Ejabberd CPU/RAM Spike - Crashes

2009-12-17 Thread Martin Langhoff
On Thu, Dec 17, 2009 at 9:32 PM, Devon Connolly dev...@gmail.com wrote: The server had an uptime of about 50 days before this occurred.  There were no problems and nothing has changed in the 2 or so days since this problem began.  Like had said previously, it seems to have occurred since

Re: [Server-devel] Ejabberd CPU/RAM Spike - Crashes

2009-12-18 Thread Martin Langhoff
On Fri, Dec 18, 2009 at 1:37 PM, Devon Connolly dev...@gmail.com wrote: Anyway, back on topic...  Here is that script slightly modified running on a fresh boot.  I'm going to leave this looping and post the file to pastebin.  Here is an initial output after only like 10 minutes.  It will get

Re: [Server-devel] Ejabberd crash (first test with SOAS Blueberry)

2009-12-18 Thread Martin Langhoff
Hi Ray, welcome to the list! Questions for debugging... - Did you follow the steps that include (among other things) running domain_config? Make sure you follow http://wiki.laptop.org/go/XS_Installing_Software carefully, there are steps to follow after the installer program is done. - Once

Re: [Server-devel] XO 1.5 to XS-onXO1 behavior

2009-12-19 Thread Martin Langhoff
Hi Sameer, that's expected, unfortunately. The XS-on-XO runs an active antenna / mesh gateway in the sense of 802.11s. As the current XO-1.5 drivers/firmware don't talk 802.11s, it won't work. In that sense, the XO-1.5 is the same as any other 802.11a/b/g device. There are two paths to address

Re: [Server-devel] Ejabberd CPU/RAM Spike - Crashes

2009-12-19 Thread Martin Langhoff
On Sat, Dec 19, 2009 at 1:31 PM, Devon Connolly dev...@gmail.com wrote: Beam is still consuming 100% of the cpu after a few minutes.  I'm going to leave that script running to see what it does over the next few hours. That's really abnormal. - Is there any disk anomaly? (Reboot forcing a

Re: [Server-devel] XO 1.5 to XS-onXO1 behavior

2009-12-20 Thread Martin Langhoff
On Sun, Dec 20, 2009 at 2:41 AM, John Gilmore g...@toad.com wrote: The least common denominator in the XO-1 and XO-2 clients is a connection to an access point.  So making the XS (on any hardware) provide a standard 802.11 access point would probably be the easiest path forward. That's right.

Re: [Server-devel] Public folders in 0.6 - trials in Pacific

2009-12-20 Thread Martin Langhoff
On Sat, Dec 19, 2009 at 7:34 AM, David Leeming da...@leeming-consulting.com wrote: It works beautifully. Great! Just one question - how do I make the site files visible to users? You should be able to link to it, and there should be no password prompt. When you copy the link, what does it

Re: [Server-devel] Managing global site resources when using segregated groups

2009-12-20 Thread Martin Langhoff
On Sun, Dec 20, 2009 at 1:27 AM, David Leeming da...@leeming-consulting.com wrote: I am getting to grips with the impressive functionality of 0.6! Surely you exaggerate ;-) -  I have global resources, i.e. a general library for everyone to view. I set this up as a course called

Re: [Server-devel] Ejabberd CPU/RAM Spike - Crashes

2009-12-20 Thread Martin Langhoff
On Sat, Dec 19, 2009 at 7:32 PM, Devon Connolly dev...@gmail.com wrote:  - Is there any disk anomaly? (Reboot forcing a fsck?) Not that I've noticed. Ok, but can you try doing a reboot that forces fsck? As follows: touch /forcefsck reboot or shutdown -Fr now Verify checked out on the

Re: [Server-devel] Managing global site resources when using segregated groups

2009-12-21 Thread Martin Langhoff
On Sun, Dec 20, 2009 at 11:40 PM, David Leeming da...@leeming-consulting.com wrote: That was very helpful, Martin. I will try the global glossary. I also noted that if users are added as guests only, then they can see the resources but are not connected by the presence service. A less elegant

[Server-devel] Fwd: PDF resources in Moodle

2009-12-21 Thread Martin Langhoff
Let's keep it on-list... -- Forwarded message -- From: Martin Langhoff martin.langh...@gmail.com Date: Mon, Dec 21, 2009 at 2:42 PM Subject: Re: [Server-devel] PDF resources in Moodle To: David Leeming da...@leeming-consulting.com On Mon, Dec 21, 2009 at 4:30 AM, David Leeming

Re: [Server-devel] Ejabberd CPU/RAM Spike - Crashes

2009-12-21 Thread Martin Langhoff
On Sun, Dec 20, 2009 at 12:57 PM, Martin Langhoff martin.langh...@gmail.com wrote: Yep, I am interested in getting to the bottom of this. I think I have an initial assessment of the situation. Clearly, the mnesia DB got corrupted somehow. Because of that... - the init script did cannot stop

Re: [Server-devel] Ejabberd CPU/RAM Spike - Crashes

2009-12-21 Thread Martin Langhoff
On Mon, Dec 21, 2009 at 3:14 PM, Martin Langhoff martin.langh...@gmail.com wrote: Now it's up on a pristine state, and I am monitoring it... Ok - the problem seems related to Moodle's control of ejabberd presence service. The sync between Moodle and ejabberd data (in mnesia) was taking too long

Re: [Server-devel] Problema con Squid en XS sobre Vmware

2009-12-21 Thread Martin Langhoff
Hemos tenido un problema recientemente con VMWare y Postgres que tampoco arranca. La solucion es -- durante la instalación -- configurar /library para que sea una partición normal, evitnado usar LVM. Busca en el archivo de la lista para más detalles... m 2009/12/21 Alexis Pardo

Re: [Server-devel] Pushing Activities to XOs

2009-12-21 Thread Martin Langhoff
On Sun, Dec 20, 2009 at 1:52 PM, Gerald Ardito gerald.ard...@gmail.com wrote: I have about 140 XOs connecting to a XS server (version .6). Can I push activities to the laptops? Yes but... - it is only easy if you prepared things on your base image for the XOs beforehand - it doesn't 'push'

Re: [Server-devel] Various / PDF resources in Moodle

2009-12-28 Thread Martin Langhoff
On Thu, Dec 24, 2009 at 2:47 AM, David Leeming da...@leeming-consulting.com wrote: A Todays files folder would be useful Sounds right. You can make that now, by hand, and add a link to it from the homepage, or from the top section of the course. (1) what happens if the version on the XS is

Re: [Server-devel] Various / PDF resources in Moodle

2009-12-28 Thread Martin Langhoff
On Mon, Dec 28, 2009 at 10:47 AM, Martin Langhoff martin.langh...@gmail.com wrote: (A) PDFs uploaded to Moodle folders always open in the Rainbow-Daemon dialogue when you left click on the links. If you go to hyperlinks on HTML pages either in my local public folders or out on the net, a PDF

<    2   3   4   5   6   7   8   9   10   >