Re: [Server-devel] [ANNOUNCE] XSCE-0.4 released!
Well done all involved. I'll certainly try it out ASAP. Which are the relevant wiki and/or schoolserver wordpress pages? David Leeming Solomon Islands From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of Anna Sent: Friday, 4 October 2013 4:00 a.m. To: xsce-devel; Server Devel Subject: [Server-devel] [ANNOUNCE] XSCE-0.4 released! Everyone has been waiting patiently for the latest release of School Server Community Edition and here it finally is! The XSCE 0.4 release is ready to go for deployments on most hardware iterations. But say you're a hobbyist with just a single XO-1 and an old computer for the XSCE? This is a fun and easy way for you to try out a server with the equipment you've already got. XSCE 0.4 provides many value-added features for both end-users and deployers. Give it a try, you will not be disappointed. End users: . Moodle, a free software e-learning platform, or Learning Management System, or Virtual Learning Environment, available without internet, . Internet-in-a-Box, an electronic resources library, available without internet (download a test dataset - http://downloads.internet-in-a-box.org/IIAB_QuickStart_Sampler_20130809.tgz) , . Internet Content filtering via Dansguardian, . Customization stick for quickly adding activities and content. Deployers: . Install without needing internet, . Automatic monitoring of services for long-term unattended operation, . Usage statistics collection (optional, requires compatible clients), . Remote administration via secure connection (optional), . Supported on low cost, commodity hardware, minimum 512 Mb, . Supported on low cost, low power, Trimslice and Raspberry Pi. Install - http://wiki.laptop.org/go/XS_Community_Edition/0.4/Installing http://wiki.laptop.org/go/XS_Community_Edition/0.4/Installing Hack - http://wiki.laptop.org/go/XS_Community_Edition/0.4/Hacking http://wiki.laptop.org/go/XS_Community_Edition/0.4/Hacking Known issue(s) . Internet-in-a-Box may perform poorly on inadequate hardware. Getting support . Check the FAQ http://wiki.laptop.org/go/XS_Community_Edition/FAQ and known issues from above. . Join the #schoolserver IRC channel on irc.freenode.net. Lurkers welcome, just hang out for a while until you get comfortable enough to participate. . Ask by mail on xsce-devel@ or server-devel@ mailing lists, . Open a bug report at https://sugardextrose.org/projects/xsce and wait for the team to respond. Best, The XSCE team ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] [XSCE] RE: [ANNOUNCE] XSCE-0.4 released!
You right, it's there. My haste. David Leeming Solomon Islands -Original Message- From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of James Cameron Sent: Friday, 4 October 2013 9:48 a.m. To: xsce-de...@googlegroups.com Cc: server-devel@lists.laptop.org Subject: Re: [Server-devel] [XSCE] RE: [ANNOUNCE] XSCE-0.4 released! Relevant pages for what? The release mail had a link for installing, so you must be looking for something else? On Fri, Oct 04, 2013 at 09:27:08AM +1100, David Leeming wrote: Well done all involved. I’ll certainly try it out ASAP. Which are the relevant wiki and/or schoolserver wordpress pages? David Leeming Solomon Islands From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of Anna Sent: Friday, 4 October 2013 4:00 a.m. To: xsce-devel; Server Devel Subject: [Server-devel] [ANNOUNCE] XSCE-0.4 released! Everyone has been waiting patiently for the latest release of School Server Community Edition and here it finally is! The XSCE 0.4 release is ready to go for deployments on most hardware iterations. But say you’re a hobbyist with just a single XO-1 and an old computer for the XSCE? This is a fun and easy way for you to try out a server with the equipment you’ve already got. XSCE 0.4 provides many value-added features for both end-users and deployers. Give it a try, you will not be disappointed. End users: · Moodle, a free software e-learning platform, or Learning Management System, or Virtual Learning Environment, available without internet, · Internet-in-a-Box, an electronic resources library, available without internet (download a test dataset - http://downloads.internet-in-a-box.org/ IIAB_QuickStart_Sampler_20130809.tgz), · Internet Content filtering via Dansguardian, · Customization stick for quickly adding activities and content. Deployers: · Install without needing internet, · Automatic monitoring of services for long-term unattended operation, · Usage statistics collection (optional, requires compatible clients), · Remote administration via secure connection (optional), · Supported on low cost, commodity hardware, minimum 512 Mb, · Supported on low cost, low power, Trimslice and Raspberry Pi. Install - http://wiki.laptop.org/go/XS_Community_Edition/0.4/Installing Hack - http://wiki.laptop.org/go/XS_Community_Edition/0.4/Hacking Known issue(s) · Internet-in-a-Box may perform poorly on inadequate hardware. Getting support · Check the FAQ http://wiki.laptop.org/go/XS_Community_Edition/FAQ and known issues from above. · Join the #schoolserver IRC channel on irc.freenode.net. Lurkers welcome, just hang out for a while until you get comfortable enough to participate. · Ask by mail on xsce-devel@ or server-devel@ mailing lists, · Open a bug report at https://sugardextrose.org/projects/xsce and wait for the team to respond. Best, The XSCE team -- James Cameron http://quozl.linux.org.au/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] XSCE automatic login permission denied
Just getting ready to show someone the XSCE but there was something wrong with eth1 so I wanted to log on Now it says [press ENTER to login] schoolserver : root login (automatic) permission denied Any help appreciated. To reinstall, how far back do i have to start from in the steps listed here: http://wiki.laptop.org/go/User:Holt/XS_Community_Edition/0.3/Installing David Leeming Solomon Islands Rural Link P.O.Box 652 Honiara, Solomon Islands +677 7476396 (m) +677 24419 (h) www.rurallink.com.sb ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] XS 0.7 CentOS boot hang
Hi, Apologies if this has been covered before. I noticed that sometimes an XS 0.7 installation will hang in the boot screen (the advancing white shaded bar bottom of screen). I have not been able to fix this other than by reinstalling. I read somewhere there is a bug involving X11 and the fix is to boot in single user mode and delete xorg.conf. But tried that and it still hung but with scrolling boot text on the screen. David Leeming Solomon Islands Rural Link P.O.Box 652 Honiara, Solomon Islands +677 7476396 (m) +677 24419 (h) www.rurallink.com.sb ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] XS 0.7 CentOS boot hang
Thanks. That allowed me to establish that it's a HDD problem. David -Original Message- From: sv3...@gmail.com [mailto:sv3...@gmail.com] On Behalf Of Sameer Verma Sent: Wednesday, 21 August 2013 6:42 a.m. To: Samuel Greenfeld Cc: David Leeming; XS Devel Subject: Re: [Server-devel] XS 0.7 CentOS boot hang On Tue, Aug 20, 2013 at 9:59 AM, Samuel Greenfeld greenf...@laptop.org wrote: Given the XS-0.7 does not run X Windows by default, this likely is not the problem. You can try disabling the pseudo-graphical progress bar to get more information. I usually hit F2 to see when it slows down or hangs (like when it doesn't get a dhcp lease on the WAN port). Sameer On a system that hangs, choose to edit the default boot option before the countdown timer finishes. Delete the rhgb (Red Hat Graphical Boot) and quiet parameters, and then tell Grub to let the system boot to see if the hang point becomes obvious. On Tue, Aug 20, 2013 at 2:36 AM, David Leeming da...@leeming-consulting.com wrote: Hi, Apologies if this has been covered before. I noticed that sometimes an XS 0.7 installation will hang in the boot screen (the advancing white shaded bar bottom of screen). I have not been able to fix this other than by reinstalling. I read somewhere there is a bug involving X11 and the fix is to boot in single user mode and delete xorg.conf. But tried that and it still hung but with scrolling boot text on the screen. David Leeming Solomon Islands Rural Link P.O.Box 652 Honiara, Solomon Islands +677 7476396 (m) +677 24419 (h) www.rurallink.com.sb ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Attempting to upgrade XO 1.5 firmware. Says activation lease not found
Kevin, Is this a 2GB XO-1.5? We found it can't be upgraded beyond 883 without changing the internal memory card for a larger one. My 2 cents worth... David -Original Message- From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of Daniel Drake Sent: Friday, 19 July 2013 8:25 a.m. To: Kevin Cole Cc: XS Devel Subject: Re: [Server-devel] Attempting to upgrade XO 1.5 firmware. Says activation lease not found On Thu, Jul 18, 2013 at 3:15 PM, Kevin Cole dc.l...@gmail.com wrote: I thought I had given sufficient detail, but... Your original mail raised several questions which the additional detail below answer perfectly clearly, thanks. On the first day of summer vacation, I went downtown to look for a job and hung out in front of the drug store. On the the second day of summer vacation, I went downtown to look for a job and hung out in front of the drug store. On the third day of summer vacation, I went downtown to look for a job and hung out in front of the drug store... -- Cheech Chong (Sister Mary Elephant) * I booted my Ubuntu laptop. * I inserted a 1 GB USB thumb drive. * I opened Chrome * I went to http://wiki.laptop.org/go/Release_notes * I clicked on Release_notes/13.2.0 * I clicked on 4.3 XO-1.5 * I clicked on 32013o1.zd which saved it to ~/Download/ * I clicked on 32013o1.zd.zsp.fs1.zip which saved it to ~/Download/ * I opened a terminal window * I typed: cd ~/Download/ mv 32013o1.zd.zsp.fs1.zip fs1.zip cp -v fs2 /media/usb/ cp -v 32013o1.zd /media/usb/ diff fs2 /media/usb/ diff 32013o1.zd /media/usb/ sudo shutdown -h now What is the fs2 thing? Can you post ls /media/usb output for double-checking? * I inserted the 1 GB USB thumb drive in the XO and pressed the power button while holding the X key on the gamepad. * I released the X when told it to do so. * I received an error about NANDblaster. (Sorry, I don't have the exact text of that message.) And if you can, post the output from the XO screen of the above. The NANDblaster error is not interesting, but the previous lines are. Another useful verification item: turn on the laptop, wait to hear the boot jingle, press escape. Connect USB disk. At the ok prompt type dir u:\ This will check that the laptop can read the USB disk successfully. * I booted my Ubuntu laptop. * I inserted the 1 GB USB thumb drive. * I opened Chrome * I went to http://wiki.laptop.org/go/Firmware * I clicked on XO-1.5 * I clicked on OLPC Firmware q3c16 * I clicked on q3c16.rom which saved it to ~/Download/ * I typed mkdir /media/usb/boot cp -v q3c16.rom /media/usb/boot diff q3c16.rom /media/usb/boot sudo shutdown -h now * I inserted the 1 GB USB thumb drive in the XO and pressed the power button while holding the X key on the gamepad. * I released the X when told it to do so. * After a few minutes, I saw three icons, and a message at the top of the screen Activation lease not found. It's not clear to me why you are holding the X key here, are you expecting that to upgrade the firmware from the rom file? It doesn't quite work like that. What the X does is make the laptop boot in secure mode. Your laptop has security disabled (as you mentioned: no wp tag) but by pressing X you are simulating security-enabled. As designed, this then goes and looks for an activation lease or developer key, and fails. (it wouldn't have upgraded the firmware from the .rom even if you made it happy with the appropriate lease/key) Anyway, no manual firmware upgrade should be necessary. Lets figure out why the reflashing doesn't work. Thanks Daniel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] XSCE Sprint
This will be very useful. Can't wait to try it. David Leeming Solomon Islands -Original Message- From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of Tony Anderson Sent: Thursday, 11 July 2013 6:49 p.m. To: James Cameron; server-devel@lists.laptop.org; George Hunt; David Farning; Jerry Vonau Subject: Re: [Server-devel] XSCE Sprint Hi, Thanks again. The laptops are good to go for this school year (12.1.0). I will be able to work the collection stick problem when I return to the schools (probably in December). I'll double check the flash time to check for variability between units. At these schools all the laptops are XO-1 or XO1.5. However, I think a Nandblast facility working across all the models would be very useful for the start-of-year update. Yours, Tony On 07/11/2013 09:32 AM, James Cameron wrote: On Wed, Jul 10, 2013 at 11:07:04AM +0200, Tony Anderson wrote: Hi, Thanks again for this! What I gather is that we should use Nandblast from an XO for reflash. For a time it was not supported for XO-1.5, but my current understanding is that it supported for all versions of XO. Up to 13.1.0 it is supported on XO-1, XO-1.5 and XO-1.75. It is fast for XO-1, and quite slow for XO-1.5 and XO-1.75. The breakeven point, where I would switch from USB drive to NANDblaster, is about five XO-1, and about twenty for XO-1.5 and XO-1.75. In 13.2.0 it is broken, and I am working on that in ticket #12726, hoping to get fixes in before release. Fixes are available for XO-1 (Q2F19) and XO-1.5 (Q3C16). XO-1.75 is still a problem. It was not intended to be supported on XO-4 with the new 802.11n wireless card, but so far it looks possible. In Lesotho, the flash was taking 15min from boot to reboot for registration. These laptops (XO-1) date from the first G1G1 and so there is no telling about endurance. That time of 15 minutes is far too long, and should be investigated ... if the internal storage is three times slower than when the laptops were produced, you will have performance problems. I have some old XO-1 units here that have been used by children, and they are not showing that symptom. Naturally, reload of the Journal occurs via the file system after the flash. Sadly, this is not a current issue because none of the deployments actually use the Journal (e.g. in Lesotho the laptops are shared among several students). The laptops (XO-1.5s) at Saint Jacobs were sponsored by a group in Stuttgart and are not part of the Rwanda purchase. In any case, I believe the information needed for the collection stick is available (serial number and uuid). If it is already available, get it to me. Yours, Tony On 07/10/2013 10:55 AM, James Cameron wrote: On Wed, Jul 10, 2013 at 10:11:14AM +0200, Tony Anderson wrote: The 'locked' XO problem derives from XOs distributed in the minimum 100 XO purchase - many of these are locked. Also, in Rwanda the policy is to keep the laptops locked even though they have indefinite leases. Rwanda probably has a deployment key and should be able to sign builds with it. My guess is that the laptops would also have the deployment keys injected already. You will need to work with the people who have the keys. My current plans are to visit these schools in December and so I may be able to get them unlocked then. http://wiki.laptop.org/go/Collection_stick is perfect for this, provided the deployment did not remove the OLPC keys. (I don't have records of what deployments have done). What I would really love is a 'Nandblast' capability in the firmware that gets it's image from the schoolserver. That probably would work (how does an XO know an image is coming over wifi from an XO or a school server?). There is no implementation of NANDblaster for the school server, because it requires special support in the wireless device. A typical access point will not work. It requires an XO as the sender. (NANDblaster is implemented in the firmware, not the operating system. An alternate design could be engineered, but that doesn't seem likely to be attempted.) The normal flash problem is that several XOs need to be reflashed at one time, so the usb key approach is time-consuming. My experience is that a reflash from usb key takes 15min. Naturally, one key to this process is the ability to reload the backed up (hopefully) Journal. Reloading the backed up journal is costing you 10min? Reflashing an XO-1 from USB drive 13.2.0-12 costs only 5min. If the reflash is taking much longer than that, there may be an endurance or end of life problem with the internal storage of the XO. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo
[Server-devel] Installing XSCE on XO-1
Hello, Can anyone confirm that XSCE 0.3 has been successfully installed on an XO-1? If so, the starting point would be installing 31036o0.img (not .zd) onto an external 8GB+ SD card? We want to try this here in rural PNG but need to be sure as it is a long job with the downloading Oh yes, we tried to prepare an XO-1 as per the instructions on the wiki (installing the os on an SD card) but failed at the first step - we can't get a developer key for the XO because activation.laptop.org uses an invalid security certificate (Error code sec_error_expired_issuer_certificate). How can we get the developer key? We don't have any unlocked XOs available... (we checked the date/time on the XO was correct) David Leeming Leeming Consulting, P.O. Box 652, Honiara, Solomon Islands Tel: +677 747-6396 (m) 24419 (h) www.leeming-consulting.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] XSCE links to filesfrom Moodle
Thanks Jerry your pointer was spot on. I edited the Directory permissions in /etc/httpd/conf.d/html.conf from the old syntax to Require all granted and it solved the problem. David From: David Leeming [mailto:da...@leeming-consulting.com] Sent: Wednesday, 26 June 2013 2:36 p.m. To: 'server-devel' Subject: XSCE links to filesfrom Moodle Hi, With the XS 0.7 we add links to Moodle pages that map to locations in the storage folder /library using aliases and html.conf file I have gone through the exact process as we used to use with the XSCE and all good in the set up, but when I try to access those resources with a connected laptop or authenticated moodle account t it tells me that I don't have permission to view the folder. A missing step I think... David Leeming Solomon Islands 24419 (h) www.rurallink.com.sb ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Best XSCE strategy for us in Pacific with XO-1.5 2GB Testing XSCE 3 on XO 1.5 2GB os855
Successfully installed XSCE 0.3 on my XO-1.5 (2GB) after first installing XO release 13.1.0 on an 8GB external SD card and then following the standard procedure. First time I ran xs-setup there were some errors probably caused by connectivity issues but when I re-ran xs-setup it successfully completed. Moodle is there, all looks good. I will put a selection of our Pacific Islands content and test our normal Moodle configuration (very basic) and try it out with some teachers in a scheduled training in a couple of weeks time. Also will try and get a 32Gb or 64Gb card and install on that. I noted Anna's advice and copied the yum cache. When I repeat with the larger card I will try and use that to reduce downloading. David Leeming Solomon Islands -Original Message- From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of David Leeming Sent: Thursday, 20 June 2013 6:04 a.m. To: 'James Cameron'; 'Jerry Vonau' Cc: 'George Hunt'; 'server-devel' Subject: Re: [Server-devel] Best XSCE strategy for us in Pacific with XO-1.5 2GB Testing XSCE 3 on XO 1.5 2GB os855 All going well so far - managed to install the 13.1.0 os on an 8GB SD card and have proceeded with the XCSE installation up to including the bootstrap. I assume that as it is on the external SD card anyway, I don't need to run prep-storage? I was also wondering, how important it is to have a USB Ethernet adapter present whilst setting it up and whether it needs to be active (i.e. connected to an AP) whilst running xs-setup Finally, is there any performance penalty for running it from the external SD card? David Leeming Solomon Islands -Original Message- From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of David Leeming Sent: Tuesday, 18 June 2013 4:45 p.m. To: 'James Cameron'; 'Jerry Vonau' Cc: 'George Hunt'; 'Michael Hutak'; 'server-devel'; 'Ian Thomson' Subject: Re: [Server-devel] Best XSCE strategy for us in Pacific with XO-1.5 2GB Testing XSCE 3 on XO 1.5 2GB os855 Thanks all for the great help and information. I will install the 13.1.0 os on my 1.5 on an external 8GB SD card and then test the XCSE installation, and let you know. David Leeming Solomon Islands -Original Message- From: qu...@us.netrek.org [mailto:qu...@us.netrek.org] On Behalf Of James Cameron Sent: Tuesday, 18 June 2013 4:30 p.m. To: Jerry Vonau Cc: George Hunt; David Leeming; server-devel; Michael Hutak; Ian Thomson; David Farning Subject: Re: Best XSCE strategy for us in Pacific with XO-1.5 2GB Testing XSCE 3 on XO 1.5 2GB os855 On Tue, Jun 18, 2013 at 12:20:04AM -0500, Jerry Vonau wrote: This was the issue, no matter how careful I was inserting the SD-card the tab would move to locked. I used a dab of instant glue, that was enough to prevent the tab from moving. Ah, good. Yes, I've heard of that. Also, as it works fine for fs-update it makes one think it is not write protected. I don't know if there is a specification for the force required to move the tab. -- James Cameron http://quozl.linux.org.au/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Testing XSCE 3 on XO 1.5 2GB os855
Tried again with the devkey link in Browse, it is OK now. Just an unidentified glitch. Is there any way to speed up getting the key? David OK, didn't know you can do that. That's pretty convenient. First I have to get a dev key to unlock it, will take another 24 hrs. BTW I had to do it from file:///home/.devkey.html because the link in Browse led to a secure connection failure due to invalid certificate. David -Original Message- From: David Farning [mailto:dfarn...@activitycentral.com] Sent: Monday, 17 June 2013 9:24 p.m. To: David Leeming Cc: George Hunt; Jerry Vonau; server-devel Subject: Re: [Server-devel] Testing XSCE 3 on XO 1.5 2GB os855 Yikes, you are having some bad luck with this install. Thanks for your patience. I looks like the 1.5 lite does not have enough space for the 13.1.0 image. You will need almost an 8gb hard disk in order to proceed with the installation. If the internal hard disk is less than that, you can use a sdcard to install the system, check the following instructions:http://activitycentral.com/community/news/installing-os-sd-card . We are adding this note to the install page. On Mon, Jun 17, 2013 at 4:57 AM, David Leeming da...@leeming-consulting.com wrote: Still trying to set up my XO-1.5 2GB ready for XSCE, which as per advice requires the 13.1.0 release as starting point. I downloaded the 13.1.0 files as per http://wiki.laptop.org/go/Release_notes/13.1.0#XO-1.5 31036o1.zd 31036o1.zd.zsp.fs1.zip Copied to a newly formatted 1GB USB stick, and checked the zd file md5sum matched Renamed the zip to fs1.zip Tried it: Fails as per attached. Renaming the fs1.zip as fs.zip makes no difference. Tried on a 2GB stick, also reformatted. No luck. Firmware seems OK. Something I am missing about the 2GB version of the XO-1.5 ??? David Leeming From: George Hunt [mailto:georgejh...@gmail.com] Sent: Friday, 14 June 2013 8:41 p.m. To: David Farning Cc: David Leeming; Jerry Vonau; server-devel Subject: Re: [Server-devel] Testing XSCE 3 on XO 1.5 2GB os855 There were kernel problems with 11.3.1 which kept us from getting the XO-1.5 to become an XSCE. It was only with the 13.1.0 release, that we were able to get the network adapters to work properly after a reboot. So I'm afraid that everyone will save a lot of time, and pain, in the long run, if the install procedure is followed exactly. (http://wiki.laptop.org/go/User:Holt/XS_Community_Edition/0.3/Installing) We were not able to test adequately the offline install for subsequent XSCE installations to have it be part of the 0.3 release. But for situations where internet access is slow, and expensive, it is possible to use a USB stick to transfer the rpm packages contained in the /var/yum/cache from the first XSCE to the next one, and greatly speed up the install process. (And if you leave a USB stick in the XSCE, during the first install, it is our intention, and design, that the /var/yum/cache will be copied to that USB stick during the install process on that first machine -- and then used automatically on a subsequent install) George On Thu, Jun 13, 2013 at 10:31 PM, David Farning dfarn...@activitycentral.com wrote: Hmm, that is an interesting point that we kind of took for granted. Our goal with the 'reference' hardware and software is to provide a known set of stuff which 'just works.' While other hardware, software, and features might work... they have not been tested. Maybe george or jerry have a good answer for you. At the risk of carbon dating myself... I grew up in the era where my nerdy friends and I drooled over the pages of 'Computer Shopper' for a 9.6 kbit/s modem. Auto Resume for stalled downloads was a life saver:) Now, for simplicity, our testing involves reflashing everything to get back to a known state. As you point out, that is probably not the best assumption for low bandwidth areas. On Thu, Jun 13, 2013 at 8:36 PM, David Leeming da...@leeming-consulting.com wrote: Sorry just realised the XO is only installed with 11.3.1 (os855) However, is it still possible to work around? It’s not easy or cheap to download the os file. David From: David Leeming [mailto:da...@leeming-consulting.com] Sent: Friday, 14 June 2013 12:28 p.m. To: 'server-devel' Subject: Testing XSCE 3 on XO 1.5 2GB os855 Testing XSCE 3 on XO 1.5 2GB os855 http://wiki.laptop.org/go/User:Holt/XS_Community_Edition/0.3/Installing I get as far as step 13, after the SD card (I am testing with an 8GB card) successfully configures. When I enter “bootstrap-xo” is replies Not an XO please run ‘xs-config’ Tried to do that but xs-config: command not found David Leeming Solomon Islands ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel -- David Farning Activity Central: http
Re: [Server-devel] Testing XSCE 3 on XO 1.5 2GB os855
OK, didn't know you can do that. That's pretty convenient. First I have to get a dev key to unlock it, will take another 24 hrs. BTW I had to do it from file:///home/.devkey.html because the link in Browse led to a secure connection failure due to invalid certificate. David -Original Message- From: David Farning [mailto:dfarn...@activitycentral.com] Sent: Monday, 17 June 2013 9:24 p.m. To: David Leeming Cc: George Hunt; Jerry Vonau; server-devel Subject: Re: [Server-devel] Testing XSCE 3 on XO 1.5 2GB os855 Yikes, you are having some bad luck with this install. Thanks for your patience. I looks like the 1.5 lite does not have enough space for the 13.1.0 image. You will need almost an 8gb hard disk in order to proceed with the installation. If the internal hard disk is less than that, you can use a sdcard to install the system, check the following instructions:http://activitycentral.com/community/news/installing-os-sd-card . We are adding this note to the install page. On Mon, Jun 17, 2013 at 4:57 AM, David Leeming da...@leeming-consulting.com wrote: Still trying to set up my XO-1.5 2GB ready for XSCE, which as per advice requires the 13.1.0 release as starting point. I downloaded the 13.1.0 files as per http://wiki.laptop.org/go/Release_notes/13.1.0#XO-1.5 31036o1.zd 31036o1.zd.zsp.fs1.zip Copied to a newly formatted 1GB USB stick, and checked the zd file md5sum matched Renamed the zip to fs1.zip Tried it: Fails as per attached. Renaming the fs1.zip as fs.zip makes no difference. Tried on a 2GB stick, also reformatted. No luck. Firmware seems OK. Something I am missing about the 2GB version of the XO-1.5 ??? David Leeming From: George Hunt [mailto:georgejh...@gmail.com] Sent: Friday, 14 June 2013 8:41 p.m. To: David Farning Cc: David Leeming; Jerry Vonau; server-devel Subject: Re: [Server-devel] Testing XSCE 3 on XO 1.5 2GB os855 There were kernel problems with 11.3.1 which kept us from getting the XO-1.5 to become an XSCE. It was only with the 13.1.0 release, that we were able to get the network adapters to work properly after a reboot. So I'm afraid that everyone will save a lot of time, and pain, in the long run, if the install procedure is followed exactly. (http://wiki.laptop.org/go/User:Holt/XS_Community_Edition/0.3/Installing) We were not able to test adequately the offline install for subsequent XSCE installations to have it be part of the 0.3 release. But for situations where internet access is slow, and expensive, it is possible to use a USB stick to transfer the rpm packages contained in the /var/yum/cache from the first XSCE to the next one, and greatly speed up the install process. (And if you leave a USB stick in the XSCE, during the first install, it is our intention, and design, that the /var/yum/cache will be copied to that USB stick during the install process on that first machine -- and then used automatically on a subsequent install) George On Thu, Jun 13, 2013 at 10:31 PM, David Farning dfarn...@activitycentral.com wrote: Hmm, that is an interesting point that we kind of took for granted. Our goal with the 'reference' hardware and software is to provide a known set of stuff which 'just works.' While other hardware, software, and features might work... they have not been tested. Maybe george or jerry have a good answer for you. At the risk of carbon dating myself... I grew up in the era where my nerdy friends and I drooled over the pages of 'Computer Shopper' for a 9.6 kbit/s modem. Auto Resume for stalled downloads was a life saver:) Now, for simplicity, our testing involves reflashing everything to get back to a known state. As you point out, that is probably not the best assumption for low bandwidth areas. On Thu, Jun 13, 2013 at 8:36 PM, David Leeming da...@leeming-consulting.com wrote: Sorry just realised the XO is only installed with 11.3.1 (os855) However, is it still possible to work around? It’s not easy or cheap to download the os file. David From: David Leeming [mailto:da...@leeming-consulting.com] Sent: Friday, 14 June 2013 12:28 p.m. To: 'server-devel' Subject: Testing XSCE 3 on XO 1.5 2GB os855 Testing XSCE 3 on XO 1.5 2GB os855 http://wiki.laptop.org/go/User:Holt/XS_Community_Edition/0.3/Installing I get as far as step 13, after the SD card (I am testing with an 8GB card) successfully configures. When I enter “bootstrap-xo” is replies Not an XO please run ‘xs-config’ Tried to do that but xs-config: command not found David Leeming Solomon Islands ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel -- David Farning Activity Central: http://www.activitycentral.com -- David Farning Activity Central: http://www.activitycentral.com
Re: [Server-devel] Best XSCE strategy for us in Pacific with XO-1.5 2GB Testing XSCE 3 on XO 1.5 2GB os855
Thanks all for the great help and information. I will install the 13.1.0 os on my 1.5 on an external 8GB SD card and then test the XCSE installation, and let you know. David Leeming Solomon Islands -Original Message- From: qu...@us.netrek.org [mailto:qu...@us.netrek.org] On Behalf Of James Cameron Sent: Tuesday, 18 June 2013 4:30 p.m. To: Jerry Vonau Cc: George Hunt; David Leeming; server-devel; Michael Hutak; Ian Thomson; David Farning Subject: Re: Best XSCE strategy for us in Pacific with XO-1.5 2GB Testing XSCE 3 on XO 1.5 2GB os855 On Tue, Jun 18, 2013 at 12:20:04AM -0500, Jerry Vonau wrote: This was the issue, no matter how careful I was inserting the SD-card the tab would move to locked. I used a dab of instant glue, that was enough to prevent the tab from moving. Ah, good. Yes, I've heard of that. Also, as it works fine for fs-update it makes one think it is not write protected. I don't know if there is a specification for the force required to move the tab. -- James Cameron http://quozl.linux.org.au/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Testing XSCE 3 on XO 1.5 2GB os855
OK ... but can you give me a preview, I will test it and give feedback David -Original Message- From: David Farning [mailto:dfarn...@activitycentral.com] Sent: Saturday, 15 June 2013 10:34 a.m. To: David Leeming Cc: George Hunt; Jerry Vonau; server-devel Subject: Re: [Server-devel] Testing XSCE 3 on XO 1.5 2GB os855 Let's add it to the 0.4 install section since it has not passed anna's QA for 0.3. Seem reasonable? On Fri, Jun 14, 2013 at 5:10 PM, David Leeming da...@leeming-consulting.com wrote: Hi George It’s a great job the XSCE team has done and good thinking on the offline install. – would it be possible to add step by step instructions on using the yum cache for a subsequent offline install, to the wiki please? David From: George Hunt [mailto:georgejh...@gmail.com] Sent: Friday, 14 June 2013 8:41 p.m. To: David Farning Cc: David Leeming; Jerry Vonau; server-devel Subject: Re: [Server-devel] Testing XSCE 3 on XO 1.5 2GB os855 There were kernel problems with 11.3.1 which kept us from getting the XO-1.5 to become an XSCE. It was only with the 13.1.0 release, that we were able to get the network adapters to work properly after a reboot. So I'm afraid that everyone will save a lot of time, and pain, in the long run, if the install procedure is followed exactly. (http://wiki.laptop.org/go/User:Holt/XS_Community_Edition/0.3/Installing) We were not able to test adequately the offline install for subsequent XSCE installations to have it be part of the 0.3 release. But for situations where internet access is slow, and expensive, it is possible to use a USB stick to transfer the rpm packages contained in the /var/yum/cache from the first XSCE to the next one, and greatly speed up the install process. (And if you leave a USB stick in the XSCE, during the first install, it is our intention, and design, that the /var/yum/cache will be copied to that USB stick during the install process on that first machine -- and then used automatically on a subsequent install) George On Thu, Jun 13, 2013 at 10:31 PM, David Farning dfarn...@activitycentral.com wrote: Hmm, that is an interesting point that we kind of took for granted. Our goal with the 'reference' hardware and software is to provide a known set of stuff which 'just works.' While other hardware, software, and features might work... they have not been tested. Maybe george or jerry have a good answer for you. At the risk of carbon dating myself... I grew up in the era where my nerdy friends and I drooled over the pages of 'Computer Shopper' for a 9.6 kbit/s modem. Auto Resume for stalled downloads was a life saver:) Now, for simplicity, our testing involves reflashing everything to get back to a known state. As you point out, that is probably not the best assumption for low bandwidth areas. On Thu, Jun 13, 2013 at 8:36 PM, David Leeming da...@leeming-consulting.com wrote: Sorry just realised the XO is only installed with 11.3.1 (os855) However, is it still possible to work around? It’s not easy or cheap to download the os file. David From: David Leeming [mailto:da...@leeming-consulting.com] Sent: Friday, 14 June 2013 12:28 p.m. To: 'server-devel' Subject: Testing XSCE 3 on XO 1.5 2GB os855 Testing XSCE 3 on XO 1.5 2GB os855 http://wiki.laptop.org/go/User:Holt/XS_Community_Edition/0.3/Installing I get as far as step 13, after the SD card (I am testing with an 8GB card) successfully configures. When I enter “bootstrap-xo” is replies Not an XO please run ‘xs-config’ Tried to do that but xs-config: command not found David Leeming Solomon Islands ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel -- David Farning Activity Central: http://www.activitycentral.com -- David Farning Activity Central: http://www.activitycentral.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] Testing XSCE 3 on XO 1.5 2GB os855
Testing XSCE 3 on XO 1.5 2GB os855 http://wiki.laptop.org/go/User:Holt/XS_Community_Edition/0.3/Installing I get as far as step 13, after the SD card (I am testing with an 8GB card) successfully configures. When I enter bootstrap-xo is replies Not an XO please run 'xs-config' Tried to do that but xs-config: command not found David Leeming Solomon Islands ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Testing XSCE 3 on XO 1.5 2GB os855
Sorry just realised the XO is only installed with 11.3.1 (os855) However, is it still possible to work around? It's not easy or cheap to download the os file. David From: David Leeming [mailto:da...@leeming-consulting.com] Sent: Friday, 14 June 2013 12:28 p.m. To: 'server-devel' Subject: Testing XSCE 3 on XO 1.5 2GB os855 Testing XSCE 3 on XO 1.5 2GB os855 http://wiki.laptop.org/go/User:Holt/XS_Community_Edition/0.3/Installing I get as far as step 13, after the SD card (I am testing with an 8GB card) successfully configures. When I enter bootstrap-xo is replies Not an XO please run 'xs-config' Tried to do that but xs-config: command not found David Leeming Solomon Islands ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Testing XSCE 3 on XO 1.5 2GB os855
Actually, it's not that much of a problem (a mere $50 or so). More of an issue is my impatience, I was hoping to test it today - the download for the XO would take about 10 hours on my connection. If there's no quick answer I'll download it overnight. David -Original Message- From: David Farning [mailto:dfarn...@activitycentral.com] Sent: Friday, 14 June 2013 1:31 p.m. To: David Leeming; George Hunt; Jerry Vonau Cc: server-devel Subject: Re: [Server-devel] Testing XSCE 3 on XO 1.5 2GB os855 Hmm, that is an interesting point that we kind of took for granted. Our goal with the 'reference' hardware and software is to provide a known set of stuff which 'just works.' While other hardware, software, and features might work... they have not been tested. Maybe george or jerry have a good answer for you. At the risk of carbon dating myself... I grew up in the era where my nerdy friends and I drooled over the pages of 'Computer Shopper' for a 9.6 kbit/s modem. Auto Resume for stalled downloads was a life saver:) Now, for simplicity, our testing involves reflashing everything to get back to a known state. As you point out, that is probably not the best assumption for low bandwidth areas. On Thu, Jun 13, 2013 at 8:36 PM, David Leeming da...@leeming-consulting.com wrote: Sorry just realised the XO is only installed with 11.3.1 (os855) However, is it still possible to work around? It’s not easy or cheap to download the os file. David From: David Leeming [mailto:da...@leeming-consulting.com] Sent: Friday, 14 June 2013 12:28 p.m. To: 'server-devel' Subject: Testing XSCE 3 on XO 1.5 2GB os855 Testing XSCE 3 on XO 1.5 2GB os855 http://wiki.laptop.org/go/User:Holt/XS_Community_Edition/0.3/Installing I get as far as step 13, after the SD card (I am testing with an 8GB card) successfully configures. When I enter “bootstrap-xo” is replies Not an XO please run ‘xs-config’ Tried to do that but xs-config: command not found David Leeming Solomon Islands ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel -- David Farning Activity Central: http://www.activitycentral.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] ANNOUNCEMENT XSCE 0.3 Final Release
This is very exciting. I am just starting on a 200 XO 1.5 deployment in Solomon Islands and will give this a whirl. We have XO 1.5s with only 2GB onboard. Is that enough? I have seen the wiki pages and will work on that but if there are any tips, I will be watching this list, of course I will give my feedback too. I particularly want to use the 30GB of content that the Pacific islands jointly collected together (mostly OERs). The way we did this on the XS 0.7 was to put the content folders in /library and set up aliases in html.conf and then add links to resource or website on the Moodle pages. Can I assume I can do the same with XSCE 0.3 using a 32GB or 64GB SDRAM card? To install, is it possible to down the image and install with a flash drive? Then I can get the download from one of the few places here where we can get a decent download speed, and install more than one at my leisure. David Leeming Solomon Islands From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of George Hunt Sent: Friday, 7 June 2013 11:07 a.m. To: Community Support Volunteers -- who help respond to help AT laptop.org Cc: Support Gangsters; server-devel; Testing; IAEP SugarLabs; de...@laptop.org Subject: [Server-devel] ANNOUNCEMENT XSCE 0.3 Final Release After three months of hard work and three weeks of working out the kinks in the release process, XSCE 0.3 is ready for its final release. We went conservative this release. Emphasis on stability meant less time for new features. * XSCE now runs on the XO-1.5,XO-1.75 and XO-4. * Modular Architecture: cleanly integrate extendable services. * XSCE runs on the XOs' current OS 13.1.0 (we discovered some wrinkles with 13.2.0 which push its use off to the next release) * Moodle is Back! * Content filtering via openDNS.com * Script for formatting of SD cards, and integration into system for content storage and memory extending swap file (does not work on XO4's) Grab an XO-1.5, XO-1.75 or a XO-4 to give XSCE 0.3 give a whirl: http://schoolserver.org/0.3 http://schoolserver.org/0.3 If you are just getting started with XSCE we suggest using the instruction at http://wiki.laptop.org/go/User:Holt/XS_Community_Edition/0.3/Installing http://wiki.laptop.org/go/User:Holt/XS_Community_Edition/0.3/Installing to install your first server. Once you are through the install, a good second step is to work your new server though it's paces by doing the smoke test at http://wiki.laptop.org/go/User:Holt/XS_Community_Edition/0.3/Testing http://wiki.laptop.org/go/User:Holt/XS_Community_Edition/0.3/Testing Monster thanks to everyone who spent months of springtime work -- traveling days from quite different parts of North America to make this community product real. George Hunt ___ support-gang mailing list support-g...@lists.laptop.org http://lists.laptop.org/listinfo/support-gang ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] 12 Volt power system for School Servers.
We have a primary school in PNG with school server driving 9 wireless access points with PoE to cover a 200 laptop deployment with 7 classrooms http://wikieducator.org/OLPC_PNGSDP/Kisap Powered by 12V solar using the excellent Sundaya kits. The wiring looks untidy, I know, but they have worked very reliably over 2-3 years. Also the integrated batteries and proprietary DC connectors make it difficult to misuse the power (a common cause of early demise of batteries) http://www.sundaya.com/welcomeEN.php The Mikrotik GrooveA range of outdoor wireless access points are really good. They will work on 9-27V so even with 12V, you can get very long cable runs, and you can screw in a vertical omni or your antenna of choice. We didn't use them in the deployment above but I would do in the future. David Leeming Solomon Islands -Original Message- From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of James Cameron Sent: Thursday, 30 May 2013 4:17 p.m. To: Tony Anderson Cc: server-devel Subject: Re: [Server-devel] 12 Volt power system for School Servers. Tony makes an interesting point that may be new to some: On Thu, May 30, 2013 at 06:47:26AM +0200, Tony Anderson wrote: This discussion is relevant because 12vdc does not travel well over long distances. It may be necessary in a school with multiple classrooms to use an inverter to provide 110 or 220vac to the routers via PoE. As the distance between the battery bank and the access point increases, so too does the required _diameter_ of copper cable. Copper cable is quite valuable, and easily traded. It can be a good security practice to avoid installing too much of it. If the cable is too thin, the power demand by an access point causes too much of a voltage drop. For instance, one might put 12V DC in one end, and get 10V DC out the other end. The access point may still work fine. But some of the power will be lost as heat in the cable, lowering efficiency. At some point, depending on cost, reliability, and availability of equipment, it is worth operating at a higher voltage. The options would seem to be Power over Ethernet (PoE), which will yield 12.95W (IEEE 802.3af-2003) or 25.5W (IEEE 802.3at-2009), or an inverter with a separate power circuit. My best guess is that PoE will be cheaper, because a power circuit installed to meet electrical regulations would tend to be designed for the minimum domestic power standard of the country. For example, in Australia the minimum is 10A at 240V, or 2400W. The mass of copper is far more than what PoE would require. Then there's the cost of a 12V input PoE power sourcing equipment (PSE). -- James Cameron http://quozl.linux.org.au/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] Server usage statistics
Hello, We're conducting an assessment of server activity reports in a few schools in PNG equipped with school servers. Most are XS-0.6 and a few 0.7. Is there a way to copy the activity report source data (logs??) on to removable storage and then load it into another machine for analysis? The data we want is the activity report available in Moodle from the user account detail. David Leeming Solomon Islands ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Networking issue with XS 0.7 on EPC-AT270
Just to check one of the basic details... Are you aware that the XS-0.7 doesnt configure network by default? You must take extra steps. http://wiki.laptop.org/go/XS_Installing_Software_0.7#Network_configuration Daniel To conclude this thread, well Daniel you have been right. We returned to it later and had no problems with v0.7 on this machine. I must have missed something; less haste more speed. Thanks! ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Networking issue with XS 0.7 on EPC-AT270
Thanks Peter, dmesg | grep eth shows that the kernel sees the hardware, at least eth0 and eth1 hardware/MAC addresses are shown, and those agree with that shown from ifconfig -a which shows eth0, eth1 and lo but only lo with inet address (loopbackl). The physical ports appear to be inactive, the LEDs don't light up and when trying with a cable and computer, no network detected. Reinstalling with 0.6, the networking works fine David -Original Message- From: Peter Robinson [mailto:pbrobin...@gmail.com] Sent: Wednesday, 1 August 2012 7:28 p.m. To: Jerry Vonau Cc: David Leeming; XS Devel Subject: Re: [Server-devel] Networking issue with XS 0.7 on EPC-AT270 On Wed, Aug 1, 2012 at 2:16 AM, Jerry Vonau jvo...@shaw.ca wrote: On Wed, 2012-08-01 at 09:57 +1000, David Leeming wrote: Hello, I am training some teachers in PNG to set up school servers. We are using the EPC-AT270 (brochure attached, specs on page 7) and previously have installed X_-v0.6 with no problems at all. This time I am trying XS-0.7 but we have a networking issue. It does not configure either of the two Ethernet ports. The EPC-AT270 has two Ethernet ports. The installation is completely default as per the wiki 0.7 installation guide, from CD, starting with an unformatted HDD. No errors are displayed on the screen during installation (but there is some scrolling of data). After installing, the first symptom is that when plugging in a computer or AP to either eth0 or eth1, the port LEDs do not light up and no network is seen by the connecting device. When querying ifconfig -a I can see eth0 and eth1 but they have no IP configuration. Any next steps? Meanwhile we are reverting to 0.6 which is OK on the EPC To late to run mii-tool now, or check which kernel modules were loaded. Or check if HWADDR was set in ifcfg-eth0|1 while having 2 nics with the same kernel module: http://dev.laptop.org/ticket/11678 mii-tool is mostly (should be completely) obsolete. You should use ethtool for this functionality as it will work with all detected NICs. dmesg | grep eth will let you know what the kernel sees. The Marvell ethernet ports might not be well supported on CentOS 6. You might want to check if a newer CentOS kernel adds support. Alternatively you can likely use a Fedora kernel. dsd did that when he had issues with NIC support on one of the deployments he was involved with. I suggest checking the mailing list archives for the details. Regards, Peter ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Networking issue with XS 0.7 on EPC-AT270
Hi yes, we ran xs-install (quite a bit of scrolling resulted... will need to capture it. Currently on site, will investigate further over next 24 hrs. Peter, we are using the default 0.7 latest iso with whatever kernel it comes with. David Leeming -Original Message- From: dsdr...@gmail.com [mailto:dsdr...@gmail.com] On Behalf Of Daniel Drake Sent: Thursday, 2 August 2012 8:36 a.m. To: David Leeming Cc: XS Devel Subject: Re: [Server-devel] Networking issue with XS 0.7 on EPC-AT270 On Tue, Jul 31, 2012 at 5:57 PM, David Leeming da...@leeming-consulting.com wrote: Hello, I am training some teachers in PNG to set up school servers. We are using the EPC-AT270 (brochure attached, specs on page 7) and previously have installed X_-v0.6 with no problems at all. This time I am trying XS-0.7 but we have a networking issue. It does not configure either of the two Ethernet ports. Just to check one of the basic details... Are you aware that the XS-0.7 doesnt configure network by default? You must take extra steps. http://wiki.laptop.org/go/XS_Installing_Software_0.7#Network_configuration Daniel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Networking issue with XS 0.7 on EPC-AT270
On Wed, 2012-08-01 at 09:57 +1000, David Leeming wrote: Hello, I am training some teachers in PNG to set up school servers. We are using the EPC-AT270 (brochure attached, specs on page 7) and previously have installed X_-v0.6 with no problems at all. This time I am trying XS-0.7 but we have a networking issue. It does not configure either of the two Ethernet ports. The EPC-AT270 has two Ethernet ports. The installation is completely default as per the wiki 0.7 installation guide, from CD, starting with an unformatted HDD. No errors are displayed on the screen during installation (but there is some scrolling of data). After installing, the first symptom is that when plugging in a computer or AP to either eth0 or eth1, the port LEDs do not light up and no network is seen by the connecting device. When querying ifconfig –a I can see eth0 and eth1 but they have no IP configuration. Any next steps? Meanwhile we are reverting to 0.6 which is OK on the EPC To late to run mii-tool now, or check which kernel modules were loaded. Or check if HWADDR was set in ifcfg-eth0|1 while having 2 nics with the same kernel module: http://dev.laptop.org/ticket/11678 Jerry mii-tool? ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Networking issue with XS 0.7 on EPC-AT270
On Wed, 2012-08-01 at 09:57 +1000, David Leeming wrote: Hello, I am training some teachers in PNG to set up school servers. We are using the EPC-AT270 (brochure attached, specs on page 7) and previously have installed X_-v0.6 with no problems at all. This time I am trying XS-0.7 but we have a networking issue. It does not configure either of the two Ethernet ports. The EPC-AT270 has two Ethernet ports. The installation is completely default as per the wiki 0.7 installation guide, from CD, starting with an unformatted HDD. No errors are displayed on the screen during installation (but there is some scrolling of data). After installing, the first symptom is that when plugging in a computer or AP to either eth0 or eth1, the port LEDs do not light up and no network is seen by the connecting device. When querying ifconfig –a I can see eth0 and eth1 but they have no IP configuration. Any next steps? Meanwhile we are reverting to 0.6 which is OK on the EPC To late to run mii-tool now, or check which kernel modules were loaded. Or check if HWADDR was set in ifcfg-eth0|1 while having 2 nics with the same kernel module: http://dev.laptop.org/ticket/11678 Jerry mii-tool? Clicked too soon - http://www.netadmintools.com/html/mii-tool.man.html will try it ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Database error troubleshooting
Would appreciate any more tips on why the Moodle database connection is in error. My resource person in PNG has repeated tests on the XS and confirms service postgresql status and service httpd status both report postmaster/httpd services are running OK, but the Moodle home pages states database error. I can research this error for default Moodle installations but don't know if there are any specifics related to the XS Moodle configuration. David Leeming -Original Message- From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of David Leeming Sent: Friday, 11 May 2012 10:38 a.m. To: 'James Cameron' Cc: 'XS Devel' Subject: Re: [Server-devel] Database error troubleshooting More on this from my remote XO Champion in PNG Reminder: The error is : Error: Database connection failed as viewed in a connected XO when they try to access the Moodle home page (local schoolserver link in Browse) Rebooting does not help. We already established disk space is OK. It's a default 0.6 installation. service postgresql status - gives postmaster is stopped service httpd restart - stops and starts up OK it pings the FQDN and the shortcut schoolserver OK on the XS and an XO using Terminal. Any help with this appreciated. It is difficult to have to reinstall it, as no-one there has the skills. David Leeming Solomon Islands Rural Link www.rurallink.com.sb -Original Message- From: qu...@us.netrek.org [mailto:qu...@us.netrek.org] On Behalf Of James Cameron Sent: Wednesday, 9 May 2012 6:13 p.m. To: David Leeming Cc: 'Jerry Vonau'; 'XS Devel' Subject: Re: [Server-devel] Database error troubleshooting Have you tried rebooting the server? The reason that I ask, is that I imagine if the Unix domain socket was missing due to an accident, rebooting would start the database server component again and create the Unix domain socket. But I'm really not sure what other conditions might lead to the same symptom. -- James Cameron http://quozl.linux.org.au/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] XO names when sharing with server
Thanks, I added my observations to the ticket. David Sounds like http://dev.laptop.org/ticket/10750 Maybe some hints there. -- James Cameron http://quozl.linux.org.au/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] XO names when sharing with server
I am sure this has been covered before, but would appreciate a reference to the thread... I am using XO-1s, release 11.3.0 (build 883) with Sugar 0.94.1 and we are still using XS version 0.6 with the latest updates. When using XOs connected and registered on the server to collaborate, the names of XOs which populate the neighbourhood view are displayed as very long strings ending something like @schoolserver.fqdn.org rather the correct friendly name. This also affects how activities perform when collaborating. Connect for instance, becomes difficult to use because the long name of the joined XO causes the playing area to resize to a small area on the right of screen. It doesn't seem to do this when using the mesh. Not sure if this is a server, the OS build or Sugar issue. It used to be fine with earlier XO builds and the same server version. Apologies if this has been covered before - if there is a ticket I can view or whatnot, would appreciate the tip. David Leeming Solomon Islands ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Database error troubleshooting
More on this from my remote XO Champion in PNG Reminder: The error is : Error: Database connection failed as viewed in a connected XO when they try to access the Moodle home page (local schoolserver link in Browse) Rebooting does not help. We already established disk space is OK. It's a default 0.6 installation. service postgresql status - gives postmaster is stopped service httpd restart - stops and starts up OK it pings the FQDN and the shortcut schoolserver OK on the XS and an XO using Terminal. Any help with this appreciated. It is difficult to have to reinstall it, as no-one there has the skills. David Leeming Solomon Islands Rural Link www.rurallink.com.sb -Original Message- From: qu...@us.netrek.org [mailto:qu...@us.netrek.org] On Behalf Of James Cameron Sent: Wednesday, 9 May 2012 6:13 p.m. To: David Leeming Cc: 'Jerry Vonau'; 'XS Devel' Subject: Re: [Server-devel] Database error troubleshooting Have you tried rebooting the server? The reason that I ask, is that I imagine if the Unix domain socket was missing due to an accident, rebooting would start the database server component again and create the Unix domain socket. But I'm really not sure what other conditions might lead to the same symptom. -- James Cameron http://quozl.linux.org.au/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Database error troubleshooting
Thanks, I don't know how that might have come about as the server is not accessed via the terminal. It is quite important to us to try and find a solution on site. The chap there is able to follow simple instructions using the terminal. So any help greatly appreciated... David -Original Message- From: qu...@us.netrek.org [mailto:qu...@us.netrek.org] On Behalf Of James Cameron Sent: Wednesday, 9 May 2012 5:35 p.m. To: David Leeming Cc: 'Jerry Vonau'; 'XS Devel' Subject: Re: [Server-devel] Database error troubleshooting The Apache error logs suggest that the database connection failure is because of a missing Unix domain socket file in /tmp/.s.PGSQL.5432 which I imagine might occur if the file was accidentally removed since last boot. There may be other causes. I don't know enough about XS to advise further, sorry. I hope someone who knows will review the logs and give you advice. -- James Cameron http://quozl.linux.org.au/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] Database error troubleshooting
I have a resource person at a remote school contacting me to say their production XS is displaying Error: database connection failed on the Moodle home page. It had been running OK for some weeks with a low load - only 20 laptops. He is able to follow simple instructions with the terminal and we managed to check dish space - not a problem, the partitions are only 20% or so used. What else can I suggest to try? David Leeming Solomon Islands ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Database error troubleshooting
cron.log attached, not very helpful, which other logs might help? David From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of David Leeming Sent: Wednesday, 9 May 2012 11:28 a.m. To: 'XS Devel' Subject: [Server-devel] Database error troubleshooting I have a resource person at a remote school contacting me to say their production XS is displaying Error: database connection failed on the Moodle home page. It had been running OK for some weeks with a low load - only 20 laptops. He is able to follow simple instructions with the terminal and we managed to check dish space - not a problem, the partitions are only 20% or so used. What else can I suggest to try? David Leeming Solomon Islands cron.log Description: Binary data ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Lesotho project network server: obstacles needs
Hi Janissa I am copying you separately a document that we use in PNG and Solomons that helps with a basic default installation of XS 0.6 and some very basic Moodle settings. It's a bit country/project specific so I need to clean it up before sharing on this list. I have installed from a USB stick before, but it's a while ago. OLPC-AU do this so will leave that to Sridhar. We use CD based installation. I too am learning by seat of my pants so happy to share your experience! David Leeming -Original Message- From: jbalc...@laptopstolesotho.org [mailto:jbalc...@laptopstolesotho.org] Sent: Saturday, 28 April 2012 8:17 a.m. To: David Leeming Cc: 'XS Devel' Subject: RE: [Server-devel] Lesotho project network server: obstacles needs Hi David, Sorry for my delayed reply. Thanks for your comments and advice. Please do send me the specs for the EPC-AT270 you are using. I tried downloading the XS operating system from the OLPC website onto a dongle/flash drive and installing it from that onto the PC we have designated as our server, but the installation failed. Later, we had two computer specialists reformat the PC and try the same thing without success. Each time, we got errors that said the XS files were incomplete. Did you install your XS software from a dongle, or did you download it directly onto your server? If you installed from a dongle, do you have any suggestions on what we might be doing wrong? Do you know if there is information anywhere with very detailed, step-by-step instructions for installing the XS from a dongle? We are all total Linux and XS novices, and none of us have ever operated a server before. Since we haven't been able to install the XS, I'm unfamiliar with the XS features you mentioned (Moodle home page, /library, class segregation etc.) Thanks, Janissa Janissa Balcomb jbalc...@laptopstolesotho.org Laptops to Lesotho Inc. www.laptopstolesotho.inc - Hi Janissa Your programme sounds very worthwhile and I wish you all the best with it! Maybe I was not clear, but my point is that for us, the XS (we are using v0.6) installed on a low power e-box such as the EPC-AT270 (I can send you the spec sheet, it is available in Australia not sure where you are) has proven exactly what you seem to be looking for. Very low power, running at 15W or less on 12V DC solar power, with auto-power on enabled so even if there is a power outage the locals don't need to intervene. At one site it ran 18 months continuously and no problems. The access points all using DC power via PoE too. Our schools in PNG only theoretically have Internet access in some locationsas the quality of service is insufficient. Even if it were, it's only for the teachers due to cost. But the teachers do have some limited options with 3G dongles if they wish to sign up to the OLPC-Australia XO-Certification programme (extended to Pacific) laptop.moodle.com.au and so we spent time training them to do so. It is true one does need some initial centralised or outside expertise to set the servers up but in our case we are all Linux novices really and we get by. On site, as I said the servers are very useful, but as in your case we have to just install and leave them and expect little maintenance work although as time goes on various champions emerge. I am typing this in the remotest place in PNG, and yet I am planning today to training one teacher to be able to do some role assignment work on the XS Moodle in some schools we can't visit this time. I guess this list can help you design a suitable configuration for the XS. As I said in our case it is really basic, just using the Moodle home page as a links page to folders of resources in the /library, and some upload folders and the general news/forum. We don't use the class segregation as yet because we are unable to assist when the students change class at the new year, so the strategy is just to tell teachers try not to overload the server, coordinate with each other etc. In the future we can improve on it. David Leeming Solomon Islands Rural Link P.O.Box 652 Honiara, Solomon Islands +677 7476396 (m) +677 24419 (h) www.rurallink.com.sb -Original Message- From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of jbalc...@laptopstolesotho.org Sent: Monday, 16 April 2012 9:07 a.m. To: server-devel@lists.laptop.org Subject: [Server-devel] Lesotho project network server: obstacles needs I work with a non-OLPC-affiliated XO laptop project in Lesotho. Our project uses G1G1 XO-1 laptops we buy on the open market and refurbish ourselves. Like David Leeming in PNG (see Server-devel Digest, Vol 60, Issue 13, Topic 1 -- Re: Looking for new low power server hardware candidate), I work with schools in a very remote area with rough terrain, difficult access, limited resources, and poorly trained teachers. Unlike David's area, our schools do not have access
[Server-devel] Collaboration XO-1 with XS
I have noticed when using the combination XO-1 build 883 , Sugar 0.94.1 and XS-0.6 that collaboration for registered XOs connected to the XS network is unreliable. After doing some collaborating sometimes the populating of the neighbourhood views becomes unreliable and shared activities are not displayed on other XOs neighbourhood screens. Also, when hovering over some XOs which are displayed on neighbourhood view, the name is not shown but instead a long text stream. This has been attempting to disrupt teacher training I am conducting but we work around it by for instance using discard network history which seems to help. I am copying to both lists as I am not sure where the problem lies. Any advice appreciated and apologies if some of this has been covered in past discussions, if so just a referral would be most appreciated. David Leeming In PNG ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Browse or Moodle-XS error - Redirect Loop Redirection limit reached
On Mon, Apr 23, 2012 at 7:39 AM, David Leeming da...@leeming-consulting.com wrote: Also found a file named.run which is nearly 1GB in size, - I gather this is a debugging file, can I disable the function that generates it? Will Normally named.run should only contain a number, a small integer. If you restart the server, after having removed named.run, and let it run for a while, what happens with named.run ? This is a server machine I carry about to use in field trainings. Typically I use a Windows laptop connected to the server network with a VNC client running, to use with a projector to display XOs (using Classroom Broadcast). I have not had any problems before, perhaps I did not reach the limit. It is now clear this is due to the Windows laptop antivirus trying to update: after deleting named.run, a few hours later it is getting up to 100MB and it turns out that is made up of lines as below the below: network unreachable resolving 'dnl=12.geo.kaspersky.com/A/IN' ; 192.50.128.30 I also have problems this trip with collaboration. We only have 25 teacher's XO-1s (b883, sugar 0.94.1) and all are registered and appear in the Moodle user list. But the neighbourhood does not reliably populate and when sharing an activity the sharing icon does not reliably appear on all the other XOs neighbourhood view making it difficult to do collaboration training. Is there an issue with the combination of XS v0.6 and the particular XO build/sugar version? Or maybe something on my server is broken, ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] Browse or Moodle-XS error - Redirect Loop Redirection limit reached
Hello, I am running a training session on the school server but not sure if my problem is Browse or XS so copying to both lists. The trainees are teachers, learning the basics - they have zero computing experience. We are using Browse 129.1 and XS 0.6 with current updates. They have learned to connect to the wireless network and register. The group size is 25 and there are more than one (4 actually) physical access points. Moodle-XS is used to present links to folders of resources via URL aliases. Example, a link such as http://schoolserver/MyResource pointing at folder /library/myresource thus, the resources don't actually need Moodle to work. Suddenly all the trainees when trying to access the server Moodle pages with Browse get the error: Redirect Loop : Redirection limit for this URL exceeded. I can type in the URL alias http://schoolserver/MyResource manually and it will display the content OK. So it seems to be a Moodle issue? How to deal with it? I have never seen this before ... David ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Browse or Moodle-XS error - Redirect Loop Redirection limit reached
Regarding the below, it seems that the database is not running and on checking disk space, the file system /dev/sda2 is 100% used. I am assuming this is the cause of the problem. We don't use that area for storage, all our resources are saved in /library. So I guess that it might be the database or other dynamic resource that has increased in size to the maximum available on this server. Looking for advice on what to do to free up space and get it working again, David From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of David Leeming Sent: Monday, 23 April 2012 4:09 p.m. To: 'XS Devel' Cc: 'Sugar devel' Subject: [Server-devel] Browse or Moodle-XS error - Redirect Loop Redirection limit reached Hello, I am running a training session on the school server but not sure if my problem is Browse or XS so copying to both lists. The trainees are teachers, learning the basics - they have zero computing experience. We are using Browse 129.1 and XS 0.6 with current updates. They have learned to connect to the wireless network and register. The group size is 25 and there are more than one (4 actually) physical access points. Moodle-XS is used to present links to folders of resources via URL aliases. Example, a link such as http://schoolserver/MyResource pointing at folder /library/myresource thus, the resources don't actually need Moodle to work. Suddenly all the trainees when trying to access the server Moodle pages with Browse get the error: Redirect Loop : Redirection limit for this URL exceeded. I can type in the URL alias http://schoolserver/MyResource manually and it will display the content OK. So it seems to be a Moodle issue? How to deal with it? I have never seen this before ... David ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Browse or Moodle-XS error - Redirect Loop Redirection limit reached
Regarding the below, it seems that the database is not running and on checking disk space, the file system /dev/sda2 is 100% used. I am assuming this is the cause of the problem. We don't use that area for storage, all our resources are saved in /library. So I guess that it might be the database or other dynamic resource that has increased in size to the maximum available on this server. Looking for advice on what to do to free up space and get it working again, Should have waited before posting; I found in filesystem /dev/sda2 several large message log files, on erasing them all works sweetly Also found a file named.run which is nearly 1GB in size, - I gather this is a debugging file, can I disable the function that generates it? Will named.run continue to grow with our deployed servers, all of which use the default install (version 0.6)? David From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of David Leeming Sent: Monday, 23 April 2012 4:09 p.m. To: 'XS Devel' Cc: 'Sugar devel' Subject: [Server-devel] Browse or Moodle-XS error - Redirect Loop Redirection limit reached Hello, I am running a training session on the school server but not sure if my problem is Browse or XS so copying to both lists. The trainees are teachers, learning the basics - they have zero computing experience. We are using Browse 129.1 and XS 0.6 with current updates. They have learned to connect to the wireless network and register. The group size is 25 and there are more than one (4 actually) physical access points. Moodle-XS is used to present links to folders of resources via URL aliases. Example, a link such as http://schoolserver/MyResource pointing at folder /library/myresource thus, the resources don't actually need Moodle to work. Suddenly all the trainees when trying to access the server Moodle pages with Browse get the error: Redirect Loop : Redirection limit for this URL exceeded. I can type in the URL alias http://schoolserver/MyResource manually and it will display the content OK. So it seems to be a Moodle issue? How to deal with it? I have never seen this before ... David ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] Changing domain name
If I change the domain name of an XS (version 0.6 + updates, default installation) after it has been used for sometime, will it cause problems for instance with Moodle? /etc/sysconfig/olpc-scripts/domain_config new name.org David ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] deregister laptops
HI, what I am trying to do is restore an XO-1 running build 860/0.84.31/Q2E45 that has been registered on one XS to a condition where it can be registered on another XS. When you register, the register option disappears from the options on the home page when you point at the icon in the middle. We want that back again so it can be used with another XS. On previous versions you would use Terminal and /rm/home/olpc/.sugar/default/config I tried sugar-control-panel -c registration and get this error: sugar-control-panel: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: 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.) I must be missing something obvious? Of course we can always reinstall but would prefer more elegant solution ... David Leeming -Original Message- From: Sridhar Dhanapalan [mailto:srid...@laptop.org.au] Sent: Sunday, 15 May 2011 11:21 p.m. To: David Leeming Cc: James Cameron; Richard A. Smith; XS Devel Subject: Re: [Server-devel] deregister laptops I believe the command is now: $ sugar-control-panel -c registration Sridhar On 14 May 2011 18:34, David Leeming da...@leeming-consulting.com wrote: I am seeking a way to de-register XO-1s (10.1.3) that have been registered on one server to allow them to be registered on another. Previously we used rm /home/olpc/.sugar/default/config this no longer applies as per the thread below... David Leeming Solomon Islands -Original Message- From: qu...@us.netrek.org [mailto:qu...@us.netrek.org] On Behalf Of James Cameron Sent: Wednesday, 8 December 2010 1:33 p.m. To: David Leeming Cc: 'XS Devel'; 'Richard A. Smith' Subject: Re: deregister laptops On Wed, Dec 08, 2010 at 01:03:07PM +1100, David Leeming wrote: Terminal Activity was used, yes, version 31 # cat /boot/olpc_build 852 # rpm -q sugar sugar-0.84.22-1.fc11.i586 All above are results from the same XO Thanks. I've no further ideas. It seems to work for me. I've raised a ticket #10520 in the hope that those working on 10.1.3 can have a look at it. http://dev.laptop.org/ticket/10520 -- James Cameron http://quozl.linux.org.au/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] deregister laptops
I am seeking a way to de-register XO-1s (10.1.3) that have been registered on one server to allow them to be registered on another. Previously we used rm /home/olpc/.sugar/default/config this no longer applies as per the thread below... David Leeming Solomon Islands -Original Message- From: qu...@us.netrek.org [mailto:qu...@us.netrek.org] On Behalf Of James Cameron Sent: Wednesday, 8 December 2010 1:33 p.m. To: David Leeming Cc: 'XS Devel'; 'Richard A. Smith' Subject: Re: deregister laptops On Wed, Dec 08, 2010 at 01:03:07PM +1100, David Leeming wrote: Terminal Activity was used, yes, version 31 # cat /boot/olpc_build 852 # rpm -q sugar sugar-0.84.22-1.fc11.i586 All above are results from the same XO Thanks. I've no further ideas. It seems to work for me. I've raised a ticket #10520 in the hope that those working on 10.1.3 can have a look at it. http://dev.laptop.org/ticket/10520 -- James Cameron http://quozl.linux.org.au/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] XS-0.7 plans -- your thoughts please...
Great news, looking forwards to 0.7 I think three areas where we had some difficulties. 1. Perhaps making the default install easier to set eth0 up for static config 2. Not sure if it is relevant to the build, but we would have enjoyed an easy way to clone from a master, i.e. when setting up a customised XS for a number of schools 3. We had difficulties running the olpcxs update (yum --enablerepo .) at times, and although we couldn't always replicate the problem it seemed to be related to clock/date/time skew I have never tried selecting the Gnome option, but a nice GUI would be useful for users with limited grasp of command line stuff for file management. Maybe that is available already David Leeming Solomon Islands Rural Link -Original Message- From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of Daniel Drake Sent: Wednesday, 19 January 2011 7:28 a.m. To: Martin Langhoff Cc: XS Devel Subject: Re: [Server-devel] XS-0.7 plans -- your thoughts please... On 18 January 2011 19:29, Martin Langhoff martin.langh...@gmail.com wrote: So -- going back on the traffic we've see in the last 24 months, what would you highlight? What have people asked for (that wasn't easy/trivial/possible)? What problems have we heard that were hard to diagnose...? Some items that spring to mind: 1. activity-server support for dotted activities 2. can't register if your name includes a : 3. automatic olpc-update via OATS (code was posted, but we never finished deciding exactly how to integrate it) ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] XS-0.7 plans -- your thoughts please...
OK point taken! We have used WinSCP on networked Windows PCs too, for this purpose. David Leeming Solomon Islands Rural Link From: Anna [mailto:ascho...@gmail.com] Sent: Wednesday, 19 January 2011 10:11 a.m. To: David Leeming Cc: XS Devel Subject: Re: [Server-devel] XS-0.7 plans -- your thoughts please... On Tue, Jan 18, 2011 at 4:31 PM, David Leeming da...@leeming-consulting.com wrote: I have never tried selecting the Gnome option, but a nice GUI would be useful for users with limited grasp of command line stuff for file management. Maybe that is available already David Leeming Solomon Islands Rural Link Managing a system with Gnome sounds seductive, but I can't think of a faster way to bork up a server than to let a novice admin loose in GUI tools with root powers. For file management, say a user level directory under /var/www/html, far better to mount it with sshfs from a remote system (there's even a Windows tool for that called dokan). That way you can have the ease of a GUI filesystem tool without the risks of actually running a Window Manager on the server itself. Not to mention installing Gnome and X Windows and all the deps takes a ton of space. Anna Schoolfield Birmingham ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] XS-0.7 plans -- your thoughts please...
Even if a location doesn't have internet access, daily reporting of the number of unique XOs that got IP addresses would probably be informative. At least you'd have a quick way to see how many XOs are being brought to school and be able to track that over time. Anna Schoolfield Birmingham Strongly agree! David ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] deregister laptops
On Tue, Dec 07, 2010 at 06:34:05PM +1100, David Leeming wrote: James wrote: David wrote: James wrote: G'day David, XO-1 software release 10.1.2 is based on Sugar 0.84, which moved to using gconf for storing this setting. What should work is: 1. start Terminal activity, 2. type sugar-control-panel -c registration 3. use ctrl-alt-erase to restart Sugar. If that doesn't work, please let me know, as I'd like to track it. Sorry it has taken me a while to get round to testing this. Well it does not work. In terminal, the command above gives a lot of text feedback, referring to a configuration server. Good, please provide the text feedback, it is critical for understanding the problem. You can capture that with a screenshot, Alt/1, or use the Linux script command. sugar-control-panel: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: 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 happens for me on 10.1.2 only if I try it at a virtual terminal console (ctrl-alt-f1), but it doesn't happen for me if I do it in the Terminal activity. I checked that I mentioned using the Terminal activity. Please confirm this is where you typed it? Certain environment variables are needed from the running Sugar session, and these are available by default to Terminal. Please confirm the OLPC OS build number, and the version number of the Sugar RPM package: Terminal Activity was used, yes, version 31 # cat /boot/olpc_build 852 # rpm -q sugar sugar-0.84.22-1.fc11.i586 All above are results from the same XO David Did either of these alternate methods work? - gconftool method gave same output as the first (as above) That also happens in a shell that is missing the required context. - rm -rf .gconf gave no errors but after reboot there is no Register option present in the home view shutdown menu, only Shutdown and My Settings. So I guess no. Interesting, thanks. -- James Cameron http://quozl.linux.org.au/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] deregister laptops
G'day David, XO-1 software release 10.1.2 is based on Sugar 0.84, which moved to using gconf for storing this setting. What should work is: 1. start Terminal activity, 2. type sugar-control-panel -c registration 3. use ctrl-alt-erase to restart Sugar. If that doesn't work, please let me know, as I'd like to track it. Sorry it has taken me a while to get round to testing this. Well it does not work. In terminal, the command above gives a lot of text feedback, referring to a configuration server. Not sure what it is trying to do, but what I am trying to achieve is to get the Register to appear on the XO home page when you hover over the middle, under Shutdown and My settings; i.e. to have the Register option available again in the shutdown dropdown menu so that I can register the XO on another XS. We have to do this quite often, for instance right now we have 25 teachers from 3 schools with OLPC projects visiting one school for training. They all need to access the XS server at that school, using their own laptops. Hence we need to deregister them. I am not sure if this question is for the Sugar dev or server dev list, but is certainly server related. Any help appreciated! We are stuck at the moment. We are otherwise stuck; we upgrade them XOs to 10.1.2 and now don't have access to the server without a lot of time consuming work. (it is a pity as the rm /home/olpc/.sugar/default/config method was well understood here) There's an alternate method using the gconftool-2 program that is somewhat more complex. gconftool-2 --set --type=string \ /desktop/sugar/backup_url \ '' And finally a brute force method rm -rf .gconf but this destroys other settings, most of which may not be important. References: http://dev.laptop.org/ticket/10261 http://dev.laptop.org/ticket/7765 http://dev.laptop.org/ticket/7764 http://dev.laptop.org/ticket/6857 http://dev.laptop.org/ticket/5380 -- James Cameron http://quozl.linux.org.au/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] deregister laptops
On Tue, Dec 07, 2010 at 03:19:40PM +1100, David Leeming wrote: G'day David, XO-1 software release 10.1.2 is based on Sugar 0.84, which moved to using gconf for storing this setting. What should work is: 1. start Terminal activity, 2. type sugar-control-panel -c registration 3. use ctrl-alt-erase to restart Sugar. If that doesn't work, please let me know, as I'd like to track it. Sorry it has taken me a while to get round to testing this. Well it does not work. In terminal, the command above gives a lot of text feedback, referring to a configuration server. Good, please provide the text feedback, it is critical for understanding the problem. You can capture that with a screenshot, Alt/1, or use the Linux script command. Hi James, thanks for responding so quickly. Actually we can set up accounts on the XS manually of course. But we need to know how to do this. The text output is below sugar-control-panel -c registration sugar-control-panel: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: 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.) There's an alternate method using the gconftool-2 program that is somewhat more complex. gconftool-2 --set --type=string \ /desktop/sugar/backup_url \ '' And finally a brute force method rm -rf .gconf but this destroys other settings, most of which may not be important. Did either of these alternate methods work? - gconftool method gave same output as the first (as above) - rm -rf .gconf gave no errors but after reboot there is no Register option present in the home view shutdown menu, only Shutdown and My Settings. So I guess no. -- James Cameron http://quozl.linux.org.au/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Cloning and hardware addresses
OK, well the clones seem to working fully. Is there anything we should test in particular? David Leeming Solomon Islands Rural Link -Original Message- From: Martin Langhoff [mailto:martin.langh...@gmail.com] Sent: Saturday, 4 December 2010 3:51 a.m. To: David Leeming Cc: Jerry Vonau; XS Devel Subject: Re: [Server-devel] Cloning and hardware addresses On Thu, Dec 2, 2010 at 3:53 PM, David Leeming da...@leeming-consulting.com wrote: Sub note to this. I found I had to delete the file altogether. Then it works. It regenerates the file with the new hardware addresses so if the HDD is moved again, I guess this step needs repeating. Yes. And if the NICs are replaced too. It's not enough however (from a correctness PoV) when cloning a disk. There's a number of files that get generated on first boot -- the ssh key files come to mind (/etc/ssh/ssh_host_* ) . The postgres' server.crt too. Unfortunately there isn't an easy command on linux distros to return the OS to a 'pristine' state (IIRC, there's one on Solaris). 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] Cloning and hardware addresses
I have been cloning a master XS hard drive onto a number of copies, to be used in different computers (of the exact same type). I used the following simple way of cloning dd bs=8192 if=/dev/sda of=/dev/sdb where sda is the master and sdb is connected via USB. This done using a live CD to boot it up. The clones work fine in the same PC as was used with the master. However, on booting a cloned HDD in another machine it does not detect the NICs (the computer has 2). I assume I have to delete the HWADDR= line somewhere, for both eth0 and eth1. Question is, where? Or should this be done another way? David Leeming Solomon Islands Rural Link ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Cloning and hardware addresses
Cheers Jerry! David Leeming -Original Message- From: Jerry Vonau [mailto:jvo...@shaw.ca] Sent: Thursday, 2 December 2010 9:02 p.m. To: David Leeming Cc: 'XS Devel' Subject: Re: [Server-devel] Cloning and hardware addresses On Thu, 2010-12-02 at 20:38 +1100, David Leeming wrote: I have been cloning a “master” XS hard drive onto a number of copies, to be used in different computers (of the exact same type). I used the following simple way of cloning dd bs=8192 if=/dev/sda of=/dev/sdb where sda is the master and sdb is connected via USB. This done using a live CD to boot it up. The clones work fine in the same PC as was used with the master. However, on booting a cloned HDD in another machine it does not detect the NICs (the computer has 2). I assume I have to delete the “HWADDR=” line somewhere, for both eth0 and eth1. /etc/udev/rules.d/70-persistent-net.rules Delete the lines that refer to all the eth devices and reboot Jerry ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Cloning and hardware addresses
On Thu, 2010-12-02 at 20:38 +1100, David Leeming wrote: I have been cloning a “master” XS hard drive onto a number of copies, to be used in different computers (of the exact same type). I used the following simple way of cloning dd bs=8192 if=/dev/sda of=/dev/sdb where sda is the master and sdb is connected via USB. This done using a live CD to boot it up. The clones work fine in the same PC as was used with the master. However, on booting a cloned HDD in another machine it does not detect the NICs (the computer has 2). I assume I have to delete the “HWADDR=” line somewhere, for both eth0 and eth1. /etc/udev/rules.d/70-persistent-net.rules Delete the lines that refer to all the eth devices and reboot Jerry Sub note to this. I found I had to delete the file altogether. Then it works. It regenerates the file with the new hardware addresses so if the HDD is moved again, I guess this step needs repeating. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Bridging XS to another network
OK thanks Jerry. I have decided to test this out on a safe replicated environment rather than risk breaking something, as I'd then not be able to fix it in the short time left on site. You gave me the second option, for the few fixed Windows PCs that will be involved in the initial part of this project, on those I will edit the hosts file. I will be back here next month and will have then bring a second machine with me to br about with at no risk! Many thanks, you've really been a tremendous help, also Anna and other, cheers David Leeming Solomon Islands Rural Link -Original Message- From: Jerry Vonau [mailto:jvo...@shaw.ca] Sent: Tuesday, 2 November 2010 1:48 p.m. To: David Leeming Cc: XS Devel Subject: RE: [Server-devel] Bridging XS to another network On Mon, 2010-11-01 at 20:35 -0500, Jerry Vonau wrote: Sorry forgot to reply-all... On Mon, 2010-11-01 at 19:21 -0500, Jerry Vonau wrote: On Tue, 2010-11-02 at 10:43 +1100, David Leeming wrote: Jerry, The computers wishing to access the server are Windows laptops that get their DNS from the ISP (actually the gateway router points to Google DNS). This gateway router is handing out the dhcp addresses and the nameserver is pointing to google's dns servers? That would be the place to hijack the dns for schoolserver, do you have access to this router? Is this the second linksys that you refer to below? On one of these Windows boxes can you add an entries to winpath\system32\drivers\etc\hosts file: 192.168.0.210 schoolserver 192.168.0.210 schoolserver.patukae.org and then test with ping: ping schoolserver ping schoolserver.patukae.org If that is successful, you should be able to see moodle in the browser. The 192.168.0.0/24 network is actually a schoolnet linking several village schools with Wi-Fi bridges and access points, and it has Internet gateway (VSAT). We want all those schools to access the XS moodle and my added wiki. QUESTION: Yes, I can access the gateway router (it is also a Linksys WRT54G2). Would you know how to add the enter pointing schoolserver.patukae.org to 192.168.0.210, where (in the router admin) would I add that entry? It is not obvious to me, sorry... Give me a bit on that one, I have to check. Just so were looking at the same thing, Figure 6-13 on: http://www.scribd.com/doc/21144997/Linksys-WRT54G-router-manual I don't see a way of adding any entries, just boxes in the dhcp part for the upstream static dns servers, this info is being passed to the clients, at a windows cmd prompt, what does ipconfig /all show? What you need is a nameserver on 192.168.0.XXX to handle the name resolution. Think I can rig that up with just the XS, give me a bit. Jerry The first order of business would be to have named use the forwarders that are configured in the linksys, because the XS can't resolve anything outside of its own domain. You can ping google's ip address but google.com will fail. You need use these directions to add them, you can skip the service named restart part: http://wiki.laptop.org/index.php?title=XS_Techniques_and_Configurationsection=15#Use_ISP-provided_DNS_servers Next edit /var/named-xs/school.external.zone.db changing 18.85.46.29 to be, in your case, 192.168.0.210 Now restart named: service named restart You should now be able to ping from the XS(and the client XOs as well if you have iptables enabled) to anywhere on the web. Don't go any farther unless this works. Ensure that the linksys that is between the XS and the main router is acting as a DMZ host for the schoolserver or ensure that both port 80 tcp and port 53 tcp/udp are forwarded to the XS. Boot your Ubuntu Live CD and edit the /etc/resolv.conf file, change the nameserver to be 192.168.0.210 now the ping test: ping schoolserver.patukae.org ping schoolserver Try out moodle. Don't go any farther unless this works. On the main router, in the dhcp config page move the other ip addresses down to the 2 3 slots and fill in the first slot to be 192.168.0.210 and save the changes. The clients will pick up the changes as their dhcp leases expire, or you can do ipconfig /release, ipconfig /renew to force the change quicker. We're now handing out the linksys' ip address as the first nameserver to be used, where it will be forwarded to the XS to handle. This should result is less traffic up the isp's pipe as the XS will cache dns requests made to it. The second third entries on this linksys would be just backup for if the first nameserver(the XS)failed to resolve. Jerry ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Bridging XS to another network
Hi Jerry That sorted it out - almost... I added the gateway and the server can now ping through the router. I added port forwarding for HTTP and success partially From the outside I can enter the router WAN IP (which is now 192.168.0.210) and mixed results... http://192.168.0.210 gives the Firefox error Server not found, Firefox can't find the server at schoolserver.patukae.org (showing that it has found something at least). Same with http://192.168.0.210/moodle/ However, the MediaWiki installed on the XS is fine (http://192.168.0.210/wiki is fully accessible). The difference is that moodle lives in /var/www/moodle but the wiki lives in /var/www/html/wiki Would be sincerely grateful for the last piece in the puzzle so would all the teachers here, as this firefighting is going on in parallel with the XS/wiki deployment! David Leeming Solomon Islands Rural Link .. -Original Message- From: Jerry Vonau [mailto:jvo...@shaw.ca] Sent: Monday, 1 November 2010 4:15 p.m. To: David Leeming Cc: 'XS Devel' Subject: RE: [Server-devel] Bridging XS to another network On Mon, 2010-11-01 at 11:35 +1100, David Leeming wrote: Hi thanks jerry, Almost there, just need clarification... On the router, what should I use for the LAN network, like this or different? 172.18.0.88 255.255.255.0 (is that correct? It means the network does not include the higher ranges 172.18.96.xxx etc) That should work, then only the XS has a direct route, while the XOs on 172.18.96.xxx don't. Should the router firewall settings be virtual server port 80 to 172.18.0.1??? or 172.18.???.??? What is the main IP address of the XS, I thought is was 172.18.0.1 use 172.18.0.1 as the target of the port forwarding, that should work once the default route is set as below. To add a route on the XS, do you mean (and what are the ??/): route add default gw 172.18.0.88 netmask 255.255.???.??? landbond0??? Yea that is the idea, but you would need to re-add that upon reboots. Lets try to get this to auto configure, edit ifcfg-lanbond0:2 from: if [ $XS_SERVER_NUM = 1 ] ;then ONBOOT=yes IPADDR=$XS_LANBOND_MAINXS_IPADDR NETMASK=255.255.255.0 BOOTPROTO=static #BONDING_OPTS= IPV6INIT=no else To be: if [ $XS_SERVER_NUM = 1 ] ;then ONBOOT=yes IPADDR=$XS_LANBOND_MAINXS_IPADDR NETMASK=255.255.255.0 GATEWAY=172.18.0.88 BOOTPROTO=static #BONDING_OPTS= IPV6INIT=no else That should create the default route via 172.18.0.88, when the network comes up. restart the network service and retest service network restart ping 172.18.0.88 ping 192.168.1.88 This that fails, can you capture the output of: ip route ls Jerry David Leeming Solomon Islands Rural Link -Original Message- From: Jerry Vonau [mailto:jvo...@shaw.ca] Sent: Monday, 1 November 2010 10:41 a.m. To: David Leeming Cc: 'XS Devel' Subject: Re: [Server-devel] Bridging XS to another network On Sun, 2010-10-31 at 18:13 -0500, Jerry Vonau wrote: On Mon, 2010-11-01 at 08:55 +1100, David Leeming wrote: Still no luck here. What it boils down to, is that when placing the XS (eth1 - LAN) behind a router with NAT, in order to allow the XS web service to be visible on the external WAN side of the router, what are the required LAN IP settings including netmask and firewall settings, including port forwarding or DMZ Host or other. Anna, you seem to have been able to do that but I can’t replicate without more info on your router/firewall settings. I have tried everything I can think of and the XS is not visible from the external network. Only need to be able to see Moodle, etc, (not interested in registering XOs on the external network) David Leeming Solomon Islands Rural Link P.O.Box 652 Honiara, Solomon Islands +677 7476396 (m) +677 24419 (h) www.leeming-consulting.com From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of David Leeming Sent: Sunday, 31 October 2010 11:38 a.m. To: 'Anna' Cc: 'XS Devel' Subject: Re: [Server-devel] Bridging XS to another network Anna, What you describe below is what I am trying to do (see the net diagram in my other email). I only want apache/Moodle/wiki to be available to the external network (your “regular LAN”). You’ll see that I have a simple WRT54G router bridging but no matter what I try, I can’t see the apache service through the router. Can you say what Wan and LAN settings you used for your router? I used WAN – fixed 192.168.1.88 / 255.255.255.0 LAN – fixed 172.18.0.88 / 255.255.255.0 Port 80 forwarded from WAN to 172.18.0.1 (or DMZ host with 171.18.0.1) In this set up: If I try to ping from the XS to 172.18.0.88 it is OK, if I try
Re: [Server-devel] Bridging XS to another network
On Mon, 2010-11-01 at 05:43 -0500, Jerry Vonau wrote: On Mon, 2010-11-01 at 20:35 +1100, David Leeming wrote: Hi Jerry That sorted it out - almost... I added the gateway and the server can now ping through the router. I added port forwarding for HTTP and success partially Good that's progress. From the outside I can enter the router WAN IP (which is now 192.168.0.210) and mixed results... http://192.168.0.210 gives the Firefox error Server not found, Firefox can't find the server at schoolserver.patukae.org (showing that it has found something at least). Same with http://192.168.0.210/moodle/ Shoot, the client can't resolve the name, add to /etc/hosts: 192.168.0.210 schoolserver.patukae.org schoolserver Jerry Tried but no different. I don't think the mediawiki installation has changed anything fundamental with the networking. The server functions normally when XOs and PCs connect wirelessly or wired to the eth1. I was wondering if the public folders part might be an issue... because the only difference I can think between the wiki and moodle is that Moodle exists at /var/www/moodle/ but the wiki at /var/www/html/wiki/ (i.e. one level down). Please note these observations: These results I get when browsing with a PC on the external network 1. http://192.168.0.210/wiki fully accessible! 2. http://192.168.0.210 gives “Server not found, Firefox can’t find the server at schoolserver.patukae.org” 3. http://192.168.0.210/moodle gives same as (2) above 4. http://192.168.0.210/gibberish gives a prompt apache error the URL /gibberish not found. Thus it does find something (i.e. compare with 2 and 3). My /etc/hosts file now 127.0.0.1 schoolserver.@@BASEDNSNAME@@ localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 192.168.0.210 schoolserver.patukae.org schoolserver Route: Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 172.18.16.0 * 255.255.255.0 U 0 00 mshbond0 172.18.0.0 * 255.255.255.0 U 0 00 lanbond0 172.18.1.0 * 255.255.255.0 U 0 00 lanbond0 172.18.14.0 * 255.255.254.0 U 0 00 mshbond2 172.18.12.0 * 255.255.254.0 U 0 00 mshbond1 172.18.10.0 * 255.255.254.0 U 0 00 mshbond0 172.18.64.0 172.18.1.7 255.255.248.0 UG0 00 lanbond0 172.18.72.0 172.18.1.8 255.255.248.0 UG0 00 lanbond0 172.18.8.0 172.18.1.1 255.255.248.0 UG0 00 lanbond0 172.18.16.0 172.18.1.1 255.255.248.0 UG0 00 lanbond0 172.18.24.0 172.18.1.2 255.255.248.0 UG0 00 lanbond0 172.18.32.0 172.18.1.3 255.255.248.0 UG0 00 lanbond0 172.18.40.0 172.18.1.4 255.255.248.0 UG0 00 lanbond0 172.18.48.0 172.18.1.5 255.255.248.0 UG0 00 lanbond0 172.18.56.0 172.18.1.6 255.255.248.0 UG0 00 lanbond0 172.18.96.0 * 255.255.224.0 U 0 00 lanbond0 link-local * 255.255.0.0 U 0 00 mshbond2 default 172.18.0.88 0.0.0.0 UG0 00 lanbond0 ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Bridging XS to another network
Jerry, The computers wishing to access the server are Windows laptops that get their DNS from the ISP (actually the gateway router points to Google DNS).The 192.168.0.0/24 network is actually a schoolnet linking several village schools with Wi-Fi bridges and access points, and it has Internet gateway (VSAT). We want all those schools to access the XS moodle and my added wiki. QUESTION: Yes, I can access the gateway router (it is also a Linksys WRT54G2). Would you know how to add the enter pointing schoolserver.patukae.org to 192.168.0.210, where (in the router admin) would I add that entry? It is not obvious to me, sorry... Other feedback: Everything on the XS is default apart from the added wiki. I ran domain_config patukae.org, yes. I have not done anything deviating from default installation that would cause the @@BASEDNSNAME@@ to appear. At the moment from the external net I can browse to http://192.168.0.210/wiki and it works fine but not http://192.168.0.210/ or http://192.168.0.210/moodle Maybe the above is relevant? David -Original Message- From: Jerry Vonau [mailto:jvo...@shaw.ca] Sent: Tuesday, 2 November 2010 9:53 a.m. To: David Leeming Cc: 'XS Devel' Subject: RE: [Server-devel] Bridging XS to another network On Tue, 2010-11-02 at 09:00 +1100, David Leeming wrote: On Mon, 2010-11-01 at 05:43 -0500, Jerry Vonau wrote: On Mon, 2010-11-01 at 20:35 +1100, David Leeming wrote: Hi Jerry That sorted it out - almost... I added the gateway and the server can now ping through the router. I added port forwarding for HTTP and success partially Good that's progress. From the outside I can enter the router WAN IP (which is now 192.168.0.210) and mixed results... http://192.168.0.210 gives the Firefox error Server not found, Firefox can't find the server at schoolserver.patukae.org (showing that it has found something at least). Same with http://192.168.0.210/moodle/ Shoot, the client can't resolve the name, add to /etc/hosts: 192.168.0.210 schoolserver.patukae.org schoolserver Jerry That needs to be on the client PC/XOs that are on the 192.168.0.XXX lan, those clients can't resolve schoolserver.patukae.org. What dns server are the 192.168.0.XXX clients pointed too? Need to know where they're pointed too can you do a cat /etc/resolv.conf I'm going to say either your isp's servers, or the ADSL modem is caching the requests. Is this modem configurable? That would open up many more options. You can add an entry there for schoolserver.patukae.org pointing to 192.168.0.210, that would fix up the issue cleanly, else your forced to use the hosts file. Tried but no different. I don't think the mediawiki installation has changed anything fundamental with the networking. No, not likely. The server functions normally when XOs and PCs connect wirelessly or wired to the eth1. That is because they can resolve schoolserver correctly, while the clients on 192.168.0.xxx are failing to resolve schoolserver.patukae.org I was wondering if the public folders part might be an issue... because the only difference I can think between the wiki and moodle is that Moodle exists at /var/www/moodle/ but the wiki at /var/www/html/wiki/ (i.e. one level down). Please note these observations: These results I get when browsing with a PC on the external network 1.http://192.168.0.210/wiki fully accessible! 2.http://192.168.0.210 gives “Server not found, Firefox can’t find the server at schoolserver.patukae.org” 3.http://192.168.0.210/moodle gives same as (2) above 4.http://192.168.0.210/gibberish gives a prompt apache error the URL /gibberish not found. Thus it does find something (i.e. compare with 2 and 3). My /etc/hosts file now 127.0.0.1 schoolserver.@@BASEDNSNAME@@ localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 192.168.0.210 schoolserver.patukae.org schoolserver Stop, right there, don't add 192.168.0.210 to the XS hosts file, that needs to be on the *clients* only. I'm curious why @@BASEDNSNAME@@ is present, you have run domain_config patukae.org right? I'm going to say yes as the client that are on 172.18.96.XXX are ok. Is this the hosts.in file? Route: Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 172.18.16.0 * 255.255.255.0 U 0 00 mshbond0 172.18.0.0 * 255.255.255.0 U 0 00 lanbond0 172.18.1.0 * 255.255.255.0 U 0 00 lanbond0 172.18.14.0 * 255.255.254.0 U 0 00 mshbond2 172.18.12.0 * 255.255.254.0 U 0 00 mshbond1 172.18.10.0 * 255.255.254.0 U 0 00 mshbond0 172.18.64.0
Re: [Server-devel] Bridging XS to another network
Still no luck here. What it boils down to, is that when placing the XS (eth1 - LAN) behind a router with NAT, in order to allow the XS web service to be visible on the external WAN side of the router, what are the required LAN IP settings including netmask and firewall settings, including port forwarding or DMZ Host or other. Anna, you seem to have been able to do that but I can't replicate without more info on your router/firewall settings. I have tried everything I can think of and the XS is not visible from the external network. Only need to be able to see Moodle, etc, (not interested in registering XOs on the external network) David Leeming Solomon Islands Rural Link P.O.Box 652 Honiara, Solomon Islands +677 7476396 (m) +677 24419 (h) www.leeming-consulting.com From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of David Leeming Sent: Sunday, 31 October 2010 11:38 a.m. To: 'Anna' Cc: 'XS Devel' Subject: Re: [Server-devel] Bridging XS to another network Anna, What you describe below is what I am trying to do (see the net diagram in my other email). I only want apache/Moodle/wiki to be available to the external network (your regular LAN). You'll see that I have a simple WRT54G router bridging but no matter what I try, I can't see the apache service through the router. Can you say what Wan and LAN settings you used for your router? I used WAN - fixed 192.168.1.88 / 255.255.255.0 LAN - fixed 172.18.0.88 / 255.255.255.0 Port 80 forwarded from WAN to 172.18.0.1 (or DMZ host with 171.18.0.1) In this set up: If I try to ping from the XS to 172.18.0.88 it is OK, if I try to 192.168.0.88 it says network unreachable. But if I use a PC hooked up on the eth1 network, with fixed IP 172.18.0.89 / 255.255.255.0 (for example) I can ping the WAN address and beyond. This is what leads me to think it needs one extra step with route, or it may be something to do with the WRT LAN setting and XS having different netmasks. You can see I am reaching at straws a little L By way of example, here's a setup I've done in the past: Regular LAN: XS (eth0) 192.168.1.20 My Desktop 192.168.1.6 XO A 192.168.1.7 XS LAN: XS (eth1) 172.18.0.1 XO B 172.18.96.2 On the XS LAN, XO B can go to http://schoolserver or 172.18.0.1 and see the default Moodle homepage. It can also register to the XS and all that good stuff, cause it's getting its IP address from the XS's DHCP server. On theRegular LAN, my desktop and XO A can't see the Moodle homepage at 192.168.1.20 until I open port 80 in the firewall on the XS using lokkit (or edit iptables or whatever). Since XO A is not getting its IP address from the XS, it won't be able to register. If XO A wants to use the XS's Jabber server, that port needs to be opened in the XS firewall. XO A can now manually set the Jabber server to 192.168.1.20 and collaborate. If you want to use Moodle, not being able to register to the XS is a huge issue. Apache access works fine, though. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Bridging XS to another network
Martyn, In regard to the below, I am trying to set up the XS behind a Linksys WRT54G2 router. I think my issue is because eth1 (lanbond0) is set up as network 172.18.96.1/255.255.224.0 (for the XOs) but the server listens on 172.18.0.1 (or I have tried to use the route command to add the router LAN IP as the default gateway but it doesn't work or I did it wrong Could you please tell me what I should use for the LAN settings on the router? The WRT54 settings I am using here at home are .. WAN - static IP, 192.168.1.88 / 255.255.255.0 (external network is 192.168.1.0/24) .. LAN - static IP, 172.18.0.88 / 255.255.255.0 (could it be the netmask? The WRT only allows up that setting , i.e. 255.255.224.0 is not possible) .. Port forwarding, I tried everything, including UPnP forwarding and DMZ Host with 172.18.0.1 as the IP At the moment I can't ping from the XS to the Linksys WAN IP (on the external network). However, I can ping the LAN side (172.18.0.88). Moreover, from a PC connected to the same LAN side of the router, I ACN indeed ping all the way through the router to the external network and beyond. I can also ping the server and if I enter 172.18.0.1 in the browser I get Moodle. So in summary, the PC can send traffic through the router but the server can't. Beats me but I am sure it is the network settings somewhere. I tried this using with the router LAN network set to 172.18.96.0/24 but it didn't work either - I can't ping through the router even with a PC (destination reachable). Note that the PC is given a mask of 255.255.224.0 by the XS DHCP (and DNS server 172.18.0.1) and it's not possible to use that in the router settings. Is this going to be possible? Do I need a better router ? I am going to the remote site today for 7 days, and need to crack this one quickly David Leeming Solomon Islands Rural Link From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of David Leeming Sent: Saturday, 30 October 2010 4:11 p.m. To: 'XS Devel' Cc: 'Mark Flynn'; 'Phill Hardstaff' Subject: [Server-devel] Bridging XS to another network Hello all again, A networking challenge this time. I have an XS at a school where there also exists a wide area private network connecting schools using Wi-Fi. We want those connected schools to be able to access the XS, for various reasons. That network (let's call it network 2) is 192.168.1.0/24 and it is connected with the Internet via a router running NAT and DHCP. The XS local network seems to be quite complicated, I don't fully understand it, but what I need to know is the correct slash designation for the httpd and dns servers at 172.18.0.1 so that I can bridge it to network 2. I am trying to use a Linksys WRT54G2 in DMZ Host mode with the IP address 172.18.0.1 bridged to the external Wan IP address of the WRT (set to 192.168.1.88) The WRT LAN IP setting only allows netmask values of up to 255.255.255.0 and I am worried if there is a mismatch then it could be why I can't get it to work. I also suspect I may have to add something to the apache or routing config on the XS, so as to listen on the WRT external IP address At the moment I set the Linksys to WAN - fixed IP 192.168.1.88 / 255.255.255.0 LAN IP address - 172.18.0.88 / 255.255.255.0 (could the net mask be the issue?) Application: DMZ Host, value 172.18.0.1 Required changes to xs apache settings ?? Trying to connect on the network 2 side using a browser if I enter 192.168.1.88 or 172.18.0.1 it just times out. If anyone reading this recognises what I am trying to do, I'd very much appreciate your advice. David Leeming Solomon Islands Rural Link ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Bridging XS to another network
Thanks Anna, I'll just clarify; I am working on UNESCO project where schools in a remote area are linked by a WAN (both wired and Wi-Fi bridges). Only one school is an OLPC school. Schools generally (not just OLPC) contribute to an online wiki environmental encyclopaedia . Content in any kind of format is uploaded to a local server where it is moderated and digitally processed if need be, by a trained QA team prior to upload to the online wiki. This is needed for reasons of integrity of content, traditional views on what content can be shared, etc. Lesson plans are developed to support schools in ways linked to the curriculum to access and create content for the wiki. Excitingly we can have the OLPC uploading Sugar formats like eToys, etc. Other schools will contribute text, images, audio and video. So the content will be locally uploaded to either the XS Moodle or the offline wiki as appropriate - reducing barriers to participation. I have the server running so that once you get access on a non-XO computer, you bring up the Moodle using http://schoolserver/moodle andthe wiki from http://schoolserver/wiki. It all works fine on the eth1 network (the internal network). I can also connect any PC and enter 172.18.0.1 to bring up the server Moodle page. It is NOT intended that XOs on the external network can register on the single XS. The only school with XOs has local access to the XS on the XS's eth1 network. The other schools only need to be able to access the XS Moodle and wiki. So my problem is that even with opening and forwarding port 80, or using DMZ Host mode, the server cannot see through the router and reply to requests. On the other hand, a PC can ping right through the router so I just need in simple terms, to know what I need to do with the apache config or hosts or other files so that the XS can be seen on port 80 from the external network. I don't care about jabber etc. Only access to web services. I am packing to go now, but will look again at your advice - many thanks. But if anyone can quite specifically give me advice on the router LAN settings to use, and any required changes to the XS networking and routing settings so that it is able to reply back to port 80 requests through the router, I would be most appreciative. David Leeming Solomon Islands Rural Link From: Anna [mailto:ascho...@gmail.com] Sent: Sunday, 31 October 2010 9:33 a.m. To: David Leeming Cc: XS Devel Subject: Re: [Server-devel] Bridging XS to another network David: I'm a little confused as to your setup. If you just have the one ethernet device on the XS, it can either get an IP address from your router (as eth0) or hand out DHCP addresses (as eth1). It can't be in both roles. I've played around with external access for the XS and it does involve some firewall stuff. I think I used lokkit to configure access to port 80 and the jabber port to my regular LAN. Then I opened up those ports on my router firewall for access from the rest of the internet. By way of example, here's a setup I've done in the past: Regular LAN: XS (eth0) 192.168.1.20 My Desktop 192.168.1.6 XO A 192.168.1.7 XS LAN: XS (eth1) 172.18.0.1 XO B 172.18.96.2 On the XS LAN, XO B can go to http://schoolserver or 172.18.0.1 and see the default Moodle homepage. It can also register to the XS and all that good stuff, cause it's getting its IP address from the XS's DHCP server. On the Regular LAN, my desktop and XO A can't see the Moodle homepage at 192.168.1.20 until I open port 80 in the firewall on the XS using lokkit (or edit iptables or whatever). Since XO A is not getting its IP address from the XS, it won't be able to register. If XO A wants to use the XS's Jabber server, that port needs to be opened in the XS firewall. XO A can now manually set the Jabber server to 192.168.1.20 and collaborate. If you want to use Moodle, not being able to register to the XS is a huge issue. Apache access works fine, though. I use ifcfg-eth0-local to set the static IP for eth0 on the XS. Here's my example: IPADDR=192.168.1.20 NETMASK=255.255.255.0 NETWORK=192.168.1.0 BROADCAST=192.168.1.255 GATEWAY=192.168.1.254 To see what I need to put in there, I'll do this on another Linux box connected to my Regular LAN: a...@anna-desktop:~$ ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:0f:1f:80:0d:ea inet addr:192.168.1.4 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::20f:1fff:fe80:dea/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1328780 errors:0 dropped:0 overruns:0 frame:0 TX packets:1018129 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:1602636271 (1.6 GB) TX bytes:98891469 (98.8 MB) a...@anna-desktop:~$ netstat -nr Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.1.0 0.0.0.0
Re: [Server-devel] Bridging XS to another network
Anna, What you describe below is what I am trying to do (see the net diagram in my other email). I only want apache/Moodle/wiki to be available to the external network (your regular LAN). You'll see that I have a simple WRT54G router bridging but no matter what I try, I can't see the apache service through the router. Can you say what Wan and LAN settings you used for your router? I used WAN - fixed 192.168.1.88 / 255.255.255.0 LAN - fixed 172.18.0.88 / 255.255.255.0 Port 80 forwarded from WAN to 172.18.0.1 (or DMZ host with 171.18.0.1) In this set up: If I try to ping from the XS to 172.18.0.88 it is OK, if I try to 192.168.0.88 it says network unreachable. But if I use a PC hooked up on the eth1 network, with fixed IP 172.18.0.89 / 255.255.255.0 (for example) I can ping the WAN address and beyond. This is what leads me to think it needs one extra step with route, or it may be something to do with the WRT LAN setting and XS having different netmasks. You can see I am reaching at straws a little L By way of example, here's a setup I've done in the past: Regular LAN: XS (eth0) 192.168.1.20 My Desktop 192.168.1.6 XO A 192.168.1.7 XS LAN: XS (eth1) 172.18.0.1 XO B 172.18.96.2 On the XS LAN, XO B can go to http://schoolserver or 172.18.0.1 and see the default Moodle homepage. It can also register to the XS and all that good stuff, cause it's getting its IP address from the XS's DHCP server. On the Regular LAN, my desktop and XO A can't see the Moodle homepage at 192.168.1.20 until I open port 80 in the firewall on the XS using lokkit (or edit iptables or whatever). Since XO A is not getting its IP address from the XS, it won't be able to register. If XO A wants to use the XS's Jabber server, that port needs to be opened in the XS firewall. XO A can now manually set the Jabber server to 192.168.1.20 and collaborate. If you want to use Moodle, not being able to register to the XS is a huge issue. Apache access works fine, though. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] Bridging XS to another network
Hello all again, A networking challenge this time. I have an XS at a school where there also exists a wide area private network connecting schools using Wi-Fi. We want those connected schools to be able to access the XS, for various reasons. That network (let's call it network 2) is 192.168.1.0/24 and it is connected with the Internet via a router running NAT and DHCP. The XS local network seems to be quite complicated, I don't fully understand it, but what I need to know is the correct slash designation for the httpd and dns servers at 172.18.0.1 so that I can bridge it to network 2. I am trying to use a Linksys WRT54G2 in DMZ Host mode with the IP address 172.18.0.1 bridged to the external Wan IP address of the WRT (set to 192.168.1.88) The WRT LAN IP setting only allows netmask values of up to 255.255.255.0 and I am worried if there is a mismatch then it could be why I can't get it to work. I also suspect I may have to add something to the apache or routing config on the XS, so as to listen on the WRT external IP address At the moment I set the Linksys to WAN - fixed IP 192.168.1.88 / 255.255.255.0 LAN IP address - 172.18.0.88 / 255.255.255.0 (could the net mask be the issue?) Application: DMZ Host, value 172.168.0.1 Required changes to xs apache settings ?? Trying to connect on the network 2 side using a browser if I enter 192.168.1.88 or 172.18.0.1 it just times out. If anyone reading this recognises what I am trying to do, I'd very much appreciate your advice. David Leeming Solomon Islands Rural Link ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Bridging XS to another network
Corrected line in *** Hello all again, A networking challenge this time. I have an XS at a school where there also exists a wide area private network connecting schools using Wi-Fi. We want those connected schools to be able to access the XS, for various reasons. That network (let's call it network 2) is 192.168.1.0/24 and it is connected with the Internet via a router running NAT and DHCP. The XS local network seems to be quite complicated, I don't fully understand it, but what I need to know is the correct slash designation for the httpd and dns servers at 172.18.0.1 so that I can bridge it to network 2. I am trying to use a Linksys WRT54G2 in DMZ Host mode with the IP address 172.18.0.1 bridged to the external Wan IP address of the WRT (set to 192.168.1.88) The WRT LAN IP setting only allows netmask values of up to 255.255.255.0 and I am worried if there is a mismatch then it could be why I can't get it to work. I also suspect I may have to add something to the apache or routing config on the XS, so as to listen on the WRT external IP address At the moment I set the Linksys to WAN - fixed IP 192.168.1.88 / 255.255.255.0 LAN IP address - 172.18.0.88 / 255.255.255.0 (could the net mask be the issue?) *** Application: DMZ Host, value 172.18.0.1 *** Required changes to xs apache settings ?? Trying to connect on the network 2 side using a browser if I enter 192.168.1.88 or 172.18.0.1 it just times out. If anyone reading this recognises what I am trying to do, I'd very much appreciate your advice. David Leeming Solomon Islands Rural Link ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] How to configure XS with only one Ethernet port
Tom That seems clear enough to me! I will give it a go and confirm back. I had not seen that section or overlooked it. Tahnks. David Leeming Solomon Islands Rural Link -Original Message- From: Tom Parker [mailto:t...@carrott.org] Sent: Wednesday, 27 October 2010 4:22 p.m. To: Jerry Vonau Cc: David Leeming; 'XS Devel' Subject: Re: [Server-devel] How to configure XS with only one Ethernet port On Tue, 2010-10-26 at 23:31 -0500, Jerry Vonau wrote: Can I configure it to work with the single port working normally as the LAN (i.e. functioning as the eth1 interface in default case)? If all you need to do is rename eth0 to eth1 just run as root: xs-swapnics and then reboot. Indeed I was confused by this for a while too. I tried to re-write the section on xs-swapnics to make it clear that it works in the one-nic case too: http://wiki.laptop.org/go/XS_Installing_Software#Network_Configuration_Notes If someone can think of a clearer way to phrase it, please do. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] How to configure XS with only one Ethernet port
Hi, I got lucky with this. The first USB-Ethernet device I tried worked straight away with no config changes. I ran xs-swapnics and that worked. So I have my main inbuilt NIC for LAN and an option USB interface for WAN. Great. There is one warning message that comes up on boot to do with the USB device Kaweth: failed to set RX mode : -16 Do you know if that's something I should worry about? David Leeming Solomon Islands Rural Link -Original Message- From: Tom Parker [mailto:t...@carrott.org] Sent: Wednesday, 27 October 2010 4:58 p.m. To: David Leeming Cc: 'Jerry Vonau'; 'XS Devel' Subject: Re: [Server-devel] How to configure XS with only one Ethernet port On Wed, 2010-10-27 at 16:26 +1100, David Leeming wrote: Would that leave the machine with all the normal services running on that single Ethernet port, and otherwise function exactly as the eth1 network on a machine with two NICs? I guess I'll find out soon enough... Yes, it does. My second question, is if there are any instructions on setting up a second interface using a USB Ethernet adapter. I don't see any instructions, but I believe it just works if the USB device is supported by the kernel. It certainly wasn't that hard to get going last time I needed it, but I don't remember the details. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] How to configure XS with only one Ethernet port
Just received a small mini PC machine for an application at last minute, to my horror only one Ethernet port not two as specified. In this location WAN not needed (for the time being) as no Internet access. Can I configure it to work with the single port working normally as the LAN (i.e. functioning as the eth1 interface in default case)? Many thanks for any tips, I looked in the normal wiki locations but could not find what I needed, Otherwise, is there any info on configuring it with a USB Ethernet adapter? David Leeming Solomon Islands Rural Link ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] How to configure XS with only one Ethernet port
Thanks Jerry Would that leave the machine with all the normal services running on that single Ethernet port, and otherwise function exactly as the eth1 network on a machine with two NICs? I guess I'll find out soon enough... My second question, is if there are any instructions on setting up a second interface using a USB Ethernet adapter. David Leeming Solomon Islands Rural Link -Original Message- From: Jerry Vonau [mailto:jvo...@shaw.ca] Sent: Wednesday, 27 October 2010 3:31 p.m. To: David Leeming Cc: 'XS Devel' Subject: Re: [Server-devel] How to configure XS with only one Ethernet port On Wed, 2010-10-27 at 15:07 +1100, David Leeming wrote: Just received a small mini PC machine for an application at last minute, to my horror only one Ethernet port not two as specified. In this location WAN not needed (for the time being) as no Internet access. Can I configure it to work with the single port working normally as the LAN (i.e. functioning as the eth1 interface in default case)? If all you need to do is rename eth0 to eth1 just run as root: xs-swapnics and then reboot. Jerry ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] MediaWiki on XS
I have this all working following these instructions: http://www.wikihow.com/Install-MediaWiki-on-Fedora In my case I used mysql. All working and I can access the wiki from an XO as follows http://schoolserver/wiki All good. We're now able to upload content to Moodle and mediwiki as appropriately, on the same machine. You might ask why we need both, well it's explained in the background info below. Were now working on lesson plans to guide teachers and students in creating local language content about the environment in many formats using the XOs where available and SOAS and other means in schools without OLPC. The server is available to several schools around Marovo Lagoon over a wireless WAN. Teachers will collaborate on creating lesson plans using a great tool in the WikiEducator, which uses templates. More here (note it will all be divided into Marovo/English). http://wikieducator.org/Patukae_College/OER_Reef_and_Rainforest_wiki_in_Maro vo_Language David Leeming Solomon Islands Rural Link From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of David Leeming Sent: Saturday, 23 October 2010 3:30 p.m. To: 'Reuben K. Caron' Cc: 'XS Devel'; 'Michael Stein' Subject: Re: [Server-devel] MediaWiki on XS Hi, Things may have moved forward a bit since this useful document was shared on this list. I have tried to follow the instructions and installed mediawiki (without texlive) and mysql using yum install, but (a)In the attached document, MySQL Preparation, the stated directories i.e. /usr/local/mysql/* do not exist. (b) There seem to be instances of the packages in /usr/bin but the command /usr/bin/mysqladmin -u root password mypassword gives error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)' Something has changed with the XS or does this show my installation has some issues? Background to his - I'm working on a project involving an OLPC pilot in Solomons, rural community and schools wi-fi network, and a UNESCO indigenous knowledge management project. To cut things short, we need to have mediawiki running on the same server as the XS. Then students using specially prepared lesson plans will create local language multimedia content for a wiki. For various reasons moderation is needed, and we also want to reduce any barriers to creativity and participation so a local wiki as well as the XS will be needed for user uploads (content contributions for the wiki) http://wikieducator.org/Patukae_College/OER_Reef_and_Rainforest_wiki_in_Maro vo_Language David Leeming Solomon Islands Rural Link From: Reuben K. Caron [mailto:reu...@laptop.org] Sent: Thursday, 14 January 2010 2:33 a.m. To: David Leeming Cc: XS Devel; Michael Stein Subject: Re: [Server-devel] MediaWiki on XS David, I've attached a how to install mediawiki paper written by an OLPCorps member CC'd here. Please report back your experiences. Regards, Reuben ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] PDA mambot on XS
Martin, Mike, I am exploring the possibility of increasing access to the server by providing mobile-friendly content targeted at people in the community, and the increasing number of phones with Wi-Fi support. For instance, the school server as a multi-purpose resource could serve as a sort of on-demand community radio station broadcasting audio information in the form of mp3s (or any playable formats commonly used in mobile phones). It would be nice to have a tidy way to share such content, with user uploads allowed too, and thus I thought of using a dedicated CMS with a mobile extension or plugin. I understood by mambot that one could use a plugin that causes mobile browsers to be recognised and then display content tailored to suit. For instance, Wordpress comes with a mobile edition plugin. On the XS it might run in parallel to Moodle with a different CMS, and I am experimenting with that on an Ubuntu 10 machine, or there might be a way to do it with Moodle. It might not be needed, I was happily surfing the XS on an iPhone without any such reformatting. However, I want to see what the range of options are, so I am interested in any feedback. David Leeming Solomon Islands -Original Message- From: Martin Langhoff [mailto:martin.langh...@gmail.com] Sent: Saturday, 2 October 2010 1:04 a.m. To: David Leeming Cc: XS Devel Subject: Re: [Server-devel] PDA mambot on XS On Fri, Oct 1, 2010 at 6:39 AM, David Leeming da...@leeming-consulting.com wrote: No-one has replied to this, but I remain interested in a mobile friendly plugin for the XS. I personally don't even know what mambot is (and I'm under a pile of hi-pri work). If you outline goals more openly maybe someone can help you... Or (in the opposite direction)if you outline specific technical challenges in installing mambot,... 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] PDA mambot on XS
No-one has replied to this, but I remain interested in a mobile friendly plugin for the XS. If anyone has any thoughts on this I would be very interested. I'm thinking more in terms of increasing access to community through the most ubiquitous devices, sharing multimedia content, especially audio. David Leeming Solomon Islands Rural Link From: David Leeming [mailto:da...@leeming-consulting.com] Sent: Monday, 27 September 2010 3:18 p.m. To: 'XS Devel' Subject: PDA mambot on XS Hello, Coming from someone with as meagre Linux skills as me this may seem rich. But I am interested in an application targeting mobile users as well as XOs. Is it possible to install a PDA-mambot on the XS without doing it via a Joomla or other CMS? If so would I just follow a standard approach to installing it? David Leeming Leeming International Consulting, P.O.Box 652 Honiara, Solomon Islands +677 7476396 (m) +677 24419 (h) www.leeming-consulting.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] PDA mambot on XS
Hello, Coming from someone with as meagre Linux skills as me this may seem rich. But I am interested in an application targeting mobile users as well as XOs. Is it possible to install a PDA-mambot on the XS without doing it via a Joomla or other CMS? If so would I just follow a standard approach to installing it? David Leeming Leeming International Consulting, P.O.Box 652 Honiara, Solomon Islands +677 7476396 (m) +677 24419 (h) www.leeming-consulting.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Cloning
Hi Martin We had some results doing this , but it is actually much more time consuming than installing and configuring the servers individually. What would be really useful is (a) some way of automatic this or (b) the ability to export the XS configuration especially the Moodle settings. David Leeming -Original Message- From: Martin Langhoff [mailto:martin.langh...@gmail.com] Sent: Friday, 13 August 2010 11:46 p.m. To: David Leeming Cc: XS Devel Subject: Re: [Server-devel] Cloning Hi David, super brief - - get the machine in 'single user mode' (init 1 on the commandline will work) - plug new disk in, setup the partition table, and the filesystems - rsync / and /library to the temp mountpoints - remove hardware-specific files: /etc/udev/rules.d/70-persisntent-net.rules - fixup /etc/fstab to match the UID of the new filesystems - run grub targetting the new disk - move new disk to new machine that will _clone_ the XS so it will keep a lot of identifiers (and all the data) from the original XS. Do NOT use this technique for cloning a base install. Use kickstart/anaconda methods to automate many-machine rollouts. cheers, martin On Fri, Aug 13, 2010 at 6:22 AM, David Leeming da...@leeming-consulting.com wrote: Are there any recommended ways of cloning an XS installation? We have tried Ping and Reflect but with difficulty. David Leeming ___ 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
[Server-devel] Cloning
Are there any recommended ways of cloning an XS installation? We have tried Ping and Reflect but with difficulty. David Leeming ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] Updating offline
Having problems trying yum --enablerepo=olpcxs-testing -y update Could not retrieve mirrorlist (Error 404: Not Found) Cannot retrieve repository metadata (repomd.xml). Please verify path and try again. Could be our bad connection here. Meanwhile we downloaded the latest rpms manually (eJabberd 2.0.3.11, Moodle xs1.6 and xs1.7, Xs config 0.6.0.18 and Xs activation 0.2.44). What is the procedure to apply them on the XS? David Leeming ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Updating offline
Missed that, thanks. Done. David From: plo...@gmail.com [mailto:plo...@gmail.com] On Behalf Of Maxime RAYNAUD Sent: Sunday, 8 August 2010 8:25 p.m. To: David Leeming Cc: XS Devel Subject: Re: [Server-devel] Updating offline While i'm no expert on this, i can point to a previous answer from server-devel 2 weeks ago. http://lists.laptop.org/pipermail/server-devel/2010-July/005046.html Maxime Raynaud 2010/8/8 David Leeming da...@leeming-consulting.com Having problems trying yum --enablerepo=olpcxs-testing -y update Could not retrieve mirrorlist (Error 404: Not Found) Cannot retrieve repository metadata (repomd.xml). Please verify path and try again. Could be our bad connection here. Meanwhile we downloaded the latest rpms manually (eJabberd 2.0.3.11, Moodle xs1.6 and xs1.7, Xs config 0.6.0.18 and Xs activation 0.2.44). What is the procedure to apply them on the XS? David Leeming ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] Exporting Moodle config from XS
Is it possible to export the Moodle configuration from the XS and then install it on another server intended for another site? Obviously the user data is not important in this instance. However the second example would be backing it up, when user data is important. David Leeming ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] (cancel) Problem with registered users locked out
Sorry folks... this was just a case of latency, it took time for some changes to propagate through the system David Leeming Leeming Consulting, P.O. Box 652, Honiara, Solomon Islands Tel: +677 747-6396 (m) 24419 (h) www.leeming-consulting.com From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of David Leeming Sent: Thursday, 5 August 2010 12:25 p.m. To: 'XS Devel' Subject: [Server-devel] Problem with registered users locked out After doing some minor Moodle changes using the admin login at one school in PNG, we found that all the students have become unable to access the server - it redirects to the login page. However, using the admin XO we can see that all these XOs are appearing as registered users (in Site Admin) and also they still appear in the course to which they are joined. We found we can correct this be re-registering but what can have happened, and is there a quick way to bring them back in again? David Leeming ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] wifi setup
Tom We use multiple APs in schools set up in simple AP mode, using DHCP (not fixed IP), the same SSID exactly, and only one network icon appears in neighbourhood view. Same capitalisation is important. But you never have to choose which one it should connect to. At the current school we had to accept some 120 sector APs as there was no omnis in stock. Walking about with Terminal Activity running and pinging, you could clearly see where it hopped onto a new AP. Can't add much more from technical point of view. We've used Linksys W54 types, EnGenius various types, DLink cheapo and more expensive types, and usually in the default state with minimal config - just SSID, simple access mode and DHCP client. Everything on the eth1 network. David Leeming -Original Message- From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of Tom Parker Sent: Wednesday, 4 August 2010 1:42 p.m. To: server-devel@lists.laptop.org Subject: [Server-devel] wifi setup Howdy from Samoa. I'm doing wifi testing here and I am wondering if there is a way to make the access points merge together, so only one shows up on in the neighbourhood and the laptop connects to the closest one? I'm using Ubiquiti PicoStations http://www.ubnt.com/picostation If I set them all to the same essid, I see 3 access points with the same name. Am I missing something? I've been to conferences where the wifi just works no matter which room you are in. Thanks. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Server performance feedback and testing suggestions
Some feedback inserted David, quick comments as you have short time over there. On Fri, Jul 30, 2010 at 5:31 PM, David Leeming da...@leeming-consulting.com wrote: - One eBox fanless VIA server with 1GB RAM (non-expandable). We had planned two (one for G3-4 and one for G5+) but vital eqt did not show up in time so we are managing with one. One server should be ok - Campus wide wireless network, solar powered, using a ratio of less than 30 XOs per AP. Super! Layout is 3 x single storey double classrooms (G3A, 3B... 4A, 4B...etc) in line, separated by about 15m. The server is situated in a parallel line of classrooms about 6m to one side. We use some centrally located solar power supplies with POE. The whole system is DC powered and we use digital; timers to turn things off when not needed to save power. However the system provides good access for at least 15 hrs per day. Great idea on the digital timers -- when you have a chance, documenting the setup would benefit other deployments. Will be posting up details on wiki pages when I get a chance. But we are using Sundaya S4 kist with the 55W panels doubled up with 2A loads or less. The units are self contained, well priced, and the system is modular so that if one part goes down due to low voltage it doesn't pull the rest. So far we have seen the unit with the server (1.5A load) running all night reaching full charge by 11am even on a cloudy day. The 12V DC digital timers were sourced from Rainbow Power, www.rpc.com.au) (Advice on power management): I would like suggestions how the server can be safely turned on and off automatically. I have designed the server so that it survives sanely hard power off. During development and testing I almost never issue a formal shutdown. Removing the powercord is de rigueur. Just don't do it during yum / rpm updates (how I wish those were saner!) OTOH, given that you have set timers, if everything is running smooth you know what time power will be off, so you can set a cronjob at a regular time to run shutdown. (As various clocks drift, this won't be particularly reliable...) Daily reboot _not_ needed. OK, well we have set it up to run 24/7 with the timer override, allowing teachers to set the timer to auto if need be (but then they will have the daily task of manually switching it on, that can get neglected in my experience, especially as the servers are in locked rooms, with the daily hassle of finding keys etc. Sounds a minor issue but in practice it is best to have the system as automated as possible). We also added a line to the cron table (crontab -e) to have a daily reboot just because we have been brought up to think that is a good thing!!! ... generally the impression was that networking was functioning well over the entire campus. Excellent! However, we noticed that collaboration was not working well. XOs could not see all members of their course in neighbourhood view it seemed to be I would have expected that. The ejabberd server (if you've updated the RPMs to the latest from olpcxs-testing) will handle many XOs well, but the neighbourhood view on the XO doesn't cope well with so many XOs. The cure: segregate presence by course (see xs techniques and configuration in the wiki for the steps). We reconfigured with smaller groups (less than 35 per group) and it tested OK - 6 class groups all independently collaborating and isolated from each other. As it was the last day and Sunday, we could only do a limited test with 5 XOs per class but we had Chat running with pretty good responsiveness (the icon appearing in a few seconds on all laptops) on each of the 6 classes. Whilst this was happening I measured memory use as 184KB total using ps_mem.py up from 170KB with no XOs active. We'll have to wait for a monitoring visit to get the data on the full load situation. We only had 2 weeks to do all the training and obviously focused on laptop use and classroom integration / the pedagogical side, although one teacher was trained to do basic user management on Moodle. These teachers have mostly NO previous computing experience. This contrasts with the good responsive and reliable browsing. In this test, we were using presence service split by course, with the students added as students and the teachers of those grades added as teachers. No-one was Hmmm, so even with segregated presence service you are seeing slow presence issues. Can you confirm yum --enablerepo=olpcxs-testing update doesn't bring a new version of ejabberd? Yes was updated. Now works OK (at least based on the reduced load test described above) given site roles. The teachers were also members of another course teachers intended to allow collaboration between the teachers in different grades. That's best practice -- good. We would like some feedback on what could be the issue. Very unlikely to be a problem on your end. An ejabberd bug or ejabberd-moodle interaction issue could be what's
[Server-devel] Server performance feedback and testing suggestions
In our PNG deployment we have only just got the system up for testing due to late delivery of most of the infrastructure eqt (we had the laptops so were able to complete the initial training); - 250 XOs divided into six classes G3A - G5B and all 15 teachers - One eBox fanless VIA server with 1GB RAM (non-expandable). We had planned two (one for G3-4 and one for G5+) but vital eqt did not show up in time so we are managing with one. - Campus wide wireless network, solar powered, using a ratio of less than 30 XOs per AP. - 1Gb switches used throughout - 1:1 use of 15W thin film (GoldPeak) panels with DC Share cables for the laptops. No power in this school. I have questions about power management for the server, and feedback on server performance. Layout is 3 x single storey double classrooms (G3A, 3B... 4A, 4B...etc) in line, separated by about 15m. The server is situated in a parallel line of classrooms about 6m to one side. We use some centrally located solar power supplies with POE. The whole system is DC powered and we use digital; timers to turn things off when not needed to save power. However the system provides good access for at least 15 hrs per day. (Advice on power management): I would like suggestions how the server can be safely turned on and off automatically. I guess auto off at an agreed time would be easy, turning on might be hardware dependent. Or can we put it into sleep mode when not needed (10pm-7am) and have it running 24/7? With solar power one has to be efficient as possible. If it is run 24/7, we'd like to know how a timed daily reboot can be activated, and whether that is a good idea or just leave it on. (Advice on server performance and testing suggestions): We only have 2 days to test the full system due to the crazy logistical issues that have plagued us. Yesterday we had it all running with the students in the classrooms, logged on to the server OK. They are segregated into 3 courses at the moment (G3, G4, G5) with about 60 students per course. However in the test yesterday it was out of school hours and only maybe 30 students per course (Grade) were present. We observed that browsing the server, both with site files and public folders (such as Schools Wikipedia and the heavier UNESCO ASEAN SchoolNet series of flash animations) was generally working good and the server as responsive. Moodle admin (such as adding users to courses) was working very responsively. So generally the impression was that networking was functioning well over the entire campus. However, we noticed that collaboration was not working well. XOs could not see all members of their course in neighbourhood view - it seemed to be taking a long time to populate the view, and you could see some dropping out occurring - XOs that were on and connected, suddenly disappearing from view on a neighbouring XO. Likewise, sharing activities was almost universally not working - no icon displayed on the course members neighbourhood view. This contrasts with the good responsive and reliable browsing. In this test, we were using presence service split by course, with the students added as students and the teachers of those grades added as teachers. No-one was given site roles. The teachers were also members of another course teachers intended to allow collaboration between the teachers in different grades. We would like some feedback on what could be the issue. Is it the low power server with only 1GB RAM? But we only had a maximum of about 90 students divided into the three courses online yesterday. Could it be some inefficiency in the networking? But browsing was working well. Could it be that Moodle is broken in some respect? But during training we were experiencing no issues with collaboration with the teachers. What data , logs can we collect to analyse the performance and feed back to this list? Thanks. David Leeming and Dudley ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Turn Editing On missing and joining multiple courses
Martin, My request is about the Front Page. In courses it is clear how to manage editing. On the Front Page only the first XO seems to be able to create global links to public folders and site resources (the menus that become editable through Turn Editing On). It may seem a point of detail but what happens if the first admin XO becomes unavailable for any reason? We are told that logging on as administrator is at your own risk as it might break Moodle. As the persons who would be required to log on as administrators would be the teachers only newly introduced to computers, I think we need to follow safe guidelines. David Leeming -Original Message- From: Martin Langhoff [mailto:martin.langh...@gmail.com] Sent: Saturday, 31 July 2010 5:52 a.m. To: David Leeming Cc: XS Devel Subject: Re: Turn Editing On missing and joining multiple courses On Tue, Jul 27, 2010 at 8:52 PM, David Leeming da...@leeming-consulting.com wrote: In our PNG deployment and elsewhere I am finding with Moodle that when the initial administrator XO creates additional course creators, the Turn Editing On button does not appear on the new Course Creator XOs Does not appear... on which course? Make them a teacher of each course where you want them to see that. Note! Don't make all teachers 'course creators'. Just create a course for them, and make them a teacher _in that course_. Secondly, we have set up courses for each of six classes and are joining the 250 students and their teachers to them as teachers and students Cool. that's the way :-) . The teachers have been made Front Page teachers but not been given any system roles (otherwise they appear in all the courses). Good too! We want to allow teachers to collaborate between each other as well, so I am thinking of creating a Teachers course. Yes - perfect! You're getting the 'moodle way'. Create a Teachers' Exchange course, and in there make them all teachers. I have not enough experience with Moodle to know what to expect will there be any cross over issues (the best way I can describe it) if teachers A and B are members of the Grade 3A and 4B courses respectively, and then also both as members of Teachers. Each course its is own world -- you are doing it right. Moodle never asks is this person a teacher? or is this person a student?. Moodle doesn't care. You are a teacher _in the context of a course_. You might be a student in another course (how to use moodle)! A child might be student in a course, but an openminded teacher / course creator can setup a course where kids are setup with a teacher role and can do more things! Hope all is good in PNG! 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: Turn Editing On missing and joining multiple courses]
Thanks Tabitha, I realise I should be clearer about what I am asking. I understand the Moodle context-based administration. It is rather the effects of multiple course membership on the presence service when split by course, which I am uncertain about. Let's say user A is a member of course 1 and course 3. User B is a user of course 2 and course 3. Does that mean that user B will be able to see all the members of course 1 as well as user A? I don't see evidence of that in our deployment but I am just checking in case this could cause issues with the presence service. We are using low-power (and low-RAM L) servers due to our dependence on solar power. So we need to make it work most efficiently and as I understand it, that is best achieved with small user groups segregated using the presence service. Regarding the other matter; logging on as Administrator is according to XS Techniques and Configuration a non standard task at your own risk. I am trying to use standard recommended procedures, which can be safely replicated by the local trainees, using the first XO registered - which is a partial administrator (it can create course creators, but cannot delete courses). If I create a course creator with that initial XO, they do not have turn editing on appearing which means that they cannot (for instance) create global links to public folders on the front page - even if they are Front Page course creators too. My question in regard to this issue is whether what I am observing is NOT what I should be seeing, and there is a problem with my system, or whether your inference is what I should be noting in that you have to actually log on as the site administrator to create a full replica of the first XO. David Leeming From: tabitha.m...@gmail.com [mailto:tabitha.m...@gmail.com] On Behalf Of Tabitha Roder Sent: Wednesday, 28 July 2010 10:02 p.m. To: David Leeming; server-devel@lists.laptop.org Subject: Re: [Fwd: [Server-devel] Turn Editing On missing and joining multiple courses] From: David Leeming da...@leeming-consulting.com To: 'XS Devel' server-devel@lists.laptop.org Date: Wed, 28 Jul 2010 10:52:08 +1000 Subject: [Server-devel] Turn Editing On missing and joining multiple courses In our PNG deployment and elsewhere I am finding with Moodle that when the initial administrator XO creates additional course creators, the Turn Editing On button does not appear on the new Course Creator XOs, although you can see all the site admin functions. For example, I have used Admin 1 XO (the first one to register) to make Admin 2 XO a system course creator and a front page course creator. But no Turn Editing On appears. I don't know exactly the role setup for Moodle on XS, but it may be that they have slightly different roles; do they appear at the same level in Users - permissions - assign system roles? I just tested - I am logged in as site administrator (I mean Moodle role administrator at system level) on one computer and have just assigned another XO as course creator at system level. The new system course creator XO does have a turn editing on button. Tested adding another XO as a front page course creator and this XO does not get a turn editing on button. I then tested assigning the XO as a front page teacher and now they do get the turn editing on button. Secondly, we have set up courses for each of six classes and are joining the 250 students and their teachers to them as teachers and students. The teachers have been made Front Page teachers but not been given any system roles (otherwise they appear in all the courses). We want to allow teachers to collaborate between each other as well, so I am thinking of creating a Teachers course. I have not enough experience with Moodle to know what to expect - will there be any cross over issues (the best way I can describe it) if teachers A and B are members of the Grade 3A and 4B courses respectively, and then also both as members of Teachers. The PNG teachers can be in a course called teachers and assigned as any role you want. I think the front page thing might be what is confusing things for PNG. Moodle is hierarchical - system roles beat course roles which beat resource/activity object roles. Moodle considers the front page to be a course, so system role would beat it. PNG Teachers are not system level teachers so you can make them students in a course. Who is the teacher role assigned to for the teacher course? The principal maybe? Continuing this train of thought - it is perfectly okay to make a student a teacher of a course. e.g. You can have a year 6 student the teacher of the year 4 maths course if you want. Just don't do it at system level, stick to course level. I would not set system level roles for anyone except the person(s) who will adminstrate Moodle after you leave. Two people is good in case one person leaves. Tabitha ___ Server-devel mailing list Server-devel
[Server-devel] Turn Editing On missing and joining multiple courses
Hello, In our PNG deployment and elsewhere I am finding with Moodle that when the initial administrator XO creates additional course creators, the Turn Editing On button does not appear on the new Course Creator XOs, although you can see all the site admin functions. For example, I have used Admin 1 XO (the first one to register) to make Admin 2 XO a system course creator and a front page course creator. But no Turn Editing On appears. Is this an issue or something with my system? I have noticed this before and we have just set up the server in question from the default image with minimal configuration changes. It has the most recent testing updates. XOs are 1.0 / 802 / 0.82.1 Secondly, we have set up courses for each of six classes and are joining the 250 students and their teachers to them as teachers and students. The teachers have been made Front Page teachers but not been given any system roles (otherwise they appear in all the courses). We want to allow teachers to collaborate between each other as well, so I am thinking of creating a Teachers course. I have not enough experience with Moodle to know what to expect - will there be any cross over issues (the best way I can describe it) if teachers A and B are members of the Grade 3A and 4B courses respectively, and then also both as members of Teachers. Many thanks from Central Highlands, PNG David Leeming ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] Creating Moodle administrators
My question is whether the initial laptop to be registered on an XS has full administrator rights? I am finding it difficult to delete courses. Should I be able to do so? Moodle documentation states that only Administrators - not Course Creators - can delete courses. However, as one can use the first XO to upgrade other users to Course Creators, that would imply that the first laptop is indeed an administrator. So where should I find the delete course function? We were hoping to create master images of our configured servers for a multiple school project. But as far as I see it, we need to use a registered admin XO to configure Moodle in the first place. Is it possible to remove this after configuring Moodle, so that we can make clones which will then accept the next laptop as their admin user? David Leeming ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Offline update
Good, Martin Is it possible to download the updates from a Windows machine? We want to update a server which has the stable 0.6 version 7th Oct 2009 to benefit from all the latest patches etc, and then create a master image to use with a few others. For a while we don't have access to a direct Internet connection or a Linux machine - only expensive (USD 25c per MB) hotel wireless subscriber systems. I need to download any update rpms and transfer them to and run them manually on the XS. David Leeming -Original Message- From: Martin Langhoff [mailto:martin.langh...@gmail.com] Sent: Saturday, 17 July 2010 3:16 a.m. To: David Leeming Cc: XS Devel Subject: Re: [Server-devel] Offline update On Thu, Jul 15, 2010 at 8:41 PM, David Leeming da...@leeming-consulting.com wrote: Is it possible to do an offline update of the XS (i.e. download updates and then run them offline?) Yes! You can download all the RPMs, put them in a usb stick and then take them to the target offline XS. If you want to download the exact RPMs, take a similar XS that is connected, and do yum [maybe --enablerepo=olpcxs-testing] update and look at what it proposes to update, then run yumdownloader [maybe --enablerepo=olpcxs-testing] packagename If you don't have yumdownloader, it's in the yum-utils package. 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] Offline update
Is it possible to do an offline update of the XS (i.e. download updates and then run them offline?) David Leeming ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] How to access site files quickly?
I am sorry, I sent this prematurely. Can I add some clarity As I understand, OLPC is build on the principle of openness. When the technology turns on itself and prevents the positive impacts, we must look again at it. We have some bona fide requirements to do what I am asking, in real life situations attempting to build the capacity of national education departments in my region, and we can't allow the technology to set the agenda. It should rather enable what we need to do with the skill set/pool that is available. The server is nothing without content - and we have to make it easy to share content (including uploading ad downloading without rigid contextual frameworks) David Leeming -Original Message- From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of David Leeming Sent: Monday, 5 July 2010 7:11 p.m. To: 'Sameer Verma' Cc: server-devel@lists.laptop.org Subject: Re: [Server-devel] How to access site files quickly? List, Is there a possibility of uploading to Site files in bulk (by administrators aware of the risks)? Thanks. David Leeming -Original Message- From: sv3...@gmail.com [mailto:sv3...@gmail.com] On Behalf Of Sameer Verma Sent: Monday, 5 July 2010 6:56 p.m. To: David Leeming Cc: server-devel@lists.laptop.org Subject: Re: [Server-devel] How to access site files quickly? On Sun, Jul 4, 2010 at 11:15 PM, David Leeming da...@leeming-consulting.com wrote: Hello Sameer We need to do this in bulk. How do we copy/transfer files to the Site Files in bulk. In our case, a workshop produced many files uploaded. It is not practicable to have to download it all individually. We also need to be able to upload to Moodle in bulk. In the meantime we continue to use public folders as a less attractive alternative outside of Moodle. David Leeming Hi David, My understanding is that bulk upload is typically discouraged because each upload needs to have at least one context (context of a course, assignment, etc) whereas a bulk upload simply throws all files into a folder. Having said that, here's what I found. http://www.moodleblog.org/?p=178 Both the video and the comment on this page points to the same caution of bulk upload. Maybe Martin can point to something better? cheers, Sameer -Original Message- From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of Sameer Verma Sent: Monday, 5 July 2010 5:06 p.m. To: Joenson Nithan Cc: server-devel@lists.laptop.org Subject: Re: [Server-devel] How to access site files quickly? On Sun, Jul 4, 2010 at 5:03 PM, Joenson Nithan jnitha...@yahoo.com wrote: Hello, We're setting up a server in Kosrae, FSM. We want to retrieve site files from moodle that were uploaded in a workshop. Can this be done by using usb flash drives, etc.? We tried to search for them using the find command but could not find them. Thanks, Joenson ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel The files uploaded via Moodle are usually visible under the Site Files link. You should be able to download it from there. You may have to transfer the files from the journal to the USB stick. Drag and drop the file in the Journal to the USB icon in the bottom panel in the Journal. cheers, Sameer ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Static IP and DNS problems
I can see a lot of occurrences of bad owner name and zone rejected in the messages log which may be related. My aim is only to recover the server back to default condition. Is it possible to copy over the config files (with appropriate changes if needed) from another server installation that is running in the default state? If so which ones? David Leeming -Original Message- From: Martin Langhoff [mailto:martin.langh...@gmail.com] Sent: Thursday, 1 July 2010 2:38 a.m. To: David Leeming Cc: Tom Mitchell; XS Devel Subject: Re: [Server-devel] Static IP and DNS problems On Wed, Jun 30, 2010 at 2:25 AM, David Leeming da...@leeming-consulting.com wrote: What can I do to recover from the ejabberd error? First, DNS has to work. Something is broken in the named-xs.conf configuration. There will be an explanantion of what's broken in /var/log/messages. 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] Database connection failed
I found out what was wrong. The pgsql-xs-8.3 startup log indicated there was no space left... and I had just copied a heap of stuff to /var/www/html. It worked when I removed some. I will try relocating all the content to /library David Leeming Solomon Islands From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of David Leeming Sent: Saturday, 19 June 2010 4:17 p.m. To: 'XS Devel' Subject: [Server-devel] Database connection failed Dusting my demo XS off for another mission I am getting a Moodle error Database connection failed, It is possible that the database is overloaded or otherwise not running properly when I connect with an XO and go to Local Schoolserver from Browse activity. On starting the XS it waits a long time at starting pgsql-xs service and says postmaster does not start and a load of other stuff. Is there any obvious cause? I'd hate to have to rebuild it, not having an image available for quick recovery L David Leeming Solomon Islands ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] Database connection failed
Dusting my demo XS off for another mission I am getting a Moodle error Database connection failed, It is possible that the database is overloaded or otherwise not running properly when I connect with an XO and go to Local Schoolserver from Browse activity. On starting the XS it waits a long time at starting pgsql-xs service and says postmaster does not start and a load of other stuff. Is there any obvious cause? I'd hate to have to rebuild it, not having an image available for quick recovery L David Leeming Solomon Islands ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Educational XHTML Editor Educational Game Maker
Mike, I have followed eXe Learning since it started, developed by Wayne Mackintosh who later on, of course, created the WikiEducator and is a leading champion of OERs. I can instantly see that eXe Learning if installed on the XOs would be a very useful tool. Very easy to train teachers to become productive quickly, compared with, say, online wiki work, which is not always an option (yes we can install mediawiki on the XS but I think eXe Learning has specific advantages in some areas). It is very well targeted technology, thinking of the OLPC deployments in which I have been involved. As an example, in a distance learning programme here in Solomons in 2007 we converted examples of teacher training resources into online format using eXe Learning, in order to demonstrate simple first steps in e-learning to the Ministry. A junior officer with only basic office computing skills was able to migrate the entire RTC teacher training manuals to online with limited supervision - and she enjoyed it too! Of course, the resources produced with eXe Learning are HTML based which are easy to install in public folders on the XS. eXe Learning can also output SCORMs which can be loaded into the XS's Moodle as appropriate. If we had access to an eXe Learning activity I would immediately incorporate it into the teacher training that we do in Pacific Islands deployments. Empowering teachers to create and share resources is always a key component of Level 2/3 training, linked to curriculum integration. OERs have massive potential for the Pacific. Educators have repeatedly called for more regionally relevant and localisable curriculum related content, and empowerment of front line teachers to create OERs is the way to scalability - freeing up the dependence on overworked curriculum departments locked into traditional closed authoring approaches with long term donor programmes. Resources created with eXe Learning by teachers with XOs will therefore have a wide currency beyond the OLPC project areas which are still only small scale. They can be shared and used freely. So, I will watch this thread carefully. I would like to help, if not as an active team member on the coding, in other ways. What is the status of this, can we expect an eXe Learning project for Sugar and the XO? One requirement would be to be able to create a resource using the eXe Learning activity, name and save in journal, then to be able to upload it to the server so that it is installed as a public folder (or via site files etc) but without any difficult command line work needed on the server. So needs to be coordined with XS-devel. David Leeming Honiara, Solomon Islands -Original Message- From: devel-boun...@lists.laptop.org [mailto:devel-boun...@lists.laptop.org] On Behalf Of Mike Dawson Sent: Tuesday, 18 May 2010 6:53 a.m. To: olpc-open; Developers List Subject: Educational XHTML Editor Educational Game Maker Dear List, One of the greatest challenges here in deployments has been to create sufficient curriculum *interactive* educational content. Though Scratch and Etoys are great for simulators for many common educational interaction formats (e.g. assemble objects, click in place according to hint in order, memory match, hangman, sorting items etc) using such tools can be quite awkward. eXe Learning was created as a GUI educational XHTML Editor with support for fill in the blank question formats, multi choice, multi select etc. I have created plugins for Place the objects / label (e.g. assembling parts / labelling a diagram), Click in place according to a hint, sort objects, hangman, memory match, moving object speed answer (e.g. Tuxmath) and sort. The output is generated as HTML / Javascript which can run online or offline. I've also created a plugin for embedding Scratch using the Scratch Java player with an option for the user to download. There are many repositories of open content; however many of them fail to harness the potential of ICT as an interactive medium. Hopefully further lowering the barrier can help to create more. This can make it far easier to turn existing open static content into interactive educational content. Compared to conventional Javascript / Flash / EToys development this dramatically increases the amount of educational interactive content that can be produced by given teams in a given amount of time. It also can help make creation of interactive educational material far easier for educators by templating the kind of interaction they would like to produce and allowing them to just plug in the questions, answers, images, options of the game etc. For many parts of the curriculum the best course of action can be to embed already created Scratch simulators from the Scratch website (e.g. physics sims). With eXe Learning + plugins one can produce a complete interactive package that opens in the browser. I am hoping to develop a roleplay and generic simple simulator creator in the near future. I have also
Re: [Server-devel] Uploading files - shared folder
Thanks Martin. I had forgotten about that. We have trained the teachers to use it to share their resources. David Leeming -Original Message- From: Martin Langhoff [mailto:martin.langh...@gmail.com] Sent: Friday, 7 May 2010 12:06 a.m. To: David Leeming Cc: server-devel@lists.laptop.org Subject: Re: [Server-devel] Uploading files - shared folder On Wed, May 5, 2010 at 11:55 PM, David Leeming da...@leeming-consulting.com wrote: Can you let me know if it is possible to make a link on the front page of XS-Moodle to a shared folder where authorised (i.e. assigned) XOs can upload Yes, the moodle feature is called site files, and should be available (at least) to the first course creator. In fact, it should be available to every course creator, but you've hinted at some symptoms of a config bug that could be affecting other course creators. Can the first CC see this option? Can other CCs? Documentation at http://docs.moodle.org/en/Site_files 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] News forum and user database
I have two questions, we are deploying at a school in PNG this week. 1) What is the easiest way to take home with us (i.e. on a flash-drive) a copy of the user database with names and serial numbers of XOs registered on the XS? Where is the database? 2) What is the expected behaviour of the default news forum on the XS Moodle front page? We registered an admin XO and then a load of users. I tried to add a news announcement using the admin XO. It appears on the admin XO but none of the users. In an earlier test with another XS I noticed this, and went into the forum settings and forced everyone to be subscribed and tried other options but I could not get it to display the forum postings on the user XOs. 3) What sort of data would people find useful from the server performance? We have a small form factor eBox as the server (sorry I don't have manufacturer details, I will try and get them) with five access points distributed around the school. Situation is that there are initially only 61 students (G3 and G4 - PNG primary schools start with G3) and 8 teachers with XOs, but on saturation we will have 170 students (may have to add another AP or two). So this week we can test how 70 XOs perform in that environment. We will have them in two Moodle groups with the presence service split my group (G3 and G4). Note on power consumption: We have ascertained that the eBox uses 14W and the whole set up runs at 45W. In this school they have daytime power but in the other 12 we are doing they will need solar power. David Leeming In PNG ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] OLPC Moodle use
Is there an existing Wiki page where we can all add our contributions? This is a very good idea. I would suggest also some suggestions or approaches to training teachers to use it, i.e. a training curriculum introducing the features in a manageable way. For many of the teachers we deal with, the OLPC is their first experience with any type of computing. David Leeming From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of Luuk Terbeek Sent: Saturday, 17 April 2010 6:40 a.m. To: server-devel@lists.laptop.org Subject: [Server-devel] OLPC Moodle use Dear members of the server-devel@lists.laptop.org, Currently I'm preparing a presentation for the Dutch Moodle Moot. I hope to spread the word of the wonderful things that happen possibilities regarding the use of Moodle related to the OLPC project. For that reason I try to create an overview of best practices regarding the use of Moodle in the OLPC project. All your comments and suggestions are warmly welcome! Thanks in advance! Best regards, Luuk Terbeek ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Public folders
Hi Andra, well it works OK for me. I am using an XS with pretty much default config. In /etc/httpd/conf.d/ I have a file html.conf as follows. I can browse pdf library or html pages as are found in the seven folders named below, for instance by entering in the browser http://schoolserver/Public will take me to /var/www/html/public and display anything inside or open a default index file if found. I have created global links on the Moodle front page to each. I am expecting to be able to move everything to /library and make the contents list-able by using the extra lines mentioned previously. Try comparing my approach to yours, maybe you missed something. It's very easy to get the case wrong, for instance. Alias /Public /var/www/html/public Alias /SPC /var/www/html/spc Alias /eBooks /var/www/html/ebooks Alias /OLPC-resources /var/www/html/olpc-resources Alias /Schools-Wikipedia /library/Schools-Wikipedia Alias /UNESCO-2008-SchoolNet /library/unesco-2008 Alias /UNESCO-2005-SchoolNet /library/unesco-2005 # Public web pages - must be publically accessible Directory /var/www/html Order allow,deny Allow from all /Directory Directory /library Order allow,deny Allow from all /Directory David Leeming Leeming Consulting, P.O. Box 652, Honiara, Solomon Islands Tel: +677 747-6396 (m) 24419 (h) www.leeming-consulting.com -Original Message- From: Andra DuPont [mailto:andradup...@gmail.com] Sent: Wednesday, 7 April 2010 8:09 a.m. To: David Leeming Cc: XS Devel Subject: Re: [Server-devel] Public folders On Apr 6, 2010, at 4:50 PM, David Leeming wrote: Andra, Have you added a new conf file, to declare the folders public? Yes, I followed Tim's note and named my conf file xs-library-public.conf as I noted in my last email. I don't think the name of the conf file matters, as any .conf file placed in the /etc/httpd/conf.d directory gets appended to the main configuration. Use nano or other text editer to create a file html.conf in /etc/httpd/conf.d/ and add the below, with a new entry for each alias. It's case sensitive remember. Then the below should be available at http://schoolserver/MyFolders What do you mean by the below should be available? Do you mean the files in the /library/public directory should be availalble (that is what I was expecting, but as I mentioned, my browser can't find it.) I am wondering if I have to do something to tell the server where the starting level is, because it does not seem to be going to /library/public, but to some other directory. Alias /MyFolders /library/public Directory /library/public Order allow,deny Allow from all Options Indexes FollowSymLinks AllowOverride None /Directory David Leeming -Original Message- From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of Andra DuPont Sent: Wednesday, 7 April 2010 6:09 a.m. To: Tim Moody Cc: server-devel@lists.laptop.org Subject: Re: [Server-devel] Public folders Tim, I am also looking for a way to have a digital library of .pdf files etc. that can be accessed by any XO on an XS server. I have tried the approach you outlined, but when I use Browse to go to http://schoolserver/public it is not found. The server responds: The requested URL /public was not found on this server. My server domain is asilong.org, so my actual URL is http://schoolserver.asilong.org/public (this is as it should be right?) I have tried going to schoolserver/library/public but it is not found either. In terminal, I can go to the directory /library/public and my documents are in the directory. I doubled checked the xs-library-public.conf file in the /etc/httpd/conf.d directory for typos but couldn't find any. Any guess as to why I can't get to the files from Browse? Thanks, Andy On Apr 2, 2010, at 6:13 PM, Tim Moody wrote: I created a directory public under /library into which I copied a few pdfs. I created a file xs-library-public.conf in /etc/httpd/conf.d which contains Alias /public/ /library/public Directory /library/public Order allow,deny Allow from all Options Indexes FollowSymLinks AllowOverride None /Directory After service httpd restart I get an index of the pdfs from http://schoolserver/public -- Message: 1 Date: Fri, 2 Apr 2010 06:41:51 +1000 From: David Leeming da...@leeming-consulting.com Subject: [Server-devel] Public folders To: 'XS Devel' server-devel@lists.laptop.org Message-ID: 01cad1db$c2141720$463c45...@com Content-Type: text/plain; charset=us-ascii Using the XS installed with default settings. I have been making folders public in /var/www/html and am able to view sub folders to be listed. I.e. if there is no specific html file, the whole contents of the folder appear in the browser. Fine that is what I want. However, when copying content into that folder I
Re: [Server-devel] Public folders
Thanks Tim that is what we wanted to know. David Leeming -Original Message- From: server-devel-boun...@lists.laptop.org [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of Tim Moody Sent: Saturday, 3 April 2010 8:13 a.m. To: server-devel@lists.laptop.org Subject: Re: [Server-devel] Public folders I created a directory public under /library into which I copied a few pdfs. I created a file xs-library-public.conf in /etc/httpd/conf.d which contains Alias /public/ /library/public Directory /library/public Order allow,deny Allow from all Options Indexes FollowSymLinks AllowOverride None /Directory After service httpd restart I get an index of the pdfs from http://schoolserver/public -- Message: 1 Date: Fri, 2 Apr 2010 06:41:51 +1000 From: David Leeming da...@leeming-consulting.com Subject: [Server-devel] Public folders To: 'XS Devel' server-devel@lists.laptop.org Message-ID: 01cad1db$c2141720$463c45...@com Content-Type: text/plain; charset=us-ascii Using the XS installed with default settings. I have been making folders public in /var/www/html and am able to view sub folders to be listed. I.e. if there is no specific html file, the whole contents of the folder appear in the browser. Fine that is what I want. However, when copying content into that folder I rapidly run out of space. It seems that the main disk space is in an another partition where the folder /library is located. This makes sense (i.e. to have a lot of room in the library...) Therefore, I copied my public content into sub folders under the directory /library and made the whole of /library public using the html.conf file with Aliases pointing to my specific subfolders. However, under /library it won't allow contents of subfolders to be listed (unless there is an index file in which case it opens that by default, but I want the folder contents listed in some cases. Help? David Leeming ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] PDF resources in public folders not opening in Reader
Having established that there is a bug in the PDF plug in for Browse 102, with filenames having spaces, we can assume when that is fixed it will be fine. I do have a question, how will the two options (Browser plug in, or download and Read) compare in performance in a situation with say, 30 students reading the same pdf book from the server. Does the plug in download the entire file before displaying? I.e. when it says Loading is it loading the local copy? Would that slow down if there was a full class engaged in the same activity? David Leeming -Original Message- From: Reuben Caron [mailto:caron.reu...@gmail.com] On Behalf Of Reuben K. Caron Sent: Friday, 2 April 2010 10:17 p.m. To: James Cameron Cc: David Leeming; 'XS Devel' Subject: Re: [Server-devel] PDF resources in public folders not opening in Reader On Apr 2, 2010, at 12:46 AM, James Cameron wrote: On Fri, Apr 02, 2010 at 08:44:17AM +1000, David Leeming wrote: We have many resources that are published in PDF that we want to make available in public folders. However, when you browse to them and click on a PDf file, it does not open in Reader but within the browser and I am finding that the PDF reader plug-in for the Browse activity is not able to open many of the files ? I've reproduced this and raised a ticket. http://dev.laptop.org/ticket/10098 So, how can we get it to force downloads that then open in Read activity? There is a check box ?force downloads?, can we make that take affect globally in the public folder? Hopefully an XS expert might be able to answer this. In the Browse activity that you are using, it doesn't seem possible for the user to force a download. I don't believe this is an XS issue. The XS is serving up the file and correct file type. I believe the solution lies in altering the mime type on the XO, so the XO will download the PDF and associate it with the Read application. FWIW, this is exactly how Browse used to work and it was altered so Browse would open, the pdf rather then having to launch the Read activity. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] PDF resources in public folders not opening in Reader
Investigating further, the resource in question opened in the browser successfully when I shortened it's file name. Lesson learned is that long file names cause problems ? David Leeming From: David Leeming [mailto:da...@leeming-consulting.com] Sent: Friday, 2 April 2010 8:44 a.m. To: 'XS Devel' Subject: PDF resources in public folders not opening in Reader We have many resources that are published in PDF that we want to make available in public folders. However, when you browse to them and click on a PDf file, it does not open in Reader but within the browser and I am finding that the PDF reader plug-in for the Browse activity is not able to open many of the files - it just tries then chokes with a blank screen. Not particular large files either (3MB or so). The same files open perfectly well with Read activity from the Journal. So, how can we get it to force downloads that then open in Read activity? There is a check box force downloads, can we make that take affect globally in the public folder? David Leeming ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Turn editing on is not available
Hi Andra, I haven't received any other feedback on this yet, so thanks for this. I will try it but am worried by the warning given. What we are doing is building a master XS to be cloned for up to 20 other servers. So rather than have that risk multiplied by 20 it may be best to rebuild it completely to get back the turn editing on facility that we have lost, unless Martin or others can advise. To restate, we had made a couple of changes to the System Roles to reassign the main admin XO. That was fine, but in the process we now find that turn editing on does not appear on the home page of the assigned Course Creator XOs. David Leeming In PNG From: Andra DuPont [mailto:andradup...@gmail.com] Sent: Tuesday, 30 March 2010 11:01 p.m. To: David Leeming Cc: XS Devel Subject: Re: [Server-devel] Turn editing on is not available On Mar 30, 2010, at 12:40 AM, David Leeming wrote: We have been rearranging the admin laptops using the assign system roles to make other XOs course creators, etc. We have ended up with two Course Creators, both have create new course visible on the home page, but neither has Turn editing on visible on the Front page. Using Front Page Assign Roles to make them course creators within that context does not correct this. Any tips welcome. David, I'm not sure if you got an answer or not. I am new to this, and I'm not sure what caused your issue, but if you log into Moodle as admin, then under Users / Permissions you will have the capability to Define roles. Under Course creator at the right side, you can edit the roles. I was not able to do this from my XO as mentioned at the bottom of the Wiki clip below. I was able to do it from a non-XO by connecting to the AP and using a browser to login to the schoolserver with the information given below. Andy Wiki excerpt Logging in with the admin account Use at your own risk! Direct access to the admin account is not recommended. It may break your Moodle-on-XS today, or it may lead to breakage on upgrades. .. Normally the account is disabled (and only enabled at upgrade time). Enable the account with sudo -u apache php /var/www/moodle/web/local/scripts/adminuser-enable.php .. After each upgrade, the account will be disabled again. .. Look at the password - it is different for every XS: cat /etc/moodle/adminpw .. Login with the username admin. .. If you are logging in from an XO which auto-logins using your registered account, you can access the login page directly by editing the URL to say http://servername/moodle/login/ http://servername/moodle/login/. You can use this form even if you are logged in. David Leeming In PNG ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Turn editing on is not available
Martin, We have tried everything given there, and can happily add and remove Course Creators. But none of them can edit the Front Page because turn editing on does not appear. We only have one half day left so unless we fix this we will revert to plan B completely rebuild the servers - frustrating. We also tried changing Front Page roles, to add the Course Creators within that context. But to no avail. Any idea where the config for editing of front page is located? David -Original Message- From: Martin Langhoff [mailto:martin.langh...@gmail.com] Sent: Wednesday, 31 March 2010 5:00 a.m. To: David Leeming Cc: XS Devel Subject: Re: Turn editing on is not available Hi David, I am a bit snowed under, and unable to give you a good response quickly. I think it's a logic bug. I am pretty sure, however, that the problem you are seeing will disappear if you use the technique here: http://wiki.laptop.org/go/XS_Techniques_and_Configuration#Controlling_Course _Creators_directly Hope the workaround works for you. If you are deploying many XSs and you know what XO you want as main admin, that will work for you. 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] Turn editing on is not available
We have been rearranging the admin laptops using the assign system roles to make other XOs course creators, etc. We have ended up with two Course Creators, both have create new course visible on the home page, but neither has Turn editing on visible on the Front page. Using Front Page Assign Roles to make them course creators within that context does not correct this. Any tips welcome. David Leeming In PNG ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Schools Wikipedia
What's the best way to automate this, so it starts up when the XS is started without the need for people to enter the python server command line? Hi, The current Wikipedia activities already work as web servers on the XS, and require much less space due to the content being compressed -- for Spanish, 25,000 articles and 3,000 images in 100MB. David pointed out that this isn't actually documented anywhere. :) Here's the HOWTO. On a fresh XS, for English WP: $ wget http://dev.laptop.org/~cjb/enwiki/WikipediaEN-4.xo $ unzip WikipediaEN-4.xo $ cd WikipediaEN.activity/ $ python server.py en_US_g1g1/en_US_g1g1.xml.bz2 4567 then you can browse to http://schoolserver:4567/ on an XO or other machine. For Spanish, get http://dev.laptop.org/~cjb/eswiki/Wikipedia-11.xo and replace en_US_g1g1 with es_PE. - Chris. -- Chris Ball c...@laptop.org One Laptop Per Child ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel