Re: [Server-devel] New XS-0.6d2
On Sat, Jun 6, 2009 at 1:55 AM, tkk...@nurturingasia.com wrote: BTW is the XS already a ejabber server by default? When I type ejabberdctl status I get this message: Node ejabb...@schoolserver is started. Status: started ejabberd is not running If you 1 - install the XS distro 2 - run domain_config 3 - restart then ejabberd should be running. I want to test XO and SoaS with various activities via a collaborative ejabber server? I have an actual working domain for the purpose. In Soas you have to configure the jabber server manually (and restart). Set it to 'schoolserver.yourdomain' 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] (Mostly) Enforcing Google Image Safe Search With Squid
On Tue, Jun 9, 2009 at 1:17 AM, Anna ascho...@gmail.com wrote: I just installed the latest XS 0.6d2, and in addition to setting up OpenDNS in named-xs.conf to do the usual filtering, hunted around to find an easy way to enforce safe Google image searches, as that seems to be an issue. I see the problem you describe. Does something like http://www.edugeek.net/forums/windows/16973-enforce-google-safesearch.htmlhelp? The redirect adding safesearch=strict approach seems good. Aside: as usual, if you're managing more than one XS, my strong recommendation is to perform all filtering upstream, in a proxy at the ISP that you can control. Now how to configure that filtering proxy is a very interesting topic. And Google's safesearch is very important there :-) 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] Server configuration for static IP instead of DHCP
On Mon, Jun 15, 2009 at 7:01 PM, Sameer Vermasve...@sfsu.edu wrote: Have you tried adding your ISP's DNS server(s) to the /etc/named-xs.conf file as forwarders? Yep! that's the 2 steps needed for a static IP address on eth0 - an ifcfg-eth0-local file as Rodolfo's example - upstream DNS servers set as forwarders Also, /etc/resolv.conf needs to be pointing to the DNS server on the XS. Otherwise the local names (needed for ejabberd and other services) will be missing (unless you configure the upstream DNS servers to serve them but that is more complicated). 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] Server configuration for static IP instead of DHCP
On Tue, Jun 16, 2009 at 4:24 PM, tkk...@nurturingasia.com wrote: Thanks for all the advice and help. I went to sleep after setting it without success ... and came back after work at it again - when I ping it works!! Maybe the lesson is to wait for the network stuff to sort things out and be patient? Fantastic news! DNS/resolver stuff is sometimes cached so going to sleep is sometimes the right fix ;-) Have set the forwarders commands to my actual DNS and the resolv.conf nameserver points to 172.18.0.1. Perfect-o. 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] Server configuration for static IP instead of DHCP
On Tue, Jun 16, 2009 at 5:25 PM, tkk...@nurturingasia.com wrote: Maybe the WIKI need an update that include ... take a break and come back for the cache stuff Probably a strategic reboot is better, faster and clearer. You do need it once you've set the domain. If you 1 - install 2 - set the domain (which sets resolv.conf 3 - set the forwarders 4 - set ifcfg-eth0-local 5 - reboot everything 'just works'. Once I make 0.6 an official release -- soon! I promise! -- we can update the install guide with this info. Working normally..and I am amazed by the level of automation via the XS. Just registered 2 XOs via wireless. Great! Now I need to see how the Moodle could be a mix of external users and XOs registered users. I use to have success login in with admin and the password supplied to add newlanguage options. Any changes? I have not been login with the combination recently? Use the first registered XO -- which has 'course creator' rights in Moodle. It can create new normal accounts, which login with username/password. If you want those accounts to be 'course creators' too, after creating the accounts you can grant them the right from Users-Roles-Sitewide roles (a standard Moodle procedure) hth, 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] mkusbinstall link broken?
On Wed, Jun 10, 2009 at 9:29 PM, Sameer Vermasve...@sfsu.edu wrote: I am using mkusbinstall to install xs-0.6d on to a USB stick. I am doing this on Ubuntu 9.04 which does not ship udevinfo. I get an error of command not found. Ubuntu 9.04 ships udevadm. https://lists.ubuntu.com/archives/universe-bugs/2009-March/063219.html I had to change udevinfo to udevadm info on line 44 to make it work. Thought I'd pass this along. Good hint! What would a patch look like? ;-) -- 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] binding ejabberd on XS
On Fri, Jun 12, 2009 at 9:53 PM, Vamsi Krishna Davulurivamsi.davul...@gmail.com wrote: I'm following this guide http://wiki.laptop.org/go/XS_Installing_Software, and i blindly changed the binding address to the one given in the link, I changed it again to localhost.localdomain and it gives me the following Oops. Questions Are you on 0.5.2 or on 0.6? You _should_ be on 0.6 for develppment purposes, and 0.6 has a completely different install method... which is described in the same email where I announced the 0.6 alpha image... I suggest installing 0.6d2 again and following the (much simpler) steps for it... 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] Firing up ejabberd
On Sun, Jun 14, 2009 at 6:01 PM, Vamsi Krishna Davulurivamsi.davul...@gmail.com wrote: p.s. the burnt version of 0.6b doesnt work, I tried with two writers just to be sure. - did you check the sha1sum? - what problem are you having _exactly_? 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] [IAEP] Fwd: An interesting project I stumbled across
On Sat, Jun 13, 2009 at 1:18 AM, Frederick Grosefgr...@gmail.com wrote: http://www.wizzydigital.org/index.html Wizzy Digital Courier is right in the middle of my longer-term plans. A quick google shows a few pages I've written in the wiki about it. Not that I'm original. When I joined OLPC, Jim Gettys toured me over wwwoffle, WDC, rproxy, hashcache proxy and a myriad of other things I had to study. 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] the first user is admin moodle policy
On Wed, Jun 17, 2009 at 3:02 PM, Daniel Draked...@laptop.org wrote: The teachers already had their XOs at this point The teachers have XOs and the kids don't yet. Correct? I think this is basically a conflict between the case when you are installing 1 XS (in which case what you are describing is perfect) vs 10+ of them. I am still wrapping my head around the workflows applied in each school to deploy 10+ schools... Having to connect up other computers and open web browsers But... but... OK, these are my assumptions: 1 - You do send a technician (or more) with the XS + AP plus some cabling 2 - The technician will have to open a browser, assoc to the AP, open Browse.xo and visit the XS homepage as a basic QA step. A technician cannot leave a school without having tested the connection to the XS at least _once_. 3 - As part of #2, the technician registers the XO that will be the head teacher's machine. If the head teacher already has an XO, the technician borrows it. Otherwise, the technician grabs a random XO, registers it, and hands it over with a bit of ceremony to the head. This is a social thing: the technician should do something to stress that the XO is special. And command-based interfaces can be more easily automated by the deployments. Except that you don't know what to automate. As you said, you don't know what XO will the head teacher get. What's the SN? UUID? Here's a possible approach: Right now we can't tag anyone in any role until they've registered. In fact, early in the installation we don't really have a complete Moodle DB. So a command in the style you requested doesn't have much to work on. On the other hand, if you do know the SN, it would be relatively easy to make a list of 'blessed' SNs, so echo SN1234567B /etc/moodle/coursecreators would be a way to handle it. And the presence of that file signals that the 'first come is coursecreator' feature is immediately disabled. In my experience, even with instructions this would not happen according to plan. It really needs to be in the control of the team doing the infrastructure. Or the technician handling the setup @ the school? Is that still an unreasonable expectation? 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] Upgrade to 0.6
On Wed, Jun 17, 2009 at 3:50 PM, Dave Bauerd...@solutiongrove.com wrote: Is it possible to upgrade from 0.5.2 to 0.6 yet or is it necessary to do a new install to test it? Hmmm. I haven't tested an upgrade. I usually - develop/test updating via yum rpm - when getting ready to release, first test clean install, then test upgrades It all depends on how adventurous you are. And how good your backups are. At this stage, I'm pretty sure something will break, and you'll want the backup at least to diagnose what changed (and later, rollback and retest). 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] Saludos desde Nicaragua, OLPC SERVER
On Wed, Jun 17, 2009 at 7:51 PM, Rodolfo D. Arce S.rodolfoa...@eyuhoo.com wrote: \ The main installation doesn't filter anything.. i think :S..it does use a squid proxy, but no blocking Yes. Strategies for filtering have been discussed on the list before. Using google to search the archives is the way: http://www.google.be/search?q=site%3Alists.laptop.org%2Fpipermail%2Fserver-devel+filteringie=utf-8hl=en 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] suggestion
Have you tried searching the archives? Fedora-11 and F-11 are good keywords ;-) m On Wed, Jun 17, 2009 at 8:09 PM, Kevin Benavideskbenavi...@americancollege.edu.ni wrote: Well the information provided is very helpful but what I trying to say is that if you need to install the server vercion OLPC on a server X to remember that while the OLPC operating system Server is based on free software, and I ask is that if you can inslatalar operating system is fedora 11 (leonidas) is linux and install a server and mount Squit to filter the content desired by the administrator of the server. I ask because I would imagine that the same . not like you are there for such advance is in the OLPC project but do not know if the project fedora 11 (leonidas) will attach the link to visit the website: http://fedoraproject.org/es/index All that is in Spanish -- Kevin Mauricio Benavides Castro American College ___ 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] Upgrade to 0.6
On Wed, Jun 17, 2009 at 5:28 PM, Reuben K. Caronreu...@laptop.org wrote: Glad to hear you found the root cause. If we can come up with one or two simple commands for the OLPCorps teams to type at the command line to fix this and then enable squid; I'm sure they will be glad to do so. It had all been a theoretical exercise. Today, trying to figure out what the correct fix is to put it in an rpm I just cannot repro the problem. The reason it 'Just Works' is that Apache is actually also listening on localhost. So Squid will gladly connecto localhost and issue an HTTP/1.1 request saying 'host'. Here is how I test that manually -- and apache replies nicely: # telnet 127.0.0.1 80 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. GET / HTTP/1.1 Host: schoolserver.test.xs.laptop.org HTTP/1.1 302 Found Date: Thu, 18 Jun 2009 12:59:45 GMT Server: Apache/2.2.9 (Fedora) Location: http://schoolserver.test.xs.laptop.org/moodle Content-Length: 325 Content-Type: text/html; charset=iso-8859-1 !DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN ... HTML output elided. Now, there is a number of changes (some of them trivial in appearence) in the apache configuration that could break the behaviour... have the local teams installed any extra software or added/changed configuration of Apache? If so, which? 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] Moodle/Server configuration for static IP external access
On Thu, Jun 18, 2009 at 3:03 PM, tkk...@nurturingasia.com wrote: Now with the a fixed internal IP I am able to map the actual external IP with it for external access. Change the apache httpd-xs.conf to listen to 192.168.1.30:80 as well as 172.18.0.1:80 Loaded the pafm application and external upload and download working well. I maybe missing something - but have issue of the moodle not displaying the graphics and format, etc while login prompt is shown. What aspect of /var/www/moodle/web/config.php or files should I modify for both normal external or internal moodle access? I want to open up for external access so that the team can play with the moodle to get familar with it. I can't really recommend that. Moodle and other services should only be in the internal network. Publishing it in the external network creates security issues. If you still want to do it, the best way is to ensure that the external users (external from the PoV of the XS) see the exact same DNS name for the server. Once you do that, images, forms and links will work. 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] Moodle/Server configuration for static IP external access
On Thu, Jun 18, 2009 at 3:34 PM, tkk...@nurturingasia.com wrote: What settings do I need to configure for this? Thanks You can shoot yourself in the foot, but I'm not sure how much I'll help ;-) The instructions start... find the DNS server in the 'outer' network... 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] Moodle/Server configuration for static IP external access
On Thu, Jun 18, 2009 at 3:59 PM, Dave Bauerdave.ba...@gmail.com wrote: Most Moodle installs are available to the internet. Does it really make sense to rely only on Moodle being on the internal network to provide security? You are right, and a lot of my pre-OLPC work has been in making the largest of those installations work smoothly in scale, security, performance, customisations... In those cases, Moodle is a webapp. In this case, however. Moodle is the central UI for most things XS. Some things XS change how the XS behave. For example, I am drafting a bit of code that will let you configue eth0 and 'domain_config' from a Moodle-based UI. So on first boot, the XS comes up in a special mode that lets you set those 2 things. Once this work is done, you no longer need to login as root. Ever. On the other hand, it'd be serious trouble if Moodle started listening on the public address. Right now Moodle seems to be reasonably meek... but I haven't thought that through actually, it may have risks too. The bottom line is: Services that are on the LAN address have not been designed to be on the WAN address -- many (most?) of them are a security risk if exposed to the WAN today. As the XS evolves, _more_ services will pose a risk if exposed to the WAN. So -- put your test/dev machines on the LAN to play with things. The XS will hand out DHCP leases to non-XOs, you can create normal user accounts in Moodle (from the 'course creator'-blessed XO) so that things work. Using non-Sugar XMPP clients (mostly) works too if you're on the LAN. hth, 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 Moodle admin login
On Mon, Jun 22, 2009 at 3:22 PM, tkk...@nurturingasia.com wrote: I had no problems before with the admin and password (from /etc/moodle/passwd) combination to get admin access - so that I could install language pack, etc However I notice recently with new test few XS machines I am uable to login as admin. I get the invalid login, please try again prompt. Has something change? It shouldn't have changed, but Reuben mentioned a similar problem. I have not seen it, so I am interested in help debugging it. 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 Moodle admin login
On Mon, Jun 22, 2009 at 5:34 PM, Reuben K. Caronreu...@laptop.org wrote: I have experienced this with every 0.6d2 install. The passchange.php method mentioned in this link did NOT work: http://moodle.org/mod/forum/discuss.php?d=18103 Right. I owe you guys an apology. This is related to a change I made on purpose. In short: use sudo -u apache php /var/www/moodle/web/local/scripts/adminuser-enable.php sudo -u apache php /var/www/moodle/web/local/scripts/adminuser-disable.php to enable the admin user for usage. I removed access to it by default -- the commit, with explanatory comment, is: http://dev.laptop.org/git/users/martin/moodle.git/commit/?h=mdl19-xsid=7f0c4b52f4c31c1c5c32cccb4df353603d28 Clearly I had a bit of a brainfade when Reuben mentioned the problem initially a couple of days ago. 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] Upgrade to 0.6
On Tue, Jun 23, 2009 at 2:19 PM, Reuben K. Caronreu...@laptop.org wrote: Anyone have any luck fixing this? I have found the guilty file. Somehow I have been running some of my dev XSs with a local change that fixes the problem. Will prepare a new xs-config for your folks in a few hs. In the meantime, the magic incantation is, in /etc/httpd/conf/httpd-xs.conf, as follows: # Listen on the canonical XS address Listen 172.18.0.1:80 # And on localhost - for local clients and the proxy Listen 127.0.0.1:80 the current config file has only the first one. 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] Upgrade to 0.6
On Tue, Jun 23, 2009 at 2:58 PM, Martin Langhoffmartin.langh...@gmail.com wrote: Will prepare a new xs-config for your folks in a few hs. done, tested, published. Upgrade using yum --enablerepo=olpcxs-testing install xs-config or otherwise grab http://xs-dev.laptop.org/xsrepos/testing/olpc/9/i386/xs-config-0.6.0.14.g947ebe6-1.noarch.rpm and install it with rpm -Uvh xs-config-0.6.0.14.g947ebe6-1.noarch.rpm Sorry about the delay. It is a bad time to play works for me when you're on the ground with the teams. 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] [Sugar-devel] Teacher admin panels on content we are sugarizing
On Mon, Jun 29, 2009 at 1:38 AM, Caroline Meekscarol...@solutiongrove.com wrote: My understanding is that both GCompris and Teachermate have teacher admin functionality that let teachers view student progress etc. Is there a roadmap or plan for how we are going to bring that functionality into our Sugar-XS world? That's news to me! I've played w gcompris bit but never been aware of a distinct teacher mode. Is there any reference / overview / tour I can read and follow? Is teachermate a Sugar activity? A quick google shows a USD 50 device that I'm not sure if it has a webbrowser, network, etc. cheers, martin -- 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] [Sugar-devel] Teacher admin panels on content we are sugarizing
On Mon, Jun 29, 2009 at 3:17 PM, Caroline Meekscarol...@solutiongrove.com wrote: I had a feeling that our Moodle people didn't even know this work needed to And you were right :-) Gregdek was pushing hard for a hacking session on integrating Journal entries (let me call them documents for a sec ;-) ) with what's happening in Moodle. I am keen on learning more on what's happened (as I unfortunately missed it). I attached the TEAchermate guide. Thanks. Wondrous and scary. Execute TeachermateCMS.exe. This might take some work to integrate... Here is a link to the GCompris admin: http://gcompris.net/wiki/index.php/Manual#Administering_GCompris Very interesting. Definitely worthy of looking at moodle integration. Some aspects -- group mgmt? -- can probably query the Gabble/Telepathy APIs. In a sense, Vamsi's work and the glue that Gregdek envisions would start building the infra we need for this kind of stuff.. (Hoping to find time to help Vamsi this week). 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] Help-laptop XO
Hi Kevin, You might need to get a developer key but that is something that should be done once for the whole pilot or deployment. Which deployment is this part of? Who did you get the XOs from? The request for devkeys or a keyjector must come from the person that is coordinating the deployment. cheers, martin On Mon, Jun 29, 2009 at 9:38 PM, Kevin Benavideskbenavi...@americancollege.edu.ni wrote: Hi Kevin I am as are all of Nicaragua from the list I have a problem with the OLPC is that the case was sparked when one of the XO laptop and shows that normal load and then take a series of command and then start going to do as a diagnosis that appears below the figure a MicroSD room, then a USB stick and finally looking like a wireless signal by the end on top of the screen displays a message saying that there has been no signal activation. Please someone can help me to unlock or activate it. Thank you -- Kevin Mauricio Benavides Castro American College Cel: (505) 8376-4616 Tener éxito en la vida no es llegar a tener fama, sino a realizar aquello que realmente deseas ___ 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] XS 0.6 on SD card
On Wed, Jul 1, 2009 at 5:53 PM, Sameer Vermasve...@sfsu.edu wrote: I finally managed to find enough time to install the xs on a SD card and boot an XO from it. I am impressed! It took a bit longer to go Glad to hear that! through the first boot (I presume its because of the SD card) but During first boot it sets up the Moodle database. On a low-end machine it takes a while. after running network_config and domain_config, In theory at least, only domain_config reboot is needed. I rebooted and it ran without a hitch. I hooked up a usb-to-ethernet adapter for the backhaul. The mesh node services the XOs. Also ran yum --enablerepo=olpcxs-testing update and it had no problems there either. Good! I haven't done extensive testing, but will do so and post some more details soon. It will be interesting to hear more about it. As Rodolfo mentions, disk space usage is a concern (though at this moment, the only real disk hog is backup), the plan would be to have an external disk for /library. Or to use a large USB-connected external disk for everything. cheers, martin -- 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] a sample moodle course
On Wed, Jul 1, 2009 at 9:53 PM, Sameer Vermasve...@sfsu.edu wrote: Does anyone have a sample moodle course for say literacy or math that can be used as an example on the school server? I don't, but the place to ask is the k-12 forum in moodle.org so that's what I did: http://moodle.org/mod/forum/discuss.php?d=127184 There is also the 'Moodle Exchange': http://moodle.org/course/view.php?id=15 lots of courses in the 'Course Exchange' section. There was also a good thread about this a few months ago in another Moodle forum but I cannot find it. Martin Dougiamas was asking for good sample courses (Helen, can you remember the thread title or something to search for?). cheers, martin -- 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] ARM based XS ?
On Sun, May 17, 2009 at 1:35 PM, Martin Langhoffmartin.langh...@gmail.com wrote: Excellent news -- keep us posted on server-devel. If after some testing you think it's viable, I'll get one of those boards too. You can see what binary packages we have that will need a rebuild by looking at: http://xs-dev.laptop.org/xsrepos/testing/olpc/9/i386/ and looking at the i?86 rpms there. 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] Automatic @online@ shared roster
You'll want to comment out the code. Will be in one of (under /var/www/moodle/web, in order of likelyhood) - auth/olpcxs/auth.php (look for a 'cron' function) - local/lib.php (look for a cron function...) - admin/cron.php Sorry for the vagueness. Away from the relevant sourcecode ATM. m On Tue, Jul 7, 2009 at 6:14 AM, Dave Bauerd...@solutiongrove.com wrote: Can I disable this for some testing with Gadget? I finally got gadget to install and run on an XS 0.6 install but no matter how I remove the Online shared roster it comes back by itself. I assume some process in moodle according to the description, (created from moodle) is recreating it. This works great on initial install it just works, but for testing is gadget works, I am not sure if the shared roster or gadget is being used. Thanks Dave -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ 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] Gadget on XS
On Tue, Jul 7, 2009 at 5:00 AM, Walter Benderwalter.ben...@gmail.com wrote: We plan to set up a server tomorrow at the Gardner School. Can you point to those instructions you followed to your success? The question is, IMO: what does gadget do better? The best I understand is that when there are many XOs it can show a random subset in your network view. That is all that is _implemented_ at the moment. It may show promise but what we have is this. And I don't find a random subset very compelling. The patches I've done for ejabberd + moodle make a lot more sense, IMHO. And scale a ton more because Moodle feeds a bit of data to ejabberd and gets the hell out of the way. It's not clear to me how ejabberd+Gadget (erlang+python) scale in terms of memory, resource contention and CPU. Frankly, I'd love to get rid of my ejabberd patches. Right now, I'm doubtful that Gadget will satisfy the Sugar team's expectations. Unless Gadget has moved forward considerable in the last 3 months, or if it's generally just more advanced than I think it is. 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] Automatic @online@ shared roster
On Tue, Jul 7, 2009 at 12:49 AM, Dave Bauerd...@solutiongrove.com wrote: I am just doing this to try to understand what gadget is doing. Since XS doesn't use gadget in its specific config, it is just experimental for my own education. Well, I'm curious too, so keep us posted ;-) 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] IP addressing + XO MPP connectivity
On Tue, Jul 7, 2009 at 8:03 AM, John Watlingtonw...@laptop.org wrote: The XS server software should set up any mesh interfaces to accept the anycast MAC address, but this might have been lost in more recent builds. Interesting. When was this last seen to work? I can do some quick archeology and resuscitate needed bits.. 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] [Sugar-devel] GPA XS Report
On Wed, Jul 8, 2009 at 9:46 AM, Anurag Goelagoe...@gmail.com wrote: We booted several computers with SoaS and changed the network settings from the default (jabber.sugarlabs.org) to the IP address on the XS. After doing this, the computers in the computer lab still would That is a workaround to the missing register button in SoaS, right? I suspect that part of the problem is that you are using the IP address. Sugar will see whatever DNS or IP addr you provide there and will try to connect to jabber and create an account as follows: - machine-id@jabberservername On XO hardware, machine-id is the serialnumber. On other hw, it creates a random string on first boot. The problem with the scheme is that jabber on the XS expects a very specific jabber servername for the account: its own name (as given to domain_config) prefixed with 'schoolserver.' If the name doesn't match that format, then it breaks. The workaround is to use schoolserver.mydomain in the SoaS control panel. A more proper solution is probably to bring back 'registration' :-) hth, 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] [Sugar-devel] GPA XS Report
On Wed, Jul 8, 2009 at 2:27 PM, Caroline Meekssolutiongr...@gmail.com wrote: no, we are still just trying to get the machines in the lab to see the Jabber Server in the lab via the server setting in the control panel. H. On Sugar 0.82 Register achieves exactly the same (plus 2 more things) and is easier to use. From the PoV of Sugar for primary schoolers, Register is not ideal (we could do some autodiscovery) but still a better UI than entering the DNS name of a server. I think some of your comments below may still be relevant but I don't entirely understand. I think they are :-) In brief: put the FQDN name in there, the one that starts with 'schoolserver', instead of an IP address. From the making SoaS and Sugar in general easy to get going in a school infra PoV, it'd be nice to at least get 'register' going again. DNS-SD based autodiscovery would be nicer (look ma! automagic!), but is also more (and trickier) work. 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] [Sugar-devel] GPA XS Report
On Wed, Jul 8, 2009 at 10:39 PM, Dave Bauerdave.ba...@gmail.com wrote: OK, we can workaround this two ways, Use schoolserver as the jabber server name in the settings then 1) set the IP in /etc/hosts as a quick hack to make sure things work 2) set up the SoaS to use the built in DNS on the XS. I'd strongly recommend avoid touching /etc/hosts or /etc/resolv.conf on every SoaS. Using the DNS seems problematic, probably due to my lack on knowledge. The changes are trivial -- a list of ~8 names need to resolve to the XS's internal address. DNS can be complicated, but this is completely trivial. Get those names added to the existing DNS server, and you're sorted. If we do that we need to defer to the network DNS for everything except the schoolserver hostname. If kids take the stick home, what happens with the DNS if we put the XS into resolv.conf? resolv.conf gets re-written by NM all the time. Hardcoding it is no go. 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] [Sugar-devel] GPA collaboration Issues - keepalive theory
On Fri, Jul 10, 2009 at 1:59 PM, Caroline Meekscarol...@solutiongrove.com wrote: The other theory we are working on is that something is not set to long enough in keepalive The logs we saw earlier were clearly of a domain vs IP address mismatch. Did you try the fix that I've suggested (changing the 'jabber server' setting on the clients to match the expected domain name)? After the change, did it work? If things still fail, the logs should look radically different after that change. Are there new logs? 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] [Sugar-devel] GPA School Visit report for Tuesday July 14
On Wed, Jul 15, 2009 at 10:19 AM, Caroline Meekssolutiongr...@gmail.com wrote: As Greg said we finally got collaboration working! The problem was that we had cloned the owner.key and owner.key.pub. The fix was to delete those before cloning and on existing sticks delete them and restart. Excellent. Great to hear that. 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] logging performance
On Thu, Jul 16, 2009 at 7:23 AM, Sameer Vermasve...@sfsu.edu wrote: Any suggestions on how to log data on RAM and CPU usage on the XS? I've looked at mem.py and top variants, but I want something that logs at x intervals to a file that I can pull into a spreadsheet. I have munin running on the xs, but it is not fine-grained enough to show variations, say every 10 seconds or so. Probably worth a small patch to ps_mem.py (which is more accurate per-process than other methods) to make it run continuosly and give you CSV output. Or a cron on ps_mem.py /var/log/mem.log (I'd patch this myself now, but I'm about to hit the road, so packing.) 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] /library partition
On Fri, Jul 17, 2009 at 12:02 PM, Dave Bauerd...@solutiongrove.com wrote: I am not sure if there is any documentation: - pgsql-xs the postgresql database for Moodle (and any other Pg DB we might add :-) ) - users which I think are home directories for the registered XOs which will contain their backups. - xs-activation which holds crypto keys, activations and delegations. With the new xs-activation package it gets used quite a bit in deployments with delegated leases -- ie: with XSs that don't have an internet connection but still run a bitfrost-secured deployment. - xs-activity-server which stores .xo activities - xs-rsync - anything served via rsync. Right now that is only OS updates for the XOs. I believe the overall idea is that anything that is content goes in this directory as opposed to software or parts of the operating system. Exactly. In short, it's the 'data' partition, the one you want to backup, the one that wants a 1TB external disk, the one to mirror or clone. There is a bug in that /var/lib/moodle should be in /library. cheers, m ps: wiki material perhaps? -- 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] testing XS-on-XO
On Sun, Jul 19, 2009 at 5:05 PM, Sameer Vermasve...@sfsu.edu wrote: Just added some notes from a test we did today at OLPC-SF's meeting. http://wiki.laptop.org/go/XS-on-XO Will add more notes as we go. Cool. The take home message is Moodle is dog-slow, I guess :-) -- the problem there is disk-IO, if someone is up for playing with it a bit, there is room for tuning Pg and Moodle. You mention it's a 'class 6' card. How can you tell the type of card? The ones I have seem to be sucks and sucks even more models :-/ 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] [IAEP] [support-gang] An Opportunity to bring vital content to the Sugar/XO world - Needs technical help.
On Mon, Jul 20, 2009 at 1:16 AM, Caroline Meekssolutiongr...@gmail.com wrote: Or, is this something you think our volunteer programmers should try to reverse-engineer and create for Sugar and the XO? Yes, or more likely for the XS. My first thought on how to approach it is to rewrite the server/teacher software as a Moodle plugin. But that is not the only possible approach. Moodle already has classroom management... umm... you could say that it _is_ classroom management. :-) My guess here is that it'd be a good idea to have some glue code where Moodle mimics whatever protocol the server provides for the IFL device? If someone takes on the writing of that glue moodle-IFL code, I'll be happy to mentor and support on the Moodle (and XS oddities) side of things. In terms of good content to use on the XS, there are a number of projects publishing content in SCORM and IMS-CP formats, under liberal licenses. Those formats are absolutely no-fuss, drop-into-moodle (and into most LMSs!), and the projects working on that deserve love and help. There is also some efforts to get more teachers in the Moodle community sharing example courses, course materials, etc (there's a whole section in Moodle.org focused on that!). For people interested in content (static and interactive) for XS/XO, this is a very good avenue to explore. 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] testing XS-on-XO
On Mon, Jul 20, 2009 at 6:21 AM, Sameer Vermasve...@sfsu.edu wrote: I'd like to load test Moodle+Pg. Maybe Wen(@SF State) has some scripts to load test it? I know he's been working on that for a while now...cc'd. You can get through a very simple test just by - enabling profiling (see the defines in config-dist.php, copy them to config.php) - using ab against the homepage with the cookies stolen from Browse.xo - you'll need 3 cookies IIRC The performance is bad enough that just hitting a moderately heavy page (such as the homepage) is a good canary in the mine. If we can make that page snappy (without cheating) we're in good shape. There are a few things to try and benchmark - - Is the precompiler working correctly? - Is the Pg xlog a major factor? Switch off sync in Pg's configuration, how much does it improve things? - Is contention over the PHP sessions directory a major issue? Try with hashed directories - how much does it improve? (You need to use the extra magic parameters in 'session_dir', and use a special config setting in config.php - $CFG-respectsessionsettings=true IIRC) Using sar during the tests is a good thing. IIRC, the SD card is on the USB bus, and we may be swamping the USB channel, or just driving the CPU crazy with interrupts. How can you tell the type of card? It says so on the card. Too easy! Actually, looking at the lables on the 3 cards I have, two say 'class 6' or 'C6', the 3rd one doesn't say much. The ones I have seem to be sucks and sucks even more models :-/ Even with a class 6, I wonder how much of a difference it will make. Writing to SD cards is slow. Well, the C6 cards I have aren't particularly fast :-( 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] Fwd: [IAEP] Sharing Images in the neighborhood - Buddy Tag
On Tue, Jul 21, 2009 at 4:05 AM, Caroline Meekscarol...@solutiongrove.com wrote: Hi Server people, I wanted to make sure the server people saw this Buddy Tagging proposal as it might be something that could be more easily accomplished with Moodle's help. Good point. I don't know Kartik Rustagi, and have no idea if there is work in progress on this front but... this is exactly that Moodle+ejabberd is doing (in XS-managed scenarios) in 0.6. cheers, m -- Forwarded message -- From: Tomeu Vizoso to...@sugarlabs.org Date: Jul 18, 2009 9:26 AM Subject: Re: [IAEP] Sharing Images in the neighborhood - Buddy Tag To: Caroline Meeks carol...@solutiongrove.com Cc: iaep i...@lists.sugarlabs.org On Sat, Jul 18, 2009 at 14:55, Caroline Meekscarol...@solutiongrove.com wrote: Well, I have it mind, just hasn't been implemented yet. I think that buddy tags will get us there in some way. What is a Buddy Tag? See: http://wiki.sugarlabs.org/go/Talk:0.86/Roadmap#Groups http://wiki.sugarlabs.org/go/Tagging_Proposal Regards, Tomeu Regards, Tomeu Regards, Tomeu Thanks, Sayamindu -- Sayamindu Dasgupta [http://sayamindu.randomink.org/ramblings] ___ IAEP -- It's An Education Project (not a laptop project!) i...@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep -- Caroline Meeks Solution Grove carol...@solutiongrove.com 617-500-3488 - Office 505-213-3268 - Fax -- Caroline Meeks Solution Grove carol...@solutiongrove.com 617-500-3488 - Office 505-213-3268 - Fax -- Caroline Meeks Solution Grove carol...@solutiongrove.com 617-500-3488 - Office 505-213-3268 - Fax ___ 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] fixing the installation instructions
On Tue, Jul 21, 2009 at 6:58 PM, Daniel Draked...@laptop.org wrote: I just had a go at fixing the page: http://wiki.laptop.org/index.php?title=XS_Installing_Softwarediff=212755oldid=212729 Please review. Thanks! Makes sense. (I've been away for a few days as you've probably noticed. Now I am trying to get XS-0.6 out of the door, which simplifies all the process significantly.) The page now explicitly states the XS position on DNS - i.e. don't need to do anything because the XS does it for you. However, some people may want to use ISP dns servers. It would be nice to see instructions for such users, but the current ones were incorrect. (the way to do it would be to configure bind to send all requests to an upstream server.) Yes. We need a canonical list of the names that need to be set on the external DNS. I am personally confused by issues surrounding hostname resolution of the local server. Deployments will usually make up hostnames, right? The expectation is that they'll make up the leftmost bit of the domain name, so that the _hostname_ is always 'schoolserver'. In which case they don't resolve on the out-of-the-box XS setup, yes? Does ejabberd really fail if it can't resolve the hostname? In Paraguay, we modified /etc/hosts on all XSs as follows: 127.0.0.1 schoolserver.escuelaXX.caacupe.paraguayeduca.org schoolserver localhost.localdomain localhost i.e. we added the FQDN (as stated in /etc/sysconfig/hostname) to the very front of the 127.0.0.1 resolution (must be the first entry, because I couldn't find any other way to get hostname -s and hostname -f working correctly), then we added the unqualified hostname schoolserver. On 0.6 the domain_config scripts do that as well, IIRC. If I remember correctly, this was done in order to make puppet work. Maybe these are puppet and ejabberd bugs, but it doesn't seem unreasonable for applications to require the local hostname being correctly resolvable and the hostname being correctly output by the hostname program. Yep. Though there's a bit of trickery in that schoolserver != localhost. Finally I commented out the instructions explaining how to fix ejabberd when the user changes the hostname, because they were incorrect. The solution would be to re-run domain_config and then fix the Mnesia DBs, but I'm not sure if re-running domain_config is advisable or if a certain flag needs to be used or something. It would be nice to see these instructions return if someone is in-the-know or can experiment. Alternatively we could wait for XS_0.6 as trac suggests that this is no longer an issue. The new domain_config clears out mnesia -- all of it is re-creatable anyway. 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] moodle howto?
Very stale! You should just install the XS-0.6 betas I've published, Moodle in included there and works out-of-the-box automagically. Did you edit the XS install pages recently, perhaps? cheers, m On Tue, Jul 21, 2009 at 6:54 PM, Joshua N Pritikinjpriti...@pobox.com wrote: I found http://docs.moodle.org/en/OLPC_XS_installation However, I have a vague recollection that XS Moodle is set up with Postgresql. Are the instructions stale or shall I follw them? -- American? Vote on the National Initiative for Democracy, http://votep2.us ___ 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] Newbie problems
On Tue, Jul 21, 2009 at 11:25 PM, Varun Arorafuturegeni...@gmail.com wrote: Hey XS Dev team, Hey Varun! I am a ICT consultant working in the South Pacific Islands. Sorry if you guys are tired of reading newbie problems. But I had a serious concern with installation of XS in a pilot deployment in Niue: Great to hear you're in the Niue team - thanks for the work you're doing! I installed all packages including MySQL DB, X Window System, GNOME etc. on installation of XS 5.2. Unfortunately, after installation I tried to run The XS disk doesn't really include any of those. You can install them from online yum repositories after the initial install. Note that you _do not need mysql_. Moodle will work with PostgreSQL. For many reasons, PostgreSQL is a better option for the specific needs of the XS. If you want to use Moodle, grab the packages that will transform your 0.5.2 into a 0.6-beta by doing yum --enablerepo=olpcxs-testing update which will install a Moodle that autoconfigures itself. After that, upgrade the Browse.xo on the XOs and Moodle will auto-login users (that have registered). I waited for several hours on the IRC channel for help, but there were only a couple of folks on. The people active around the XS are mostly email-people rather than irc-people :-) ask here and we'll come to your help... 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] Newbie problems
On Thu, Jul 23, 2009 at 1:06 AM, Sameer Vermasve...@sfsu.edu wrote: Not to bikeshed or anything, but I was curious about the reasons behind pgsql. Several posts in the list archive tell the story :-) -- the gist (but notthe full story, do search the archive!) is: - behaviour under hard-power-off, brownouts - behaviour under low memory conditions If you want to discuss it more, did I mention you should search the archives? ;-) 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 and DNS hurdles (was Re: moodle howto?)
On Thu, Jul 23, 2009 at 4:31 AM, Deds Castillod...@solutiongrove.com wrote: Today I installed 0.6d2 from scratch. I noticed a few problems: 1. Basic ejabberd Configuration went smoothly. However, I got stuck in Setup Shared Roster Groups for ejabberd. ejabberd is not listening on port 5280: For xs0.6 you should _not_ configure ejabberd. I've posted the (much simpler!) instructions for 0.6on this list about 2 months ago. Google has excellent coverage of the archive ... ;-) Sameer's suggestion to set forwarders is very good, recommended. 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 and DNS hurdles
On Thu, Jul 23, 2009 at 11:36 AM, Joshua N Pritikinjpriti...@pobox.com wrote: On Wed, Jul 22, 2009 at 04:09:22PM -0700, Sameer Verma wrote: This might get fixed by doing a forwarders for DNS. I have to do this when I use the XS on campus. http://www.mail-archive.com/server-devel@lists.laptop.org/msg02381.html Added to the end of Network Configuration: If you can only resolve hostnames on the schoolserver but not from other computers using the schoolserver as a gateway then you may have to force use of your ISP's DNS servers. Add your ISP's nameservers to /etc/named-xs.conf file as forwarders. Did I describe everything accurately? Good - even better: add your ISP nameservers to /etc/named-xs.conf.in as forwarders, and then cd /etc make -f xs-config.make named-xs.conf 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 and DNS hurdles (was Re: moodle howto?)
On Thu, Jul 23, 2009 at 11:45 AM, Joshua N Pritikinjpriti...@pobox.com wrote: If I understood Martin correctly, he is saying that nothing listening on 5280 is expected and correct behavior. Correct :-) If for other reasons you want the web interface, then the block in the config file is just commented out, it's easy to reenable. But if you're trying to manage users and SRGs via the web interface, be aware: moodle will remove any strange groups -- it has code to sync the state between ejabberd and Moodle, with Moodle as master and ejabberd as slave. I have added a note to the XS Install guide section Setup Shared Roster Groups for ejabberd: (If you are using a version of XS 0.6 from June 2009 or later then you should skip this section. EJabberd is automatically configured.) thanks! This kind of help is superb! 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] Access Point configuration
On Thu, Jul 23, 2009 at 12:14 PM, Joshua N Pritikinjpriti...@pobox.com wrote: 2. To not run a DHCP Server means that I should turn off DHCP completely? I only see options for DHCP Server and DHCP Forwarding. I assume I want DHCP Forwarding? Should I turn off DNSMasq? - yes, turn off DHCP server (DNSmasq) - I think that you want DHCP forwarding, never heard of it before. We definitely do _not_ want the AP to block the DHCP leases that the XS offers :-) Also, would be wrong to turn off DHCP for the WAN link? (I think that's how I bricked my router.) Whose WAN link? The AP's WAN port? If you get it configured right, I am hoping the AP treats all ports equally... The XS wants to issue DHCP assignments through the router, right? Yes. And see a flat space. It network terms, you want it to stop behaving like a router, and be a _bridge_ instead. I don't know much about DD-WRT unfortunately. Mayb Marten knows how to get it to be a bridge? schoolserver is expecting DHCPDISCOVER via the router's WAN IP? How can I accomplish this? The Linksys routing table is: Once you get it to be a bridge, packages will just be copied (bridged) over, instead of routed, and this will be a non-issue. The DD-WRT device may still want an address (self configured or via DHCP) but packets from wireless will appear as coming from the XO IP addr. hth. A dd-wrt expert is clearly needed here :-) 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] pppd restarting mysteriously
On Thu, Jul 23, 2009 at 1:52 PM, Joshua N Pritikinjpriti...@pobox.com wrote: I looked at the options for wvdial and turned off anything suspicious. I don't think wvdial is implicated. It looks like something crazy with pppd. If I enable debug in /etc/ppp/options, will I see something extra in /var/log/messages? /var/log/pppd.log I think. I have this vague feeling that I've seen this kind of failure before, but I can't recall the details. Was it some Fedora feature---network manager related---that I need to turn off? I even tried searching for my name and EVDO in google, but didn't find anything. NM is off, gone. Bits of it may be installed but it's dead. XS uses oldstyle network-scripts. 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] can I groupinstall 'X Window System'?
On Sun, Jul 26, 2009 at 4:33 AM, Joshua N Pritikinjpriti...@pobox.com wrote: We have an LCD projector. Since we don't have a USB-VGA adapter yet, I would like to drive projector with the schoolserver (using VNCLauncher ssvnc). The groupinstall includes dnsmasq and NetworkManager. Is it safe to install these packages or am I asking for trouble? Dunno, but just use yum to install X with a simple WM. 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] Fwd: Simple Digital Library Index System
This sounds interesting. It is something I was hoping to implement somehow, using IMS-CP (or similar) plus a repository scheme copied from the Debian apt repository format, or the yum repo format. Both repo formats are fantastic for this, very rsync, http and cache friendly, super-scalable and distributable, etc. The plan was (is?) to use the upcoming Moodle v2 repository plugins infra to build client and server sides, but with the protocol being just a trivial-looking repo format, any existing system can be a server. Unfortunately Moodle v2 will take a long time to be ready. (I've reviewed GreenStone in the past, and worked with Fedora - the _other_ one - , eprints and a few other ones. I was not impressed with any of them.) Not sure how this project is designed and implemented. If it does something like the above, fantastic. It'd mean that the software maintains the repo (which is served by bare apache), but does not need to be running permanently. The resident memory footprint of Java is a bit of a no-no for the XS. In any case, it might need client code for the Moodle side so that the content is easy to integrate into the topic of the day and learning narratives... cheers, m On Mon, Jul 27, 2009 at 6:39 PM, Sameer Vermasve...@sfsu.edu wrote: -- Forwarded message -- From: Mike Dawson mikeofmanches...@gmail.com Date: Mon, Jul 27, 2009 at 1:03 AM Subject: Simple Digital Library Index System To: de...@lists.laptop.org Dear All, In Afghanistan we wanted to have a system that would make it as simple as possible to make a relatively large, replicated digital library accessible locally on the school server (external bandwidth here is about 64kbps per school). In addition we wanted something that was very fast and easy to add content to (e.g. not having to type meta data again hundreds of times). We looked at Greenstone in particular - but that was relatively complex to setup and also would have been tricky to automate adding content to it / distributing it. Moodle is really designed more for class / learning management. The system that we have made is based on Java / XSL - it makes digital libraries a breeze, not requiring any kind of database etc on the server: I have made a wiki page at: http://wiki.laptop.org/go/SimpleDigitalLibraryIndex I would be interested in using OLPC project hosting for this - I looked at the Contributor's program on the wiki. We have laptops here :) - just need project hosting. As per the status note in the wiki I do have a version now that more or less does the trick - quite a few things to tidy up and formats to add support for. As soon as possible I shall put up a demo version on our server (hopefully later this week). Regards, -Mike ___ Devel mailing list de...@lists.laptop.org http://lists.laptop.org/listinfo/devel How does this compare to the Moodle approach? Can't we do the same in Moodle although in the case of Moodle, one has to create courses and do so manually. Sameer -- Dr. Sameer Verma, Ph.D. Associate Professor of Information Systems San Francisco State University San Francisco CA 94132 USA http://verma.sfsu.edu/ http://opensource.sfsu.edu/ ___ 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] XS backup/restore feature
On Thu, Jul 30, 2009 at 3:55 AM, Sameer Vermasve...@sfsu.edu wrote: tar --numeric-owner should work, right? heh! no no, the reverse. What tar does is fantastic, and saves us a lot of work. I *thought* tar could only store numeric uids/gids and that we'd have to write code to keep them in sync. Sorry about the confusion. 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 automount design
On Thu, Jul 30, 2009 at 8:31 AM, Daniel Draked...@laptop.org wrote: It seems a little strange to me that the XS scripts that process files on USB sticks do not unmount the disk after use. In fact they don't even mount the disk in read-only mode. Do we encourage users to login as root and unmount the disk before unplug, or are we actually encouraging users that unmount is not necessary? No, we encourage them to wait for the done bells. Let me explain. - we don't have any scripts that write, but we will likely do, so mounting ro is not a good idea - we're either mounting sync or with the not-so-lazy async that was introduced a few kernels ago, so the sync is not delayed Are you getting the I'm done bells properly? I don't know if usbmount is sane in the face of triggering the unmount from the mount-post-processing scripts. hth, 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-0.6 and network_config
On Thu, Jul 30, 2009 at 8:58 AM, Daniel Draked...@laptop.org wrote: One of the messages I saw suggested to me that it is necessary to run network_config (in addition to domain_config) while setting up XS-0.6. Is that true, or is domain_config still sufficient for the single-XS-per-school setups? Not needed. It is run automaticall by the postinst scripts anyway. 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 build setup
On Fri, Jul 31, 2009 at 6:59 AM, Jerry Vonaujvo...@shaw.ca wrote: Have a look at mkslim in the git repo. Exactly, though functionally your ISO will be the same. Hoping the toolchain will work better on F11 :-) 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 automount design
On Fri, Jul 31, 2009 at 2:03 AM, Daniel Draked...@laptop.org wrote: It works fine and the usbmount code is already crafted to cleanly handle such a situation. how do you feel about this 98-umount mount.d trigger? umount $UM_MOUNTPOINT log notice Unmounted exit log notice Failed to unmount exit 1 ...? 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 0.6 md5sum -- 0.6d3!
On Fri, Jul 31, 2009 at 2:30 PM, Rodolfo D.rodolfo.arc...@gmail.com wrote: Is there an md5 sum of the XS-0.6d3 ISO? I recently downloaded and just wanted to male sure everything is fine I built and uploaded 0.6d3 a few days ago, but only today had a chance to give it a good testing, installing it on a few machines (with a team from Nicaragua). Didn't want to make too much noise until I knew that it would work well. And it does. So I'm happy to say we have http://xs-dev.laptop.org/xs/other/OLPC-School-Server-0.6d3-i386.iso sha1sum: 764c4bd368324ebf693be2a0fe4383f9199f1832 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] errortoomanylogins
On Tue, Aug 4, 2009 at 1:59 AM, Joshua N Pritikinjpriti...@pobox.com wrote: Is this is sane thing to do? Yup. What is the point of this check anyway? If I was going to try to guess a password then I would create a fresh cookie for every attempt. Most students trying to get into their mate's account are not that sophisticated. There are further checks/reports for failed login attempts. 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] K2 Content/Classroom Management System
On Sun, Aug 2, 2009 at 11:58 PM, r...@apc.edu.ph wrote: I am Ray Baquirin of Asia Pacific College in Makati, Philippines. We are looking to port to the XS the Classroom Management System that Caroline Meeks posted about here: http://lists.laptop.org/pipermail/server-devel/2009-July/003690.html Cool - welcome to the list! It seems to me that the basic functionality is already in Moodle, in that activities can be presented or not to a Moodle user depending on his group memberships. On investigating how Flash content can be embedded in Moodle, I found that (1) Moodle supports SCORM and (2) a lot of Flash eLearning content is actually packaged as SCORM. Yes. And yes. My strong recommendation is to target SCORM. A fallback option may be Matt Bury flash module, but it is not recommended. So, what we're proposing to do first is take some Flash videos, embed them in SCORM objects, put them in Moodle and looking at how the groups/permissions features of Moodle can be used to manage them. Sounds good -- do remember that the XOs don't normally ship with fullblown Adobe Flash, they ship with Gnash. Targetting gnash is an interesting area, one where I'd like to hear more about. If you talk nicely to them, the Gnash developers will be very keen to help too. I've also installed the XS server software on a PC and our networking people are setting it up so later we can test with an XO accessing Moodle on the XS. but it seems to me that we could be doing this work on on a plain vanilla Moodle installation? If that is the case, perhaps discussing the project is off-topic for this list? Sounds right to test and debug it in a vanilla Moodle first. We do customise some stuff, but nothing that breaks the main APIs. Things to keep in mind: - If you write Moodle code, don't rely on admin (or on the 'doanything' capability). We don't give our users the 'admin' account. The workflow to setup, manage and use the content must be doable with non-admin roles. (Search this list for coursecreator for more details). - XO screen size, hw performance in general, browser compatibility, gnash compatibility, etc. 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] K2 Content/Classroom Management System
On Tue, Aug 4, 2009 at 12:23 PM, Caroline Meekscarol...@solutiongrove.com wrote: There are people on the Sugar Devel list working on making the games run on Sugar. They are having some issues, but its probably not Flash vs Gnash at the root cause of them. The Teachermate hardware only uses Gnash afaik. Cross posting so you guys can find each other. Ah great! Didn't know it was already gnash friendly :-) 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] Marvell Wi-Fi ejabberd
On Wed, Aug 5, 2009 at 2:17 PM, Miguel Salazarmiguelsalaz...@gmail.com wrote: Hi, my name is Miguel Salazar and I'm working on the OLPC Chiapas deployment. We're working with Intel Classmates notebook computers running Sugar-on-a-Stick. Hi! The XS Recommended Hardware wiki page states in the Hardware Profile section that Marvell Wi-Fi nodes are needed, as well as four to six USB interfaces. We plan to deploy 15 notebooks per classroom, connected on a LAN to an XS through a router. Are Marvell Wi-Fi nodes absolutely necessary, or can this be achieved with a Linksys home router? What are the USB interfaces used for? That is somewhat outdated. I edited that a bit, the marvell wifi antennas are experimental at the moment. Just use an AP. You'll want it in bridge more, not as a router. Regarding ejabberd running on XS, is this a regular ejabberd (the same one that can be downloaded) or is this a patched version of ejabberd so it can work with XS? Patched. Search this list for abundant details on how and why. 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] revisor-2.1.8 rebuilt for F9
On Thu, Aug 6, 2009 at 10:40 PM, Daniel Draked...@laptop.org 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 and I butted heads w Revisor and Anaconda quite a bit. He's playing with the F11 Revisor, on F11, building a F11 minimal plus our packages. Should be trivial, right? -- the best I can summarize -- his notes indicate that on F11 some things are solved (we can probably now actually replace fedora-logos) but there is definitely a new batch of interesting... ummm... behaviours. Would quirky suffice? :-/ Jerry -- is it ok to forward your notes to the list? They're mighty interesting. 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] Fwd: Simple Digital Library Index System
On Wed, Aug 5, 2009 at 1:00 AM, Mike Dawsonmikeofmanches...@gmail.com 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 value in serving indexes and files statically. So this is all quite intriguing for me now. Let me know about that demo site, I am definitely keen on seeing this in action. 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] iptables generation (was Re: pppd restarting mysteriously)
On Fri, Aug 7, 2009 at 2:15 PM, Joshua N Pritikinjpriti...@pobox.com 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 -- do we want local admins teams to be able to add rules relatively easily, in normal iptables syntax (meaning they can copy rules from books and howtos)? If so, a template to run through 'sed' might work better? What do you think? 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] how to copy activation leases to XS?
On Sun, Aug 9, 2009 at 1:00 PM, Martin Langhoffmartin.langh...@gmail.com 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 installed in any XS. Update your XS with yum from the olpcxs-testing repo :-) 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] [IAEP] Get Satisfaction
On Tue, Aug 11, 2009 at 2:03 PM, Caroline Meekscarol...@solutiongrove.com 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 name and XS-url a Sugar user is from (similar to how our single sign on with Moodle works). This should basically tell us what deployment we are getting feedback from without the user doing anything. It would be a win for Get Satisfaction if we did this because it would be a great case study for them to write up. Would this be enough of a win for us to be worth doing? Any volunteers to do it on our end? I would encourage support people working on XS-based HTTP proxies that can perhaps do SSO on behalf of the local user against specific preconfigured remote servers. Having an HTTP proxy that talks with our idmgr service is good for other reasons too -- we can say only allow internet access to registered users, and further that control into Moodle, so we can use Moodle's sophisticated and fine-grained rights system to allow/ban internet access. But I would keep meticulously away from setting things up for any specific service. It is up to every school to decide what to do. The protections FERPA related laws provide are valuable and important. The goal of preserving privacy is one of our goals. 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-dev.laptop.org Down?
On Sun, Aug 16, 2009 at 2:38 PM, Jerry Vonaujvo...@shaw.ca 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 -- 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] Help Nicaragua
2009/8/18 Kevin Mauricio Benavides Castro webmaster.ac@gmail.com: 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 maquina necesitamos ayuda. todos los pasos que aparecen en la wiki. Hola Kevin! Un par de preguntas, al azar, de problemas frequentes: - Tienen todas las maquinas el firmware q2e41? - Si usas una imagen firmada de OLPC como fuente, el NANDBlaster funciona? O no hace diferencia? Si estas ideas no ayudan a resolver el problema, nos vas a tener que contar exactamente los pasos que siguen (en la maquina fuente, y en las maquinas receptoras, y _exactamente_ el error que ven. abrazos, 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] idmgr broken in latest 0.6
On Tue, Aug 18, 2009 at 9:02 AM, Daniel Draked...@laptop.org 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 you throw that in at the same time? shall do, 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] Scheduled Outage at 1CC--XS-Dev offline
On Wed, Aug 19, 2009 at 9:21 PM, Reuben K. Caron reu...@laptop.org wrote: Martin, can you login and schedule a shutdown? bash-3.2# at 18:55 8/22/2009 at /sbin/shutdown -h now at EOT job 1 at Sat Aug 22 18:55:00 2009 m -- 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] Moodle Profile on the XS - Should we just hide that tab completely?
On Thu, Aug 20, 2009 at 3:10 PM, Caroline Meekscarol...@solutiongrove.com 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 ejabberd 'login' :-) I wouldn't skip it completely, OTOH. Going forward, I think it's a valuable thing to have a profile page. Now, as of 0.6 it should _not_ be allowing the user to change their own details. If it does, it's a bug. I am also thinking of hiding the Blog tab as its not a feature I want to explain or use right now You can just disable blogs -- . http://docs.moodle.org/en/Blogs -- you can hardcode that by setting $CFG-bloglevel in config.php (I can't remember the right value -- probably 0 disables it ) But on the XS, the blog will remain enabled, as the OLPC edu team is very keen on them. So keen that they want to link to the blogs and a blog aggregate in the coursepage. 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] Antitheft: sending a fake stolen...
On Mon, Aug 24, 2009 at 11:45 PM, C. Scott Ananiancsc...@laptop.org 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 mean checking that the various (released) versions of the client code do the right thing with these mixed messages. And that is what I am postponing right now (with this bug as TODO + documentation). 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
[Server-devel] Preparando un XS-en-XO...
[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). Las instrucciones están en http://wiki.laptop.org/go/XS-on-XO con dos comentarios importantes... - usen la imagen más reciente del directorio http://xs-dev.laptop.org/xs/other/ - les recomiendo usar el truco con resize2fs para reducir la imagen a un tamaño un poco _menor_ que la tarjeta en si. Si la tarjeta SD es de 4GB, pidan a resize2fs que achique la imagen a 3900M . abrazos, 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
[Server-devel] OLPC-School-Server-0.6d5 -
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-School-Server-0.6d5-i386.iso Changes: - new idmgr, with the fix dsd pointed out - new olpc-bios-crypto I have been somewhat busy preparing things for a minor revision of the XO OS 8.2.x for deployments that use antitheft, so things have been a bit quiet on this front. I am now trying to clear my XS backlog... 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] OLPC-School-Server-0.6d5 -
On Fri, Aug 28, 2009 at 6:05 PM, Sameer Vermasve...@sfsu.edu 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.6x? The XS leaves in 10 days. Latest 0.6devN -- 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] [Sugar-devel] Jabber Testing Monday Aug 24
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 rework of the 'online' patch was also fairly important (I assume you are using the 'online' SRG as it's the 'default' config). In terms of Sugar preferring salut, and having to restart... - Maybe there are connectivity issues (high latency?) to the XS? - If connectivity to the XS is good, it should be enough to wait, as I've seen Sugar (0.82 at least) try Gabble every once in a while... - If waiting is not enough, it should be enough to reconnect to the AP. That definitely triggers a Gabble connection attempt IOWs if you do have to restart, there maybe a regression there... Overall, I find the relatively fast Telepathy switching a bit frustrating as a programmer, but I've seen how it's useful in real world usage. All I would ask for -- should a genius-in-a-lamp ask for my wishes -- would be some subtle UI hint. Maybe a variation on the quater-arcs that mark the connected AP or something like it... cheers, m On Tue, Aug 25, 2009 at 5:18 AM, Caroline Meekscarol...@solutiongrove.com wrote: Again we are working with XS1 - responding to jabber.sugarlabs.org. Installed a few months ago and currently with 1000 registered users, it tends to have about 20 people on it these days. XS2 - Installed a few weeks ago, responding to schoolserver.xsdev.solutiongrove.com with about 100 registered users First i connected to XS1 and joined a Turtle Art instance. CPU usage rose to 100%. When we stopped sharing the TA it dropped back down. We then shared a chat and CPU again rose to 100%. Next we switched to testing on XS2. Sharing Turtle Art and Chat did not spike the CPU. We felt there were 4 differences between XS1 and XS2 The number of registered users XS 1 is an older version of the XS 0.5.2. XS2 is 0.6beta XS 2 has Gadget XS1 had about 20 users logged in XS2 had 4 or 5 Next we turned off Gadget on XS2 and repeated our test. No CPU spike. Thus we think #3 is unlikely to be the important difference. Next we deleted the registered users on XS1 and switched our testing back to XS1. When we shared TA and chat there was still spikes up to 100% CPU. Thus we think #1 is unlikely to be the important difference. We will work on this again tomorrow so let us know your ideas A separate issue is that it hard to get the computers to connect up the the XS. They tended to stay on Salut, sometimes they would goto Jabber on resstart, other times not. We could really use better control and the ability to force one or the other. Here is the log of our conversation. Josely is Caroline at the GPA School 12:06 joasely-2260 the jabber server is back up to 100% CPU usage. 12:06 joasely-2260 22 people are online. over 1000 are registered 12:06 joasely-2260 one turtle Art is being shared. 12:06 joasely-2260 the load did not seem to change when the GPA computers I am controlling stopped sharing turtle art 12:07 joasely-2260 current hypothisis - its th 1000 registered users that is making the difference between decent performance and 100% CPU 12:08 daveb jabber is back to 0%cpu 12:09 joasely-2260 Interesting note. The Red Turtle Art activity seems to have been started by David who is not online anymore. 12:09 joasely-2260 ah very very interesting. 12:09 joasely-2260 let me join the turtle art again. 12:09 daveb joasely-2260: ok 12:09 daveb we have cpu logs every minute back until august 15 2:09 joasely-2260 ok I have joined the Turtle Art 12:10 joasely-2260 lets give it 5 minutes with just one person sharing it. then I'll add another peron 12:10 daveb up to 100% 12:10 joasely-2260 so note, we can scratch they hypothisis that its the 1000+ registered users. 12:10 daveb yes 12:11 joasely-2260 ok very cool. 12:11 joasely-2260 so sharing a turtle art activity causes 100% CPU 12:11 joasely-2260 I'm gong to quit TA 12:11 tomeu erikos: yes 12:11 satellit_ daveb: that TA has been up for several days 12:11 joasely-2260 let me know when its back down and I'll try a chat. 12:12 joasely-2260 thanks satelit_ 12:12 satellit_ I think it is an orphan 12:13 daveb satellit_: yes but when someone joins te cpu spikes 12:13 daveb joasely-2260: should we quit that and try a different activity? 12:13 daveb unfortunatly i tink debug is off on jabber 12:13 daveb ok cpu back to 0% 12:14 satellit_ daveb: is there a way to kill orphan shared items? 12:14 daveb satellit_: i have no idea 12:14 joasely-2260 started chat on one computer 12:14 daveb cpu 100% 12:15 joasely-2260 wow before I even joined it anywhere else 12:15 daveb yes 12:15 joasely-2260 still at 100%? 12:15 daveb yes 12:15 daveb now 12:15 daveb did we ever get this on the 0.6
Re: [Server-devel] stress testing schoolservers...
On Thu, Aug 27, 2009 at 1:27 AM, Sameer Vermasve...@sfsu.edu 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. If he wants to play w Selenium, I can get him in touch with other ppl who have been working on some Selenium testing of Moodle -- last I saw, there were a few ad hoc sets of tests, but nothing formalised. Note that Selenium is mainly for correctness rather than load testing. - Other fronts: ejabberd - search this list for Douglas' posts on the topic for low-level testing, and search this same list for Caroline's posts on high level testing... In terms of what HW to test, XS-on-XO and a machine that roughly matches the XO-1.5 specs would be what I'd recommend. 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] configure a crypto bios xs
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 esta máquina. En ésta máquina -- que hay que tener guardada bajo llave -- puedes generar las activaciones, usando la llave 'a1' y el archivo CSV, con el programa obc-make-lease-from-csv.sh . Ésta máquina sólo la van a usar ocasionalmente para generar más activaciones. El resto del tiempo, bien guardada. B - XS-on-XO 'activador' Baja la imágen para XS-on-XO que indiqué la semana pasada, instálala en un SD card como marcan las instrucciones. Con ese SD card pones a andar la máquina B. Cuando arrancas la máquina B tienes que hacer la configuración inicial de dominio, como vimos cuando estuve en Managua, y reiniciarla. Las activaciones que han creado en la máquina A, las pones en un disco USB, con el nombre 'lease.sig'. Cuando pones ese disco USB en la máquina B, la máquina las va a cargar automáticamente. Como les mostré cuando estaba en Managua, puedes monitorear eso siguiendo el log /var/log/user.log -- C - XO 'emisor' NANDBlaster -- con un USB con la imagen a emitir. -- m una XO que recomiendo que tengan como máquina 2009/8/31 Kevin Mauricio Benavides Castro kbenavi...@americancollege.edu.ni: Ok martin una vez instalado el bios-crypto en un XS y ya tengo el archivo csv con los seriales y uuid de todas las maquinas ¿en qué directorio lo cargo? En el ejemplo que nos enviaste por el correo ya lo mire pero no tiendo…. Que es lo que tengo que hacer a continuación tengo las llaves que le diste a Raul que tiene las llaves privada de Nicaragua estas llaves son la que voy a colocar en el XS o las que recolecte de las maquinas O solo me voy al directorio /usr/shared/doc/olpc-bios-crypto-0.1.19.gc1637a4/README en este directorio lo tengo que editar -- 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 -- 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] bios-crypto directory
2009/9/1 Kevin Mauricio Benavides Castro kbenavi...@americancollege.edu.ni: 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 llaves maestras Correcto. En el directorio que quieras. Yo te propongo que hagas un directorio /root/master_keys y las copies ahi... Este archivo csv que tengo yo con los serial y los uuid donde los coloco, me dices que los tengo que utilizar el programa obc-make-lease-from-csv.sh en este programa es donde los tengo que colocar ¿? El programa _lo ejecutas_ de acuerdo a las instrucciones que mande. El parametro '--signingkey' va a ser /root/master_keys/a1 (si seguiste mi consejo de armar un directorio /root/master_keys). Si miras mis instrucciones, vas a ver como definir donde va a grabarse el archivo resultante :-) saludos, 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] change upload size on XS
On Fri, Sep 4, 2009 at 10:03 PM, Sameer Vermasve...@sfsu.edu 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_files_work.3F but part of that is bogus -- you only need to fix php.ini in its canonical location. 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] [Sugar-devel] DB module for moodle in XS server serously coool and needed addittion
On Sat, Sep 5, 2009 at 2:56 AM, David Van Asschedvanass...@gmail.com 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=132152 :-) 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] iptables generation
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. And even that doesn't sort things out, so I am trying to understand WTH is going on. I am on a nat'ed connection so the upstream nat box might be the problem. 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
[Server-devel] Moodle-xs updates - merge 1.9.5+, theme, bugfixes
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 this means we are in a far better position to bring in recent work by Jose Cedeno Mihai Sucan that I hope will make Moodle a ton more interesting. Stay tuned... 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] [IAEP] Where should we put Lesson Plans? Currwiki?
Some notes I think may be interesting. On Sat, Sep 12, 2009 at 4:58 PM, Caroline Meeks carol...@solutiongrove.comwrote: 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 currently using either Moodle or Sugar, adding both at once makes the learning curve even harder. Adding a 3rd system... easier? 1. We are focusing on lesson plans in the 1 hour and even 20-minute groupwork time frames. Moodle is more focused on longer time frames. I am about to include José Cedeno's new 'timeline' courseformat which should make classroom usage a bit better :-) 1. We are focusing on what the teacher will do and what the class will do both online and offline during the lesson as well as learning goals, standards, help for the teacher in differentiating the lesson etc. Think the teachers guide for the text book. Moodle is more focused on what the student is doing online. Its not a very natural fit. That sounds a lot like the paper-based materials Peru is putting together. A booklet for the teacher that guides a (probably multi-day) lesson called XO-Reporter that covers lots of things, from choosing a topic to report on, asking good questions, writing in news style with inverted pyramid -- some parts involve using the XO. http://www.perueduca.edu.pe/olpc/archivos/Fasc_PERIODISTA.pdf More like that (though of varied depth) http://www.perueduca.edu.pe/olpc/OLPC_fichasfasc.html For new teachers, and in agreement that we are snowing them with a ton of new things, these docs seem to be most useful _on paper_. I cry a bit for the lost trees, but we do need these stepping stones. And heck, I like my key guides / books / references to be on paper. If things to aid support computer use want to use the same screen I am trying to use for something else, it's a losing proposition. 1. Moodle has tremendous promise in terms of reducing teacher workload. Here is an example of what I hope that in the future Moodle will be able to: 1. Provide a link that students click and they open a Write document that is a template/scaffolding for a specific assignment, say writing a scientific argument. I have _just_ published a Moodle update on Friday that should do this. If a teacher creates a template and uploads it as part of Moodle topic 1. When the document is saved it is automatically turned in as Homework in Moodle allowing the teacher to review and comment on the document from anywhere, even on days when the class does not see the science teacher. That's a bit harder :-) but doable. However, I still see Moodle as just one format teachers will use. Of course :) 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] Troubles running F9 mock chroot under F11
On Tue, Sep 15, 2009 at 12:02 PM, Daniel Drake d...@laptop.org 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 v8. So running rpm -qa inside a fresh F9 chroot on F11 gives you these errors: mock-chroot rpm -qa rpmdb: /var/lib/rpm/Packages: unsupported hash version: 9 error: cannot open Packages index using db3 - Invalid argument (22) error: cannot open Packages database in /var/lib/rpm I keep my build machine of F9 due to similar issues I saw building F7 from F9 -- however, ISTR there's been some discussion of this recently. Hmmm, a bit of googling leads to a nice thread http://www.mail-archive.com/fedora-buildsys-l...@redhat.com/msg02210.html which if you read in depth seems to indicate that either of: rm -f /var/lib/rpm/__db* /bin/rpm --rebuilddb fixes the problem. Probably either triggers the other. For obvious reasons I am interested in the results -- let me know if it works. 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] Backup of user home
On Tue, Sep 15, 2009 at 3:25 PM, Raul Gutierrez Segales r...@rieder.net.py 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 distinction - My reply was about avoiding running as root on the backup server itself -- usage of fakeroot helps *there*. - Your question is about root on the target XS. By using acls creatively (maybe set them on cronjob), Rodolfo can run his backups with the remote process logging in as a non-root user (a 'backup' user). So with these 2 tricks, the whole operation avoids root on both ends of the connection. 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] Attempting to re-install jabber component of XS without re-installing the entire server
On Wed, Sep 16, 2009 at 12:55 PM, Daniel Bennett dant...@gmail.com 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 your install to the latest XS-0.6 code (which is not yet formally released, but is significantly better than 0.5.x). This brings in a lot of enhancements, should not be a very large download (though maybe the Fedora-9 updates are a bit bulky). The main update affecting you is that it includes the new ejabberd that does everything magically. Once yum update is complete, you need to rerun your domain_config command. Just once. And reboot. 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] timestamps on backups
On Thu, Sep 17, 2009 at 1:13 PM, Hamilton Chua hamilton.c...@gmail.com 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 look at the datastore-timestamp directories - are the timestamps correctly in UTC? - If you run tzselect, change the tz to your local tz -- does it fix the problem? If it does, is the problem fixed for new backups or for all backups? The PHP code in dsbackup.php should be ignoring timezones, but something might be sneaking in. Also - the timestamp in the dirnames may be wrong. 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] Attempting to re-install jabber component of XS without re-installing the entire server
On Thu, Sep 17, 2009 at 12:37 PM, Daniel Bennett dant...@gmail.com 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/Telepathy That all sounds right. Some more useful commands # will show 'Online' exists $ejabberdctl srg-list-groups `hostname -f` Online # show the settings of the Online Shared Roster Group - $ ejabberdctl srg-get-info 'Online' `hostname -f` name: Online displayed_groups: [Online] description: Created_by_ejabberd_init online_users: true members: So I definitely buy that some automagic is going on here. Hey -- did you ever doubt it? :-) Is there perhaps documentation I can view that explains to me how to create different groups for different classes and generally manage things without the now obsolete web interface? (real world example: I would like to put all of my 5th graders in a group together, my 2nd graders in another, etc) I might even want to change these on a regular basis. Is this all done through moodle perhaps? Is there documentation I should be using for that? If you could send me a link it would be much appreciated. Yes, you can segregate what XOs see in the neighbourhood view by moodle course membership. This is mainly useful when you have schools with more than ~50 XOs. Quick howto: 1 - Make sure you are using a recent Browse.xo (101 at least, I think) 2 - The first XO to register (reboot) and visit moodle successfully gets some extra rights (is an 'admin' of sorts). So get an XO reg'd and visiting Moodle -- it will auto-authenticate into Moodle. Should see a 'site administration' block on the left. 3 - Create some courses (Site Administration-courses-Add/edit-Add new), assign teachers and students. In the long and confusing new course form, all you need to set is Full Name and Short Name. Please ignore every other option. Note: when it comes to enrolling, setup some courses for XOs you have registered already -- this is mainly to have something to work with! You can add more courses enrolments later. Might help: http://docs.moodle.org/en/Enrolment#Manual_enrolment 4 - In 'Site Administration', go to Courses-Presence Service, and set presencebycourse to Yes. 5 - Within 10 minutes, issuing the same ejabberdctl queries as above should show that Online has been replaced by several SRGs -- one per course. Asking for the 'info' of those, will show you their membership. 6 - When you make the switch from one mode to the other on the XS side, the situation will be confusing for the XOs, so they might need to re-associate to the Access Point (so they re-query their group membership) before they see the changes. Note: All changes to the course membership take 5~10 minutes to appear in ejabberd on the XOs, and some changes may also need an XO to reassociate to the AP. Emphasis on 'some' :-) Dan: service pgsql-xs supports chkconfig, but is not reerenced in any runlevel (run 'chkconfig --add pgsql-xs') Should I run this as it says? Yes! and then restart the server. Both pgsql-xs and moodle will start up. On this first startup, moodle will perform its setup (so it'll take a tad longer). You can see the log of the install in /var/log/moodle/instupg.log klogctl during boot returns 'invalid argument' dunno mshbonds and wmeshs do not seem to be present normal. could not connect to server postgres as well. not normal but you'll have it fixed for the next reboot :-) 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] timestamps on backups
On Thu, Sep 17, 2009 at 1:55 PM, Hamilton Chua hamilton.c...@gmail.com 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 seems they are correctly UTC. Thanks! It seems the time() function returns the epoch based on the local timezone instead of the epoch based on UTC. Actually - time() is doiing the right thing. It was the use of mktime() that was bogus. Replace mktime() with gmmtime(), the 3 times it appears in dsbackuplib.php and the problem is gone. thanks for the debugging! 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] Troubles running F9 mock chroot under F11
On Thu, Sep 17, 2009 at 1:47 PM, Daniel Drake d...@laptop.org 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 repodata/comps.xml . 5. remove stuff that mkslim removes 6. mkisofs no need to mess with bdb stuff any more :) Good to hear it's worked! Thinking about future support for that deployment and also for the XS (as upstream) -- is it in your plans to document what rpms and ks changes you are using? 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] Attempting to re-install jabber component of XS without re-installing the entire server
On Thu, Sep 17, 2009 at 4:11 PM, Daniel Bennett dant...@gmail.com 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 to confirm, what is the output of...? service pgsql-xs status (we expect it to be running) service moodle status (Moodle cron job is enabled) chkconfig --list pgsql-xs (should say that it's on in 3,4 and 5) chkconfig --list moodle (same) Note! There is a 'postgres' service too. That should be stopped. The result is a page stating: Moodle is disabled at the moment. That is because Moodle is having trouble starting up -- and that is all about getting the 'pgsql-xs' service going, and the initial moodle setup running. Some more debugging: - Does the file /etc/moodle/needsupgrade exist? (It should :-) ) - Does the file /var/log/moodle-instupg.log exist? You'll want to look at it. Lines with 'PHP Notice' are safe to ignore, you should see lots of SQL, and a final line saying [Wed Sep 16 05:12:57 EDT 2009] Finished install / upgrade - Success. That file probably has the secret to your woes... - What happens if you do...? /etc/initd.d/moodle stop (bash -x /etc/initd.d/moodle start 21) | tee moodleinit.log The 'tee' command will show you the output but will also save it to the moodleinit.log file. So I am hoping you can post your /var/log/moodle-instupg.log and moodleinit.log files so we can debug further. We've been digging around (but not changing) /etc/httpd/conf/httpd.conf and /etc/httpd/conf/httpd-xs.conf That should not affect things. If moodle is showing you the Moodle is disabled at the moment msg, the apache config is doing its job just fine :-) and they both point to a document root of /var/www/html we are overriding it -- see the /etc/httpd/conf.d/ directory :-) Does this have anything to do with our problem? I don't really know what I'm doing... You're doing pretty well, I gotta say - 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] Attempting to re-install jabber component of XS without re-installing the entire server
On Thu, Sep 17, 2009 at 6:23 PM, Daniel Bennett dant...@gmail.com 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. Sure is good. I googled it up 5 minutes ago :-) 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] Attempting to re-install jabber component of XS without re-installing the entire server
On Thu, Sep 17, 2009 at 7:11 PM, Daniel Bennett dant...@gmail.com 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 bottom-up, and thought the install had become corrupted. But re-visiting it, I realise that the error that is key here is the failure to connect to the Postgres server. psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket /tmp/.s.PGSQL.5432? So we need to make sure that the pgsql-xs service is running, and that it accepts connections from Moodle (that is, from apache). Some commands to try (and the correct output in my test XS) # check that the postgresql service is *not* set to run as it will conflict w pgsql-xs $ chkconfig --list postgresql postgresql 0:off 1:off 2:off 3:off 4:off 5:off 6:off # should say that the server is running $ service pgsql-xs status # should give you a list of databases - see how moodle-xs is owned by apache $ su postgres -c '/usr/bin/psql -l ' List of databases Name| Owner | Encoding +--+--- moodle-xs | apache | UTF8 postgres | postgres | SQL_ASCII template0 | postgres | SQL_ASCII template1 | postgres | SQL_ASCII # check that you can connect as the apache user and list existing tables $sudo -u apache psql moodle-xs -c '\d' List of relations Schema | Name | Type | Owner +-+--+ public | adodb_logsql| table| apache public | adodb_logsql_id_seq | sequence | apache public | mdl_assignment | table| apache public | mdl_assignment_id_seq | sequence | apache public | mdl_assignment_submissions | table| apache public | mdl_assignment_submissions_id_seq | sequence | apache public | mdl_backup_config | table| apache ... Can you try these commands? I think we're pretty close to resolving the problem. 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] Attempting to re-install jabber component of XS without re-installing the entire server
On Fri, Sep 18, 2009 at 10:20 AM, Daniel Bennett dant...@gmail.com 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 your email, do you think that my hunch from last night (below) might be correct? If so, where do I go next? To celebrate! - Your moodle-instupg.log file now will have new stuff, showing that Moodle connected to Postgres and created all the relevant tables... - Moodle should be working now! :-) If Moodle is not working now, post the moodle-instupg.log again, and the verbose log of starting moodle (same procedure as yesterday). If it is all working now, the missing step was just chkconfig --add pgsql-xs 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] Attempting to re-install jabber component of XS without re-installing the entire server
On Fri, Sep 18, 2009 at 10:59 AM, Daniel Bennett dant...@gmail.com 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) from a non-xo laptop, but didn't log in, the first XO will still get semi-admin privileges, right? No problem there. 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
[Server-devel] xs-activation update, and antitheft howto
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 --enablerepo=olpcxs-testing install xs-activation 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 Wiki pages - thanks, some tidyups
On Fri, Sep 18, 2009 at 6:22 PM, Martin Langhoff martin.langh...@gmail.com 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' extension publishing an rss feed. The My Watchlist facility doesn't have a usable rss feed unfortunately. Maybe a mediawiki wiz can help. 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