[Server-devel] ds-backup.sh on desktop hardware
It looks like line 113 does not work it gets in error when you do not have any battery and the command hal-get-property --udi $B_HAL --key battery.charge_level.percentage returns instead of a numeric value, the help for hal-get-property. I think we need a check for $B_HAL being empty here. 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
Re: [Server-devel] We need: examples of XS hardware in use --
On Tue, Jan 12, 2010 at 3:01 PM, Walter Bender walter.ben...@gmail.comwrote: On Tue, Jan 12, 2010 at 7:43 AM, Martin Langhoff martin.langh...@gmail.com wrote: List, David, Reuben, We are getting increasing enquiries what hardware can we use for an XS in a school with N laptops?, and frankly the http://wiki.laptop.org/go/XS_Recommended_Hardware is a bit slim on concrete recommendations. So I need your help -- I've added some info in the hardware known to work section, but I'd like David to put more info on the exact model of MSI Wind he's using, additional hardware, number of laptops supported, and any extra notes. Similarly, Reuben, I need more info on what hw the OLPCCorps crowd is using. And anyone else that's running an XS (hi Hamilton!)... we need your hw profile and your numbers. Related, what is the in-the-field useful footprint for running an XS VM as per Hamilton's configuration? -walter Here is what the VM sees 2GB RAM It has about 240mb free. beam is running around 300mb. gadget is running around 500mb Little load on the CPU right now. It is assigned 1CPU up to 2Ghz ejabberd has 7247 registered users 19 online users. This is close to the average i have seen between 20-30 since we started running it. Dave -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel -- 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
Re: [Server-devel] [IAEP] Sharing EToys projects
On Sun, Dec 6, 2009 at 7:22 PM, Gerald Ardito gerald.ard...@gmail.comwrote: Tomeu, There is no mime type that I can see. The Journal entry simply says File filename.pr from url for file. This is no different, by the way, when I upload and then download games we made in Memorize. However, Memorize will load the downloaded game. Thanks. Gerald Hi, I checked the apache config and added the mime type for the .pr files. I downloaded the file on my Mac and it got the correct mime type and offered to open the project in Squeak. I tried on soas-strawberry and XO-802 and it did not open etoys from the journal. Maybe etoys is looking for a different mime-type than x-application/squeak-project? Dave On Sun, Dec 6, 2009 at 7:08 PM, Tomeu Vizoso to...@sugarlabs.org wrote: On Sun, Dec 6, 2009 at 21:31, Gerald Ardito gerald.ard...@gmail.com wrote: Hello. I am working with 140 5th grade students who are using XOs (mostly) and netbooks with SOAS. About 50 of them are using Etoys to create projects. I am trying to find a way to share them with their teachers and each other. When I try to upload them to a Moodle course and them download them, the downloaded files can't be read by EToys. Any ideas? This uses to be a problem with the mime types. Can you see with which mimetype is downloaded the file from moodle? Regards, Tomeu -- «Sugar Labs is anyone who participates in improving and using Sugar. What Sugar Labs does is determined by the participants.» - David Farning ___ IAEP -- It's An Education Project (not a laptop project!) i...@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep -- 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
Re: [Server-devel] [IAEP] Sharing EToys projects
On Mon, Dec 7, 2009 at 4:13 PM, Bert Freudenberg b...@freudenbergs.dewrote: On 07.12.2009, at 22:08, Dave Bauer wrote: On Mon, Dec 7, 2009 at 4:04 PM, Bert Freudenberg b...@freudenbergs.dewrote: On 07.12.2009, at 21:54, Dave Bauer wrote: On Sun, Dec 6, 2009 at 7:22 PM, Gerald Ardito gerald.ard...@gmail.comwrote: Tomeu, There is no mime type that I can see. The Journal entry simply says File filename.pr from url for file. This is no different, by the way, when I upload and then download games we made in Memorize. However, Memorize will load the downloaded game. Thanks. Gerald Hi, I checked the apache config and added the mime type for the .pr files. I downloaded the file on my Mac and it got the correct mime type and offered to open the project in Squeak. I'm not sure if the filename doesn't play a role on the Mac. I tried on soas-strawberry and XO-802 and it did not open etoys from the journal. Maybe etoys is looking for a different mime-type than x-application/squeak-project? Try application/x-squeak-project not x-application/... It used to work on 802. And it does work in F11_XO1.5/Sugar 0.84 - I just tried. Just go to Squeakland.org and click the project thumbnail next to Jeopardy 3point0 which is the current project of the week. Ok, good news! That opens in the etoys plugin in my browser so I will try to change the mime type and test again. Thanks Dave Ah well, the plugin embedding code (on Mac/Win/non-sugar Linux) provides its own mime type, so this does not really mean it will work in Sugar, where you do not have (nor need) the plugin. OK, I fixed this by adding 'pr' = array ('type'='application/x-squeak-project','icon'='video.gif'), to lib/filelib.php in moodle. Looks like our version of XS did not support this mime type for forum uploads in moodle. This should be an XS 0.6 install. Thanks! Dave - Bert - ___ IAEP -- It's An Education Project (not a laptop project!) i...@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep -- 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
Re: Broken XO battery (battery LED flashes red)
On Wed, Nov 11, 2009 at 2:22 AM, Richard A. Smith rich...@laptop.orgwrote: Can the battery be fixed? Yes. You don't appear to have any of the multiple 0xffs in your banks so look like its just your pack status is 0x00 rather than 0x6a Grab the latest batman.fth (As of 2 minutes ago, I just updated it) http://dev.laptop.org/pub/firmware/scripts/batman.fth ok fload u:\batman.fth ok bat-fix-error-2 ok batman-stop Interesting. I tried this by downloading batman.fth to USB and trying fload u:\batman.fth I get the following errors: fileih isn't unique bat-b@ isn't unique ok Any ideas? Thanks Dave Firmware Q2E41 How can a dump the output of bat-dump-banks in a file on a USB flash drive? We had to copy it manually. Theres not a way to put bat-dump-banks on a file unless you have a serial console. There is the ability to save a copy of the eeprom but thats binary. Rather than post up the whole output of bat-dump-banks I'll update the troubleshooting guide and include what to be looking for to determine if there are no other errors. I'll also need to add the bit about bat-fix-error-2 -- Richard A. Smith rich...@laptop.org One Laptop per Child ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Sugar on the Asus Eee 701
On Tue, Oct 27, 2009 at 1:54 AM, Tabitha Roder tabi...@hrdnz.com wrote: Copy of my blog post on the experience of installing Sugar on Asus Eee 701 Sugar on the Eee I wanted to put Sugar on an Asus Eee 701 for my niece. Thanks to Trademe I could pick one up at a reasonable price. For those that know me well, yes I had some help with setting up Sugar and yes I had some help with writing this post. SOAS Strawberry runs well on the Eee, but you can't really install it. There are various guides, which basically consist of First, the most interesting and handy thing about a netbook, is the ease of booting off removeable media. Many of my friends use SD cards to try out different OS. That said, you can do a full install from SOAS using the zyx-liveinstaller. You can download it http://filteredperception.org/smiley/projects/zyx-liveinstaller/ and install it with rpm and then run it. It will install to any disk, either the built in SSD or a removable USB or SD card. This is just one option, of course. Dave Install anaconda Run liveinst Fight with partitioning (hint, don't choose automatic, choose custom, delete everything and make an ext3 partition) Fix the resulting broken redhat installation with no graphical interface by installing the entire KDE stack and messing with inittab (note, you'll need a wired ethernet connection, or epic iwconfig fu) Install sugar The first work around was just to dd the SOAS usb image directly onto the Eee's drive. This was good, the Eee boots quickly and starts sugar by default, however our USB image was only 1GB so we couldn't use the rest of the disk, and the journal complained that it was full, even when it wasn't. I think the journal problem was probably to do with the tricks the live image performs to boot of read only media, since we did a byte-for-byte copy of the live image, these are all still present when booting from the Eee's drive. I'm told a future version of SOAS may support installation to the hard disk. The current solution is the Ubuntu Netbook Remix and Sugar from alsroot's PPA. I used the Karmic Koala Beta and updated to the latest packages. This wasn't entirely plain sailing, Sugar's web browse activity didn't work until I did apt-get build-dep python-hulahop, see this bug. This has made the Eee a really nice platform, you can alt tab between Sugar and your other apps but not the netbook remix menu thing, so you can't start new non-sugar apps without quitting Sugar. The only real problem is the Eee 701's low res screen - not all activities are designed to shrink this far, Scratch being the most missed example as it is my nieces favourite. The things you do (or your helper does) to please a nine year old. Big thanks to said helper for giving up about 10 hours more than I thought we needed. Sharing the experience, I hope that this helps the developers see where the issues were and that next time I try this (I have another Eee ready) that it is easy to see improvements - I can wait a while ;-) ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Server-devel] XS on Netbook
On Thu, Oct 22, 2009 at 3:49 PM, Gerald Ardito gerald.ard...@gmail.com wrote: Sameer, I have tried to install the XS on a Dell Laptop (not netbook). It runs great, but the wireless indicator is not on. Could there be missing drivers? If so, what can I do? Probably uses broadcom drivers. Do lspci and check. I am not sure what is the best option, I am not sure which version of Fedora the XS is based on. Best bet is to do lspci and find out what chipset you have and see what other Fedora users have done. Dave Thanks. Gerald On Tue, Oct 20, 2009 at 1:00 AM, Sameer Verma sve...@sfsu.edu wrote: On Mon, Oct 19, 2009 at 4:35 PM, Gerald Ardito gerald.ard...@gmail.com wrote: Hello, Has anyone installed the XS on a netbook? The big issue is that there is no optical drive, but beyond that I was wondering if that would work. Thanks. Gerald ___ Server-devel mailing list server-de...@lists.laptop.org http://lists.laptop.org/listinfo/server-devel I have it running on a Fujitsu Lifebook P2120 (http://asia.cnet.com/reviews/notebooks/0,39050488,39009460p,00.htm), from an era when small laptops were expensive and were not called netbooks. This thing has a 933 MHz Crusoe processor, with 384 MB RAM. It doesn't complain for small set of XOs. Now that you've brought it up, I will try a netbook as well. cheers, Sameer -- Dr. Sameer Verma, Ph.D. Associate Professor, Information Systems Director, Center for Business Solutions San Francisco State University http://verma.sfsu.edu/ http://cbs.sfsu.edu/ http://is.sfsu.edu/ ___ Server-devel mailing list server-de...@lists.laptop.org http://lists.laptop.org/listinfo/server-devel -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Server-devel mailing list server-de...@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] XS on Netbook
On Mon, Oct 19, 2009 at 7:35 PM, Gerald Ardito gerald.ard...@gmail.com wrote: Hello, Has anyone installed the XS on a netbook? The big issue is that there is no optical drive, but beyond that I was wondering if that would work. Since you can run XS on an XO it should work fine. A little faster. You'll need an external hard drive to store the user data and backups. Dave Thanks. Gerald ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel -- 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
Re: [Server-devel] XS on Netbook
On Mon, Oct 19, 2009 at 9:19 PM, Gerald Ardito gerald.ard...@gmail.com wrote: Dave, Thanks. And can I install (easily) from a USB drive, or do I need to attach an external CD drive? I haven;t tried it, but if you can make a bootable USB from the iso you should be able to install from there. I use unetbootin or Fedora LiveUSB creator for that and I have installed more traditional Linux installs on my netbook. Dave Gerald On Mon, Oct 19, 2009 at 8:18 PM, Dave Bauer d...@solutiongrove.com wrote: On Mon, Oct 19, 2009 at 7:35 PM, Gerald Ardito gerald.ard...@gmail.com wrote: Hello, Has anyone installed the XS on a netbook? The big issue is that there is no optical drive, but beyond that I was wondering if that would work. Since you can run XS on an XO it should work fine. A little faster. You'll need an external hard drive to store the user data and backups. Dave Thanks. Gerald ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com -- 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
[Server-devel] Moodle/Ejabberd group config
I am trying to test out the Moodle/Ejabberd course/group configuration following http://wiki.laptop.org/go/XS_Techniques_and_Configuration#Segregating_presence_by_course_groups I turned on the presence service on moodle, restarted everything, created some courses. ejabberdctl srg-list-groups returns online Online and I can confirm I can still see everyone in the neighborhood even though they are seperated into different courses. Where should I look to debug this? -- 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
Re: [Server-devel] Moodle/Ejabberd group config
On Tue, Oct 13, 2009 at 11:30 AM, Martin Langhoff martin.langh...@gmail.com wrote: On Tue, Oct 13, 2009 at 5:22 PM, Dave Bauer d...@solutiongrove.com wrote: I am trying to test out the Moodle/Ejabberd course/group configuration following http://wiki.laptop.org/go/XS_Techniques_and_Configuration#Segregating_presence_by_course_groups I turned on the presence service on moodle, restarted everything, created some courses. Good! ejabberdctl srg-list-groups returns online Online and I can confirm I can still see everyone in the neighborhood even though they are seperated into different courses. - Did you create courses and assign users as teachers or students in them? Yes - After ~10 minutes ejabberdctl srg-list-groups still lists only Online? - Recheck that you got the setting on moodle admin correct Yes - look at /var/log/moodle/cron.log -- it is fairly verbose, but it will talk of creating / destroying the SRGs in ejabberd Thanks, I'll check that out. Dave 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 -- 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
Re: [Server-devel] Moodle/Ejabberd group config
On Tue, Oct 13, 2009 at 11:38 AM, Dave Bauer d...@solutiongrove.com wrote: On Tue, Oct 13, 2009 at 11:30 AM, Martin Langhoff martin.langh...@gmail.com wrote: On Tue, Oct 13, 2009 at 5:22 PM, Dave Bauer d...@solutiongrove.com wrote: I am trying to test out the Moodle/Ejabberd course/group configuration following http://wiki.laptop.org/go/XS_Techniques_and_Configuration#Segregating_presence_by_course_groups I turned on the presence service on moodle, restarted everything, created some courses. Good! ejabberdctl srg-list-groups returns online Online and I can confirm I can still see everyone in the neighborhood even though they are seperated into different courses. - Did you create courses and assign users as teachers or students in them? Yes - After ~10 minutes ejabberdctl srg-list-groups still lists only Online? - Recheck that you got the setting on moodle admin correct Yes - look at /var/log/moodle/cron.log -- it is fairly verbose, but it will talk of creating / destroying the SRGs in ejabberd Thanks, I'll check that out. I tracked this down. In moodle/web/auth/olpcxs/auth.php where schoolserver is set as the hostname. I changed it to use php_uname('n') and it is working now. I'll submit a patch if you think this is workable. It coincides with the registration patches to allow other server names. Dave Dave 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 -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com -- 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
Re: [Server-devel] Moodle/Ejabberd group config
On Tue, Oct 13, 2009 at 12:35 PM, Martin Langhoff martin.langh...@gmail.com wrote: On Tue, Oct 13, 2009 at 5:58 PM, Dave Bauer d...@solutiongrove.com wrote: I tracked this down. In moodle/web/auth/olpcxs/auth.php where schoolserver is set as the hostname. I changed it to use php_uname('n') and it is working now. I'll submit a patch if you think this is workable. It coincides with the registration patches to allow other server names. Why was it failing? What was $XS_FQDN? It was concatenating 'schoolserver' . $XS_FQDN where our XS is not called schoolserver. Dave 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 -- 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
[Server-devel] Upgrading from XS0.6d3 or beta etc.
Is it possible to upgrade from a prerelease version to XS 0.6 final with yum? Thanks Dave -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Server-devel mailing list server-de...@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] [Sugar-devel] Results of today's Jabber Testing
On Wed, Aug 12, 2009 at 9:00 AM, Dave Bauer d...@solutiongrove.com wrote: On Tue, Aug 11, 2009 at 9:39 PM, Martin Langhoff martin.langh...@gmail.com wrote: On Tue, Aug 11, 2009 at 8:33 PM, Caroline Meekscarol...@solutiongrove.com wrote: I worked with the RIT contingent and Dave Farning today to do some collaboration testing. We tested with 8 computers on a rarely used dev XS system hosted by Solution Grove. Interesting! Your report is a bit confusing so I will - you had no problems connecting 8 users to a vanilla XS running some 0.6d, right? - but later on jabber.s.o you had problems with 29 users... Is that correct? What sw is jabber.s.o running? Does it deviate in any way from a recent XS 0.6? Could network problems explain part of the problem? jabber.sl.o is XS 0.5.2 stock install. It has 2GB of ram. Both xsdev and jabber.sl.o are virtual machines on the same network in the same rack. Note, I was able to simply and easily install gadget on the XS 0.6 install so it was ALSO using gadget, and I am not sure how this might affect the performance. Dave -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Server-devel mailing list server-de...@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] ejabberd web interface
The commands in the installiing software page should work ie: ejabberdctl register admin password then ad...@hostname.domain.com password should log you in. On Thu, Aug 6, 2009 at 11:41 AM, Miguel Salazarmiguelsalaz...@gmail.com wrote: Hi! I've been struggling a bit with ejabberd lately. As of now, ejabberd is running fine and smoothly. However, I can't access the web admin interface since it keeps prompting me for a username/password. I tried registering several accounts with different passwords, and none of them seem to work (I'm trying to set-up a Shared Roster, and I know this can be done 'manually', but it's too much of a hazzle for our intended purposes). Could anyone give me an insight into what's going on or what can I do to fix this? Any help will be greatly appreciated! -Miguel Salazar ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel -- 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
Re: [Server-devel] XS Registration
You right click on the XO icon and choose Register from the dropdown menu. Dave On Thu, Jul 23, 2009 at 12:23 PM, Miguel Salazarmiguelsalaz...@gmail.com wrote: Hi! I'm trying to set-up an XS as a backup server for XO's. I've been through the wiki and the first step to do this states that I need to register the XO in the XS. Could anyone tell me how to accomplish this? I've looked around and still haven't found a way to do this. Any help will be appreciated! ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel -- 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
Re: [Server-devel] logging performance
On Wed, Jul 15, 2009 at 3:23 PM, 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. Suggestions? We are using SAR on jabber.sugarlabs.org http://linux.die.net/man/1/sar I modied a cron job to log every minute, you can adjust as necessary. It is in /etc/cron.d/sysstat # Run system activity accounting tool every 10 minutes */1 * * * * root /usr/lib/sa/sa1 -d 1 1 Dave -- 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 -- 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
Re: [Server-devel] /library partition
I am not sure if there is any documentation: It has pgsql-xs the postgresql database for Moodle users which I think are home directories for the registered XOs which will contain their backups. xs-activation, hopefully martin will explain that xs-activity-server which I assume allows you to run a server to distribute activities, and the content goes there. xs-rsync I am not sure what this is. 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. Dave On Thu, Jul 16, 2009 at 4:40 PM, Sameer Vermasve...@sfsu.edu wrote: Any documentation on what lives in /library and how to make it useful? 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 -- 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
Re: [Server-devel] [Sugar-devel] Collaboration Plan for the GPA tomorrow
On Mon, Jul 13, 2009 at 9:43 PM, Caroline Meekscarol...@solutiongrove.com wrote: We will be at the GPA tomorrow and we'll have time to test after class, probably around 12:30. So far all I have planned is to try getting rid of the jabber key on the master and try cloning some new sticks. We will also enable debugging following Dave's suggestion: To do that I edit ~/.Xclients to include this if [ -f ~/.sugar/debug ]; then . ~/.sugar/debug fi before eval \\\$(dbus-launch --sh-syntax --exit-with-session) Then we need to edit ~/.sugar/debug to fix a couple of typos: Missing space between exportGABBLE_LOGFILE and exportSALUTLOGFILE. It should be export GABBLE_LOGFILE... export SALUT_LOGFILE Are there any other suggestions? We got a hint from collabora that we should check the keepalive setting. Does anyone know what that is or how we could change it? There seems to be a separate bug that keeps local collaboration from working. Does anyone have any thoughts of what it might be or how to get more information? The debugging settings will also enabled logs for local collaboration, so hopefully that will give us the information we need. In fact it might also be related to the duplicated keys, but I don't know enough about the internals to say for sure. Dave -- Forwarded message -- From: Caroline Meeks carol...@solutiongrove.com Date: Mon, Jul 13, 2009 at 5:28 PM Subject: Collaboration Plan for the GPA tomorrow To: Caroline Meeks carol...@solutiongrove.com -- 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 ___ Sugar-devel mailing list sugar-de...@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel -- 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
Re: [Server-devel] [Sugar-devel] GPA XS Report
On Tue, Jul 7, 2009 at 10:27 PM, Caroline Meekssolutiongr...@gmail.com wrote: On Tue, Jul 7, 2009 at 10:20 PM, Martin Langhoff martin.langh...@gmail.com wrote: 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? 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. I think some of your comments below may still be relevant but I don't entirely understand. 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.' 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. Using the DNS seems problematic, probably due to my lack on knowledge. 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? The SoaS is not getting DHCP from the schoolserver due to the setup where the XS is just inserting into the same LAN as the clients. Dave 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 ___ Sugar-devel mailing list sugar-de...@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel -- Caroline Meeks Solution Grove carol...@solutiongrove.com 617-500-3488 - Office 505-213-3268 - Fax ___ Sugar-devel mailing list sugar-de...@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel -- 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
Re: [Server-devel] Gadget on XS
Here is what I have so far: XS 0.6 Install frm kickstart Edit /etc/sysconfig/network-scripts/ifcfg-eth0-local for static IP run /etc/sysconfig/olpc-scripts/domain_config Make sure ejabberd is configured correctly Edit /etc/ejabberd/ejabberd.cfg Restart ejabberdctl --node ejabb...@schoolserver start Gadget Get RPM http://kojipkgs.fedoraproject.org/packages/gadget/0.0.3/2.fc9/noarch/gadget-0.0.3-2.fc9.noarch.rpm More Info: http://koji.fedoraproject.org/koji/buildinfo?buildID=95961 yum install python-twisted rpm -i gadget-0.0.3-2.fc9.noarch.rpm Edit ejabberd.cfg to support gadget Hostname is gadget.full hostname ie gadget.schoolserver.xsdev.solutiongrove.com It looks like its not using gadget but local collaboration. I turned off the shared roster and shutdown ejabberd and I think it might be using local collaboration instead of the server. I need more debugging. Dave On Mon, Jul 6, 2009 at 3:00 PM, Walter Bender walter.ben...@gmail.comwrote: We plan to set up a server tomorrow at the Gardner School. Can you point to those instructions you followed to your success? thanks. -walter On Mon, Jul 6, 2009 at 2:34 PM, Dave Bauer dave.ba...@gmail.com wrote: Success! I did a new XS 0.6d2 install and added the gadget RPM. I configured it correctly an gadget is running and I can see gadget communicating with Soas-strawberry! I have not been able to see what is different on this install, it is 0.6d2 instead of 0.5.2. Dave On Fri, Apr 17, 2009 at 4:57 AM, Guillaume Desmottes guillaume.desmot...@collabora.co.uk wrote: Le mercredi 15 avril 2009 à 11:45 -0400, Dave Bauer a écrit : On Mon, Apr 13, 2009 at 5:48 AM, Guillaume Desmottes guillaume.desmot...@collabora.co.uk wrote: Le vendredi 03 avril 2009 à 10:40 -0400, Dave Bauer a écrit : AHA! gadget.config. Can we add the startup and gadget.config to the README? I didn't realise this file was not documented, sorry for that. I wrote some words about it in this patch: http://git.collabora.co.uk/?p=user/cassidy/gadget;a=commitdiff;h=711fddfc4bdfad75582af776baa3beb532dea083 Could you review it please? Then I'll merge it to master. thanks, G. Tried this based on the documentation you added less /etc/gadget/gadget.config What's the domain of your ejabberd server? Look for something like that in ejabbed.cfg: %% Hostname {hosts, [jabber.sugarlabs.org]}. server_host = 'localhost' server_port = 5560 domain = 'sugarlabs.org' In my case the domain here is then: domain = 'gadget.jabber.sugarlabs.org' password = 'X' roster_path = 'gadget.roster' ejabberd-xs.cfg {5560, ejabberd_service, [ {ip, {127, 0, 0, 1}}, {access, all}, {host, gadget.localhost, [{password, X}]}]} and here: {5560, ejabberd_service, [ {ip, {127, 0, 0, 1}}, {access, all}, {host, gadget.jabber.sugarlabs.org, [{password, X}]}]}, -- 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 -- Walter Bender Sugar Labs http://www.sugarlabs.org -- 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
Re: [Server-devel] Gadget on XS
On Mon, Jul 6, 2009 at 6:00 PM, Martin Langhoff martin.langh...@gmail.comwrote: 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. It is my understanding it somehow uses less network resources, but I don't have that much information. For my specific application, I will be using the Moodle/ejabberd combination, but as someone asked, I figured I would try it out and see if gadget worked. I can at least report I was able to configure it As noone is working on gadget right now, and I don't have any information on how it works or where one would go to get that information, or how to use it to improve collaboration, I can't do much with it. Dave 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 -- 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
Re: [Server-devel] Automatic @online@ shared roster
Thanks, I figured it must be some cron thing since it kept coming back every couple of minutes. I can track it down from there. 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. Thanks Dave On Mon, Jul 6, 2009 at 5:53 PM, Martin Langhoff martin.langh...@gmail.comwrote: 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 -- 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
Re: [Sugar-devel] Browse.xo -- preserving a downloaded filename?
On Tue, Jun 30, 2009 at 1:46 PM, Martin Langhoff martin.langh...@gmail.comwrote: On Tue, Jun 30, 2009 at 7:25 PM, Bert Freudenbergb...@freudenbergs.de wrote: What's your use case? Does leases.sig give you a hint? :-) The XS can now handle antitheft services. One of the things I added is the ability to generate a leases.sig with short-lived leases for all the (non-stolen) machines in the school. In the normal course of operation, the XOs will work with the XS over wireless, getting their individual leases. This is a fallback rescue leases.sig . As you can see in my other email, the problem is compounded with the Journal messing up rename :-/ We need a file manager IMHO. What would the file manager be for? Who is downloading this file, how often and what do they need to do with it? It is easy enough to download it from the Terminal for a technical user. Dave 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 ___ Sugar-devel mailing list sugar-de...@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Server-devel] Moodle/Server configuration for static IP external access
On Thu, Jun 18, 2009 at 10:19 AM, Martin Langhoff martin.langh...@gmail.com wrote: 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. Cool, maybe a switch to turn this off would be useful for those who are running a different configuration. Dave 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 -- 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
[Server-devel] Upgrade to 0.6
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? 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
Re: [Server-devel] Upgrade to 0.6
On Wed, Jun 17, 2009 at 10:44 AM, Martin Langhoff martin.langh...@gmail.com wrote: 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, Thanks. For now I think setting up a seperate install to try out 0.6 is the best bet, and when its closer to ready, we can make a backup and test the upgrade. Dave 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 -- 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
Re: [Server-devel] Aliasing and backup
On Tue, Jun 2, 2009 at 6:01 AM, Martin Langhoff martin.langh...@gmail.comwrote: On Mon, Jun 1, 2009 at 10:40 PM, Dave Bauer d...@solutiongrove.com wrote: Ok, I am asked here after I read the XS Blueprint for account aliasing, I am not sure I am thinking about this the right way. I registered SoaS and generated a backup and its available from Moodle just fine. Cool. I later register another SoaS and go to the the old registration, click the alias tab, choose the new registration and click the Alias this account button. That's the correct workflow, but there may be a bug in that it won't show you the link to the 'available snapshots' until you have the first backup form the 'new' SoaS. To confirm... - wait until the 'new' SoaS makes the first backup - revisit that page - should show the empty-ish backup from the new SoaS - click on the link that shows all available snapshots... - should show you the snapshots from your 'old' SoaS Ok I ran the backup and then tried to login to the schoolserver from Browse. It prefills in my login name as the aliased user instead of the new username and my magic cookie doesn't work anymore. I guess its changing the username when I try to login and it doesn't match. I'll see if I can track this down, I am not sure where it gets the cookie and how aliasing works yet. Dave hth, n -- 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 -- 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
Re: [Server-devel] Aliasing and backup
On Tue, Jun 2, 2009 at 11:36 AM, Martin Langhoff martin.langh...@gmail.comwrote: On Tue, Jun 2, 2009 at 5:25 PM, Dave Bauer d...@solutiongrove.com wrote: Ok I ran the backup and then tried to login to the schoolserver from Browse. It prefills in my login name as the aliased user instead of the new username and my magic cookie doesn't work anymore. Correct. Once your 'new' machine has been aliased to the old account, you restart Browse and you're in your old account. I guess its changing the username when I try to login and it doesn't match. Nothing to do with usernames :-) it's down to the serial number of the machine. I'll see if I can track this down, I am not sure where it gets the cookie and how aliasing works yet. The aliasing is fairly high level. In the 'login to moodle' process, moodle checks whether your SN is aliased to any other account. If so, it logs you into that _other_ acct instead. Yes, for some reason it was asking for the password. I had the soas nickname not matching on the old/new registrations. I rergistered with the same nickname and then followed the procedure exactly and I was logged in automatically. Dave 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 -- 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
[Server-devel] Aliasing and backup
Ok, I am asked here after I read the XS Blueprint for account aliasing, I am not sure I am thinking about this the right way. I registered SoaS and generated a backup and its available from Moodle just fine. I later register another SoaS and go to the the old registration, click the alias tab, choose the new registration and click the Alias this account button. I login to the XS from the new registration and an logged in automatically. I go to my backup tab and it says this user has no backup data yet. As an experiment I also tried aliasing in the opposite direction, going to the new user, clicking that alias tab and choosing the old user to the same effect. Should the backups from the original account show up on the new aliased account? 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
[Server-devel] 503 Error, library full when running ds-backup.sh
I tracked down a problem backing up SoaS. We have working registration and ds-backup client etc. I was getting a 503 error from the backup-available.py. This was the result of /library/ being full. I checked and /library/ is only 30 megabytes! Is this expected. I setup this XS on an 8G disk with 4.7G free after install. Is there an easy way to expand this? It looks like its LVM. I can create a new volume and map it to /library/ if necessary, but it seems the 30M default is pretty small. 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
Re: [Server-devel] ds-backup.py backup_url server check
On Mon, May 4, 2009 at 3:55 PM, Daniel Drake d...@laptop.org wrote: 2009/5/1 Dave Bauer d...@solutiongrove.com: OK. If anyone else is interested, here is Browse-101 for 0.82 including the fix for http://dev.laptop.org/ticket/8857 http://dev.laptop.org/~dsd/py-activities/Browse-102.xohttp://dev.laptop.org/%7Edsd/py-activities/Browse-102.xo and I tried browse-103 from activities.sugarlabs.org and neither one contains the magic cookie code that I can find. Specifically I looked for import sqlite3 in webactivity.py. It's there in my Browse-102. Look harder :) Thank you everyone! I have browse 102 on my XO and it automagically logs into the schoolserver. Now I am ready to actually make things work. Dave Daniel -- 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
Re: [Server-devel] ds-backup.py backup_url server check
On Tue, Apr 28, 2009 at 3:39 PM, Martin Langhoff martin.langh...@gmail.comwrote: On Tue, Apr 28, 2009 at 9:01 PM, Dave Bauer d...@solutiongrove.com wrote: Thanks for the tips. I am testing with my XO. What version of browse.xo do I need that supports the magic cookies? Do I need to upgrade my XO software or download certain new files? No prob. You want Browse-101 or newer, that's all. I searched and found a link to browse-101 OK. If anyone else is interested, here is Browse-101 for 0.82 including the fix for http://dev.laptop.org/ticket/8857 http://dev.laptop.org/~dsd/py-activities/Browse-102.xohttp://dev.laptop.org/%7Edsd/py-activities/Browse-102.xo and I tried browse-103 from activities.sugarlabs.org and neither one contains the magic cookie code that I can find. Specifically I looked for import sqlite3 in webactivity.py. Is there a certain release or URL for the browse-101 that I should be using to test? Thanks Dave 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 -- 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
Re: [Server-devel] backup : problem opening /library/users/XXXX/datastore-xxxxx/store
On Thu, Apr 23, 2009 at 7:58 PM, Hamilton Chua hamilton.c...@gmail.comwrote: I'm using SoaS, I have modified schoolserver.py to register with my XS and keep the generated serial and uuid in gconf. I have also modified ds-backup.py to read the SN from gconf. I'm not sure if this is an issue with the hacks I've made but I got an error in the moodle UI backup tab that says Problem opening /library/users//datastore-x/store where is the serial and is the data and time when the backup was made. I looked at these directories in the XS and I could not a find a store folder or file in datastore- Actually I think this happens, from my reading of the code, when there haven't been any backups yet. You need to make sure the backup process has run on the client side first. Dave Any ideas ? Thanks :-) ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel -- 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
[Server-devel] Fwd: [Sugar-devel] testing backup and restore on SoaS
Forwarded from sugar-devel, Are the backup scripts available? We have a script that allows us to register SoaS and we want to try the backup scripts with that. Thanks! Dave -- Forwarded message -- From: Hamilton Chua hamilton.c...@gmail.com Date: Fri, Apr 17, 2009 at 7:43 AM Subject: [Sugar-devel] testing backup and restore on SoaS To: sugar-de...@lists.sugarlabs.org Hello, I would like to try out testing backup and restore on SoaS but I can't seem to find the scripts or folders mentioned at http://wiki.laptop.org/go/XS_Blueprints:Datastore_Simple_Backup_and_Restore Are the backup scripts included in the SoaS build ? If they're not, any reason why we can't include them ? Thanks, Hamilton ___ Sugar-devel mailing list sugar-de...@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Server-devel mailing list server-de...@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Fwd: [Sugar-devel] testing backup and restore on SoaS
On Mon, Apr 20, 2009 at 10:30 AM, Martin Langhoff martin.langh...@gmail.com wrote: On Mon, Apr 20, 2009 at 4:13 PM, Dave Bauer dave.ba...@gmail.com wrote: Forwarded from sugar-devel, Are the backup scripts available? We have a script that allows us to register SoaS and we want to try the backup scripts with that. Grab them from the same place where you found the ejabberd pkg ;-) -- you're looking for ds-backup-client. Hmmm, I got the ejabberd from olpcxs-testing repository. I don't see ds-backup-client there. I guess I am looking in the wrong place. Dave Note that you'll need to get in motion to teach SoaS about registering to the School Server, something that Sugar knows how to do, or used to know.. Give the scripts a read so you'll see how they work, and what bits of Sugar we need (somehow, sugar profile needs to know about a backup server, 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 -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Server-devel mailing list server-de...@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
On Mon, Apr 13, 2009 at 5:48 AM, Guillaume Desmottes guillaume.desmot...@collabora.co.uk wrote: Le vendredi 03 avril 2009 à 10:40 -0400, Dave Bauer a écrit : AHA! gadget.config. Can we add the startup and gadget.config to the README? I didn't realise this file was not documented, sorry for that. I wrote some words about it in this patch: http://git.collabora.co.uk/?p=user/cassidy/gadget;a=commitdiff;h=711fddfc4bdfad75582af776baa3beb532dea083 Could you review it please? Then I'll merge it to master. thanks, G. Tried this based on the documentation you added less /etc/gadget/gadget.config server_host = 'localhost' server_port = 5560 domain = 'sugarlabs.org' password = 'X' roster_path = 'gadget.roster' ejabberd-xs.cfg {5560, ejabberd_service, [ {ip, {127, 0, 0, 1}}, {access, all}, {host, gadget.localhost, [{password, X}]}]} Same result in the gadget log. Restarted ejabbderd and gadget services. 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
[Server-devel] 100 user test on XS
I tested ejabberd from XS 0.5.2 with 100 concurrent users using hyperactivity. This is just using shared-roster. Memory usage was totaly under 1G with no swapping. It got a little slow on the client side running the hyperactivity code. The neighborhood view was pretty crowded but everything seemed to work well. This was a very basic test, but overall seems to be promising news. Dave -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Server-devel mailing list server-de...@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
On Fri, Apr 3, 2009 at 10:15 AM, Guillaume Desmottes guillaume.desmot...@collabora.co.uk wrote: Did you properly configured ejabberd as explained in Gadget's README? You should have something like that: {5560, ejabberd_service, [ {ip, {127, 0, 0, 1}}, {access, all}, {host, gadget.jabber.sugarlabs.org, [{password, }]}]}, Your gadget.config should match these params. Then don't forget to restart ejabberd to reload the new configuration. This is what my jabber config looks like {5560, ejabberd_service, [ {ip, {206, 192, 23, 224}}, {access, all}, {host, gadget.jabber.sugarlabs.org, [{password, }]}]}, and my gadget.config server_host = 'jabber' server_port = 5560 domain = 'sugarlabs.org' password = '' roster_path = 'gadget.roster' Startup in log says 2009/04/08 15:52 -0400 [-] Log opened. 2009/04/08 15:52 -0400 [-] twistd 2.5.0 (/usr/bin/python 2.5.1) starting up 2009/04/08 15:52 -0400 [-] reactor class: class 'twisted.internet.selectreactor.SelectReactor' 2009/04/08 15:52 -0400 [-] Loading /usr/share/gadget/gadget.tac... 2009/04/08 15:52 -0400 [-] Loaded. 2009/04/08 15:52 -0400 [-] Starting factory twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0xa17c46c 2009/04/08 15:52 -0400 [Uninitialized] twisted.internet.tcp.Connector instance at 0xa181b8c will retry in 2 seconds 2009/04/08 15:52 -0400 [Uninitialized] Stopping factory twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0xa17c46c 2009/04/08 15:52 -0400 [-] Starting factory twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0xa17c46c 2009/04/08 15:52 -0400 [Uninitialized] twisted.internet.tcp.Connector instance at 0xa181b8c will retry in 5 seconds 2009/04/08 15:52 -0400 [Uninitialized] Stopping factory twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0xa17c46c 2009/04/08 15:52 -0400 [-] Starting factory twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0xa17c46c 2009/04/08 15:52 -0400 [Uninitialized] twisted.internet.tcp.Connector instance at 0xa181b8c will retry in 16 seconds 2009/04/08 15:52 -0400 [Uninitialized] Stopping factory twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0xa17c46c Thanks Dave G. -- 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
[Server-devel] jabber.sugarlabs.org is working
I got jabber.sugarlabs.org alias for schoolserver.solutiongrove.com working! I had to assign the hostname in the ejabberd-xs.cfg and add the shared roster group in the web UI for the virtual host for jabber.sugarlabs.org. Thanks everyone who helped out! Dave -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Server-devel mailing list server-de...@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] soas2-20090403 testing
On Tue, Apr 7, 2009 at 5:13 AM, Martin Langhoff martin.langh...@gmail.comwrote: You are posting to server-devel,so I assume you've got a XS configured somewhere. - On the laptops - are they associated to the right AP? They are connected to wired network. - did they get a dhcp lease that comes from the XS? No they are on the internet. - are they using telepathy-gabble or telepathy-salut (olpc-netstatus or its moral equivalent on SoaS should report it, you want _gabble_ to be in use for collab via XS) It should be but I don't know what command ot use to check that. I'll find out! - did you register the laptops? No its not registered. I am using jabber.sugarlabs.org (aka schoolserver.solutiongrove.com). - On the XS - does /home/idmgr/list_registrations list the correct regs? They are not registered. - ejabberdctl (the cli utility) can tell you what users are connected Yes I can see they are connected. - in /etc/ejabberd/ejabberd-xs.conf - change the logging setting to debug, then the log will show the XML being exchanged Of course, I'll try that, thanks. - Are you using Gadget? You got to tell us these things, can't help you debug without explicit information ;-) Nope gadget is turned off. I apologize if I did not provide enough information. I am learning as I go. Is there a wiki page that explains how to debug the server side of collaboration? Thanks. Dave cheers, martin On Mon, Apr 6, 2009 at 8:35 PM, Dave Bauer d...@solutiongrove.com wrote: Collaboration works with write and maze, chat. I have a strange precense problem. Two laptops next to each other, both running soas2-20090403 off usb. Can see each other in neighbordhood view. Laptop A can see activities shared by Laptop B in neighborhood view. Laptop B cannot see the activiteis shared in neighordhood view. WHen laptop A shares an activity, the icon moves in the neighbordhood on B but no activity icon appears even if I invite explicitly. ANy ideas? -- 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 -- 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
[Server-devel] Duplicate IP Address
I am having issues testing two soas1 virtual machines running on the same box. They got through NAT cable modem so they end up on the same ip address. The second VM can see the first in the neighborhood, but the first doesn't see the second one. I am wondering if this might have to do with the IP address sharing or where else I should look. 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
[Server-devel] Presence service not working on schoolserver.solutiongrove.com
. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. 1239024431.739549 WARNING s-p-s.buddy: setting current activity failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. This was working before. Testing soas1-20090323 Any ideas where to look? 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
[Server-devel] soas2-20090403 testing
Collaboration works with write and maze, chat. I have a strange precense problem. Two laptops next to each other, both running soas2-20090403 off usb. Can see each other in neighbordhood view. Laptop A can see activities shared by Laptop B in neighborhood view. Laptop B cannot see the activiteis shared in neighordhood view. WHen laptop A shares an activity, the icon moves in the neighbordhood on B but no activity icon appears even if I invite explicitly. ANy ideas? -- 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
Re: [Server-devel] Gadget on XS
Did you properly configured ejabberd as explained in Gadget's README? You should have something like that: {5560, ejabberd_service, [ {ip, {127, 0, 0, 1}}, {access, all}, {host, gadget.jabber.sugarlabs.org, [{password, }]}]}, Your gadget.config should match these params. AHA! gadget.config. Fixed, restarted ejabberd and gadget but same error. Startup of gadget says 2009/04/03 10:44 -0400 [-] Received SIGTERM, shutting down. 2009/04/03 10:44 -0400 [-] Main loop terminated. 2009/04/03 10:44 -0400 [-] Server Shut Down. 2009/04/03 10:45 -0400 [-] Log opened. 2009/04/03 10:45 -0400 [-] twistd 2.5.0 (/usr/bin/python 2.5.1) starting up 2009/04/03 10:45 -0400 [-] reactor class: class 'twisted.internet.selectreactor.SelectReactor' 2009/04/03 10:45 -0400 [-] Loading /usr/share/gadget/gadget.tac... 2009/04/03 10:45 -0400 [-] Loaded. 2009/04/03 10:45 -0400 [-] Starting factory twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x94f640c 2009/04/03 10:45 -0400 [Uninitialized] twisted.internet.tcp.Connector instance at 0x94fbb2c will retry in 2 seconds Any idea how to debug? Thanks Dave ___ Server-devel mailing list server-de...@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
On Fri, Apr 3, 2009 at 9:26 AM, Martin Langhoff martin.langh...@gmail.comwrote: On Tue, Mar 31, 2009 at 8:06 PM, Martin Langhoff martin.langh...@gmail.com wrote: If you are running 0.5.2, you should have ejabberd-xs-2.0.3-2.fc9.olpc.i386 . The problem is that the ejabberd-xs package should say it 'provides:ejabberd' but it doesn't. That's a bug on my side. Which is now fixed. David, can you go back to yoursetup and try to install ejabberd-xs from the testing repo: yum --enablerepo=olpcxs-testing install ejabberd-xs and then install gadget? I am also curious to hear how things have fared with Gadget. How many users do you have? Have you seen any different in memory usage? CPU usage? Actually gadget is not working b/c I haven't found how to start it yet! (I didn't really look). I recently saw in a thread gone by that is must be started so I need to figure that out. Dave Is the 'random' network view usablefor your user group? 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 -- 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
Re: [Server-devel] Gadget on XS
Error On Fri, Apr 3, 2009 at 9:35 AM, Dave Bauer d...@solutiongrove.com wrote: On Fri, Apr 3, 2009 at 9:26 AM, Martin Langhoff martin.langh...@gmail.com wrote: On Tue, Mar 31, 2009 at 8:06 PM, Martin Langhoff martin.langh...@gmail.com wrote: If you are running 0.5.2, you should have ejabberd-xs-2.0.3-2.fc9.olpc.i386 . The problem is that the ejabberd-xs package should say it 'provides:ejabberd' but it doesn't. That's a bug on my side. Which is now fixed. David, can you go back to yoursetup and try to install ejabberd-xs from the testing repo: yum --enablerepo=olpcxs-testing install ejabberd-xs Error installing new ejabberd Downloading Packages: ejabberd-xs-2.0.3-3.fc9.olpc.i386.rpm| 728 kB 00:00 Running rpm_check_debug ERROR with rpm_check_debug vs depsolve: ejabberd conflicts with ejabberd-xs-2.0.3-3.fc9.olpc.i386 Complete! BTW, I forced the install of gadget to ignore the dependencies so it should be ok for now. Dave ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
On Wed, Apr 1, 2009 at 6:36 AM, Guillaume Desmottes guillaume.desmot...@collabora.co.uk wrote: Le mardi 31 mars 2009 à 13:45 -0400, Dave Bauer a écrit : Hi, I am trying to get gadget working on my XS at schoolserver.solutiongrove.com First I downloaded the source and built it, but I could not find any indication that gadget was installed. How can I tell if it is working? Next I tried the gadget package http://koji.fedoraproject.org/koji/taskinfo?taskID=1261886 RPM but it required ejabberd package. RPM says this is not installed. (I did install python-twisted which was another requirement of the RPM). Does anyoe have any advice on getting gadget working? Basically you have to install the gadget service, launch it (it's a separated process), modify your ejabberd.cfg as explained in the Gadget README and then restart your ejabberd. You can see if Gadget is working by looking at the XMPP traffic exchanged between clients and the server. Gadget started /etc/init.d/gadget start logs on server say 2009/04/03 09:37 -0400 [-] Log opened. 2009/04/03 09:37 -0400 [-] twistd 2.5.0 (/usr/bin/python 2.5.1) starting up 2009/04/03 09:37 -0400 [-] reactor class: class 'twisted.internet.selectreactor.SelectReactor' 2009/04/03 09:37 -0400 [-] Loading /usr/share/gadget/gadget.tac... 2009/04/03 09:37 -0400 [-] Loaded. 2009/04/03 09:37 -0400 [-] Starting factory twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x8a8644c 2009/04/03 09:37 -0400 [Uninitialized] twisted.internet.tcp.Connector instance at 0x8a8bb4c will retry in 2 seconds 2009/04/03 09:37 -0400 [Uninitialized] Stopping factory twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x8a8644c 2009/04/03 09:37 -0400 [-] Starting factory twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x8a8644c 2009/04/03 09:37 -0400 [Uninitialized] twisted.internet.tcp.Connector instance at 0x8a8bb4c will retry in 9 seconds 2009/04/03 09:37 -0400 [Uninitialized] Stopping factory twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x8a8644c 2009/04/03 09:37 -0400 [-] Starting factory twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x8a8644c 2009/04/03 09:37 -0400 [Uninitialized] twisted.internet.tcp.Connector instance at 0x8a8bb4c will retry in 24 seconds 2009/04/03 09:37 -0400 [Uninitialized] Stopping factory twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x8a8644c 2009/04/03 09:38 -0400 [-] Starting factory twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x8a8644c 2009/04/03 09:38 -0400 [Uninitialized] twisted.internet.tcp.Connector instance at 0x8a8bb4c will retry in 70 seconds 2009/04/03 09:38 -0400 [Uninitialized] Stopping factory twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x8a8644c 2009/04/03 09:39 -0400 [-] Starting factory twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x8a8644c 2009/04/03 09:39 -0400 [Uninitialized] twisted.internet.tcp.Connector instance at 0x8a8bb4c will retry in 183 seconds 2009/04/03 09:39 -0400 [Uninitialized] Stopping factory twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x8a8644c and so on. Not sure where to look. is this OK? Dave G. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel -- 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
Re: [Server-devel] Gadget on XS
On Fri, Apr 3, 2009 at 10:15 AM, Guillaume Desmottes guillaume.desmot...@collabora.co.uk wrote: Le vendredi 03 avril 2009 à 09:41 -0400, Dave Bauer a écrit : On Wed, Apr 1, 2009 at 6:36 AM, Guillaume Desmottes guillaume.desmot...@collabora.co.uk wrote: Le mardi 31 mars 2009 à 13:45 -0400, Dave Bauer a écrit : Hi, I am trying to get gadget working on my XS at schoolserver.solutiongrove.com First I downloaded the source and built it, but I could not find any indication that gadget was installed. How can I tell if it is working? Next I tried the gadget package http://koji.fedoraproject.org/koji/taskinfo?taskID=1261886 RPM but it required ejabberd package. RPM says this is not installed. (I did install python-twisted which was another requirement of the RPM). Does anyoe have any advice on getting gadget working? Basically you have to install the gadget service, launch it (it's a separated process), modify your ejabberd.cfg as explained in the Gadget README and then restart your ejabberd. You can see if Gadget is working by looking at the XMPP traffic exchanged between clients and the server. Gadget started /etc/init.d/gadget start logs on server say 2009/04/03 09:37 -0400 [-] Log opened. 2009/04/03 09:37 -0400 [-] twistd 2.5.0 (/usr/bin/python 2.5.1) starting up 2009/04/03 09:37 -0400 [-] reactor class: class 'twisted.internet.selectreactor.SelectReactor' 2009/04/03 09:37 -0400 [-] Loading /usr/share/gadget/gadget.tac... 2009/04/03 09:37 -0400 [-] Loaded. 2009/04/03 09:37 -0400 [-] Starting factory twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x8a8644c 2009/04/03 09:37 -0400 [Uninitialized] twisted.internet.tcp.Connector instance at 0x8a8bb4c will retry in 2 seconds 2009/04/03 09:37 -0400 [Uninitialized] Stopping factory twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x8a8644c 2009/04/03 09:37 -0400 [-] Starting factory twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x8a8644c 2009/04/03 09:37 -0400 [Uninitialized] twisted.internet.tcp.Connector instance at 0x8a8bb4c will retry in 9 seconds 2009/04/03 09:37 -0400 [Uninitialized] Stopping factory twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x8a8644c 2009/04/03 09:37 -0400 [-] Starting factory twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x8a8644c 2009/04/03 09:37 -0400 [Uninitialized] twisted.internet.tcp.Connector instance at 0x8a8bb4c will retry in 24 seconds 2009/04/03 09:37 -0400 [Uninitialized] Stopping factory twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x8a8644c 2009/04/03 09:38 -0400 [-] Starting factory twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x8a8644c 2009/04/03 09:38 -0400 [Uninitialized] twisted.internet.tcp.Connector instance at 0x8a8bb4c will retry in 70 seconds 2009/04/03 09:38 -0400 [Uninitialized] Stopping factory twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x8a8644c 2009/04/03 09:39 -0400 [-] Starting factory twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x8a8644c 2009/04/03 09:39 -0400 [Uninitialized] twisted.internet.tcp.Connector instance at 0x8a8bb4c will retry in 183 seconds 2009/04/03 09:39 -0400 [Uninitialized] Stopping factory twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x8a8644c and so on. Not sure where to look. is this OK? Did you properly configured ejabberd as explained in Gadget's README? You should have something like that: {5560, ejabberd_service, [ {ip, {127, 0, 0, 1}}, {access, all}, {host, gadget.jabber.sugarlabs.org, [{password, }]}]}, Your gadget.config should match these params. AHA! gadget.config. Can we add the startup and gadget.config to the README? Thanks Dave Then don't forget to restart ejabberd to reload the new configuration. G. -- 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
[Server-devel] Gadget on XS
Hi, I am trying to get gadget working on my XS at schoolserver.solutiongrove.com First I downloaded the source and built it, but I could not find any indication that gadget was installed. How can I tell if it is working? Next I tried the gadget package http://koji.fedoraproject.org/koji/taskinfo?taskID=1261886 RPM but it required ejabberd package. RPM says this is not installed. (I did install python-twisted which was another requirement of the RPM). Does anyoe have any advice on getting gadget working? 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
Re: [Server-devel] Gadget on XS
On Tue, Mar 31, 2009 at 2:06 PM, Martin Langhoff martin.langh...@gmail.comwrote: 2009/3/31 Dave Bauer d...@solutiongrove.com: Next I tried the gadget package http://koji.fedoraproject.org/koji/taskinfo?taskID=1261886 RPM but it required ejabberd package. RPM says this is not installed. (I did install python-twisted which was another requirement of the RPM). What version of the XS have you got? If you are running 0.5.2, you should have ejabberd-xs-2.0.3-2.fc9.olpc.i386 . The problem is that the ejabberd-xs package should say it 'provides:ejabberd' but it doesn't. That's a bug on my side. Does anyoe have any advice on getting gadget working? Options - Lie to rpm about the dependency (for now) while I fix the ejabberd-xs pkg...? Ah I see, yeah I can try this and let you know. Conceivable gadget can coexist with the Moodle/Ejabberd integration you are working on. We are also contemplating using this as a public collaboration server, so we are not following the XS recommendations completely. Dave - Replace ejabberd-xs with a vanilla fedora ejabberd that is at least 2.0.3 If you post about your adventures with Gadget, I'll sure be following your notes. As most people know, I am a bit hesitant about whether Gadget is the right thing for the 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 -- 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
Re: [Server-devel] Gadget on XS
Ok I have the gadget RPM installed. What should I see in the admin interface? I looked at virtual hosts - nodes - modules and I don't see anything likely. How can I tell if gadget is doing anything interesting? Thanks Dave -- Dave Bauer d...@solutiongrove.com http://solutiongrove.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Sugar-devel] instructions for flashing SoaS on a XO
On Sun, Mar 22, 2009 at 1:45 PM, Mitch Bradley w...@firmworks.com wrote: My XO Boots but gets stuck loading the initrd. OFW Q2E34 Here is what I see on the screen Boot device: /nandflash:\boot\olpc.fth Arguments: Boot device: /nandflash:\boot\vmlinuz0 Arguments: root=mtd0 rootfstype=jffs2 liveimg console=tty0 console=ttyS0,115200 boot_delay=3 fbcon=font:SUN12x22 Loading ramdisk image from nand:\boot\initrd0.img It stays there its been about 20 minutes now. Try booting with the check button (game key above the power button) held down. Thanks Mitch, Actually that report is with the check button held down. Dave If that fixes the problem, the issues is that the OS is not switching from pretty boot mode to active screen mode. You can disable pretty-boot by adding these lines to /boot/olpc.fth : unfreeze visible The second line, just after the comment line, is a good place for them. -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Sugar-devel] instructions for flashing SoaS on a XO
On Fri, Mar 20, 2009 at 5:23 PM, Dave Bauer dave.ba...@gmail.com wrote: On Fri, Mar 6, 2009 at 2:19 PM, Tomeu Vizoso to...@sugarlabs.org wrote: Hi, below are some instructions for flashing the last Sugar on a Stick image (containing Sugar 0.84) on a XO (provided you have a developer key). Could someone volunteer to test and wikify them? Thanks, Tomeu --- on a F10 system: $ sudo yum -y install crcimage mtd-utils $ wget http://dev.laptop.org/~cjb/rawhide-xo/livecd-iso-to-xo.shhttp://dev.laptop.org/%7Ecjb/rawhide-xo/livecd-iso-to-xo.sh $ wget http://download.sugarlabs.org/soas/snapshots/1/Soas-200903051021.iso $ sudo sh livecd-iso-to-xo.sh Soas-200903051021.iso Soas-200903051021.img and then copy Soas-200903051021.img and Soas-200903051021.crc to a usb stick on the XO, boot with the usb stick plugged in and get into OFW, then type the following commands ok disable-security ok copy-nand u:\Soas-200903051021.img then the XO will reboot and you should get into Sugar. My XO Boots but gets stuck loading the initrd. OFW Q2E34 Here is what I see on the screen Boot device: /nandflash:\boot\olpc.fth Arguments: Boot device: /nandflash:\boot\vmlinuz0 Arguments: root=mtd0 rootfstype=jffs2 liveimg console=tty0 console=ttyS0,115200 boot_delay=3 fbcon=font:SUN12x22 Loading ramdisk image from nand:\boot\initrd0.img It stays there its been about 20 minutes now. Any ideas? I tried two different USB sticks to create the img. Thanks Dave I tried it with no keys presed and it says Boot Failed Shut down in 30 secs Maybe I have a bad image? Dave ___ Sugar-devel mailing list sugar-de...@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Sugar-devel] instructions for flashing SoaS on a XO
On Fri, Mar 6, 2009 at 2:19 PM, Tomeu Vizoso to...@sugarlabs.org wrote: Hi, below are some instructions for flashing the last Sugar on a Stick image (containing Sugar 0.84) on a XO (provided you have a developer key). Could someone volunteer to test and wikify them? Thanks, Tomeu --- on a F10 system: $ sudo yum -y install crcimage mtd-utils $ wget http://dev.laptop.org/~cjb/rawhide-xo/livecd-iso-to-xo.shhttp://dev.laptop.org/%7Ecjb/rawhide-xo/livecd-iso-to-xo.sh $ wget http://download.sugarlabs.org/soas/snapshots/1/Soas-200903051021.iso $ sudo sh livecd-iso-to-xo.sh Soas-200903051021.iso Soas-200903051021.img and then copy Soas-200903051021.img and Soas-200903051021.crc to a usb stick on the XO, boot with the usb stick plugged in and get into OFW, then type the following commands ok disable-security ok copy-nand u:\Soas-200903051021.img then the XO will reboot and you should get into Sugar. My XO Boots but gets stuck loading the initrd. OFW Q2E34 Here is what I see on the screen Boot device: /nandflash:\boot\olpc.fth Arguments: Boot device: /nandflash:\boot\vmlinuz0 Arguments: root=mtd0 rootfstype=jffs2 liveimg console=tty0 console=ttyS0,115200 boot_delay=3 fbcon=font:SUN12x22 Loading ramdisk image from nand:\boot\initrd0.img It stays there its been about 20 minutes now. Any ideas? I tried two different USB sticks to create the img. Thanks Dave ___ Sugar-devel mailing list sugar-de...@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Server-devel] notes on scaling ejabberd for the XO's
So what does gadget do? Is there a new client side UI for electing groups? Who chooses, the kids or the teachers? etc. Gadget: * Shows people you have explicitly friended (which is trivial, that's just a conventional non-shared roster) * Shows you some random people on the server so you can bootstrap your friends * Has a search API so you can search for specific nicks (I don't know if this is implemented client-side yet.) Martin, will this peacefully coexist with the Moodle/ejabberd work you are doing? -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Server-devel mailing list server-de...@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] notes on scaling ejabberd for the XO's
On Tue, Mar 17, 2009 at 2:57 PM, Martin Langhoff martin.langh...@gmail.comwrote: 2009/3/18 Dave Bauer dave.ba...@gmail.com: Martin, will this peacefully coexist with the Moodle/ejabberd work you are doing? I am busy enough that I haven't had time to study that aspect. And won't for the next couple months I think :-/ there is more urgent work at hand. Thanks, I guess I will try it out and let you know what I learn. Dave 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 -- 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
Re: [Server-devel] notes on scaling ejabberd for the XO's
On Tue, Mar 17, 2009 at 3:08 PM, Martin Langhoff martin.langh...@gmail.comwrote: On Wed, Mar 18, 2009 at 8:04 AM, Dave Bauer dave.ba...@gmail.com wrote: Thanks, I guess I will try it out and let you know what I learn. Fantastic! One interesting data point would be whether the new software stack (sugar with the new telepathy-gadget) is backwards compat with an XS that has no gadget. Preliminary tests show it works fine. We have been testing SoaS against XS 0.5.2 and it performs the same as jabber.sugarlabs.org (which I believe has gadget installed). Dave 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 -- 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
Re: [Server-devel] Moodle on XS Install
On Wed, Feb 25, 2009 at 7:37 PM, Martin Langhoff martin.langh...@gmail.comwrote: 2009/2/26 Dave Bauer d...@solutiongrove.com: I am using XS 0.5.1 beta. On there the moodle instance is not comfigured. Should I expect it to work out of the box or are there additional steps I need to take to get it working. The XS install docs don't mention moodle at all, only ejabberd. It's unfortunately broken. If you're familiar with moodle, you can find the passwrd to the admin account in /etc/moodle/ Working on it for 0.6 So what is my best bet for now? Try to fix it? Wait for 0.6? If I get it fixed would it help you out? It seems this is all built from a Fedora install and moodle should be able to work. Are there scripts that should automate the setup. If so, can you point me to the right place to look? Thanks Dave 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 -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Server-devel mailing list server-de...@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] Moodle on XS Install
I am using XS 0.5.1 beta. On there the moodle instance is not comfigured. Should I expect it to work out of the box or are there additional steps I need to take to get it working. The XS install docs don't mention moodle at all, only ejabberd. 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
Re: [Server-devel] XS 0.5.1 RC - Last round of testing...
On Wed, Jan 21, 2009 at 10:44 AM, Martin Langhoff martin.langh...@gmail.com wrote: Join me in one last round of testing for 0.5.1 This new release (candidate!) fixes the issues listed here http://dev.laptop.org/query?group=statusmilestone=xs-0.5.1 The 549MB ISO is (or will soon be...) in http://xs-dev.laptop.org/xs/other/OLPC-School-Server-0.5.1-i386.iso the sha1sum is 21b39dc045b8d36de573da165587ea763c74a89b The updated xs-config and xs-activity-server packages are already in the 'stable' OLPCXS repo too. I checked and the ISO does not appear to be available yet. Should it be there now? Thanks! Dave 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-de...@lists.laptop.org http://lists.laptop.org/listinfo/server-devel -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Server-devel mailing list server-de...@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: Emulating 8.2-767
On Wed, Dec 3, 2008 at 11:43 AM, Bert Freudenberg [EMAIL PROTECTED]wrote: (*) Now to the hoops: * I started with the 767/ext3 image from http://download.laptop.org/xo-1/os/official/ * extended to 2 GB by appending /dev/zero (jffs2 compression gives roughly 2 GB too) * enlarged the partition to full 2 GB (using fdisk and ext2resize) Hi, I want to try this with virtualbox. I can't seem to get the disk image size extension working. Can you share the actual commands you used to do this? Thanks! Dave * mounted that in a Fedora 10 virtual machine * copied over the F10 kernel, initrd, and modules (olpc kernel wanted AMD instructions) * edited grub.conf to use that kernel * and appended a root=/dev/sda1 kernel arg (the fedora kernel wants to use LVM otherwise) * unmounted * created new virtual machine (that disk, 1 CPU, 256 MB RAM, NAT networking) * booted into that new system * installed Perl (for vmware tools installer) * installed vmware tools (to get the X driver) (but none of the kernel modules, would need make/gcc/etc.) * deleted Perl (to restore the default sw environment) * copied the existing xorg-vmware.conf to xorg.conf (to get 1200x900 resolution w/ 200 dpi) * booted into Sugar (looks really nice so scaled down) * installed activities (took a long time, maybe it's my DSL) * tested a bit * rm -r ~olpc/.sugar (to remove my personal data) * should have deleted sshd host keys, too, but didn't * shut down * zip * upload * ... * ... * ... * still no profit? ;) Enjoy. And maybe remove some of the obstacles in future releases (a disk image with headroom and a standard kernel would be simple to do and go a long way). - Bert - ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel -- Dave Bauer [EMAIL PROTECTED] http://www.solutiongrove.com ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Emulating 8.2-767
I got the bare image working in virtualbox. Btw, if I had to do it again I'd start with an image that already has the activities installed: http://download.laptop.org/xo-1/custom/g1g1/gg-767-4/ I downloaded this but Virtualbox says it is not bootable. Is this perhaps not ext3 filesystem? Dave - Bert - -- Dave Bauer [EMAIL PROTECTED] http://www.solutiongrove.com ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Emulating 8.2-767
Btw, if I had to do it again I'd start with an image that already has the activities installed: http://download.laptop.org/xo-1/custom/g1g1/gg-767-4/ - Bert - I just installed all the activities when it booted up. It said check for updates and when I did it downloaded all the G1G1 activities. This works on my AMD linux box without changing the kernel. I'll try to the modifications later and see if I can get it working on my Macbook also. Dave Bauer [EMAIL PROTECTED] http://www.solutiongrove.com ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel