Re: [Server-devel] Name server operation

2009-10-05 Thread Martin Langhoff
On Fri, Oct 2, 2009 at 7:51 PM, Jerry Vonau 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 on its own

Re: [Server-devel] Name server operation

2009-10-04 Thread Martin Langhoff
On Fri, Oct 2, 2009 at 7:51 PM, Jerry Vonau wrote: >        I was thinking of a clean way to introduce the forward nameserver info > for the nameservice that the XS provides. The nice way that dnsmasq uses I like dnsmasq, and I am liking it even more as time passes. The thing is: I am looking at

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 : > "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 'on' on levels 3,4,5, se

Re: [Server-devel] fresh 0.6 install

2009-10-02 Thread Martin Langhoff
On Fri, Oct 2, 2009 at 5:39 PM, Tim Moody 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 if there is > noth

Re: [Server-devel] fresh 0.6 install

2009-10-02 Thread Martin Langhoff
On Fri, Oct 2, 2009 at 4:55 PM, Jerry Vonau wrote: > Why not something from 172.18.1.0 or 172.18.0.0 space?  At least then > you can reach it from the local lan. Yeah, it's reasonable. Anything in 127.18.1.X where X is higher than 8 is not in use, so safe... m -- martin.langh...@gmail.com

Re: [Server-devel] fresh 0.6 install

2009-10-02 Thread Martin Langhoff
On Fri, Oct 2, 2009 at 3:39 PM, Tim Moody wrote: >>> There was a complaint about /var/lib/pgsql/data missing. >>> There was a complaint about upgrading moodle. Even if it "complaints", as long as it succeeds we are in business. The logfile /var/log/moodle-instupg.log should end with a line that t

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

2009-10-02 Thread Martin Langhoff
On Fri, Oct 2, 2009 at 2:12 AM, Norberto Mujica wrote: > I took a quick look at the content you guys have already packaged as > collections and available at http://wiki.laptop.org/go/Library_grid > It looks great, and it seems you guys are putting lots of efforts on > good content gathering. Cool

Re: [Server-devel] XS upgrade

2009-10-01 Thread Martin Langhoff
2009/9/29 Martin Langhoff : > 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 was getting stuck, upgr

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 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 suppose inclusion > in deriva

Re: [Server-devel] firewalling/nocat

2009-09-30 Thread Martin Langhoff
On Tue, Sep 29, 2009 at 9:39 PM, Jerry Vonau 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. One thing to

Re: [Server-devel] DNS/dhcp question

2009-09-30 Thread Martin Langhoff
On Wed, Sep 30, 2009 at 12:49 AM, Gerald Ardito 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 later when the XS is up

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

2009-09-29 Thread Martin Langhoff
2009/9/28 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 > Ok. El procedimiento que estás siguendo para configurar la IP, y el el router / g

Re: [Server-devel] Allowing Auto-Login to Moodle from 2 Domains

2009-09-29 Thread Martin Langhoff
On Mon, Sep 28, 2009 at 5:04 PM, Devon Connolly wrote: > My intention is > to allow the kids to access server services such as Moodle if they are > sick or during the weekends. That was a key piece of info we didn't have :-) OK, so a completely unsupported approach that will probably work (you s

Re: [Server-devel] XS upgrade

2009-09-29 Thread Martin Langhoff
2009/9/28 Henry Vélez Molina : >> 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 your connectivity pr

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

2009-09-29 Thread Martin Langhoff
On Tue, Sep 29, 2009 at 5:13 AM, Dennis Nguyen wrote: > Hi Martin, thanks for the warm welcome! My pleasure! > 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 th

Re: [Server-devel] XS upgrade

2009-09-28 Thread Martin Langhoff
2009/9/23 Henry Vélez Molina : > 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

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 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 :-) > Seco

Re: [Server-devel] Ejabberd config question

2009-09-28 Thread Martin Langhoff
On Sat, Sep 26, 2009 at 2:53 PM, Gerald Ardito 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 co

Re: [Server-devel] noisy "service dhcpd status"

2009-09-28 Thread Martin Langhoff
On Thu, Sep 24, 2009 at 10:26 AM, Daniel Drake 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 dom

Re: [Server-devel] XS Timeout issue (maybe)

2009-09-28 Thread Martin Langhoff
On Mon, Sep 28, 2009 at 9:50 AM, Martin Langhoff 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

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 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 > fo

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 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 - afte

Re: [Server-devel] server ecurity

2009-09-28 Thread Martin Langhoff
2009/9/22 Jerry Vonau : > No dhcp tricks, using iptables's packet marking, you tag the traffic > from the mac address/ip combo, directing the packet flow in to some new > tables where the rules are predefined. After a good week away, I am a changed man :-) The behaviour of NoCat is what I had --

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] server ecurity

2009-09-22 Thread Martin Langhoff
2009/9/22 Henry Vélez Molina : > ¿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, moodle will have to tr

Re: [Server-devel] server ecurity

2009-09-22 Thread Martin Langhoff
2009/9/21 Jerry Vonau : > 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 proxy, we are us

Re: [Server-devel] server ecurity

2009-09-21 Thread Martin Langhoff
2009/9/21 Jerry Vonau : > 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 accomplish, the i

Re: [Server-devel] server ecurity

2009-09-21 Thread Martin Langhoff
Hi Henry! 2009/9/19 Henry Vélez Molina : > 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 > server to prevent access

Re: [Server-devel] XS Wiki pages - thanks, some tidyups

2009-09-18 Thread Martin Langhoff
On Fri, Sep 18, 2009 at 6:26 PM, Martin Langhoff wrote: > On Fri, Sep 18, 2009 at 6:22 PM, Martin Langhoff > wrote: >> There is a note now inviting people to mention on server-devel about >> their edits. I don't want to stop anyone from editing -- a brief note > > An

Re: [Server-devel] XS Wiki pages - thanks, some tidyups

2009-09-18 Thread Martin Langhoff
On Fri, Sep 18, 2009 at 6:22 PM, Martin Langhoff wrote: > There is a note now inviting people to mention on server-devel about > their edits. I don't want to stop anyone from editing -- a brief note An alternative here would be to have something like the 'CategoryWatch' ex

[Server-devel] XS Wiki pages - thanks, some tidyups

2009-09-18 Thread Martin Langhoff
I cleaned up a bit School_server, XS_Installing_Software and related pages in the wiki. First of all - *Thanks* - I see a lot of notes copied there that come from discussions on the list. This is excellent. Some of those notes I have moved to a separate page -- this is to make the install page a

[Server-devel] xs-activation update, and antitheft howto

2009-09-18 Thread Martin Langhoff
In the last few weeks I wrote up several procedures related to activation and antitheft tools in Spanish. I now had a chance to write it up in the wiki http://wiki.laptop.org/go/Antitheft_HowTo Together with the writeup, there is a small update to xs-activation so recommended: yum --enable

Re: [Server-devel] Attempting to re-install jabber component of XS without re-installing the entire server

2009-09-18 Thread Martin Langhoff
On Fri, Sep 18, 2009 at 10:59 AM, Daniel Bennett wrote: > Booyahkhshaa! Good to hear it worked! Strange that the DB would have been in a stage where Moodle cannot get it going, and does not give a meaningful error. > P.S.  if i first opened the website (http://schoolserver.lccnjimeta.org

Re: [Server-devel] Attempting to re-install jabber component of XS without re-installing the entire server

2009-09-18 Thread Martin Langhoff
On Fri, Sep 18, 2009 at 10:41 AM, Daniel Bennett wrote: > Unfortunately, > > Moodle is not working now. Bizarre! Can you try... # this will clear out the moodle database sudo -u postgres dropdb moodle-xs # clear out the install log rm /var/log/moodle-instupg.log and then retry the

Re: [Server-devel] Attempting to re-install jabber component of XS without re-installing the entire server

2009-09-18 Thread Martin Langhoff
On Fri, Sep 18, 2009 at 10:30 AM, Daniel Bennett wrote: > Given that the error log mentioned "version mangling" I have been trying to > re-install/update moodle and I've run into the following peculiarity (or it > seems peculiar to me anyway). The 'version mangling' thing is a fixup to an old bug

Re: [Server-devel] Attempting to re-install jabber component of XS without re-installing the entire server

2009-09-18 Thread Martin Langhoff
On Fri, Sep 18, 2009 at 10:20 AM, Daniel Bennett wrote: > Verified > Verified:  postmaster (pid 2904 2903 2902 2901 2899 2804) is running... > Verified: just these (4 rows) > Verified: It continues for 406 rows All perfect then! > Given that I'm getting all the same outputs you have included in

Re: [Server-devel] DNS/dhcp question

2009-09-18 Thread Martin Langhoff
On Fri, Sep 18, 2009 at 2:55 AM, Gerald Ardito wrote: > I have the XS server up and running on a Dell. Good! - What version of the XS? - Did you follow the standard installation procedures? - What happens if you do ...? ping -c1 `hostname -f` > Eth0 is connected to the internet. good

Re: [Server-devel] Attempting to re-install jabber component of XS without re-installing the entire server

2009-09-17 Thread Martin Langhoff
On Thu, Sep 17, 2009 at 7:11 PM, Daniel Bennett wrote: >> >>   rpm -q moodle-xs > > moodle-xs-1.9.5.xs1.1.gc292d55-1.xs9.noarch >> >>   rpm -V moodle-xs (should be empty) > > returns nothing Thanks. I had to re-read your logs a bit. In brief: I made the mistake of reading the moodle-instupg.log

Re: [Server-devel] Attempting to re-install jabber component of XS without re-installing the entire server

2009-09-17 Thread Martin Langhoff
On Thu, Sep 17, 2009 at 6:23 PM, Daniel Bennett wrote: > http://sprunge.us/NcQT > http://sprunge.us/MERg Hmmm. Very odd! Can you check that your moodle-xs package is correct? What's the output of rpm -q moodle-xs rpm -V moodle-xs (should be empty) > That curl to sprunge.us trick is nifty.

Re: [Server-devel] Attempting to re-install jabber component of XS without re-installing the entire server

2009-09-17 Thread Martin Langhoff
On Thu, Sep 17, 2009 at 5:30 PM, Daniel Bennett wrote: > EnvironmentPHP Fatal error:  Call to undefined function > upgrade_fix_incorrect_mnethostides() in /var/moodle/web/lib/db/upgrade.php > on line 3167 > [Time date] Finished install / upgrade - Failure That might be the culprit. Very weird. St

Re: [Server-devel] Attempting to re-install jabber component of XS without re-installing the entire server

2009-09-17 Thread Martin Langhoff
On Thu, Sep 17, 2009 at 4:11 PM, Daniel Bennett wrote: > We saw this message at boot, not sure if it's relevant: > AICCU is not configured go to /etc/aiccu That's normal. > pssql now starts on boot, but we are still getting the same results when > accessing: > http://172.18.0.1/(moodle/) Just t

Re: [Server-devel] Troubles running F9 mock chroot under F11

2009-09-17 Thread Martin Langhoff
On Thu, Sep 17, 2009 at 1:47 PM, Daniel Drake wrote: > Thanks! Got it working as follows: >  1. extract ISO >  2. copy in new ks file >  3. add more RPMs to Packages/ (using creative use of yumdownloader to > make sure that deps come with the new RPMs) >  4. createrepo --database --groupfile repod

Re: [Server-devel] Attempting to re-install jabber component of XS without re-installing the entire server

2009-09-17 Thread Martin Langhoff
On Thu, Sep 17, 2009 at 1:54 PM, Martin Langhoff wrote: > Quick howto: How about... ? http://wiki.laptop.org/go/XS_Controlling_Presence_from_Moodle m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted wi

Re: [Server-devel] timestamps on backups

2009-09-17 Thread Martin Langhoff
On Thu, Sep 17, 2009 at 2:13 PM, Martin Langhoff wrote: > mktime() that was bogus. Replace mktime() with gmmtime(), the 3 times > it appears in dsbackuplib.php and the problem is gone. I meant gmmktime() :-) m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect

Re: [Server-devel] timestamps on backups

2009-09-17 Thread Martin Langhoff
On Thu, Sep 17, 2009 at 1:55 PM, Hamilton Chua wrote: >>  - Can you confirm date --utc is correct on the XS and on the involved XOs? > > Yes, date--utc on both XS and XO's are the same if not close to each > other, the difference being a few seconds. thanks > I checked the directory names and it

Re: [Server-devel] Attempting to re-install jabber component of XS without re-installing the entire server

2009-09-17 Thread Martin Langhoff
On Thu, Sep 17, 2009 at 12:37 PM, Daniel Bennett wrote: >>   rpm -V kernel > dan: I got no news, so I guess it worked Good! > dan: I ran: >  ejabberdctl connected-users > It returns long output like (the random string here is made up by me): > 34209381afaa07fa9df...@schoolserver.lccnjimeta.org/T

Re: [Server-devel] timestamps on backups

2009-09-17 Thread Martin Langhoff
On Thu, Sep 17, 2009 at 1:13 PM, Hamilton Chua wrote: > /etc/sysconfig/clock says that the timezone of the system is > "America/New York" which is probably the timezone PHP is using. That's weird. Questions - Can you confirm date --utc is correct on the XS and on the involved XOs? - If you lo

Re: [Server-devel] Attempting to re-install jabber component of XS without re-installing the entire server

2009-09-17 Thread Martin Langhoff
On Thu, Sep 17, 2009 at 11:51 AM, Daniel Bennett wrote: > I ran : > yum --enablerepo=olpcxs-testing update > > It downloaded overnight and I ran the upgrade this morning. Good... > It both seemed to work and seemed to fail. > > Failure: during the install of the "kernal" module there was an I/O

Re: [Server-devel] Attempting to re-install jabber component of XS without re-installing the entire server

2009-09-16 Thread Martin Langhoff
On Wed, Sep 16, 2009 at 3:36 PM, Daniel Bennett wrote: > I installed what I think was 0.5.2 which was the newest stable release > available when I brought it to Jimeta in late March of 09. What does the following command say? cat /etc/issue > So the steps that I should take are: > > 1) backup

Re: [Server-devel] timestamps on backups

2009-09-16 Thread Martin Langhoff
On Wed, Sep 16, 2009 at 2:28 PM, Hamilton Chua wrote: > I'm not sure if anybody has noticed this yet but after doing a backup, > it seems the datestamps on the backup page are wrong. We might need more detail than that if we're to understand the situation :-) > Is there something about time zone

Re: [Server-devel] Attempting to re-install jabber component of XS without re-installing the entire server

2009-09-16 Thread Martin Langhoff
On Wed, Sep 16, 2009 at 12:55 PM, Daniel Bennett wrote: > 3) Any other newbie level recommendations? If the XS is on 0.5.x, and you can make a backup, I would strongly recommend yum --enablerepo=olpcxs-testing update which will bring updates from the Fedora-9 series (good!) and will upgrade

Re: [Server-devel] Attempting to re-install jabber component of XS without re-installing the entire server

2009-09-16 Thread Martin Langhoff
On Wed, Sep 16, 2009 at 12:55 PM, Daniel Bennett wrote: > I've recently returned to our pilot implementation in Jimeta, Nigeria for a > follow up teacher training and I found the server in need of quite a bit of > work. XS version? > When attempting: > service ejabberd status > > I was receiving

Re: [Server-devel] Various XS updates

2009-09-15 Thread Martin Langhoff
On Thu, Sep 10, 2009 at 4:13 PM, Martin Langhoff wrote: > I've built and published new packages for moodle-xs, xs-config and > xs-activity-server today. These solve a number of small issues And due to a silly mistake, the moodle-xs package got caught up and never appeared in the s

Re: [Server-devel] Backup of user home

2009-09-15 Thread Martin Langhoff
On Tue, Sep 15, 2009 at 3:25 PM, Raul Gutierrez Segales wrote: > But how will a non-root user be able to read the backup files > at /library/users give the following permissions: Look at the acls for a hint. Apache can already read those files :-) But your post points out an important distinctio

Re: [Server-devel] Troubles running F9 mock chroot under F11

2009-09-15 Thread Martin Langhoff
On Tue, Sep 15, 2009 at 12:02 PM, Daniel Drake wrote: > I then tried to create a F9 chroot using mock, with the intention of > running revisor or pungi inside. This doesn't work, because mock > creates a v9 berkeley DB inside the chroot, but the libraries/apps > inside the chroot only support bdb

Re: [Server-devel] [PATCH] create_user: fix handling of parameters - fixes empty authorized_keys

2009-09-15 Thread Martin Langhoff
On Tue, Sep 15, 2009 at 12:28 PM, Daniel Drake wrote: > oops, I ran into the same issue with my own patch but looks like I > completely forgot to send a fixed one. Thanks for taking care of that! Bad boy! Question: have you got other forgotten patches? Now'd be a good time to hear of them... m

Re: [Server-devel] public keys not getting written to authorized_keys file during registration

2009-09-15 Thread Martin Langhoff
On Mon, Sep 14, 2009 at 3:59 PM, Hamilton Chua wrote: > I'm not sure if anybody has experienced this yet. Using XS version > 0.6d5, when I register a user the public key doesn't get written to the > authorized_keys file for the new user. Thanks for the bug report and the diagnosis! I've pushed ou

[Server-devel] [PATCH] create_user: fix handling of parameters - fixes empty authorized_keys

2009-09-15 Thread Martin Langhoff
We need doublequotes for interpolation. Single quotes look more symmetrical in if [ "$a" == 'x' ] constructs but we want the left side to be interpolated and the right side to be taken literally. --- scripts/create_user |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git

Re: [Server-devel] Backup of user home

2009-09-15 Thread Martin Langhoff
Hi Rodolfo, On Mon, Sep 14, 2009 at 9:26 PM, Rodolfo D. wrote: > I'm working on a backup and restore feature for our schoolservers, and I got > stuck on home directories of laptops Interesting task. You aren't telling us much about your setup -- specifically, how is the network conn between your

Re: [Server-devel] [IAEP] Where should we put Lesson Plans? Currwiki?

2009-09-14 Thread Martin Langhoff
On Mon, Sep 14, 2009 at 3:16 PM, Caroline Meeks wrote: > Thank Martin! > Your email really helped me. No prob. I generally agree w your notes, except that reuse is heavily crossed by - languages and dialects - local culture, mores and MoE study programme not sure what Curriki's approach is. I

Re: [Server-devel] [IAEP] Where should we put Lesson Plans? Currwiki?

2009-09-14 Thread Martin Langhoff
On Sun, Sep 13, 2009 at 9:08 AM, David Van Assche wrote: > > Actually, points 4.1 and 4.2 have been integrated into moodle for quite a > while now. Perhaps its the flexibility which is making these possibilities Yes, but they are awkward for young users. I think Caroline refers to "easier to use

Re: [Server-devel] [IAEP] Where should we put Lesson Plans? Currwiki?

2009-09-14 Thread Martin Langhoff
Some notes I think may be interesting. On Sat, Sep 12, 2009 at 4:58 PM, Caroline Meeks wrote: > > For the Moodle advocates. I am a big Moodle fan. But I don't think its our > right now solution for the work we are talking about doing. > > >1. Our target, elementary school teachers are not cur

[Server-devel] Moodle-xs updates - merge 1.9.5+, theme, bugfixes

2009-09-11 Thread Martin Langhoff
http://dev.laptop.org/git/users/martin/moodle.git/?h=mdl19-xs (and new RPMs on olpcxs-testing) I've merged the latest 1.9.5+ -- this is a long overdue merge, bringing several bugfixen. There are also fixes to a DB schema versioning error I discovered last night. No changes for end users (yet) but

[Server-devel] Various XS updates

2009-09-10 Thread Martin Langhoff
I've built and published new packages for moodle-xs, xs-config and xs-activity-server today. These solve a number of small issues - Moodle now knows the mimetype of xo/xol/xoj Sugar files and various Squeak/etoys filetypes. Added icons for .xo types and Squeak. - Upload limits: now at 110MB on

Re: [Server-devel] iptables generation

2009-09-09 Thread Martin Langhoff
On Wed, Sep 9, 2009 at 6:00 PM, Martin Langhoff wrote: > I've integrated your script, with some changes to make it atomic, as > you can see at > >   http://dev.laptop.org/git/projects/xs-config/commit/ And pushed out the RPM too after testing it quite a bit. The NAT'ing pr

Re: [Server-devel] iptables generation

2009-09-09 Thread Martin Langhoff
Hi Joshua, I've integrated your script, with some changes to make it atomic, as you can see at http://dev.laptop.org/git/projects/xs-config/commit/ There are some problems, however, with the NAT setup. In my setup here, we clearly need to provide a -s parameter to definte the src addresses. A

Re: [Server-devel] [Sugar-devel] DB module for moodle in XS server serously coool and needed addittion

2009-09-08 Thread Martin Langhoff
On Sat, Sep 5, 2009 at 2:56 AM, David Van Assche wrote: > To create a easy reference for linux commands, the best way was to use the > Moodle database module. You can create quite elaborate databases which are > then easily edited and added to by users. http://moodle.org/mod/forum/discuss.php?d=13

Re: [Server-devel] change upload size on XS

2009-09-08 Thread Martin Langhoff
On Fri, Sep 4, 2009 at 10:03 PM, Sameer Verma wrote: > How do I get Moodle to accept uploads > 2MB on the XS? I am planning to bump that much higher -- as Reuben & the OLPCCorps folks have pointed it out. Some info here http://docs.moodle.org/en/Administration_FAQ#How_do_the_limits_on_uploaded_f

Re: [Server-devel] [Sugar-devel] splitting large xol

2009-09-08 Thread Martin Langhoff
On Sat, Sep 5, 2009 at 1:49 PM, Daniel Drake wrote: > 63mb should be fine. Of course, it will eat 63mb on every XO that it Perhaps someone's hit issues when uncompressing it -- perhaps on an older build? I'd recommend making the large bundle and testing that it unpacks without OOM'ing a "loaded"

Re: [Server-devel] bios-crypto directory

2009-09-01 Thread Martin Langhoff
2009/9/1 Kevin Mauricio Benavides Castro : > En la maquina A tiene que ser una xo normal a esta le voy a bajar el RMP del > Bios crypto  entonces entro a la Terminal del XO he instalo el bios-crypto > aquí mismo copiare las llaves maestra del bios crypto pero en que directorio > las copio las llave

Re: [Server-devel] configure a crypto bios xs

2009-09-01 Thread Martin Langhoff
Hola Kevin, ustedes van a necesitar 3 máquinas en total, como describo más abajo: A - XO para firmar -- con el OS normal del XO + el RPM de olpc-bios-crypto. Bájate el RPM de olpc-bios-crypto que indiqué en el email anterior, instálalo en esta máquina. Copia las llaves "maestras" de Nicaragua a

Re: [Server-devel] bios-crypto

2009-08-31 Thread Martin Langhoff
Hi Kevin! the XS includes the olpc-bios-crypto package. Try rpm -qi olpc-bios-crypto and rpm -ql olpc-bios-crypto to see the files. To upgrade yum --enablerepo=olpcxs-testing install olpc-bios-crypto cheers, m On Mon, Aug 31, 2009 at 11:19 PM, Kevin Mauricio Benavides Castro wrote:

Re: [Server-devel] stress testing schoolservers...

2009-08-31 Thread Martin Langhoff
On Thu, Aug 27, 2009 at 1:27 AM, Sameer Verma wrote: > I have a student who has to work on a graduate project. He has a > background in using Selenium at Youtube. I'm thinking of getting him Interesting! On the XS, we have various things that would be stress-testable. - On the web front, Moodle

Re: [Server-devel] [Sugar-devel] Jabber Testing Monday Aug 24

2009-08-31 Thread Martin Langhoff
Hi Caroline, sorry about the delay -- catching up on XS things now -- enormous thanks for the report. So controlling for Gadget and reg'd numbers, it seems that the ejabberd version (or perhaps other XS compoment) version makes a difference. The ejabberd upgrade was very significant, and the rew

Re: [Server-devel] OLPC-School-Server-0.6d5 -

2009-08-28 Thread Martin Langhoff
On Fri, Aug 28, 2009 at 6:05 PM, Sameer Verma wrote: > What's the approx. timeline for 0.6 to go stable? 3 months ago :-/ -- other than that... ASAP. > We are sending a XS > box to a location where we don't have any remote access to it and no > local expertise to run it. Should we use 0.5x or 0.6

[Server-devel] OLPC-School-Server-0.6d5 -

2009-08-28 Thread Martin Langhoff
A new iso / img pair -- uploading right now to http://xs-dev.laptop.org/xs/other/ 390MOLPC-School-Server-0.6d5-i386.img.gz 550MOLPC-School-Server-0.6d5-i386.iso 49543371846637d4462cf48428cb9e309c0ff3d0 OLPC-School-Server-0.6d5-i386.img.gz cf65b211eacabfb6f90a87d06f2972f4a0942b51 OLPC-Sc

[Server-devel] Preparando un XS-en-XO...

2009-08-27 Thread Martin Langhoff
[Hi list - brief msg in Spanish about how to get XS-on-XO...] Hola Raúl, Kevin, Este email va copiado a la lista server-devel. Les recomiendo suscribirse (tal vez no con la cuenta del trabajo, si tienen una cuenta con gmail o similar, y le ponen filtros / labels adecuados, funciona perfecto). La

Re: [Server-devel] Antitheft: sending a fake stolen...

2009-08-24 Thread Martin Langhoff
On Mon, Aug 24, 2009 at 11:45 PM, C. Scott Ananian wrote: > so you should probably return a > lease which is valid except for the fact that the signed string has an > randomly-chosen UUID Exactly my thoughts -- as you can see in the bug. Implementing that goes beyond merely coding it -- it would m

Re: [Server-devel] iptables generation

2009-08-24 Thread Martin Langhoff
Hi Joshua, Thanks for this! I'll be playing with it today a bit. I think it is good, though I will make it default to eth0 as the WAN port :-) cheers, martin On Mon, Aug 24, 2009 at 7:29 AM, Joshua N Pritikin wrote: > On Tue, Aug 11, 2009 at 10:15:39PM +0530, Joshua N Pritikin wrote: >> On Tue

Re: [Server-devel] Moodle Profile on the XS - Should we just hide that tab completely?

2009-08-24 Thread Martin Langhoff
On Thu, Aug 20, 2009 at 3:10 PM, Caroline Meeks wrote: > We are using Moodle for backup and I am looking at the UI.  The Profile Tab > is asking people to put in their Surname and shows a made up email address. ATM, I am partial to hiding some fields (email,etc). The 'email address' is also the ej

[Server-devel] Antitheft: sending a fake stolen...

2009-08-24 Thread Martin Langhoff
A while ago, Daniel fixed a bug in my changes to olpc-update, and that left me with a to-do item on the xs-activation side. Reviewed the situation on the OAT proto concept of always sending a stolen token, with the idea that xs-activation should do what the protocol proposes: always send a 'stolen

Re: [Server-devel] idmgr broken in latest 0.6

2009-08-20 Thread Martin Langhoff
On Tue, Aug 18, 2009 at 9:05 AM, Daniel Drake wrote: > 2009/8/18 Daniel Drake : >> The spec file would then ordinarily cause the upgrade_2_to_3 to be >> run, but it doesn't because commit 5ef89de945 makes the spec file >> update that file to '3' > > Also upgrade_users_2_to_3 doesn't work if idmgr w

Re: [Server-devel] Scheduled Outage at 1CC--XS-Dev offline

2009-08-20 Thread Martin Langhoff
On Wed, Aug 19, 2009 at 9:21 PM, Reuben K. Caron wrote: > Martin, can you login and schedule a shutdown? bash-3.2# at 18:55 8/22/2009 at> /sbin/shutdown -h now at> job 1 at Sat Aug 22 18:55:00 2009 m -- mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distr

Re: [Server-devel] idmgr broken in latest 0.6

2009-08-18 Thread Martin Langhoff
On Tue, Aug 18, 2009 at 9:02 AM, Daniel Drake wrote: > Latest idmgr in the XS is broken. No laptops can register because the > database is still in the v2 format. you are right. My fix to the installation issue idmgr had is buggy. Working on it - > Also, xs-restore needs the attached patch. Can

Re: [Server-devel] Help Nicaragua

2009-08-18 Thread Martin Langhoff
2009/8/18 Kevin Mauricio Benavides Castro : > Hola a todos los de la lista de correo soy kevin programador proyecto fedora > 11 la cual tengo problemas a la hora del NANBLASTER la cual me pide una > llave de activavion las cuales ya las tenemos pero no se realiza el > nanblaster en las otras maquin

Re: [Server-devel] xs-dev.laptop.org Down?

2009-08-17 Thread Martin Langhoff
On Sun, Aug 16, 2009 at 2:38 PM, Jerry Vonau wrote: > Anybody else having trouble reaching xs-dev.laptop.org? You're right. I can't ssh into it either. CC'ing Ed, Wad and Reuben who have access to the room of doom where xs-dev lives. cheers, m -- martin.langh...@gmail.com mar...@laptop.org

Re: [Server-devel] [Sugar-devel] Sugar frozen when trying to register.. bug in idmgr?

2009-08-14 Thread Martin Langhoff
On Thu, Aug 13, 2009 at 1:22 PM, Raul Gutierrez Segales wrote: > Has anybody experienced Sugar (0.82) freezing when trying to register > against the server? I was unable to register (although connectivity > seemed fine) and when sniffing the network I saw: > > 172.18.0.1.8080 > 172.18.96.196.47780:

Re: [Server-devel] [Sugar-devel] Results of today's Jabber Testing

2009-08-12 Thread Martin Langhoff
On Wed, Aug 12, 2009 at 3:57 AM, Tomeu Vizoso wrote: > I would also like to know if when things go wrong, you have any > mentions of timeouts in the telepathy-gabble.log file. As a more > general strategy, we could compare telepathy-gabble.log between the > machines that work and doesn't and try to

Re: [Server-devel] [Sugar-devel] Results of today's Jabber Testing

2009-08-11 Thread Martin Langhoff
On Tue, Aug 11, 2009 at 8:33 PM, Caroline Meeks wrote: > I worked with the RIT contingent and Dave Farning today to do some > collaboration testing. > We tested with 8 computers on a rarely used dev XS system hosted by Solution > Grove. Interesting! Your report is a bit confusing so I will - yo

Re: [Server-devel] [IAEP] Get Satisfaction

2009-08-11 Thread Martin Langhoff
On Tue, Aug 11, 2009 at 8:40 PM, Luke Faraone wrote: > I think it would be useful to expose a (optionally disableable by the > school) option within the UI to "report a problem", which (after gaining the - If the user can connect to the XS and Moodle (via the AP! using DNS!) - and register! (nee

Re: [Server-devel] [IAEP] Get Satisfaction

2009-08-11 Thread Martin Langhoff
On Tue, Aug 11, 2009 at 2:03 PM, Caroline Meeks wrote: > One of their features is the ability to do single sign to gather more > information about the user.  F Here is my idea of how it might work. > Once Sugar is registered with an XS we could create a single sign on that > would let us know what

Re: [Server-devel] how to copy activation leases to XS?

2009-08-10 Thread Martin Langhoff
On Sun, Aug 9, 2009 at 1:00 PM, Martin Langhoff wrote: > Uruguay, but I can't find it now. I think I posted it on the list - > ah, 'cat-leases' > > http://lists.laptop.org/pipermail/devel/2008-April/012756.html And it's now part of xs-activation, so gets installe

Re: [Server-devel] iptables generation (was Re: pppd restarting mysteriously)

2009-08-10 Thread Martin Langhoff
On Fri, Aug 7, 2009 at 2:15 PM, Joshua N Pritikin wrote: > Here is the script I promised Martin. Right - thanks for that! I assume it works well and it's been tested for normal and ppp0 connectivity over there. How do you trigger it? Can you load the ruleset even if ppp0 is down? I am wondering -

Re: [Server-devel] [Sugar-devel] Backup and Restore for Sugar on a Stick

2009-08-10 Thread Martin Langhoff
On Thu, Aug 6, 2009 at 3:29 PM, Caroline Meeks wrote: > This email is especially for Miguel Salazar and the Chiapas deployment. > The code for backup and restore of Sugar Sticks using the XS is awaiting > code review, if you can please test it. > http://dev.sugarlabs.org/ticket/916 > http://dev.sug

Re: [Server-devel] XS backup/restore feature

2009-08-10 Thread Martin Langhoff
On Tue, Aug 4, 2009 at 11:30 AM, Daniel Drake wrote: > could these be included in xs-tools? :) reviewed, merged, made an rpm and published it (in the 'olpcxs-testing' repo). Thanks - and sorry about the horrible latency. Things getting back to normal now... cheers, m -- martin.langh...@gmail

Re: [Server-devel] Fwd: Simple Digital Library Index System

2009-08-10 Thread Martin Langhoff
On Wed, Aug 5, 2009 at 1:00 AM, Mike Dawson wrote: > The way it's designed is that the Java program just runs once to > generate the indexes. (...) This can then be served by bare apache. right! That's exactly what I was hoping to hear, and quite exceptional too. Most projects lose sight of the va

[Server-devel] Fwd: F11 testing for XS

2009-08-10 Thread Martin Langhoff
Over the last could of weeks Jerry's been exploring the F11 rebase. Here are his notes. Forwarded conversation Subject: F11 testing for XS From: *Jerry Vonau* Date: Fri, Jul 31, 2009 at 12:42 PM To: Martin Langhoff Changing the repos used in xs-livecd to F11 re

Re: [Server-devel] how to copy activation leases to XS?

2009-08-09 Thread Martin Langhoff
On Sun, Aug 9, 2009 at 11:38 AM, Joshua N Pritikin wrote: > Goal: I have a bunch of already activated XO laptops. I want to be able > to serve activation leases from the school server so I can reflash the > NAND with NANDblaster. At this stage, I don't want to create deligated > leases. Ok. > Loo

Re: [Server-devel] [Sugar-devel] Backup and Restore for Sugar on a Stick

2009-08-08 Thread Martin Langhoff
On Sat, Aug 8, 2009 at 6:07 AM, Tomeu Vizoso wrote: > I'm confused, did you meant to say not break if _not_ running on SoaS? I've asked for a rework on the patch so that it works on the olpc os (w sugar 0.82) as well as on SoaS. The compat needs are easy so I rather have an if() clause here and th

Re: [Server-devel] revisor-2.1.8 rebuilt for F9

2009-08-07 Thread Martin Langhoff
On Thu, Aug 6, 2009 at 10:40 PM, Daniel Drake wrote: > It didn't work. Revisor is quite tied into anaconda, and revisor takes > advantage of various new changes in anaconda. It fails with the old > one shipped in F9. Getting new anaconda running on F9 looks like a big > headache. > > :( Yes. Jerry

<    1   2   3   4   5   6   7   8   9   10   >