Re: [Server-devel] Finetuning XO backups to XS
Hey Adam, hey XS folks, Thanks for your reminder regarding the upcoming Toronto sprint for the XS developers/users and I wish I could come to the event. However, I have started looking at a way to run ds-backup.py without sleeping a random before the rsync and I have some questions about the script. Do you guys where is the identity file for the olpc user in the /home/olpc directory. Do you have to access moodle once registered to be able to run rsync over ssh without password ? Thanks for your help. Xavier. On Wed, Jan 30, 2013 at 10:42 AM, Holt h...@laptop.org wrote: Are folks available to discuss backup/restore, WebDAV, squid, Puppet/pdsh, pathagar, dansguardian, Moodle during our presprint voice call expected Sunday or Monday 6PM NYC time? (much progress has in fact been made among attendees to the imminent Feb 6-11 http://schoolserver.org Toronto-area sprint, but a wider discussion on future requirements-vs-dreams would be really great..) On 1/30/2013 4:33 AM, Xavier Carcelle wrote: Hi there, We are currently looking at OLPC France on a way to tweek and finetuning the backups of XOs on XS namely : -being to do the backup of XO at anytime from an interaction with the XO =using the rsync command from ds-backup.py with a XO already registered to the XS (ssh keys exchange validated) =being able to do this backup through a simple sugar actitvity (like a finish my class that does backup at using) that calls the rsync ? -being able to do backups of XOs from the XS =sshd is not installed/initiated on the XO so remote rsync is not possible, can we imagine a script from the XS after the first backup that allows xs-xo commands and backups ? Thanks for your support. Xavier/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel -- Help kids everywhere map their world, at http://olpcMAP.net ! ___ 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] Finetuning XO backups to XS
Hi there, We are currently looking at OLPC France on a way to tweek and finetuning the backups of XOs on XS namely : -being to do the backup of XO at anytime from an interaction with the XO =using the rsync command from ds-backup.py with a XO already registered to the XS (ssh keys exchange validated) =being able to do this backup through a simple sugar actitvity (like a finish my class that does backup at using) that calls the rsync ? -being able to do backups of XOs from the XS =sshd is not installed/initiated on the XO so remote rsync is not possible, can we imagine a script from the XS after the first backup that allows xs-xo commands and backups ? Thanks for your support. Xavier/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] DNS/DHCP configuration questions/issues
Dear Ruben, folks, DHCPDARGS=wlan0 ^ I think this is both incorrect and unnecessary. For correctness it should be DHCPDARGS=wlan0; But as long as wlan0 is assigned to the 172.18.96.0 network then you do not need to limit the configuration to an interface. the dhcpd configs works for IP assignment wlan0 (802.11 wifi dongle on the server) is on the 172.18.96.0/19 subnet xos gets an ip but nothing in the /etc/resolv.conf on the xo side neither domain that allows to register (xmlrpc client to http://localhost:8080) nor to moodle (http://localhost) but using directly the IP of the schoolserver works. It's only a DNS issue now between dhcpd/named and the xos. My best regards, Xavier Carcelle. What are you using for a configuration: -WAN - eth0 - XS - eth1 - switch - AP - XO? -WAN - etho - XS - wlan1(1)- XO? In which case, what are you using to share the wlan connection? When the XO does connect, what does it receive for an IP address? subnet 172.18.96.0 netmask 255.255.224.0 { option routers 172.18.96.1; option subnet-mask 255.255.224.0; option broadcast-address 172.18.127.255; # this is the whole range we have available - 8K addresses # range 172.18.96.2 172.18.127.254; # instead, we'll save 510 addresses for later. range 172.18.96.2 172.18.125.254; # the other /24s: # - 172.18.126.0/24 for static IP addresses # for printers, AP management consoles, etc. # - 172.18.127.0/24 for temporary addresses for # XO activation # As this subnet is wired or wifi a/b/g, these lease # times are on the long side default-lease-time 10800; max-lease-time 21600; } /FILE Our best regards, Xavier Carcelle. ___ 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] DNS/DHCP configuration questions/issues
Dear XS fellows, We are currently configuring the XS server for the deployment in Madagascar and have some issues on the DNS/DHCP. Could you resume the main part of the DNS/DHCP config on the XS (using 2 interfaces : eth0 for WAN uplink, wlan0 for LAN wifi delivering IPs, DNS to XOs) =We dont seem to have the domain and nameserver propagated to the /etc/resolv.conf of the XOs =Our /etc/dhcp-xs.conf is : FILE # # School server 1 DHCP Server Configuration file. # ddns-update-style interim; #ignore client-updates; option domain-name nosykomba.org; option domain-name-servers 172.18.96.1; option ntp-servers 172.18.96.1; DHCPDARGS=wlan0 subnet 172.18.96.0 netmask 255.255.224.0 { option routers 172.18.96.1; option subnet-mask 255.255.224.0; option broadcast-address172.18.127.255; # this is the whole range we have available - 8K addresses # range 172.18.96.2 172.18.127.254; # instead, we'll save 510 addresses for later. range 172.18.96.2 172.18.125.254; # the other /24s: # - 172.18.126.0/24 for static IP addresses #for printers, AP management consoles, etc. # - 172.18.127.0/24 for temporary addresses for #XO activation # As this subnet is wired or wifi a/b/g, these lease #times are on the long side default-lease-time 10800; max-lease-time 21600; } /FILE Our best regards, Xavier Carcelle. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] smooth shutdown for 12V-DC powered XS
Dear XS developers, As we plan to install and deploy a fitPC2 as a School Server in our NosyKomba deployment in Madgascar for OLPC France, we plan to powered it with the 12 VDC power-rail (powered by solar panel + battery + regulator). =As we did it with another XS installed but powered by 220VAC + APC where we were able to use a smart APC to send messages to the kernel based on battery level threshold on the APC connected by Ethernet cable to the XS. This was actually working great smoothly hatling the fedora kernel on the XS =Now I would like to do it with the 12VDC power-rail by having such a power buffer of a 10-20s where i can send a message to the kernel to halt before complete power outage. Do you know any -hardware tools/equipements built-in (like battery + voltage/current metering + I/O serial messages sent to a kernel) ? -arduino-based or like ready to do such an operation -other tricks/hints to handle smooth halting ? My best and eager to deploy yet another XS server :) Xavier. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] XS/Book-server hardware reflexions
Dear XS folks, to follow-up on the hardware threads, I have tried to sum-up some reflexions about the hardware possible to build up the XS/book-server @ our deployment in NosyKomba (Madagascar) =Energy The electricity is produced w/ solar panel (2 x 230W) producing a 24V-DC network = we need to supply the maximum of devices/appliances in 12V/24V-DC to maximize the usage of the electricity =A 12v-DC network is preferred because most computers/network devices power-supply are in the range 9-17V-DC (ATX power supply are producing 12V/5V/3V3/-12V from 110/220V-AC or 12v-DC) =APC solutions with monitoring of the battery load interacting with the XS over Ethernet link could help to shutdown/halt properly the linux kernel in case of power outages ==I am looking at how can i stop smoothly the services while powered by 12V-DC and some batteries/regulators ? =School server (separated or merged XS and Book-server) There is several propositions of hardware : =reliable (PC-like solutions) *Advantech ARK-3440 (w/ tropicalized hard drives in RAID6) supplied in 24V-DC (usually 180W - ATX) (~= 1000€) *MSI WindBox DE500-5123 (newegg.com) - 169€ *MSI 6676-001BUS (amazon.com) + 4gb DDR2-800 200pin notebook form (CORSAIR 4GB (2 x 2GB) 200-Pin DDR2 800 at $45 and 2TB SATA hard drive (Samsung) at $80 *fitPC2 : http://www.fit-pc.com/web/fit-pc/fit-pc2-specifications/ + ssd hdd *fitPC3 =low energy : *Sheeva or dream plug supplied in 12/24V-DC (ARM-based CPU) *flash/hard drives storage (ARM architecture) and connected in Ethernet/Wi-Fi (usually 10W) =experimental : RasperriPi (less than 5W) =ARM based : *XO 1.75 (? W) as a XS server with a usb-to-ethernet adapter for wired connexion to the lan *OpenWRT devices w/ external storage (foneras, wrt54g, ...) ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: Basic Electricity Text in French?
Bonjour George, I can recommand different textbooks in french for electricity and eyrolles is a major french publisher technical books : they have a famous book about basic electricity : http://www.eyrolles.com/BTP/Livre/electricite-mode-d-emploi-9782501072601 a list of different books related to electricity : http://www.eyrolles.com/Accueil/Recherche/?q=%E9lectricit%E9xd=ntq3nol9d7gftf21dvtvmuv1p2 for solar panel installation in remote areas : http://www.eyrolles.com/Sciences/Livre/photovoltaique-alimentation-electrique-autonome-de-sites-isoles-9782866611811 installation electriqueÃ: http://www.eyrolles.com/Accueil/Recherche/?q=installation+electrique another basic installation of electrical networks: http://www.eyrolles.com/BTP/Livre/les-installations-electriques-9782862275888 Tell me if that fits your/their needs and we can exchange w/ them if they want a specific topic book. cheers, Xavier Carcelle. On Fri, Oct 28, 2011 at 06:09:25PM -0400, George Hunt wrote: Hi everyone, While working with Adam Holt in Haiti, I met a few go-getter teens who already are doing basic house wiring. They could help diagnose battery and solar array problems if they had a little more background. I learned basic electricity reading and re-reading the first few chapters of the Amateur Radio Relay League Handbook. I could use some help finding something similar for french speakers. Creole is the spoken language, but the instructional language is French and the students are easy with learning out of a book in french. Unfortunately I don't know enough French to find equivalent sources on line, or available for purchase on the web. I did find open source basic electricity texts in english (though perhaps too verbose) as examples of what I think is needed: - http://openbookproject.net/electricCircuits/index.htm - http://www.nmsea.org/Curriculum/4_6/Electricity/dc_electricity.htm - http://educypedia.karadimov.info/library/How_Electricity_Works.swf Thanks for help, George ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Server-devel] Dansguardian on XS
Hola a todos, Sabes si algunas han installado el Dansguardian on un XO directamente para fitrar XO si no hay XS ? Muchos saludos a todos. Xavier. 2011/4/4 Reuben K. Caron reu...@laptop.org: German, You are at a point where you must define your own public DNS server. Hosted at your own public IP address. On the following site we show the technique. The configuration is not exactly the same but similar: http://wiki.laptop.org/go/OS_Builder/Adding_OpenDNS_Configuration#Configure_your_public_DNS_server Basically, DNS queries would be: XO-XS-PUBLIC FOUNDATION DNS SERVER-OpenDNS As your deployment grows this will also allow you to more easily scale your XS installations as they can be preconfigured to point to your managed DNS server, instead of trying to find the public IP address at each site. I hope this helps. Regards, Reuben On Apr 4, 2011, at 9:43 AM, German Ruiz wrote: En 3 escuelas acá e Nicaragua tienen conexión a internet por un modem 3G (Huawei 3G E968 Wireless Gateway), cuando me conecto a internet, y quiero registrar la IP pública en openDNS, siempre me sale que la IP es 190.212.80.224 ó 190.212.80.225, de igual manera cuando me conecto desde mi laptop con un modem ZTE MF626 siempre me asigna una de estas 2 IP al momento de navegar, supongo que esto es por el proveedor de Internet que es Claro que está utilizando una proxy para estas conexiónes. Para probar registre estas IP en openDNS y apliqué los forwarders {208.67.222.222; 208.67.220.220;}; en el archivo /etc/named-xs.conf.in, esperé unos 10 minutos y probé si estaba filtrando en contenido en la escuela, lo cual no hacía, 5 minutos después, recibí email de usuarios que aparentemente estaban siendo afectadas por el filtro, (facebook, youtube, etc...). Por lo que descarte la opción de openDNS para estas escuelas, e instalé squidguard a como hacen en Paraguay. Que está impidiendo que openDNS funcione en estas conexiones??? Saludos El 4 de abril de 2011 04:57, Martin Langhoff martin.langh...@gmail.com escribió: Hola Germán, cuentanos como es la instalacion del modem 3G -- porqué no funciona el uso de OpenDNS? un abrazo, martin 2011/4/1 German Ruiz germa...@opensuse.org.ni: Muchas Gracias Rodolfo Lo he instalado en un XS acá en Nicaragua, por lo general nosotros usamos openDNS, pero en esta escuela se me hizo imposible, ya que ellos cuentan con un modem 3G. Al parecer el filtro está funcionando... Gracias 2011/4/1 Rodolfo D. Arce S. rodolfo.arc...@gmail.com We used squidguard in the Paraguay deployment http://wiki.paraguayeduca.org/index.php/Squidguard Is in spanish, but the commands are selfexplanatory. Perhaps it can help, i'll try and translate to english soon Cheers.. R 2011/3/31, German Ruiz germa...@opensuse.org.ni: Hi Is there any documentation to install Dansguardian on XS 0.6??? Any wiki or something??? Thanks... -- German R S -- *Rodolfo D. Arce S.* web: rodolfoarce.com twitter: @rodolfoarces http://twitter.com/rodolfoarces -- German R S ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel -- martin.langh...@gmail.com mar...@laptop.org -- Software Architect - OLPC - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff -- German R S ___ Server-devel mailing list server-de...@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list server-de...@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Server-devel] Dansguardian on XS
Hola a todos, Sabes si algunas han installado el Dansguardian on un XO directamente para fitrar XO si no hay XS ? Muchos saludos a todos. Xavier. 2011/4/4 Reuben K. Caron reu...@laptop.org: German, You are at a point where you must define your own public DNS server. Hosted at your own public IP address. On the following site we show the technique. The configuration is not exactly the same but similar: http://wiki.laptop.org/go/OS_Builder/Adding_OpenDNS_Configuration#Configure_your_public_DNS_server Basically, DNS queries would be: XO-XS-PUBLIC FOUNDATION DNS SERVER-OpenDNS As your deployment grows this will also allow you to more easily scale your XS installations as they can be preconfigured to point to your managed DNS server, instead of trying to find the public IP address at each site. I hope this helps. Regards, Reuben On Apr 4, 2011, at 9:43 AM, German Ruiz wrote: En 3 escuelas acá e Nicaragua tienen conexión a internet por un modem 3G (Huawei 3G E968 Wireless Gateway), cuando me conecto a internet, y quiero registrar la IP pública en openDNS, siempre me sale que la IP es 190.212.80.224 ó 190.212.80.225, de igual manera cuando me conecto desde mi laptop con un modem ZTE MF626 siempre me asigna una de estas 2 IP al momento de navegar, supongo que esto es por el proveedor de Internet que es Claro que está utilizando una proxy para estas conexiónes. Para probar registre estas IP en openDNS y apliqué los forwarders {208.67.222.222; 208.67.220.220;}; en el archivo /etc/named-xs.conf.in, esperé unos 10 minutos y probé si estaba filtrando en contenido en la escuela, lo cual no hacía, 5 minutos después, recibí email de usuarios que aparentemente estaban siendo afectadas por el filtro, (facebook, youtube, etc...). Por lo que descarte la opción de openDNS para estas escuelas, e instalé squidguard a como hacen en Paraguay. Que está impidiendo que openDNS funcione en estas conexiones??? Saludos El 4 de abril de 2011 04:57, Martin Langhoff martin.langh...@gmail.com escribió: Hola Germán, cuentanos como es la instalacion del modem 3G -- porqué no funciona el uso de OpenDNS? un abrazo, martin 2011/4/1 German Ruiz germa...@opensuse.org.ni: Muchas Gracias Rodolfo Lo he instalado en un XS acá en Nicaragua, por lo general nosotros usamos openDNS, pero en esta escuela se me hizo imposible, ya que ellos cuentan con un modem 3G. Al parecer el filtro está funcionando... Gracias 2011/4/1 Rodolfo D. Arce S. rodolfo.arc...@gmail.com We used squidguard in the Paraguay deployment http://wiki.paraguayeduca.org/index.php/Squidguard Is in spanish, but the commands are selfexplanatory. Perhaps it can help, i'll try and translate to english soon Cheers.. R 2011/3/31, German Ruiz germa...@opensuse.org.ni: Hi Is there any documentation to install Dansguardian on XS 0.6??? Any wiki or something??? Thanks... -- German R S -- *Rodolfo D. Arce S.* web: rodolfoarce.com twitter: @rodolfoarces http://twitter.com/rodolfoarces -- German R S ___ Devel mailing list de...@lists.laptop.org http://lists.laptop.org/listinfo/devel -- martin.langh...@gmail.com mar...@laptop.org -- Software Architect - OLPC - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff -- German R S ___ 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