Re: qemu & wine experiments on ARM

2012-10-05 Thread Reuben K. Caron

On Oct 5, 2012, at 12:59 AM, Martin Langhoff wrote:

> On Fri, Oct 5, 2012 at 12:22 AM, Martin Langhoff  wrote:
>> Qemu's "user-mode" is a lot more practical. We would need a minimal
>> fedora x86 chroot that has wine, and use qemu over that. After a bit
>> of googling, I found PRoot, which seems to provide the right glue to
>> make qemu's user mode actually usable.
>> 
>> http://cedric-vincent.github.com/PRoot/
>> http://adt.cs.upb.de/quf/quf11/quf2011_13.pdf
> 
> proot only offers x86 rpms, so a rebuild for armv7hl/f17 at
> http://dev.laptop.org/~martin/proot/ - untested
> 
>> For a truly minimal rootfs, mock is likely to be more useful than 
>> livecd-tools.
> 
> On x86 fedora...
> 
> mock -r fedora-17-i386 --init
> mock -r fedora-17-i386 --install wine
> 
> then tar up /var/lib/mock/fedora-17-i386/root, untar on your XO.

Running on the ARM platform, I get:

[reuben@koji3 ~]$ proot -Q wine/qemu-i386 mock/
proot info: started
sh-4.2$ ls
sh: fork: Invalid argument
sh-4.2$ 

Attempting to run any command results in sh: fork: Invalid argument

Reuben

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Announcing OLPC OS 11.3.1 for XO-1, XO-1.5 and XO-1.75

2012-06-18 Thread Reuben K. Caron
Hi,

We're pleased to announce the release of OLPC OS 11.3.1 for XO-1,
XO-1.5 and as a formal release for XO-1.75. Details of new
features, known issues, and how to download/install/upgrade can all be
found in the release notes:

http://wiki.laptop.org/go/Release_notes/11.3.1

Many thanks to all contributors, testers, upstreams, and those who
have provided feedback of any kind.

For those who were following the release candidate process in the last
few weeks: candidate build 885 is released as final with no changes.

Thanks and enjoy!
OLPC Development Team
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] Problemas con servidor xs

2012-03-27 Thread Reuben K. Caron
Fernando, Carlos,

Hola Amigos.

First, we'll troubleshoot this and then I'll tell you why this setup is 
problematic.

2wire: 192.168.1.254
XS: 192.168.1.253
XOs: 192.168.1.0 -- > .252

On the XS:

-Did you save the static ip changes to the file: 
/etc/sysconfig/network-scripts/ifcfg-eth0-local?
-What is the output of the command ifconfig -- Does it show that the static IP 
address configured correctly?
-What is the output of the command ping schoolserver
-What is the output of the command ping 192.168.1.254
-What is the output of the command dig google.com
-What is the output of the command ping google.com

On the XO:
-Connect to the Wireless.
-What is the output of the command ping 192.168.1.254
-What is the output of the command ping 192.168.1.253
-What is the output of the command dig google.com
-What is the output of the command ping google.com
-What is the output of the command ifconfig -- Note the IP address of the XO

On the XS:
-What is the output of the command ping IP_ADDRESS_OF_XO_ABOVE

Your current setup has limitations:
1.Only 252 clients will be able to connect
2.XO's cannot connect, ping, or resolve "schoolserver," DNS entry because they 
get IP configuration from DHCP of 2wire. 2Wire does not know how to resolve the 
hostname schoolserver. 

The #2 issue can be resolved by either:

-If possible you maybe able to assign the DNS server in 2Wire configuration to 
point to 192.168.1.253 for DNS resolution, *or*
-Disable DHCP on 2Wire, Enable DHCP on XS, Add manual default routes from XS 
<-> 2Wire

Let us know the output of the commands and also some screenshots of the 
available configuration of the 2Wire configuration screens because I cannot 
find any manuals available online for this model.

Regards,

Reuben



On Mar 27, 2012, at 1:04 AM, Fernando Paz wrote:

> Hola John, gracias por responder.
> 
> 2 . Si 802.11. Logro hacer ping del servidor a otras computadoras y ping así 
> mismo. No logro hacer ping al servidor desde otras computadoras no logran 
> pasar por el router.
> 
> 3. Tengo entendido que si se puede lograr hacer de esta manera con un router, 
> conectándose a la red del router y colocando en el navegador el dominio del 
> servidor schoolserver.escuelax 
> 
> Por eso mi pregunta si alguien ya había utilizado este router 2wire 4011G... 
> o en este caso si no se puede el porque... o si  hay una lista de router que 
> no son compatibles con el servidor XS y si el 2wire pertenece a esta lista ..
> 
> 
> 
> 
> 
> El 26 de marzo de 2012 18:59, John Watlington  escribió:
> 
> On Mar 26, 2012, at 8:05 PM, German Ruiz wrote:
> 
> > Hola Fernando
> >
> > Tengo unas dudas:
> 
> > 2. Cuando quieres registrar una XO, esta cómo se conecta al XS, si
> > dices que este no tiene AP en tu escenario.
> 
> Tiene 802.11 el modem/router  ?   Si es verdad, cual es la dirección IP
> de la computadora con que logras al servidor ?
> Puedes "ping" al servidor ?
> 
> > 3. Cuando corres el comando: chkconfig dhcpd off
> >
> > Deshabilitas el servicio dhcp para las XO, que estas lo necesitan para
> > conectarse al XS y registrarse.
> 
> Actualmente, todavia pueden registrarse en este caso, pero necesitan
> que el nombre DNS "schoolserver" apunte al servidor.
> 
> > 4. Adicionalmente ya está disponible la versión 0.7[0] del XS que está
> > basada en Centos 6 con el kernel de Fedora 15.
> >
> > [0] http://wiki.laptop.org/go/XS_Installing_Software_0.7
> >
> > Saludos
> >
> > --
> > German R S
> >
> > 2012/3/26 Fernando Paz 
> >>
> >> Hola lista.
> >>
> >> Tengo problemas con hacer funcionar el servidor XS.
> >> El escenario actual es sin access points y es así:
> >> INTERNET -> Modem/Router <--> Servidor XS
> >>
> >> Internet por medio de DSL
> >> Modem/Router 2wire modelo: 4011G
> >> Servidor XS versión: 0.6
> >>
> >> Configuración:
> >> Modem/Router = DHCP activado, direcciónes = 192.168.1.1 - 192.168.1.252
> >> Servidor = DHCP desactivado usando el comando chkconfig dhcpd off,
> >> dirección estática = 192.168.1.253
> >>
> >> Configuracion de eth0 en servidor:
> >>  To set a static address, copy or rename this file to
> >>    /etc/sysconfig/network-scripts/ifcfg-eth0-local
> >>  and set the values below appropriately
> >> IPADDR=192.168.1.253
> >> IPV6ADDR=2001:4830:2446:ff00::2/64
> >> NETMASK=255.255.255.0
> >> #NETWORK=18.85.46.0
> >> #BROADCAST=18.85.46.255
> >> GATEWAY=192.168.1.254
> >>
> >> No logro entrar al servidor desde otra computadora ni registrar XO.
> >> Instale un escritorio grafico dentro del servidor para ver si en localhost 
> >> y
> >> si funciona. El problema son las configuracion en el modem / router 2wire
> >> que no deja acceder al servidor desde otras maquinas...
> >>
> >>Lic. Fernando Paz
> >> Oficina de Innovación Gubernamental
> >> Perif. Pte. 138 / Navarrete y Colosio
> >> Tel. +52(662) 213-8119, 23, 25
> >> fernando@sonora.gob.mx
> >> Hermosillo, Sonora. México
> >> www.oig.sonora.gob.mx
> >>
> >>
> >>
> >>
> >> Contact me: fernando.pazc
> >> Latest twe

Re: [OLPC Engineering] [Techteam] 11.3.1 build 11 released for XO-1.75

2011-11-16 Thread Reuben K. Caron
After a few minutes of installation and a few s/r cycles I lost mouse and kb in 
Gnome…


On Nov 15, 2011, at 5:04 PM, Martin Langhoff wrote:

> The "cpu0 on fire" build, where runin can read cpu temp invoking black
> OFW magic. Also contains assorted fixes to audio, power management, a
> better s/r, and more.
> 
> Download from:
> 
>   http://build.laptop.org/11.3.1/os11/
> 
> Updated OFW to Q4C04 -- details at
> http://wiki.laptop.org/go/OLPC_Firmware_q4c04
> 
> Bugs fixed:
> #10954 XO-1.75 runin CPU temperature support
> #11409 Headphone jack test not working in 11.3.0 on 1.75
> #11177 XO-1.75 powerd does not see touchscreen as activity
> 
> Progress on:
> #11395 Implement Linux Suspend/Resume on MMP2
> #11397 DCON freeze not working under X
> #11406 and #11412 - kernel & powerd wakeup events queue work
> 
> Activities:  translation updates on Terminal, TamTam*, Measure,
> ImageViewer and Chat.
> 
> Kernel changelog:
> 
> Andres Salomon (2):
>  arm: mmp2: initial pm support
>  mmp2: import some TLB flushing from marvell's kernel
> 
> Daniel Drake (1):
>  input: disable suspend/resume handlers for OLPC
> 
> Jon Nettleton (2):
>  [pxa168fb] Use designated refresh rate for mode
>  Merge branch 'arm-3.0-wip' of
> ssh://dev.laptop.org/git/olpc-kernel into arm-3.0-wip
> 
> Marcus Folkesson (1):
>  serial: pxa: work around for errata #20
> 
> Paul Fox (8):
>  log the uselessness of invoking en/disable_irq_wake() on MMP2
>  allow the dcon to remain on while sleeping
>  generate a pm_wakeup when we receive an EC event
>  generate a pm_wakeup when we have a lid/ebook interrupt
>  generate a pm_wakeup when we get an RTC alarm interrupt
>  add new OLS commands and events
>  add callback support for OLS events
>  create an OLS light/dark notification switch input device
> 
> Saadia Baloch (2):
>  lis3lv02d.c: Fix use of 16 bit accelerometer.
>  Fixed audio jack detection and setting of clock.
> 
> 
> --- os10/xo1.75/os10.packages.txt 2011-11-10 10:58:22.0 -0500
> +++ os11/xo1.75/os11.packages.txt 2011-11-15 16:36:17.0 -0500
> -kernel-3.0.0_xo1.75-2009.0921.olpc.a0765cd.armv7l
> +kernel-3.0.0_xo1.75-2014.1639.olpc.184b135.armv7l
> -olpc-firmware-q4c02-1.unsigned.noarch
> -olpc-kbdshim-20-1.fc14.armv5tel
> +olpc-firmware-q4c04-1.unsigned.noarch
> +olpc-kbdshim-22-1.fc14.armv5tel
> -olpc-powerd-37-1.fc14.armv5tel
> -olpc-powerd-dbus-37-1.fc14.armv5tel
> -olpc-runin-tests-0.15.0-1.noarch
> +olpc-powerd-38-1.fc14.armv5tel
> +olpc-powerd-dbus-38-1.fc14.armv5tel
> +olpc-runin-tests-0.16.0-1.armv7l
> -xorg-x11-drv-dove-0.1.0-6.olpc.armv5tel
> +xorg-x11-drv-dove-0.1.0-7.olpc.armv5tel
> 
> --- os10/xo1.75/os10.activities.txt   2011-11-10 10:58:22.0 -0500
> +++ os11/xo1.75/os11.activities.txt   2011-11-15 16:36:17.0 -0500
> -Chat-71
> +Chat-71.1
> -ImageViewer-18
> +ImageViewer-18.1
> -Measure-34
> +Measure-34.1
> -TamTamEdit-60
> -TamTamJam-60
> -TamTamMini-60
> -TamTamSynthLab-60
> -Terminal-35
> +TamTamEdit-60.1
> +TamTamJam-60.1
> +TamTamMini-60.1
> +TamTamSynthLab-60.1
> +Terminal-35.1
> 
> cheers,
> 
> 
> 
> m
> --
>  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
> ___
> Techteam mailing list
> techt...@lists.laptop.org
> http://lists.laptop.org/listinfo/techteam
> ___
> Engineering mailing list
> engineer...@laptop.org
> http://lists.laptop.org/listinfo/engineering

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [OLPC Engineering] [Techteam] New F14-arm build os40 - Almost in sync with x86!

2011-08-23 Thread Reuben K. Caron

On Aug 23, 2011, at 9:36 AM, Chris Ball wrote:

> Hi,
> 
> On Tue, Aug 23 2011, Reuben K. Caron wrote:
>>> You should modify the subpage for the release you're working on --
>>> see e.g. http://wiki.laptop.org/go/Activities/G1G1/11.2
>> 
>> In that case, the .ini should be altered:
>> 
>> [sugar_activity_group]
>> url=http://wiki.laptop.org/go/Activities/G1G1
> 
> No.  That string's just providing the base URL to use -- when o-o-b is
> looking for activities, it will append the major/minor/release version
> numbers to it.

Ah yes, clear from here:

http://dev.laptop.org/git/projects/olpc-os-builder/tree/modules/sugar_activity_group/kspost.60.nochroot.activities.py?h=f14-arm

Not clear from here:

http://dev.laptop.org/git/projects/olpc-os-builder/tree/modules/sugar_activity_group/README?h=f14-arm

Reuben___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [OLPC Engineering] [Techteam] New F14-arm build os40 - Almost in sync with x86!

2011-08-23 Thread Reuben K. Caron

On Aug 23, 2011, at 9:27 AM, Chris Ball wrote:

> Hi,
> 
> On Tue, Aug 23 2011, Peter Robinson wrote:
>>> I believe OOB is pulling activities and version information from here:
>>> http://wiki.laptop.org/go/Activities/G1G1
>>> Update the links to the latest version and on the next build you should get
>>> the respective activity version.
>> 
>> Thank you Reuben, that is what I was after. Are people happy for me to
>> update those versions to later releases?
> 
> You should modify the subpage for the release you're working on --
> see e.g. http://wiki.laptop.org/go/Activities/G1G1/11.2

In that case, the .ini should be altered:

[sugar_activity_group]
url=http://wiki.laptop.org/go/Activities/G1G1

http://dev.laptop.org/git/projects/olpc-os-builder/tree/examples/f14-arm.ini?h=f14-arm___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [OLPC Engineering] [Techteam] New F14-arm build os40 - Almost in sync with x86!

2011-08-23 Thread Reuben K. Caron

On Aug 23, 2011, at 8:40 AM, Peter Robinson wrote:

> On Tue, Aug 23, 2011 at 1:30 PM, Martin Langhoff  wrote:
>> On Tue, Aug 23, 2011 at 8:20 AM, Peter Robinson  wrote:
>>> SOPs covering the basics are always useful though, being "dynamic" is
>>> a cop out excuse IMO and SOPs help for when people get eaten by
>>> raptors.
>> 
>> I can't find what you say documented anywhere ;-)
>> 
>> Peter -- stop for a second and think with me. This isn't a standard
>> anything: we are transitioning to a new arch, using Fedora as a base
>> which has been somewhat unpredictable and rather messy. We don't plan
>> to switch arches again soon.
> 
> I'm referring to things like how to pick which activities are used by
> OOB, a new arch has nothing to do with that what so ever.

I believe OOB is pulling activities and version information from here:

http://wiki.laptop.org/go/Activities/G1G1

Update the links to the latest version and on the next build you should get the 
respective activity version.

Reuben

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: rpm installation via customization stick

2011-05-10 Thread Reuben K. Caron


On May 10, 2011, at 6:14 AM, Sridhar Dhanapalan wrote:


On 05/05/2011 9:58 AM, "Chris Ball"  wrote:
> There's interest, but it's more complicated than you think.  As I
> understand it, customization sticks can be signed and run in  
secure mode
> because they perform no side-effects outside of /home.  However,  
an RPM
> can have a %post section which lists commands to be run *as root*  
during

> the installation.
>
> So, offering the ability to install RPMs via signed customization  
stick

> is equivalent to letting anyone run any series of commands as root.
>
> There may be ways to mitigate this risk, such as refusing to run any
> %post scripts (some of which are necessary for proper function of
> packages).  Working out what the safe set of actions a hostile RPM
> can perform on a system is a research project, as far as I know.

Can we make it so that it only installs signed RPMs? Would that help?

I signed manifest which includes a list of files would probably be  
more feasible as you wouldn't have to alter the RPMs.


Reuben

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] Dansguardian on XS

2011-04-04 Thread Reuben K. Caron

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 > 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 :
> 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. 
>>
>> 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 :
>> > 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 
>
>
>
> --
> 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


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Developer locking an unlocked XO

2011-02-15 Thread Reuben K. Caron

On Feb 15, 2011, at 12:39 AM, devel-requ...@lists.laptop.org wrote:
> 
> On 15 February 2011 13:27, Chris Ball  wrote:
>> Hi,
>> 
>> ? > # You can reverse the disable-security command by entering
>> ? > enable-security at the 'ok' prompt. Security will then be
>> ? > permanently enabled until disabled again.
>> 
>> Yes, but that'll use OLPC's keys (if they were installed in
>> manufacturing). ?You might want to use your own keys, which
>> would involve a different procedure.
> 
> Is that the developer key mentioned at
> http://wiki.laptop.org/go/Firmware_security#Deployment_Key_Manufacturing_Data_Tags
> ?
> 
> We are currently trying to get a handle on this process so that we can
> get our keys applied in the factory.

OLPC's keys will always be installed and valid unless the customer chooses to 
override. From what I understand, you're planning to only use augment keys so 
Tony's comments are still valid.

Reuben

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: OLPC OS Builder recipe for forcing OpenDNS resolver

2010-09-28 Thread Reuben K. Caron
Martin,

Isn't a pre-requisite to also remove root? Alternatively have you  
considered rebuilding initrd signed with ARG keys to check and readd  
the config on every reboot if it has been removed?

Regards,

Reuben


On Sep 28, 2010, at 4:06 PM, Martin Langhoff wrote:

> Working recently in La Rioja (Argentina) we came up with a strategy to
> enforce some content filtering on the XOs even when connected via
> random local ISPs (IOWs, when borrowing a neighbour's connection, or
> at a wifi-friendly cafe).
>
> The results are here, in the form of an OLPC OS Builder recipe.
>
>   http://wiki.laptop.org/go/OS_Builder/Adding_OpenDNS_Configuration
>
> Comments welcome. Getting this working involved Sebastián Miranda,
> Guillermo Narvaez and Reuben. Thanks to all!
>
>
>
> 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

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [IAEP] "Mesh" Dreams = OLSR

2010-09-03 Thread Reuben K. Caron
Mike,

Thank you for the information!

To be clear, from what I understand from our discussions in the past  
you're topology looks like

AP(802.11A + OLSRD) - AP (802.11B/G) - XO

You have several AP(802.11A + OLSRD) acting as your backbone and they  
drop down to standard AP (802.11B/G) for connection to the XOs.

Please let me know if this is correct.

Out of curiosity: have you considered extending your OLSR network to  
the AP (802.11B/G)'s and installing the OLRSd binary on your XOs so  
the OLSR network can be extended beyond the school?

Thanks,

Reuben

On Sep 2, 2010, at 6:36 PM, Mike Dawson wrote:

> Hi,
>
> Sorry for my late reply to this.  Actually we use OLSR in Afghanistan
> to do our school networking like so:
>
> 1. An OLSR router (running openwrt Freifunk ; see freifunk.net )
> connects to the other routers in the school - that forms the backbone
> on one network (e.g. channel 6)
>
> 2. A vanilla OpenWRT router actually connects to the XOs in the class.
> We reduce the transmit power on that and run it on a different
> channel (e.g. 1 or 11)
>
> The plus side is that you get a pure wireless system that does not
> need network cabling / does not have cables getting killed by the
> environment.  The down side is you use more routers.  I think
> financially the costs are pretty similar.  Also you can now use
> 802.11n to get good speeds on the backbone.
>
> Seems to scale pretty nicely - we have 500 XOs in most schools.  Note
> though by design we are not using the collaboration on the school
> server but rather just through the AP - teachers are not that enthused
> by the prospect of kids being able to chat with anyone anytime.
>
> This has practically made doing the deployment in the field a bit
> easier - though the firmware is not always perfect and not always
> working out of the box with all hardware options.
>
> Regards,
>
> -Mike
>
>
>
> On 25/08/2010, Martin Langhoff  wrote:
>> On Tue, Aug 24, 2010 at 11:13 AM, Reuben K. Caron  
>>  wrote:
>>> Where Mesh != 802.11s but rather an adhoc, self healing, self
>>> organizing routable network.
>>
>> Cerebro gave a great working demo of what you describe. Don't know  
>> how
>> they compare.
>>
>> I think it is perfectly feasible to achieve what you want...
>>
>> - to do it seamlessly and with polish will take a ton of work
>>
>> - very few users will actually benefit because the "under a tree"
>> scenario covers IMHO most of our interesting use cases.
>>
>> People do talk about having a mesh that covers their whole town, and
>> it's great dream but not achievable with our current constraints
>>
>> - town-wide meshes are made of stationary nodes
>>
>> - the "mesh" approaches we're discussing burn CPU / battery...
>>
>> - perennially power-starved users will focus on use, not on
>> maintaining the communal mesh up
>>
>>> Imagine a world where Sugar on a Stick machines can communicate on  
>>> the
>>> same network as an XO laptop
>>
>> We have that now with ad-hoc and infra. Limited but we have it.
>>
>>> A world where mesh capabilities are
>>> hardware agnostic allowing anyone to bring up a mesh network by
>>> booting a live cd.
>>
>> Mesh is pixie dust for most people. Your 'imagine' lines will make  
>> the
>> imagine things that cannot be made to work _in the way people
>> imagine_. Some meshy things can be made to work in a lab. Others just
>> involve tradeoffs no sane user would take on...
>>
>> We've had bazillion threads about this, because mesh stokes passion.
>> Problem is... even if you had the magical code right now working
>> seamlessly... the cost/benefit ratio isn't good.
>>
>> 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
>> ___
>> 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: Devel Digest, Vol 54, Issue 49

2010-08-26 Thread Reuben K. Caron
>
> Message: 3
> Date: Thu, 26 Aug 2010 00:24:38 -0300
> From: Martin Langhoff 
> Subject: Re: Installing single file via signed OFW script
> To: James Cameron , Paul Fox ,
>  Mitch
>Bradley , OLPC Devel 
> Message-ID:
>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Wed, Aug 25, 2010 at 8:38 PM, James Cameron  wrote:
> > ok copy u:\ethni.pdf int:2,\versions\run\852\etc\test.pdf
> > ext3 journal needs recovery
> > Not writing to the ext2 filesystem because of unsupported extensions
> > Flushbuf error
> > ok
>
> Hi James!
>
> THANKS for trying this out. Yeah, clearly it will be hit and miss, and
> that can only lead to more pain
>
> Will be experimenting with not doing it by hand, and relying on OATS +
> olpc-update soon.
>

Martin,

Have you considered building something similar to the customization stick
and signing it with their keys?

Reuben
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: "Mesh" Dreams = OLSR

2010-08-24 Thread Reuben K. Caron

On Aug 24, 2010, at 1:34 PM, Richard A. Smith wrote:

> They are only able to achieve this with 30dB attenuators on the  
> signal.  We would want to see what one can do with stock cards  
> without an attenuator.

Can we adaptively get the signal down in driver/software?
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: "Mesh" Dreams = OLSR

2010-08-24 Thread Reuben K. Caron

On Aug 24, 2010, at 1:29 PM, L. Aaron Kaplan wrote:

> Hm well, you at least got me thinking how we can make a small  
> dense indoor mesh working without APs interesting challenge.  
> Like think about replacing those smart APs by a distributed version.  
> Interesting...
>
> a.

Maybe a suitable challenge during a "Wireless Mesh Battle(1)."

(1) http://battlemesh.org/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: "Mesh" Dreams = OLSR

2010-08-24 Thread Reuben K. Caron

On Aug 24, 2010, at 11:24 AM, Richard A. Smith wrote:

> The largest of our mesh problems did not have to do with scalability  
> on sheer number of nodes but rather scalability in density.  Is  
> there any information available on how these networks perform when  
> there are 50 - 100 of them next all in the same room or in adjacent  
> rooms?

Here is a link to a paper that actually tested in a physical 49 node  
lab with various configurations:

http://dev.laptop.org/~reuben/Elsevier2008_OLSR_compare.pdf

This differs from most other papers that I have read that use  
theoretical simulations.

Reuben

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: "Mesh" Dreams = OLSR

2010-08-24 Thread Reuben K. Caron

On Aug 24, 2010, at 12:08 PM, Richard A. Smith wrote:

> I'm not talking about comparison to our previous mesh.

Thanks keeping me on track.

> I'm talking about comparison to an AP.  Overall we currently don't  
> have much need for "mesh" as most of our scenarios are a dense cloud  
> of children in the same space trying to network with each other.

Fo deployments that have funding for APs there is not much need for  
"mesh." I would approximate that roughly 66% of our user base are in  
deployments that do not have funding for APs.

>
> The network-without-infra feature of "mesh" is certainly useful in  
> scenarios were you want to provide access over a wider area.  Its a  
> very important feature of mesh but its just not the feature we need  
> on the ground ATM.

Yet, this is a "feature," we continue to sell and a feature often  
requested.

> However, if the same mesh smartness also gets density without using  
> AP's then that's a big win.

Agreed!

Reuben


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: "Mesh" Dreams = OLSR

2010-08-24 Thread Reuben K. Caron

On Aug 24, 2010, at 11:24 AM, Richard A. Smith wrote:

> On 08/24/2010 10:13 AM, Reuben K. Caron wrote:
>
> > Consider the benefits of using open source software versus our  
> closed
> > source firmware and partnering with communities like Freifunk whose
> > network is ~ 800 node, guifi.net is almost 10k nodes in Barcelona,
> > Athens Wireless is 5k nodes.
>
> The largest of our mesh problems did not have to do with scalability  
> on sheer number of nodes but rather scalability in density.  Is  
> there any information available on how these networks perform when  
> there are 50 - 100 of them next all in the same room or in adjacent  
> rooms?
>
> In those scenarios we run into RF density issues even when using APs.

 From what I understand, OLSR has a better mechanism for maintaining  
the "mesh information." If you recall any change in mesh was  
previously broadcasted to all listeners. OLSR is configurable. For  
instance, information would only be broadcasted to two levels of one  
devices immediate neighbor not the whole mesh cloud. Another issue we  
had was maintaining mesh information in a limited memory space on the  
WLAN module; OLSR would now process that information. 
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: "Mesh" Dreams = OLSR

2010-08-24 Thread Reuben K. Caron


On Aug 24, 2010, at 10:26 AM, Chris Ball wrote:


The fact that a custom mesh algorithm would have to run on the CPU --
prohibiting any kind of idle-suspend -- makes it a non-starter for an
XO deployment in my eyes.  Did you have any thoughts on this?



Hi Chris,

Great point. Thank you for bringing this up. I have given this some  
thought; though I'm curious to know if this is your only objection to  
the suggestion? I find it interesting that what you consider a non- 
starter, I consider a feature. I have often considered it a bit  
presumptuous for us to deplete one child's precious power resources to  
maintain the mesh network for other children. We have created a model  
where in essence one household is funding access to the Internet in  
another household through power costs. My thoughts are: we don't do  
this. If the XO wants to go into idle-suspend let it. The connecting  
XO will have to find another path or lose access to the Internet.  
Either way it is a better solution then what we have now. If children  
group together and knowingly disable idle-suspend so they can maintain  
a mesh network for their neighbors then that is fine and a great  
example of building community but doing so as a mandatory  
implementation IMHO and with all due respect is questionable.


Some things I'd like to point out.

-8.2.1 has idle-suspend disabled by default and we are considering  
disabling by default idle-suspend for new XO - 1 builds. In these  
cases OLSR would be performing fine.
-The switch in WLAN chip from XO 1.0 to 1.5 forces us to re-think how  
we do connectivity.
-The thin-firmware being built for XO 1.5 has the same CPU-prohibiting  
idle-suspend limitation and *does not* include a user base and support  
community of thousands of users and active development. Yet it relies  
on one closed source firmware developed by one firm based on the same  
"mesh" technology developed 3 years ago. It also lacks my hardware  
agnostic points.
-On the XO 1.5 builds where idle-suspend is working (CONGRATULATIONS  
TEAM), I'd recommend letting it idle-suspend. Yes, it will create  
route-flapping but in the school scenarios there should be enough  
paths to maintain connectivity and in the household environment any  
bit more of connectivity is better then none. It also leaves children  
and families the ability to knowingly disable-idle suspend and provide  
a resource to their neighbors.


Thank you for your thoughts.

Reuben




___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


"Mesh" Dreams = OLSR

2010-08-24 Thread Reuben K. Caron

Where Mesh != 802.11s but rather an adhoc, self healing, self  
organizing routable network.

Imagine a world where Sugar on a Stick machines can communicate on the  
same network as an XO laptop. A world where mesh capabilities are  
hardware agnostic allowing anyone to bring up a mesh network by  
booting a live cd.

Imagine a school full of XOs where some are connected to Adhoc Channel  
1, some to Channel 6, and some to Channel 11. Now think of an XO that  
has two USB Wireless Adapters each connected respectively to one of  
those channels. This central XO also has a third USB ethernet dongle  
or a 3G wireless modem attached to it. Consider how this simple setup  
could provide Internet to everyone in the school. Consider the ability  
to actually create "Mesh Portal Points," that allow one connection to  
provide an Internet connection to many hops down the line.

Consider the benefits of using open source software versus our closed  
source firmware and partnering with communities like Freifunk whose  
network is ~ 800 node, guifi.net is almost 10k nodes in Barcelona,  
Athens Wireless is 5k nodes.

These things are all almost immediately possible by using OLSRd  
software. Over the past few months, I have tested and built small  
networks around my neighborhood to consider the feasibility of such  
software. Now I realize there is a difference between small and large  
networks but I think it is something we should consider.

As I have said, please *consider * all of these things with a fresh  
perspective and try to forget about the prior mesh battles.

Let's think of solutions that will actually make this work.  Some  
things to consider from Aaron Kaplan, a member of the OLSR community,  
cc'd here:

"How to scale networks?

-The key is to have multiple channels, smart channel selection/ 
assignment, automatic txpower control and low interference between  
nodes!
-In a sense, it is funny but true: the quieter the devices become, the  
better everybody can "hear" his mesh partner.
-Summary: layer 2 is king for scalability , only then do you need to  
look at layer 3 optimizations (and with OLSR.org we already took care  
of that part"


I hope that we can come together to re-group and re-think how we OLPC  
and SugarLabs do connectivity and utilize the open opportunities  
available to create such solutions.

Regards,

Reuben

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Redesigning: Library, Read, Get-Books, and Content bundles

2010-07-20 Thread Reuben K. Caron
There has been a lot of great progress with the Read and Get-Books  
(IA) activities. However, we have neglected to think about how we can  
better fit all of these pieces together. For instance, consider  
deployments that would like to install content bundles. They package  
these files into .xol packages and these packages get installed into  
the "Library," which is contained on the left hand side of the Browse  
activity. Yes, you read that correctly..."the BROWSE activity," an  
activity intended for online exploration is used to view offline  
content. Every deployment that I have shown this to has found it very  
unintuitive. Consider another example: You want to use Get-Books to  
get a new book. So you open Get-Books search for a book and download  
the book. But where did it go? I guess one could assume (correctly)  
that it went to the journal. So you close Get-Books. Go to the  
Journal. Find the book you downloaded. Open the book (in Read.) IMHO,  
a series of needless steps.

So what if we created a "Library Activity"
The activity would:
-Open a book from within the activity
-Highlight and annotate books
-List all of the books you have downloaded
-Allow you to search and download additional books from Feed Books,  
Internet Archive, the XS, etc..
-List the resources in /home/olpc/Library (so this can be removed from  
Browse)
-Allow one to synchronously or asynchronously share a book to their  
Neighborhood so anyone can download and read it.

I have filed a bug here if anyone would like to follow it: 
http://bugs.sugarlabs.org/ticket/2110

I look forward to hearing your thoughts.

Regards,

Reuben
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: USB2VGA adapters on XO-1.5 (and XO-1 with F11 images)

2010-07-16 Thread Reuben K. Caron
XO 1.5

Thanks,

Reuben

On Jul 16, 2010, at 12:46 PM, Martin Langhoff wrote:

> On XO-1? Or XO-1.5?
>
> Maybe I typo'ed the rpm name...
>
>
> m
>
> On Fri, Jul 16, 2010 at 12:07 PM, Reuben K. Caron  
>  wrote:
>> Martin,
>> Esteban found that xorg-x11-drv-sisvga is not available
>> but xorg-x11-drv-sisusb is available. Using xorg-x11-drv-sisusb  
>> worked fine.
>> Reuben
>>
>> Begin forwarded message:
>>
>> Message: 2
>> Date: Fri, 9 Jul 2010 17:18:47 -0400
>> From: Martin Langhoff 
>> Subject: Re: USB2VGA adapters on XO-1.5 (and XO-1 with F11 images)
>> To: OLPC Devel 
>> Cc: Sridhar Dhanapalan , san...@laptop.org,
>> Keith Wilbern , rsm...@laptop.org
>> Message-ID:
>> 
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> On Thu, Jul 8, 2010 at 1:14 PM, Martin Langhoff
>>  wrote:
>>
>> For monitors/projectors that can handle something close to 1200x900  
>> --
>>
>> 1152x864, you can use Xinerama instead. Here is an xorg.conf that  
>> does
>>
>> exactly that:
>>
>> The Xinerama approach turned out to be a winner in terms of
>> performance and !bugginess.
>>
>> Turns out that with a bit of elbow grease we can make it work on
>> 1024x768 which is what most projectors support.
>>
>> - yum install xorg-x11-drv-sisvga xorg-x11-server-Xephyr
>>
>> - Grab the files from http://dev.laptop.org/~martin/usbvga/xinerama/
>>   olpc-configure goes to /etc/init.d/ , make it executable
>>   olpc-session goes to /usr/bin/ , make it executable
>>   xorg-xo1.5-dcon-extmon.conf goes to /etc/X11/
>>
>> - Plug the USB2VGA device
>>
>> - Reboot & Enjoy
>>
>> Limitations and notes:
>>
>> ?- Needs to be "switched on" at X startup time. olpc-configure checks
>> at boot time if sisusbvga is loaded and changes the xorg.conf symlink
>> if needed. My patch also fixes a longstanding old bug where the
>> xorg.conf was 'set' in the first boot.
>>
>> ?- The desktop is a little bit smaller. On the XO, the desktop
>> appears in the top-left corner -- on the external monitor / projector
>> it fills up the screen perfectly.
>>
>>  - Icons can appear slightly pixellated. I think this technique may
>> expose a bug in Sugar and in some activities (ie: TurtleArt) that  
>> keep
>> a copy of rendered SVGs as bitmaps.
>>
>> ?- Performance is acceptable. (We are saturating the USB 2 bandwidth
>> with the amount of pixels and the bitdepth).
>>
>> - The Sugar cursor is back!
>>
>> - Video works! No Xv however, so it's not particularly fast.
>>
>> Patch to olpc-utils is attached -- I haven't tested the spec changes.
>>
>> 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
>>
>
>
>
> -- 
>  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

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Devel Digest, Vol 53, Issue 32

2010-07-13 Thread Reuben K. Caron


On Jul 13, 2010, at 12:00 PM, devel-requ...@lists.laptop.org wrote:


Message: 7
Date: Tue, 13 Jul 2010 10:22:27 -0400
From: John Watlington 
Subject: Re: xo-1 os300 -- switch off mesh?
To: Martin Langhoff 
Cc: OLPC Devel 
Message-ID: 
Content-Type: text/plain; charset=us-ascii


On Jul 12, 2010, at 11:03 PM, Martin Langhoff wrote:


On Mon, Jul 12, 2010 at 10:42 PM, Paul Fox  wrote:

Is there a way to tweak the os300 build so that it brings up the
Libertas device just as eth0 (and doesn't enable the 802.11s  
features

in the firmware)?


was there a way to do that in 802?


Good question -- no there wasn't.

But the f11 builds for xo-1 only did 802.11b/g for a long time. I  
have

this silly assumption that there's a kmod to blacklist or a kmod
option to set/change to completely disable the 802.11s support.


As far as I know, there is NO way to completely disable mesh
support on XO-1 without holding the WLAN card in reset.
Even if you don't support it at the OS level, the firmware will
still behave badly if it receives a mesh broadcast packet.

IIRC, we settled for trying to ensure that no mesh packets were
ever broadcast, but if one did get sent, everyone would still
help relay it.



Um, I think this should send a mesh stop command to the firmware.

echo 0 > /sys/class/net/eth1/lbs_mesh

From: http://dev.laptop.org/ticket/5144

Reuben___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Adobe Flash 10.1 + AIR 2.0 on the XO

2010-04-06 Thread Reuben K. Caron


On Apr 6, 2010, at 3:30 PM, Martin Langhoff wrote:

> On Tue, Apr 6, 2010 at 3:27 PM, Reuben K. Caron   
> wrote:
>> ./AdobeAIRInstaller.bin -silent -eulaAccepted
>
> Excelent! Where the #$%^ did you find that that documented?
>

http://help.adobe.com/en_US/AIR/1.5/air_runtime_redist/air_runtime_redist.pdf

And for completeness after Air is installed you can silently install  
the Air app with:

/usr/bin/Adobe\ AIR\ Application\ Installer -silent /path/to/*.air

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Adobe Flash 10.1 + AIR 2.0 on the XO

2010-04-06 Thread Reuben K. Caron


On Mar 24, 2010, at 10:30 AM, Martin Langhoff wrote:

On Wed, Mar 24, 2010 at 8:53 AM, Reuben K. Caron   
wrote:
Yes and no. Anyone technically capable to rebuild our build system,  
as you

mention below, will be able to easily script the installation of AIR.


Nope. I am fairly good with it, and I cannot script the installation
of AIR. If you have a technique, time to share it.


I was able to script it by doing:

yum install gtk2-devel libxml2-devel rpm-devel rpm-build nss nss-devel
wget http://airdownload.adobe.com/air/lin/download/1.5/AdobeAIRInstaller.bin
chmod 777 AdobeAIRInstaller.bin
./AdobeAIRInstaller.bin -silent -eulaAccepted___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] Fwd: [SoaS] wireless connection school server

2010-03-29 Thread Reuben K. Caron
David,

Also to be clear, the SOAS will not connect to the AA (Active Antenna).

Reuben

On Mar 29, 2010, at 3:42 PM, David Leeming wrote:

> OK so it should work I assume you're using an AP and I am using  
> an AA.
> Thatb is the only difference as far as I can see. I will try again  
> with a
> fresh XS and AP and report back...
>
> David Leeming
>
>
> -Original Message-
> From: server-devel-boun...@lists.laptop.org
> [mailto:server-devel-boun...@lists.laptop.org] On Behalf Of Andra  
> DuPont
> Sent: Tuesday, 30 March 2010 1:10 a.m.
> To: Tomeu Vizoso
> Cc: XS Devel
> Subject: Re: [Server-devel] Fwd: [SoaS] wireless connection school  
> server
>
> David,
> Today was my first attempt at using SOAS on a PC. Actually I
> loaded it onto and Acer Aspire One netbook. When I connected
> wirelessly to my XS server access point, my IP was the standard
> 172.18.96.* and after changing the default server address
> under / My Settings / Network, I registered onto the server
> with no problem. Actually, this was the first "XO" to ever register
> onto my server, so it was given the course creator role.
>
> I'm not sure why your PC was assigned a different network.
> You should check to see how DHCP was set up on your wireless
> connection. Or maybe someone here will have an explanation.
>
> Bottom line for me right now is that my netbook is connected
> wirelessly and registered as if it was an XO (running Sugar of  
> course).
>
> Andy
>
> On Mar 29, 2010, at 8:42 AM, Tomeu Vizoso wrote:
>
>> [Forwarding to the XS list]
>>
>> -- Forwarded message --
>> From: David Leeming 
>> Date: Sun, Mar 28, 2010 at 23:02
>> Subject: [SoaS] wireless connection school server
>> To: SoaS 
>>
>>
>> Not sure if this is an SOAS or XS question or both!
>>
>>
>>
>> I am trying out a mixed environment with XO-1s and SOAS.
>>
>>
>>
>> The XOs are connected and registered on an XS with v 0.6. They  
>> connect
>> to a default network 172.18.0.0 wirelessly.
>>
>>
>>
>> I have one PC netbook running SOAS 2 Blueberry. I can connect
>> wirelessly but it gives me a different network 10.42.xxx.xxx (or
>> close). The wireless icon on the SOAS shows me "connected to the
>> school server" but I can't access any resources or register etc.
>>
>>
>>
>> I then found I can do a wired connection, which works fine. It
>> connects on the default 172.18.0.0 network and I can access the XS
>> Moodle home page - which requires a username/password. It won't let  
>> me
>> in or register the SOAS netbook until I created a user account using
>> the admin XO. I had to manually input the server qualified name in  
>> the
>> control panel of the SOAS netbook, and then I was able to register  
>> and
>> collaborate with the XOs (i.e. with the SOAS on a wired connection  
>> and
>> the XOs wireless).
>>
>>
>>
>> Is this correct or have I missed an easier way?
>>
>>
>>
>> What would I see if I had 2 or more computers running SOAS,  
>> connecting
>> wirelessly? Should they be receiving IP addresses in the default  
>> range
>> (172.18.0.0) or the other range I was observing (10.42.xxx.xxx)?
>>
>>
>>
>>
>>
>> David Leeming
>>
>> In PNG
>>
>> ___
>> SoaS mailing list
>> s...@lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/soas
>> ___
>> 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
>
>
>
> ___
> 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


Re: [Server-devel] Fwd: [SoaS] wireless connection school server

2010-03-29 Thread Reuben K. Caron
David,

Keeping the list on.

So to be clear the XOs are connected to an Active Antenna and the SOAS  
is connected to an AP?

How is the AP connected to the XS?

Reuben

On Mar 29, 2010, at 3:40 PM, David Leeming wrote:

> The XOs are connected to the school server default 172.18.00 network  
> via a
> single AP (in this case an AA).
>
> The issue is that when I connect the computer running SOAS
> Wirelessly, the XS gives it an IP address in another range  
> (10.42.xxx.xxx)
> so it can't see or collaborate with the XOs. However, if I make a  
> wired
> connection with the SOAS to eth1 it does get the default IP range
> 172.18.xxx.xxx and collaborates OK.
>
> The XS is running with default configuration.
>
>
> 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: Reuben K. Caron [mailto:reu...@laptop.org]
> Sent: Tuesday, 30 March 2010 2:00 a.m.
> To: David Leeming
> Cc: XS Devel
> Subject: Re: [Server-devel] Fwd: [SoaS] wireless connection school  
> server
>
>
> On Mar 29, 2010, at 8:42 AM, Tomeu Vizoso wrote:
>
>> [Forwarding to the XS list]
>>
>> -- Forwarded message --
>> From: David Leeming 
>> Date: Sun, Mar 28, 2010 at 23:02
>> Subject: [SoaS] wireless connection school server
>> To: SoaS 
>>
>>
>> Not sure if this is an SOAS or XS question or both!
>>
>>
>>
>> I am trying out a mixed environment with XO-1s and SOAS.
>>
>>
>>
>> The XOs are connected and registered on an XS with v 0.6. They  
>> connect
>> to a default network 172.18.0.0 wirelessly.
>>
>
> What wireless network are the XOs connected to?
>
>>
>>
>> I have one PC netbook running SOAS 2 Blueberry. I can connect
>> wirelessly but it gives me a different network 10.42.xxx.xxx (or
>> close). The wireless icon on the SOAS shows me "connected to the
>> school server" but I can't access any resources or register etc.
>
> Is this connected to the same wireless network? The same exact AP? If
> you have multiple APs are they all configured to act as a bridge to
> the wired network so that the XS can hand out IP addresses?2
>
> snip
>
>>
>>
>> What would I see if I had 2 or more computers running SOAS,  
>> connecting
>> wirelessly? Should they be receiving IP addresses in the default  
>> range
>> (172.18.0.0) or the other range I was observing (10.42.xxx.xxx)?
>
> They should all have 172 addresses. Tell us more about how your
> networking is setup.
>
> Regards,
>
> Reuben
>
>
>

___
Server-devel mailing list
server-de...@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: Adobe Flash 10.1 + AIR 2.0 on the XO

2010-03-24 Thread Reuben K. Caron
Ed,

Great news. Thanks for letting us know and thank you for doing the  
legwork to get that accomplished.

Reuben

On Mar 24, 2010, at 8:59 AM, Ed McNierney wrote:

> Folks -
>
> OLPC already has a license from Adobe to redistribute Adobe Flash.   
> We can provide that to any deployment that requests it; if a  
> deployment decides they need it, we don't need to force them to  
> install it themselves.
>
> However, Adobe pointed out that since OLPC's Linux distro (a Fedora  
> Remix) is not a supported platform, they're not interested in bug  
> reports unless they are reproduced on stock Fedora and reported as  
> Fedora bugs.  Having spoken to Adobe about this, I found absolutely  
> no evidence that anyone there's eager to do anything specific for  
> OLPC XO laptops.
>
> I also made no effort to sell them on the idea; I just wanted to be  
> sure that if a deployment decided on their own that they needed to  
> provide the Adobe Flash player, OLPC wasn't unreasonably making it  
> harder than necessary for them.
>
>   - Ed
>
> On Mar 24, 2010, at 8:53 AM, Reuben K. Caron wrote:
>
>>
>> On Mar 24, 2010, at 7:52 AM, Martin Langhoff wrote:
>>
>>> On Wed, Mar 24, 2010 at 12:19 AM, Reuben K. Caron
>>>  wrote:
>>>> IMHO, OLPC would be able to provide deployments with the option of
>>>> including
>>>> Adobe Flash, while continuing to include Gnash as default
>>>
>>> There are some aspects that are outside of OLPC control
>>>
>>> - We need RPMs from Adobe -- in the case if AIR, they are not
>>> available. Carlos and anyone else interested _must chase Adobe_, not
>>> OLPC.
>>
>> Yes and no. Anyone technically capable to rebuild our build system,  
>> as
>> you mention below, will be able to easily script the installation of
>> AIR.
>>
>>> - Licensing issues need to be sorted out. Carlos and anyone
>>> interested _must chase Adobe_, not OLPC.
>>
>> No again, OLPC should have done the legwork so deployments don't have
>> to jump through the hurdles of obtaining licensing from Adobe.
>>
>>>
>>> - If Adobe cares about running well on XOs, Adobe should ask for
>>> laptops through the contributors programme (like everyone else!).
>>> Carlos any anyone interested must chase Adobe on that.
>>
>> I'll work with Carlos on this.
>>
>>> With those 2 sorted out, it's damned trivial to add it to an 8.2.x
>>> build (using my latest patches to install arbitrary rpms), and  
>>> thanks
>>> to the more flexible build system for f11 builds it's trivial to add
>>> it to an XO-1.5 image.
>>>
>>> There is noone at OLPC blocking this. Go folks, go lobby Adobe.
>>
>> Agreed.
>> ___
>> 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: Adobe Flash 10.1 + AIR 2.0 on the XO

2010-03-24 Thread Reuben K. Caron

On Mar 24, 2010, at 12:44 AM, Chris Ball wrote:

> Hi,
>
>>> Maybe the reason we're miscommunicating is that you don't
>>> understand that we aren't willing to expect that our users have
>>> access to another computer running Windows (because they don't)
>>> [..]
>
>> This is an odd argument considering it is quite difficult for a
>> user to create a simple reflash USB stick while using Sugar.
>> Instead we recommend using another computer that uses a
>> regular "Desktop.(1)"
>

Chris,

Hi. Thank you for the response.

> This seems to be the fallacy of "it's on OLPC's wiki, therefore OLPC
> wrote it as a guide for its users in deployments".  The support-gang
> wrote this page for the G1G1 community, as the page history shows.

You are correct the original intended audience for the article was the  
G1G1 community; however, the fact remains that it continues to be the  
most usable and easily followed set of instructions we have.

>
> In any case, I don't see why it's worthwhile to think of these two
> problems as remotely comparable:

You're correct, I'm confusing a technical/philosophical argument by  
adding a real-world/on-the-ground/deployment-needs argument.

>
> 1) no-one has yet decided to help deployments by spending five minutes
>   writing an activity that downloads a build onto a USB stick plugged
>   into an XO, but anyone could do it at any time, including someone
>   who is a user in a deployment.

5 minutes...then why hasn't it happened?!?! Oh I know! The barrier to  
entry for writing an activity is too high and, unlike Flash, a  
relatively small number of people know how to do it...If flash were  
more widely supported on the XO, I'm sure such a Flash APP would  
already exist.

>
> 2) it is nowhere near possible to properly edit Flash content in a GUI
>   on an XO because the software to do so does not exist, and suffers
>   from a complex and underspecified set of compatibility requirements.

I'll refrain from listing the software on the XO that is nowhere near  
possible to edit on the XO because either the source code is not  
available or the XO does not meet the technical requirements to run  
necessary software.


Thanks,

Reuben


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Adobe Flash 10.1 + AIR 2.0 on the XO

2010-03-24 Thread Reuben K. Caron

On Mar 24, 2010, at 7:52 AM, Martin Langhoff wrote:

> On Wed, Mar 24, 2010 at 12:19 AM, Reuben K. Caron  
>  wrote:
>> IMHO, OLPC would be able to provide deployments with the option of  
>> including
>> Adobe Flash, while continuing to include Gnash as default
>
> There are some aspects that are outside of OLPC control
>
> - We need RPMs from Adobe -- in the case if AIR, they are not
> available. Carlos and anyone else interested _must chase Adobe_, not
> OLPC.

Yes and no. Anyone technically capable to rebuild our build system, as  
you mention below, will be able to easily script the installation of  
AIR.

> - Licensing issues need to be sorted out. Carlos and anyone
> interested _must chase Adobe_, not OLPC.

No again, OLPC should have done the legwork so deployments don't have  
to jump through the hurdles of obtaining licensing from Adobe.

>
> - If Adobe cares about running well on XOs, Adobe should ask for
> laptops through the contributors programme (like everyone else!).
> Carlos any anyone interested must chase Adobe on that.

I'll work with Carlos on this.

> With those 2 sorted out, it's damned trivial to add it to an 8.2.x
> build (using my latest patches to install arbitrary rpms), and thanks
> to the more flexible build system for f11 builds it's trivial to add
> it to an XO-1.5 image.
>
> There is noone at OLPC blocking this. Go folks, go lobby Adobe.

Agreed.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Adobe Flash 10.1 + AIR 2.0 on the XO

2010-03-23 Thread Reuben K. Caron

Carlos,

+1

Thank you for bringing this up.

FYI: One of our largest deployments and two other smaller deployments  
have received approval to ship Adobe Flash in their builds.


IMHO, OLPC would be able to provide deployments with the option of  
including Adobe Flash, while continuing to include Gnash as default,  
if they wish to do so without having to jump through the hurdles of  
applying and waiting for individual approval.


Regards,

Reuben


On Mar 23, 2010, at 12:00 PM, devel-requ...@lists.laptop.org wrote:


Message: 2
Date: Tue, 23 Mar 2010 22:51:42 +0800
From: Carlos Nazareno 
Subject: Adobe Flash 10.1 + AIR 2.0 on the XO
To: devel@lists.laptop.org
Message-ID:

Content-Type: text/plain; charset=ISO-8859-1

Hi guys.

I know most people here prefer free as in Libre as opposed to free as
in beer, but what do you think of coordinating with Adobe to get Flash
10.1 + AIR 2.0 on the XO?

Adobe already supports a lot of open-source initiatives and have
already open-sourced the Flex SDK which you can use to compile SWFs
using text files and a command line a la JDK (or in Windows, using an
open-source IDE like Flashdevelop (needs .NET runtime)).
http://opensource.adobe.com/wiki/display/flexsdk

Flash's spec is open, but they cannot opensource the Flash Player or
AIR because they contain technologies which Adobe does not own but
pays licensing fees for.

With stuff like Youtube (using the camera to record a video, something
you cannot do with HTML5), UStream and games (which kids dig a lot),
the internet experience really isn't complete without Flash.

Moreover, the big difference is that with the Actionscript Virtual
Machine 2 which uses Actionscript 3, the speed difference from the
AVM1 (Actionscript 1/2 like GNASH) is 10x or more, which is very
important since we're talking about low-speed/power devices here.

Also, Flash Player 10.1 has been engineered for mobile devices so it
should run very efficiently on the XO 1.5 (you can only do so much
with the XO-1, but Flash 10 beats GNASH's performance on it
nonetheless).

Also (sorry John, Rob), Actionscript 2 is a dead technology which
needs to be put to rest (and there are few practical open source tools
to generate AS2/AVM1 SWFs). GNASH simply cannot catch up with the
features that are being implemented with each new release of Flash..

Also, Adobe is actively pushing Flash on as many devices as possible
via the Open Screen Project http://www.openscreenproject.org and I'm
sure they'd be more than happy to have Flash get bundled on the XO.

Also, Flash is the most commonly used toolset for building educational
apps. Not everyone has the skill or patience to programmatically
animate objects in e-learning applications. What I mean is that it's
very efficient.

What do you guys think?

--
carlos nazareno
http://twitter.com/object404
http://www.object404.com
--
interactive media specialist
zen graffiti studios
http://www.zengraffiti.com
--
"if you don't like the way the world is running,
then change it instead of just complaining."


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Adobe Flash 10.1 + AIR 2.0 on the XO

2010-03-23 Thread Reuben K. Caron
This is an odd argument considering it is quite difficult for a user  
to create a simple reflash USB stick while using Sugar. Instead we  
recommend using another computer that uses a regular "Desktop.(1)"

(1)http://wiki.laptop.org/go/No-fail_update


On Mar 23, 2010, at 9:46 PM, devel-requ...@lists.laptop.org wrote:

> Maybe the reason we're miscommunicating is that you don't understand
> that we aren't willing to expect that our users have access to another
> computer running Windows (because they don't), or for them to use a
> text editor to edit content that was created in a GUI (since that's
> *much* harder, and is treating them as a second-class citizen).
> The XO is all we have to work with.

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Devel Digest, Vol 49, Issue 40

2010-03-22 Thread Reuben K. Caron

Have you tried Firefox? Check the bug here for more details:

http://bugs.sugarlabs.org/ticket/1700


On Mar 22, 2010, at 8:33 AM, devel-requ...@lists.laptop.org wrote:


Message: 1
Date: Sun, 21 Mar 2010 20:53:18 -0300
From: Marcos Orfila 
Subject: Java applets in Browse activity
To: devel@lists.laptop.org
Message-ID:

Content-Type: text/plain; charset="iso-8859-1"

Hello everybody.

I'm volunteering at CeibalJAM [0].

I'm trying to make Java applets work in the Browse activity. I have  
seen in

[1] that Browse can handle Java applets.

I've created an activity called "Java" that packs the Sun JRE. The  
activity
is downloadable from [2]. The JRE gets installed in the following  
folder:


/home/olpc/Activities/Java.activity/jre

Then I created a symbolic link to the Java plugin in the "plugin"  
folder of

the Browse activity:

[o...@xo-1e-5d-7a plugins]$ pwd
/home/olpc/Activities/Browse.activity/plugins
[o...@xo-1e-5d-7a plugins]$ ln -s
../../Java.activity/jre/plugin/i386/ns7/libjavaplugin_oji.so
libjavaplugin_oji.so
[o...@xo-1e-5d-7a plugins]$

I guess I have to do something else to make it work. Maybe something  
in the

"conf/mozpluggerrc" file?

Regards,

   Marcos

[0] http://ceibaljam.org
[1] http://wiki.laptop.org/go/Category:Browser_plugins
[2] http://activities.ceibaljam.org/


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: q3a35 problem

2010-03-12 Thread Reuben K Caron


On Mar 12, 2010, at 12:52 AM, Mikus Grinbergs  wrote:

 You have to ensure that the firmware reflash actually occurred  
 properly
 before continuing.
>>>
>>> ...
>>> I believe the above actions are the "normal" ones to perform a  
>>> firmware
>>> reflash.  When you say "you have to ensure" -- what more do you  
>>> expect
>>> from the user ?
>>
>> Yep.  If the firmware update wasn't happening (say, due to no DC  
>> input), it
>> would explain several of your symptoms.
>>
>
> I do not understand your "Yep" (and following).
>
> I asked "What more do you expect?"  Ypu said "Yep" -- but did not
> explain as to *what more* you would expect from the user who is
> performing a firmware reflash.  Yould you please clarify.
>
>
>
> You also said "If the firmware update wasn't happening (say, due to no
> DC input)".  But what I posted to you in this thread was: "What I do  
> is
> to wait while 'flash u:\q3a35.rom' steps through writing, then steps
> through verifying, then restarts the XO-1.5."  I would expect that if
> there were no DC input, then the 'flash' command would not display the
> "writing" and "veifying" countdowns on the console -- I believe I am
> justified in thinking the firmware update *was* happening.
>
>
> Again - please tell me WHAT MORE a user performing a firmware reflash
> can do "to ensure that the firmware reflash actually occurred" ?

On reboot press the x key (esc) to get to open firmware and check the  
ofw banner at the top of the screen.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: q3a35 problem

2010-03-11 Thread Reuben K. Caron
The same procedure worked correctly for me on a ramp unit that has the  
solar modification by Wad.

On Mar 10, 2010, at 10:44 PM, Mikus Grinbergs wrote:

> XO-1.5 B2 (unmodified hardware).  At ok prompt did 'flash u: 
> \q3a35.rom';
> after restart did 'fs-update u:\os112.zd'.  That failed (with a  
> message
> about only 1 block being written).
>
> Repeated the above, but this time flashing q3a34.rom.  Now the install
> of os112.zd worked.
>
> mikus
>
> ___
> olpc mailing list
> o...@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/olpc

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [SoaS] Using SoaS Blueberry to emulate OLPC F11 builds

2010-02-10 Thread Reuben K. Caron

On Feb 9, 2010, at 5:22 PM, Martin Langhoff wrote:

> On Tue, Feb 9, 2010 at 11:10 PM, Reuben K. Caron   
> wrote:
>> 2.2 GB
>
> Cool.
>
> BTW, I just reviewed the src for olpc-switch-desktop and I think that
> if you just
>
>  ln -s /home/liveuser /home/olpc
>
> before installing the rpm, it'll just work. (You can remove &
> reinstall for example).

That doesn't work. Running olpc-session as dsd mentions does overlay  
the sugar-ui on top of Gnome.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [SoaS] Using SoaS Blueberry to emulate OLPC F11 builds

2010-02-09 Thread Reuben K. Caron


On Feb 9, 2010, at 5:06 PM, Martin Langhoff wrote:

On Tue, Feb 9, 2010 at 10:58 PM, Reuben K. Caron   
wrote:

FWIW, I tried almost the same exact process on a machine that I had
installed Blueberry on by using the zyx-installer. Blueberry was  
installed.
I ran yum groupinstall "GNOME Desktop Environment" and then yum  
install
olpc-switch-desktop. Rebooted and was auto-logged into the Gnome  
Desktop as
SOAS User. Switching desktops did not work, even after I created an  
olpc

user. Let me know if there is anything you'd like me to try.


Great -- looks that what we need is to fixup olpc-switch-desktop.
Probably Chris can give us a hint on how to do it best. Maybe the

What's the on-disk size using the lzyx installer?


2.2 GB___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [SoaS] Using SoaS Blueberry to emulate OLPC F11 builds

2010-02-09 Thread Reuben K. Caron

On Feb 9, 2010, at 4:53 PM, Sebastian Dziallas wrote:

> Martin Langhoff wrote:
>> (I am not sub'd to the soas list -- can a kind admin whitelist me?)
>
> Your e-mail seems to have made it through to the archives, so you  
> should be good. :)
>
>> Hi OLPC, SoaS folks,
>>
>> we have a deployment that wants to use SoaS for early teacher  
>> training
>> before they have (enough) XOs in their hands.
>
> Cool, glad to hear this!
>
>> Besides the obvious indications that they pre-test the hw they'll run
>> it on, and the "shut down SoaS carefully" recommendation, I drafted a
>> plan for them to make Blueberry more like OLPC's F11:
>
> Mhm, I'm not entirely sure I understand why this would be needed.
>
>>  - Take a XO (1 or 1.5) running the OLPC F11 image, get the
>> package list with `rpm -qa | sort>  todos-los-paquetes.lista`
>>
>>  - Get a box of USB sticks -- all same make, model&  size.
>>
>>  - On one of the USB sticks, create a SoaS with a generous  
>> overlay.
>>
>>  - Start up SoaS on a machine with internet connection
>>
>>  - Get the package list on SoaS with the same command
>>
>>  - Compare the 2 lists, and on the SoaS side install anything  
>> that
>> is missing (using yum)  Skip the kernel package.
>
> The major issue you'll run into here is that the XO images contain a  
> number of non-Fedora repositories. So attempting to install the  
> packages these repos provide will just fail on SoaS, unless you add  
> them manually.
>
> Also, some of the packages might affect how SoaS works on "normal"  
> machines (thinking of olpc-utils here).
>
>>  - Restart the machine with SoaS to check that now you have the
>> "swtich to gnome" option in the control panel, and the option to
>> return to Sugar on the Gnome desktop. (Will this Just Work, or did we
>> hardcode /home/olpc or the olpc uid?...)
>
> I think the olpc-switch-desktop package in Fedora should do the  
> trick. However, I heard some time ago (might be wrong, though) that  
> it was dependent on olpc-dm, which is in the olpc-utils package and  
> contains the hardcoded olpc username.
>
>>  - Once the SoaS works as expected, restart it, switch to a VT,
>> and as the root user delete /home/liveuser/.sugar and then use the
>> command  `halt` to shut down the system.
>
> This is certainly a good step to do. I'm not so sure about SSH keys  
> and stuff, which might be another thing you don't necessarily want  
> to copy all over.
>
>>  - Duplicate that exact SoaS disk using the dd command on any  
>> Linux machine
>
> Yeah... well, I'd advise to try a line like this on a modified and  
> rebuilt image: livecd-iso-to-disk --overlay-size-mb xxx /dev/sr0 / 
> dev/sdc1
>
>> Will this work? Is it easy to tell liveusb creator to add a few  
>> rpms...?
>
> It might work. But it could very well break. I'm still curious about  
> the reasoning behind adding all these olpc-* packages. Instead, you  
> might want to consider just adding the @gnome-desktop group and the  
> olpc-switch-desktop package to the SoaS kickstart file and spin a  
> rebuild (after some minor modifications), which you could reasonably  
> well put on the keys, too.

FWIW, I tried almost the same exact process on a machine that I had  
installed Blueberry on by using the zyx-installer. Blueberry was  
installed. I ran yum groupinstall "GNOME Desktop Environment" and then  
yum install olpc-switch-desktop. Rebooted and was auto-logged into the  
Gnome Desktop as SOAS User. Switching desktops did not work, even  
after I created an olpc user. Let me know if there is anything you'd  
like me to try.

>
> I guess it's really about time to think about how to make the  
> customization process easier.
>
> Cheers,
> --Sebastian
>
>> cheers,
>>
>>
>>
>> m

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Using SoaS Blueberry to emulate OLPC F11 builds

2010-02-09 Thread Reuben K. Caron
Martin,

It looks like SOAS Strawberry will more closely relate to OLPC F11  
builds. Strawberry is based on F11 and Sugar 0.84.

Reuben

On Feb 9, 2010, at 1:02 PM, Martin Langhoff wrote:

> (I am not sub'd to the soas list -- can a kind admin whitelist me?)
>
> Hi OLPC, SoaS folks,
>
> we have a deployment that wants to use SoaS for early teacher training
> before they have (enough) XOs in their hands.
>
> Besides the obvious indications that they pre-test the hw they'll run
> it on, and the "shut down SoaS carefully" recommendation, I drafted a
> plan for them to make Blueberry more like OLPC's F11:
>
> - Take a XO (1 or 1.5) running the OLPC F11 image, get the
> package list with `rpm -qa | sort > todos-los-paquetes.lista`
>
> - Get a box of USB sticks -- all same make, model & size.
>
> - On one of the USB sticks, create a SoaS with a generous overlay.
>
> - Start up SoaS on a machine with internet connection
>
> - Get the package list on SoaS with the same command
>
> - Compare the 2 lists, and on the SoaS side install anything that
> is missing (using yum)  Skip the kernel package.
>
> - Restart the machine with SoaS to check that now you have the
> "swtich to gnome" option in the control panel, and the option to
> return to Sugar on the Gnome desktop. (Will this Just Work, or did we
> hardcode /home/olpc or the olpc uid?...)
>
> - Once the SoaS works as expected, restart it, switch to a VT,
> and as the root user delete /home/liveuser/.sugar and then use the
> command  `halt` to shut down the system.
>
> - Duplicate that exact SoaS disk using the dd command on any  
> Linux machine
>
> Will this work? Is it easy to tell liveusb creator to add a few  
> rpms...?
>
> 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

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Using SoaS Blueberry to emulate OLPC F11 builds

2010-02-09 Thread Reuben K. Caron
Martin,

Blueberry is based on F12. The package differences will be much  
different.

Reuben

On Feb 9, 2010, at 1:02 PM, Martin Langhoff wrote:

> (I am not sub'd to the soas list -- can a kind admin whitelist me?)
>
> Hi OLPC, SoaS folks,
>
> we have a deployment that wants to use SoaS for early teacher training
> before they have (enough) XOs in their hands.
>
> Besides the obvious indications that they pre-test the hw they'll run
> it on, and the "shut down SoaS carefully" recommendation, I drafted a
> plan for them to make Blueberry more like OLPC's F11:
>
> - Take a XO (1 or 1.5) running the OLPC F11 image, get the
> package list with `rpm -qa | sort > todos-los-paquetes.lista`
>
> - Get a box of USB sticks -- all same make, model & size.
>
> - On one of the USB sticks, create a SoaS with a generous overlay.
>
> - Start up SoaS on a machine with internet connection
>
> - Get the package list on SoaS with the same command
>
> - Compare the 2 lists, and on the SoaS side install anything that
> is missing (using yum)  Skip the kernel package.
>
> - Restart the machine with SoaS to check that now you have the
> "swtich to gnome" option in the control panel, and the option to
> return to Sugar on the Gnome desktop. (Will this Just Work, or did we
> hardcode /home/olpc or the olpc uid?...)
>
> - Once the SoaS works as expected, restart it, switch to a VT,
> and as the root user delete /home/liveuser/.sugar and then use the
> command  `halt` to shut down the system.
>
> - Duplicate that exact SoaS disk using the dd command on any  
> Linux machine
>
> Will this work? Is it easy to tell liveusb creator to add a few  
> rpms...?
>
> 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

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: B R E A K T H R O U G H -- F11-on-XO1 has working video player

2010-01-27 Thread Reuben K. Caron

On Jan 27, 2010, at 2:29 AM, Raul Gutierrez Segales wrote:

> Any other major blocker that deserves attention?


Have the items here been resolved?

https://www.redhat.com/archives/fedora-olpc-list/2010-January/msg00020.html
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Alternative to Create a new wireless network

2009-12-08 Thread Reuben K. Caron

On Dec 8, 2009, at 4:59 AM, Daniel Drake wrote:

> It's a good idea and is doable, although not for friday. You should
> put it in trac (and the SL one too).

Done:

http://dev.sugarlabs.org/ticket/1610
http://dev.laptop.org/ticket/9845

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: 1.5 - gnome-packagekit?

2009-12-08 Thread Reuben K. Caron

Neil,

Thanks for bringing this up. It looks like this could be of some value  
to deployments and something they could easily add should they choose  
to customize their build image. Keep up the good work and let us know  
how development is going.


Regards,

Reuben

On Dec 7, 2009, at 7:54 PM, Neil Graham wrote:


On Mon, 2009-12-07 at 19:13 -0500, Reuben K. Caron wrote:
Since .XO and .XOL bundles were specifically designed to be "safe"  
for

installation and removal, I'm concerned the inclusion of gnome-
packagekit would allow one to more easily break their installation  
but
I also think it would be nice for children to explore the rest of  
what

Fedora has to provide.

Perhaps this is something for Zeroinstall  http://0install.net/ .
ZeroInstall allows for installation of software as a user so you can  
do

things without making system level changes.

I'm working on a setup for the XO that can give you a custom
environment. The entire thing goes into $HOME. I uses Zeroinstall to
grab everything as needed, even the window manager.  In practice the
bundle comes with the window manager but that is merely as a pre- 
filled

zeroinstall cache entry.

Because everything is done at the user level, it is very hard to break
things, but it still allows users to have a great deal of flexibility
with their system.



___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: 1.5 - gnome-packagekit?

2009-12-08 Thread Reuben K. Caron

On Dec 8, 2009, at 4:52 AM, Daniel Drake wrote:

> 2009/12/8 Reuben K. Caron :
>> -Should we include gnome-packagekit to provide such functionality?
>> -Or would including it increase the complexities of managing
>> deployments?
>
> One disadvantage of doing this is that it would harm the use of
> olpc-update -- pristine updates would fail. And also the software
> would be silently lost when an olpc-update happens, which is now
> something we're automating in various places. I think it shouldn't be
> included in the build although it can remain an option for deployments
> to add it.


Yes, good point. Thanks for the reminder.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Alternative to Create a new wireless network

2009-12-07 Thread Reuben K. Caron

On Dec 7, 2009, at 9:12 PM, John Watlington wrote:

>
> On Dec 7, 2009, at 9:04 PM, Reuben K. Caron wrote:
>
>> Daniel,
>>
>> Since we've run into problems with creating ad-hocs networks on the  
>> XO
>> 1.5 (1) (2), I've been thinking about this functionality, the change
>> in UI behavior and perhaps the decrease in usability and I don't like
>> it. I believe it is clunky to have children create their own
>> networks..Who designates who creates the network? Why do I have to
>> join that network? Why can't I make my own network and have them join
>> me, etc.. All of this is aside from the technical limitations of  
>> which
>> channel does my network get created on. Does the user specify  
>> channels
>> 1, 6, or 11 when creating the network, or does the channel randomly
>> get set? If randomly set, how do we avoid channel overlaps and
>> interference.
>>
>> To ease all of this and maintain a similar UI, what if we:
>>
>> -Create three faux "Mesh Channel #" icons in the Network view
>> -When the child wants to join a mesh network they will select one of
>> the networks
>> -Upon selection: the XO will: 1. Scan to see if that ad-hoc network
>> already exists and 2. if it does not exist the XO will create the
>> network allowing other children to join it.
>>
>> The one pitfall of this idea, and I'm not sure how much of an issue
>> this would be, is also the pitfall of ad-hoc networks...when the
>> initiator of the ad-hoc network leaves the network fails.
>
> I don't understand why you say this.   AFAIK, this is not the expected
> behavior of ad-hoc networks.

Yes, of course, you are correct. I was confusing this with the "single- 
hop MPP mode" idea. So I guess there are no pitfalls to this..?

>
>> When the
>> network has a respective name it is a bit more obvious when that
>> person has left and the reason why the network has failed, this would
>> not be the case given the anonymity of a "Mesh Network #." A more  
>> long
>> term solution to this problem may be for the XO to sense the loss of
>> the initiator and recreate the network. In this case, the first XO to
>> sense the loss of the network after some period of time would check  
>> if
>> another XO has already setup the network, if not the XO would create
>> the network or join the new one if it already exists.
>>
>> Aside from the one pitfall, I think it would be really beneficial to
>> maintain the same UI and appearance of functionality. Further
>> development in this area may also help us get MPP back, at least at
>> the software level.
>
> There is no question that we want to avoid changes in this UI ---  
> this is
> already one of the more complex actions that we expect teachers/ 
> students
> to do.   Changing it mid-stream would be very confusing.

Absolutely, explaining the concept of joining Mesh Network # was  
complicated and confusing enough, it would be a shame to have to re- 
teach all of that.  Since you've corrected my pitfall, do you see any  
negatives to this?

Reuben

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Alternative to Create a new wireless network

2009-12-07 Thread Reuben K. Caron
Daniel,

Since we've run into problems with creating ad-hocs networks on the XO  
1.5 (1) (2), I've been thinking about this functionality, the change  
in UI behavior and perhaps the decrease in usability and I don't like  
it. I believe it is clunky to have children create their own  
networks..Who designates who creates the network? Why do I have to  
join that network? Why can't I make my own network and have them join  
me, etc.. All of this is aside from the technical limitations of which  
channel does my network get created on. Does the user specify channels  
1, 6, or 11 when creating the network, or does the channel randomly  
get set? If randomly set, how do we avoid channel overlaps and  
interference.

To ease all of this and maintain a similar UI, what if we:

-Create three faux "Mesh Channel #" icons in the Network view
-When the child wants to join a mesh network they will select one of  
the networks
-Upon selection: the XO will: 1. Scan to see if that ad-hoc network  
already exists and 2. if it does not exist the XO will create the  
network allowing other children to join it.

The one pitfall of this idea, and I'm not sure how much of an issue  
this would be, is also the pitfall of ad-hoc networks...when the  
initiator of the ad-hoc network leaves the network fails. When the  
network has a respective name it is a bit more obvious when that  
person has left and the reason why the network has failed, this would  
not be the case given the anonymity of a "Mesh Network #." A more long  
term solution to this problem may be for the XO to sense the loss of  
the initiator and recreate the network. In this case, the first XO to  
sense the loss of the network after some period of time would check if  
another XO has already setup the network, if not the XO would create  
the network or join the new one if it already exists.

Aside from the one pitfall, I think it would be really beneficial to  
maintain the same UI and appearance of functionality. Further  
development in this area may also help us get MPP back, at least at  
the software level.

Your thoughts?

Regards,
Reuben



(1) http://dev.laptop.org/ticket/9807
(2) http://dev.sugarlabs.org/ticket/1604
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


1.5 - gnome-packagekit?

2009-12-07 Thread Reuben K. Caron
In the sugar environment we have the great resource of activities.sugarlabs.org 
  that children can browse through to add new activities. However, on  
the Gnome side of things we only have the yum terminal commands. While  
I realize children can add, remove, and install programs using such  
commands, it is a bit problematic when you don't know the name of what  
you are searching for or the actual name of the package you want to  
install or remove.

-Should we include gnome-packagekit to provide such functionality?
-Or would including it increase the complexities of managing  
deployments?

Since .XO and .XOL bundles were specifically designed to be "safe" for  
installation and removal, I'm concerned the inclusion of gnome- 
packagekit would allow one to more easily break their installation but  
I also think it would be nice for children to explore the rest of what  
Fedora has to provide.

Regards,

Reuben

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Wanted: List of Sugar activities for the XO-1.5

2009-12-06 Thread Reuben K. Caron
As I said it can be launched in Gnome through /home/olpc/Activities/ 
OOo4Kids.activity/resources/program/soffice. So I guess the question  
becomes is it sufficient to just link to this in the Gnome side and if  
so how can our build system incorporate this in the process?

I believe we are doing the same thing with etoys. How are we handling  
this with etoys?

Thanks,

Reuben

On Dec 6, 2009, at 4:58 PM, Chris Ball wrote:

> Hi Eric,
>
>>> Now how about my question on getting ooo4kids linked on the
>>> Gnome side so both sugar and Gnome can share the same program?
>
>> I'm not sure to get what you mean. Can you explain more?
>
> To clarify, Reuben's asking about having a launcher inside the GNOME
> environment that is able to launch the same version of OOo4Kids that
> we run inside Sugar -- our laptop switches between GNOME and Sugar,
> and we'd like OOo4Kids to be accessible in both.
>
> So, it's not directly a question about toolkits (Gtk vs. others), just
> whether there's a way to run the Sugar activity from outside of Sugar.
>
> Thanks,
>
> - Chris.
> -- 
> Chris Ball   
> One Laptop Per Child

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Wanted: List of Sugar activities for the XO-1.5

2009-12-04 Thread Reuben K. Caron
With the localization question sorted out.

Now how about my question on getting ooo4kids linked on the Gnome side  
so both sugar and Gnome can share the same program?

I believe we are doing this with etoys. Can we do it with ooo4kids?

Reuben

On Dec 3, 2009, at 9:39 AM, Bastien wrote:

> Ed McNierney  writes:
>
>> Yes.  I'm not sure how "massive deployments" are relevant, but we
>> currently have one standard software image that is installed at the
>> factory on all XOs.  You are suggesting that we create unique  
>> software
>> images, one for each SKU, to be managed and installed separately by
>> OLPC and Quanta for each deployment.
>
> We are miscommunicating, I guess i used the word "bundle"
> out of its normal context.
>
> I was just suggesting to have *two* Ooo4Kids activities on
> activities.sugarlabs.org, one in english and one in spanish.
>
> Trying to put both english and spanish languages in a unique
> activity would make it too big I guess.
>
> -- 
> Bastien

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Wanted: List of Sugar activities for the XO-1.5

2009-12-03 Thread Reuben K. Caron
The only different one that comes to mind is WikiBrowse, a Wiki Slice.  
We have both an English and Spanish version. (*No French yet...*)  
However, as Martin said, aside from Activities where the localization  
work has not been done yet, OLPC does attempt to ship software that  
contains localized strings.

Reuben

On Dec 3, 2009, at 8:00 AM, Martin Langhoff wrote:

> We currently do this for all (most?) other software we ship, mainly
> because the compiled gettext files don't take that much space. So I am
> pointing out that OOo is different.

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Wanted: List of Sugar activities for the XO-1.5

2009-12-02 Thread Reuben K . Caron


On Nov 30, 2009, at 3:54 PM, Chris Ball wrote:


Hi,

[Added ericb to CC; Eric, we're talking about which applications to
include by default on our OLPC XO-1.5 software release.]


How about suggestions for programs on the Gnome side?


That's a good idea, thanks.

I haven't decided what to do about OpenOffice yet -- at the moment we
don't ship it, but do ship abiword and gnumeric.  The options for it
look something like:

* just add the openoffice.org Fedora packages for GNOME.
 (How much disk space would that use?)


To provide the somewhat equivalent programs in full version OOo in  
comparison  to OOo4kids:


openoffice.org-writer
openoffice.org-calc
openoffice.org-draw
openoffice.org-impress

a yum install takes up ~300 MB, though I believe some of that is the  
actual download.




* just add the Ooo4Kids activity for Sugar.

* just add the Ooo4Kids activity for Sugar, *and* find a way to make
 the same activity launchable inside GNOME.  This would need Ooo4Kids
 to be useful for older kids as well, since they're the target
 audience for using GNOME instead of Sugar.

The OOo4Kids activity is here:

http://activities.sugarlabs.org/en-US/sugar/addon/4241  (100MB)


Claudia and I have been working with OOo4kids for the past few days  
and I really like it in both Sugar and Gnome and on my own Mac. (It  
can be launched in Gnome through /home/olpc/Activities/ 
OOo4Kids.activity/resources/program/soffice) It has very nice icon  
driven interface and has much of the functionality I would expect in  
typical office applications.


I like the idea of have a single application that is usuable in both  
environments to reduce the overall footprint. Could we have it linked  
into the Gnome Menu?


The one question I have is in regards to localization. Can we have one  
bundle that supports localization, i.e. changes default language  
according sugar/OFW values, or would we need different bundles?


Thanks,

Reuben

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Devel Digest, Vol 45, Issue 53

2009-11-30 Thread Reuben K. Caron

How about suggestions for programs on the Gnome side?

On Nov 23, 2009, at 6:57 PM, devel-requ...@lists.laptop.org wrote:


Date: Mon, 23 Nov 2009 14:05:53 -0500
From: Chris Ball 
Subject: Wanted: List of Sugar activities for the XO-1.5
To: devel@lists.laptop.org
Cc: i...@lists.sugarlabs.org
Message-ID: 
Content-Type: text/plain; charset=us-ascii

Hi folks,

We'd like your help in coming up with a list of default-installed
Sugar activities for the XO-1.5 software release.  The current
activity list, which wasn't chosen with any particular criteria
or thoughtfulness, is:

Analyze
Browse
Calculate
Chat
Distance
Etoys
Implode
Infoslicer
IRC
Jukebox
Labyrinth
Log
Maze
Measure
Memorize
Moon
Paint
Physics
Pippy
Read
Record
Scratch
Speak
TamTam *
Terminal
Turtle Art
Typing Turtle
Words
Write

Any suggestions for activities to add?  A reasonable set of criteria
for looking at the suggestions seems like:

(a) works on 0.84 (and preferably 0.82)
(b) complete translations for OLPC deployment countries
(c) reasonably low disk space use
(d) download popularity on activities.sugarlabs.org

Thanks!

- Chris.
--
Chris Ball   
One Laptop Per Child


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Devel Digest, Vol 45, Issue 37

2009-11-17 Thread Reuben K. Caron

Martin,

By modifying the jffs2 images directly won't we lose the customized  
tarball and contents file that the XS uses to provide OS updates to XOs?


DSD has a good how to here that illustrates what I mean:

http://wiki.paraguayeduca.org/index.php/Construir_OS

Reuben

On Nov 17, 2009, at 3:54 PM, devel-requ...@lists.laptop.org wrote:


Message: 1
Date: Tue, 17 Nov 2009 18:22:00 +
From: Daniel Drake 
Subject: Re: Mounting jffs2 images on F11 / kernel 2.6.31?
To: Martin Langhoff 
Cc: OLPC Devel 
Message-ID: <1258482120.2738.12.ca...@localhost.localdomain>
Content-Type: text/plain

On Tue, 2009-11-17 at 19:11 +0100, Martin Langhoff wrote:

Has this been seen before?

Background: Turns out that using block2mtd, a loop device and some
elbow grease, it is reasonably easy to mount jffs2 images on a normal
linux host. (This is helping me simplify image-builder...)


I saw this before while working with block2mtd on another project and
was basically told not to use it.

Daniel


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: New F11 for the XO-1 Build 7

2009-09-23 Thread Reuben K. Caron
Steven,

Great. I'll look forward to testing. Would it be possible and make  
sense to begin including DSD's the implement mesh support for F11:

http://lists.laptop.org/pipermail/devel/2009-September/025645.html

Regards,

Reuben

On Sep 22, 2009, at 7:39 PM, Steven M. Parrish wrote:

> http://wiki.laptop.org/go/F11_for_XO-1
> http://dev.laptop.org/~smparrish/XO-1/builds/OS7
>
> This release includes and custom Fedora-olpc-release which enables the
> updates-testing repo by default.  This repo is used in the creation  
> of these
> builds so it makes sense to enable it by default.  Also included is  
> a new
> Fedora-olpc-kernel repo, this along with enabled repository  
> protections will
> prevent the stock Fedora kernel being installed if the user does a
> "yum update".  Delta RPMS have also been enabled, this will decrease  
> the size
> of the downloads when doing an update.
>
> Here are the version differences between this release and the previous
>
> Enjoy,
>
> Steven
>
>
> -alsa-lib-1.0.20-1.fc11.i586
> -alsa-utils-1.0.20-3.fc11.i586
> +alsa-lib-1.0.21-3.fc11.i586
> +alsa-utils-1.0.21-2.fc11.i586
>
> -bash-4.0-7.fc11.i586
> +bash-4.0-8.fc11.i586
>
> -bind-libs-9.6.1-4.P1.fc11.i586
> -bind-utils-9.6.1-4.P1.fc11.i586
> +bind-libs-9.6.1-5.P1.fc11.i586
> +bind-utils-9.6.1-5.P1.fc11.i586
>
> -bridge-utils-1.2-7.fc11.i586
> -checkpolicy-2.0.19-2.fc11.i586
>
> -coreutils-7.2-3.fc11.i586
> +coreutils-7.2-4.fc11.i586
>
> -crda-1.1.0_2009.04.17-11.fc11.i586
> +crda-1.1.0_2009.09.08-2.fc11.i586
>
> -csound-5.10.1-9.fc11.i586
> +csound-5.10.1-12.fc11.i586
>
> +deltarpm-3.4-16.fc11.i586
>
> -dhclient-4.1.0p1-2.fc11.i586
> +dhclient-4.1.0p1-4.fc11.i586
>
> -dracut-0.9-1.fc11.i586
> +dracut-002-1.fc11.i586
>
> -etoys-4.0.2229-1.fc11.noarch
> +etoys-4.0.2279-1.fc11.noarch
>
> -fedora-release-11-1.noarch
> -fedora-release-notes-11.0.0-2.fc11.noarch
> +fedora-olpc-release-11-3.noarch
>
> -firefox-3.5.2-2.fc11.i586
> +firefox-3.5.3-1.fc11.i586
>
> -fontconfig-2.7.1-1.fc11.i586
> +fontconfig-2.7.2-1.fc11.i586
>
> -glib2-2.20.4-1.fc11.i586
> +glib2-2.20.5-1.fc11.i586
>
> -gnome-settings-daemon-2.26.1-8.fc11.i586
> +gnome-settings-daemon-2.26.1-10.fc11.i586
>
> -gtk2-2.16.5-1.fc11.i586
> +gtk2-2.16.6-2.fc11.i586
>
> -hulahop-0.4.9-7.fc11.i586
> +hulahop-0.4.9-8.fc11.i586
>
> -kernel-2.6.30_xo1-20090806.0005.1.olpc.1a4850b.i586
> -kernel-firmware-2.6.30_xo1-20090806.0005.1.olpc.1a4850b.i586
> +kernel-2.6.30_xo1-20090919.0116.1.olpc.d2189d4.i586
> +kernel-firmware-2.6.30_xo1-20090919.0116.1.olpc.d2189d4.i586
>
> +libcap-ng-0.6.1-1.fc11.i586
>
> -libmikmod-3.2.0-4.beta2.fc11.i586
> +libmikmod-3.2.0-5.beta2.fc11.i586
>
> -libpurple-2.6.1-1.fc11.i586
> -libraw1394-2.0.1-2.fc11.i586
> +libpurple-2.6.2-1.fc11.i586
> +libraw1394-2.0.4-1.fc11.i586
>
> -libselinux-utils-2.0.80-1.fc11.i586
> -libsemanage-2.0.31-4.fc11.i586
>
> -libsilc-1.1.8-5.fc11.i586
> +libsilc-1.1.8-7.fc11.i586
>
> -libudev0-141-4.fc11.i586
> +libudev0-141-7.fc11.i586
>
> -libv4l-0.6.0-1.fc11.i586
> +libv4l-0.6.1-1.fc11.i586
>
> -libvolume_id-141-4.fc11.i586
> +libvolume_id-141-7.fc11.i586
>
> -libXext-1.0.99.1-2.fc11.i586
> +libXext-1.0.99.1-3.fc11.i586
>
> -libxml2-2.7.3-3.fc11.i586
> -libxml2-python-2.7.3-3.fc11.i586
> +libxml2-2.7.4-2.fc11.i586
> +libxml2-python-2.7.4-2.fc11.i586
>
> -libxslt-1.1.24-4.fc11.i586
> +libxslt-1.1.25-1.fc11.i586
>
> -lzma-4.32.7-2.fc11.i586
> -lzma-libs-4.32.7-2.fc11.i586
>
> +lyx-cmex10-fonts-1.6.4-1.fc11.noarch
> +lyx-cmmi10-fonts-1.6.4-1.fc11.noarch
> +lyx-cmr10-fonts-1.6.4-1.fc11.noarch
> +lyx-cmsy10-fonts-1.6.4-1.fc11.noarch
> +lyx-esint10-fonts-1.6.4-1.fc11.noarch
> +lyx-eufm10-fonts-1.6.4-1.fc11.noarch
> +lyx-fonts-common-1.6.4-1.fc11.noarch
> +lyx-fonts-compat-1.6.4-1.fc11.noarch
> +lyx-msam10-fonts-1.6.4-1.fc11.noarch
> +lyx-msbm10-fonts-1.6.4-1.fc11.noarch
> +lyx-wasy10-fonts-1.6.4-1.fc11.noarch
>
> -mathml-fonts-1.0-23.fc11.noarch
>
> -nautilus-2.26.3-2.fc11.i586
> -nautilus-extensions-2.26.3-2.fc11.i586
> +nash-6.0.87-4.fc11.i586
> +nautilus-2.26.3-3.fc11.i586
> +nautilus-extensions-2.26.3-3.fc11.i586
>
> -nfs-utils-1.2.0-4.fc11.i586
> +nfs-utils-1.2.0-5.fc11.i586
>
> -nss-3.12.3.99.3-2.11.4.fc11.i586
> +nss-3.12.4-3.fc11.i586
>
> -nss-softokn-freebl-3.12.3.99.3-2.11.4.fc11.i586
> +nss-softokn-freebl-3.12.4-3.fc11.i586
>
> -openldap-2.4.15-3.fc11.i586
> +openldap-2.4.15-5.fc11.i586
>
> -pciutils-3.1.3-1.fc11.i586
> -pciutils-libs-3.1.3-1.fc11.i586
> +pciutils-3.1.4-2.fc11.i586
> +pciutils-libs-3.1.4-2.fc11.i586
>
> +plymouth-scripts-0.7.0-0.2009.05.15.1.fc11.i586
>
> -policycoreutils-2.0.62-12.12.fc11.i586
>
> -pulseaudio-libs-0.9.15-14.fc11.i586
> -pulseaudio-libs-glib2-0.9.15-14.fc11.i586
>
> +pulseaudio-libs-0.9.15-17.fc11.i586
> +pulseaudio-libs-glib2-0.9.15-17.fc11.i586
>
> -smartmontools-5.38-11.fc11.i586
> -sos-1.8-14.fc11.noarch
> +smartmontools-5.38-13.fc11.i586
> +sos-1.8-16.fc11.noarch
>
> -taglib-1.5-4.fc11.i586
> +taglib-1.5-9.fc11.i586
>
> -telepathy-gabble-0.7.26-2.fc11.i586
> +telepathy-gabble-0.7.2

Re: [Server-devel] Upgrade to 0.6

2009-06-17 Thread Reuben K. Caron
Martin,
Glad to hear you found the root cause. If we can come up with one or two
simple commands for the OLPCorps teams to type at the command line to fix
this and then enable squid; I'm sure they will be glad to do so.
Thanks,
Reuben

On Wed, Jun 17, 2009 at 4:51 PM, Martin Langhoff
wrote:

> Super. If you do find probs with 0.6, I'd love to hear about them via the
> list.
>
> Reuben did point out a problem with Squid and recent changed to
> /etc/hosts . I fixed the output of `hostname` and broke Squid for the
> local server :-/
>
> That'll need a fix in hosts or (probably better) in squid-xs.conf or
> httpd.conf
>
> cheers,
>
>
> m
>
> On Wed, Jun 17, 2009 at 4:47 PM, Dave Bauer wrote:
> >
> >
> > On Wed, Jun 17, 2009 at 10:44 AM, Martin Langhoff
> >  wrote:
> >>
> >> On Wed, Jun 17, 2009 at 3:50 PM, Dave Bauer
> wrote:
> >> > Is it possible to upgrade from 0.5.2 to 0.6 yet or is it necessary to
> do
> >> > a
> >> > new install to test it?
> >>
> >> Hmmm. I haven't tested an upgrade. I usually
> >>
> >>  - develop/test updating via yum & rpm
> >>  - when getting ready to release, first test clean install, then test
> >> upgrades
> >>
> >> It all depends on how adventurous you are. And how good your backups
> >> are. At this stage, I'm pretty sure something will break, and you'll
> >> want the backup at least to diagnose what changed (and later, rollback
> >> and retest).
> >>
> >> cheers,
> >>
> >
> > Thanks.
> >
> > For now I think setting up a seperate install to try out 0.6 is the best
> > bet, and when its closer to ready, we can make a backup and test the
> > upgrade.
> >
> > Dave
> >>
> >>
> >>
> >> m
> >> --
> >>  martin.langh...@gmail.com
> >>  mar...@laptop.org -- School Server Architect
> >>  - ask interesting questions
> >>  - don't get distracted with shiny stuff  - working code first
> >>  - http://wiki.laptop.org/go/User:Martinlanghoff
> >
> >
> >
> > --
> > Dave Bauer
> > d...@solutiongrove.com
> > http://www.solutiongrove.com
> >
>
>
>
> --
>  martin.langh...@gmail.com
>  mar...@laptop.org -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
>
___
Server-devel mailing list
server-de...@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [Sugar-devel] Browse-101 for 0.82 and XS-0.6 interop

2009-05-21 Thread Reuben K. Caron
Daniel,

Thanks for the clarification and the bug fix.

Should that bug be closed?

Reuben

Daniel Drake wrote:
> 2009/5/21 Martin Langhoff :
>   
>> Simon (aka erikos) has just uploaded Browse-101.xo to
>> http://activities.sugarlabs.org/en-US/sugar/addons/versions/4024#version-101
>>
>> This is the currently recommended Browse for XOs running 8.2.x wanting
>> to interoperate with the upcoming XS 0.6 . This version was previously
>> available but hard to find -- Daniel Drake posted a (probably
>> identical) version recently, but it was missing from the SL's download
>> facility.
>>
>> Now it's there, easy to find, recommended. Thanks!
>> 
>
> Someone posted my version here:
> http://wiki.laptop.org/go/Activities/G1G1/8.2
>
> It is not exactly the same, it includes a fix for
> http://dev.laptop.org/ticket/8857 too.
>
> Daniel
> ___
> Server-devel mailing list
> server-de...@lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
>   

-- 
Reuben K. Caron
Country Support Engineer
One Laptop per Child
Mobile: +1-617-230-3893
reu...@laptop.org
Deployments Support <http://wiki.laptop.org/go/Deployments_Support>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] Browse-101 for 0.82 and XS-0.6 interop

2009-05-21 Thread Reuben K. Caron
The G1G1 set of activities (1) on wiki.laptop.org was updated to include
Browse-102, I believe at the time the composite image was created for
8.2.1. This version does appear to work on 8.2.1 and has your auto-login
magic working with an updated XS 0.5.2.

Can we get a definitive answer on which to use 101 or 102?

Thanks,

Reuben

(1) http://wiki.laptop.org/go/Activities/G1G1

Martin Langhoff wrote:
> Simon (aka erikos) has just uploaded Browse-101.xo to
> http://activities.sugarlabs.org/en-US/sugar/addons/versions/4024#version-101
>
> This is the currently recommended Browse for XOs running 8.2.x wanting
> to interoperate with the upcoming XS 0.6 . This version was previously
> available but hard to find -- Daniel Drake posted a (probably
> identical) version recently, but it was missing from the SL's download
> facility.
>
> Now it's there, easy to find, recommended. Thanks!
>
>
>
>
> m
>   
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] Filtering and authentication

2009-04-28 Thread Reuben K. Caron
All of the documentation is contained within their download. It appears
like a nice lightweight solution. It is basically a captive portal that
requires authentication before allowing access to the internet. It takes
a different approach then netreg using dynamically created iptables
generated after a user logs in. Whereas netreg uses dhcp to assign one
set of ip addresses to an authenticated group of users and one set of ip
addresses to an unauthenticated set of users. It appears in their
current implementation nocat would require an authentication every time 
a user connects to the system and netreg would require a single
authentication event and subsequently would read the mac address from
the dhcpd.conf file and grant an authenticated ip address.

Regards,
Reuben


Martin Langhoff wrote:
> On Mon, Apr 27, 2009 at 11:34 PM, Jerry Vonau  wrote:
>   
>> Have a look at the method used with NoCatAuth from http://nocat.net/
>> Might make a good starting point.
>> 
>
> Looked at it briefly, but it's not clear what's interesting in it. Is
> there something specific that nocat does really well?
>
> cheers,
>
>
>
> m
>   
___
Server-devel mailing list
server-de...@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Filtering and authentication

2009-04-27 Thread Reuben K. Caron
Henry,

Thank you for your thoughts and examples. This is exactly why the XS
installer does not contain any content filtering software. It is very
much a cultural and deployment specific issue.

As Anna said, in their case and in the case of every public and many
private K-12 schools in the US they must implement a CIPA compliant
content "filter" in order to continue receiving important
telecommunications (e-rate) funding.

Again thank you for your thoughts and the litmus tests you provide.

Regards,
Reuben


Henry Edward Hardy wrote:
> Dear friends,
>
> I'm a bit disturbed when I hear people using the euphemism "filtering" for
> automated, computerized censorship. I understand there may be legislative or
> political mandates. However, we should never talk about this as though it is
> a good or desirable or acceptable thing.
>
> I realize this may be seen as off topic from the merely technical discussion
> of how to implement computerized censorship, but when we calmly discuss
> technicalities of something which is obviously wrong without questioning it,
> then the discussion needs to be aired.
>
> "Filtering" is what you do to the water in a fish tank. "Censorship" is when
> a state or quasi-state agency proscribes and limits access to certain
> classes of written material.
>
> Here are a few tests we should apply to any such proposed system.
>
> Does it allow access to information about "Romeo and Juliet"? (Underage sex,
> gang-oriented violence, suicide, murder)
>
> Does it allow access to "Huckleberry Finn" (Slavery, frequent use of the
> word "nigger")
>
> Does it allow access to "The Catcher in the Rye" (Use of "fuck", blasphemy,
> drinking, smoking, lying, promiscuity, implied pederasty)
>
> Does it allow access to "Heather has Two Mommies" (Lesbianism)
>
> Does it allow access to "Our Bodies, Ourselves" (Information about human
> health, sex and sexuality)
>
> Does it allow access to "Slaughterhouse-Five" (Genocide, strategic bombing,
> sex)
>
> Does it allow access to "Of Mice and Men" (Retardation, sex, rape, murder)
>
> Does it allow access to "The Handmaid's Tale" (Sexual roles, patriarchy,
> racism, and theocracy)
>
> Does it allow access to "The Kite Runner" (Homosexuality, rape)
>
> Does it allow access to "His Dark Materials" (Anti-state, anti-catholic,
> magic and witchcraft)
>
> Does it allow access to "One Hundred Years of Solitude" (Alchemy, murder,
> debauchery)
>
> Does it allow access to "1984" (Torture, illicit sex, anti-state and
> anti-party politics)
>
> Does it allow access to "Canterbury Tales" (Promiscuity, anti-clericalism)
>
> Does it allow access to  "The Decameron" (Anti-state, anti-Catholic and
> general ribaldry, such as the Third Day, Tenth Story, "How to put the Devil
> in Hell")
>
> And in terms of websites particularly,
>
> RateMyTeachers.com
>
> Peacefire.org
>
> Facebook
>
> Myspace
>
> Orkut
>
> Google
>
> YouTube
>
> Sites which criticize the ruling party or government.
>
> Sites which criticize or parody the predominant religion.
>
> Blogs, in general
>
> And classes of internet services such as
>
> Usenet
>
> FSP
>
> Peer-to-peer file-sharing services such as Bittorrent, EMule, Gnutella
>
> In general, censorship is bad and morally wrong; and automated, computerized
> censorship especially so; and we should never refer to it by a purpose-made
> and innocuous-sounding term like "filtering" or treat it as though it is
> morally or pedagogically acceptable.
>
> IMHO,
>
> Henry
>
> "What progress we are making. In the Middle Ages they would have burned me.
> Now they are content with burning my books."
>
> --Sigmund Freud, 1933
>
> also posted to my blog at http://scanlyze.wordpress.com/
>
> On Sun, Apr 26, 2009 at 12:47 PM, Anna  wrote:
>
>   
>> On Sun, Apr 26, 2009 at 10:51 AM, Reuben K. Caron wrote:
>> 
>>>  A free and simple solution, while not bullet proof (no content filter is
>>> that I am aware), is Open DNS. They are even CIPA compliant in the US:
>>> http://www.opendns.com/solutions/k12/
>>>
>>>   
>> That's what I set up for our pilot school, which was very easy as the XS's
>> DSL connection has a static IP.  OpenDNS provides different filtering
>> options, which you can customize as necessary.  Being in the US, CIPA
>> compliance is absolutely vital to retain certain federal funding, and
>> OpenD

Re: Life in an insecure world

2009-02-04 Thread Reuben K. Caron


Daniel Drake wrote:
> 2009/2/4 John Watlington :
>   
>> I insist on b) in order to prevent inadvertent "bricking" of laptops
>> by typing "enable-security",
>> 
>
> Are you concerned that there is a realistic and common use case when a
> particular type of user would want or need to run enable-security?
>   
Yes, I was particularly thinking of you and your experience in Ethiopia
and the difficulties you faced to re-secure the laptops. I prefer to
think of it as: Is there a realistic and common use case for when a
*deployment* would want or need to run enable-security.

Regards,
Reuben
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


[Server-devel] Upgrade to 0.5.1

2009-01-27 Thread Reuben K. Caron
There seems to be a differing set of instructions on how to upgrade:

from the wiki:
http://wiki.laptop.org/go/XS_Installing_Software#Upgrading_from_XS_0.4_or_earlier

"If you are upgrading from XS 0.4 or earlier, the process is similar to
a new installation, with some minor changes. In the menu shown right
after booting, you should choose the (preselected) 'Install with
kickstart' option, press the Tab key, and add 'upgradeany' to the boot
configuration line. After adding that line, press enter twice.
With this extra option, Anaconda will recognise the old installation and
will offer to upgrade."

the second from server-devel:

http://lists.laptop.org/pipermail/server-devel/2008-November/002493.html

"Just to make this clear, for the upgrade to work you need to select one
of the top two options, hit tab and then append "upgradeany". The
default selection has the ks.cfg file which prevent the upgrade choice
from appearing as an option in anaconda. (thinks it's the partitioning
info being present)"

Passing upgradeany to the kickstart option does not work. Passing
upgradeany to the top two options does work.

Two questions:

1. Which should be used.
2. If you pass upgradeany to one of the top two options that does not
use the kickstart, do you lose any functionalality?

Thanks,
Reuben



___
Server-devel mailing list
server-de...@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XO

2009-01-08 Thread Reuben K. Caron
Jerry,

This should jump start you into the right direction:

http://wiki.laptop.org/go/No-Fail_Upgrade

Good Luck,
Reuben


Jerry Vonau wrote:
> Hi All:
>
> Ok, I just received my XOs, being an absolute newbie with the XO, if all
> I see upon booting is a gray screen and the XO logo, and I don't get
> asked for a name as shown at:
> http://www.laptop.org/8.2.0/manual/XO_Starting.html
> I need to load an os image on this puppy, correct? 
>
> If I hold down the "game keys" I see "school-mesh-0 found" that good
> right? ;-) 
>
> Just need to know where I'm at before I start to play
>
> Guess its time to get a developer key to be able fiddle with XS on OX.
>
>
> Jerry
>
> PS
> Sorry if you get this twice, wrong source email address the first time.
>
> ___
> Server-devel mailing list
> server-de...@lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
>   

-- 
Reuben K. Caron
Country Support Engineer
One Laptop per Child
Mobile: +1-617-230-3893
reu...@laptop.org
Deployments Support <http://wiki.laptop.org/go/Deployments_Support>
___
Server-devel mailing list
server-de...@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: Fedora Desktop on XO

2009-01-06 Thread Reuben K. Caron

Peter Robinson wrote:

Hi Chris,

  

  > I would remove the old fc9 build from the olpc_development repo (or
  > even have one for 8.2.0 and one for 9.1.0 so they don't get mixed
  > up).  Surely it should be pulling cyrus-sasl from the Fedora repos
  > anyway?

I've just pushed a patch to pilgrim's joyride branch to switch the
baseurl that gets written out in /etc/yum.repos.d/olpc-development.repo
from http://xs-dev.laptop.org/~cscott/repos/dist-olpc3-devel/ to
http://kojipkgs.fedoraproject.org/static-repos/dist-olpc4-build-current/i386/

(olpc3 is our 8.2/F9 repo, and olpc4 is the 9.1/F10 repo, so Joyride
should have been switched to write out the olpc4 baseurl when we
created the new repo.)

And, after the change, we don't have depsolving problems any more!
Here's the list of packages to be downloaded -- the next question is
going to be how to avoid many of these dependencies.  Perhaps instead
of trying the groupinstall, we should be hand-picking a smaller base
of GNOME packages from this list?



Well its the list up to the "Installing for dependencies" that is
explicitly requested, all the below is pulled in for deps. I'm not
sure how pilgrim builds the list but I think if it uses kickstart like
the other fedora build systems do you should be able to do a specific
"-packagename" and its removed from the list.

  
Does pilgrim (Puritan?) use "kickstart" like files? If so, how? If not, 
why do we not create builds using what seems to be fedora's standard 
build system?
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Fixed Puritan bug on F10/Intrepid

2008-12-16 Thread Reuben K. Caron
Michael,

The build was successfully made on both F10 and Intrepid.

How could I slip in a language pack?
How could I set the Timezone for the build?
How could I set the default language for sugar?

Regards,
Reuben


Michael Stone wrote:
> Reuben,
>
> I was able to reproduce and work around the rpmdb version problem you
> found today on a new Intrepid vm I created on weka.l.o. Would you mind
> retesting with my new 767 compilation?
> (To do so, just wipe the compilation and re-clone it. I modified the
> cloning instructions so that, in the future, you'd be able to run 'git
> pull' to update.)
>
> Thanks,
>
> Michael
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] Amateurish Workaround to Get Bonding to Work With eth1

2008-12-12 Thread Reuben K. Caron
Yes it matches:

[r...@schoolserver ~]# sha1sum /etc/yum.conf
8970c4d97f3f90eb17520ea3d8590b24bc7f4691  /etc/yum.conf




Martin Langhoff wrote:
> On Fri, Dec 12, 2008 at 6:10 PM, Reuben K. Caron  wrote:
>   
>> Yes, there is a yum.conf.rpmnew present (attached)
>> No, it has never been touched.
>> 
>
> I've tested this today, and what you're finding is right - the upgrade
> leaves the old yum.conf -- now, I saw this problem early and added a
> workaround. Look at
> http://dev.laptop.org/git?p=projects/xs-config;a=blob;f=xs-config.spec.in;h=0cdd22d2626283959e503e0c9cfb61c2d1a9371a;hb=0ec20a942b52be2c5dd0d448f2565faadcacc102#l177
>
> The question is why that code isn't taking care of it. I think I know
> why -- the sha1sum doesn't match on my test machine... researchign a
> bit...
>
> it turns out that there have been 2 different yum.conf files,
> depending in the vintage of your XS install. One in the releases
> before 0.4 and then the one we shipped for xs-0.4. The sha1 listed
> there is the right one for pre-0.4 (167, etc).
>
> The sha1s -- taken from GIT, but corroborated on my test XS installs here are
>
>   ## From XS build 167
>   $ git checkout v0.2.10
>   $ sha1sum fsroot.olpc.img/etc/yum.conf
>   2f12835cb11f100be169abcc8bff72525a25cff7  fsroot.olpc.img/etc/yum.conf
>
>   # from XS 0.4
>   $ git checkout v0.3.6
>   $ sha1sum altfiles/etc/yum.conf.in
>   8970c4d97f3f90eb17520ea3d8590b24bc7f4691  altfiles/etc/yum.conf.in
>
> Reuben, can you confirm that your /etc/yum.conf matches mine (8970c...)?
>
> cheers,
>
>
>
> m
>   

-- 
Reuben K. Caron
Country Support Engineer
One Laptop per Child
Mobile: +1-617-230-3893
reu...@laptop.org
Deployments Support <http://wiki.laptop.org/go/Deployments_Support>
___
Server-devel mailing list
server-de...@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Amateurish Workaround to Get Bonding to Work With eth1

2008-12-12 Thread Reuben K. Caron


Jerry Vonau wrote:
> Reuben K. Caron wrote:
>   
>> Martin Langhoff wrote:
>> 
>>> On Thu, Dec 11, 2008 at 7:06 PM, Reuben K. Caron  wrote:
>>>   
>>>   
>>>>yum repolist --enablerepo=*
>>>> repolist: 0
>>>> 
>>>> 
>>> ...
>>>   
>>>   
>>>> This is on an upgrade from 0.4
>>>> 
>>>> 
>>> Doesn't sound good. Some more questions --
>>>
>>>  - can you email me any install / upgrade logs in /root/ ?
>>>   
>>>   
>> attached
>> 
>>>  - what does /etc/yum.conf say?
>>>   
>>>   
>> attached
>> 
>
> Reuben, is there an /etc/yum.conf.rpmnew present on your box? If so, did
> you modify your /etc/yum.conf prior to the upgrade in anyway?
>   

Yes, there is a yum.conf.rpmnew present (attached)
No, it has never been touched.


> ### OLPC School server yum configuration
> ###
> ### NOTE: yum.conf.in is the master file. Edit
> ###   the master file if you want your changes to persist.
> ###   After editing the master file, do
> ###
> ###  `make -f xs-config.make `
> ###
> ### Also see /usr/share/doc/xs-config-/README for more
> ### details, including how to RECOVER changes you have made if
> ### they are overwritten.
> ###
> [main]
> cachedir=/var/cache/yum
> keepcache=0
> debuglevel=2
> logfile=/var/log/yum.log
> exactarch=1
> obsoletes=1
> gpgcheck=1
> plugins=1
> metadata_expire=1800
>
> # PUT YOUR REPOS IN separate files named file.repo in...
> reposdir=/etc/yum.repos.olpc.d
>
> ### NOTE that we use an alternative
> ### repo directory until http://dev.laptop.org/ticket/8033
> ### is fixed. So the default
> ## reposdir /etc/yum.repos.d
> ### is not enabled.
>
>
> That is the old yum.conf from F7, don't think the test "$SHA1SUM =
> $BADSHA1SUM" to move the yum.conf.rpmnew to yum.conf was matched.
>
>   
>>>  - have you got files in /etc/yum.repos.d named olpcxs* ?
>>>   
>>>   
>> [r...@schoolserver etc]# ls /etc/yum.repos.d/
>> fedora-rawhide.repo  fedora-updates-newkey.repo  olpcxs.repo
>> fedora.repo  fedora-updates-testing-newkey.repo  olpcxs-testing.repo
>>
>>
>> 
> looks good.
>
> Jerry
> ___
> Server-devel mailing list
> server-de...@lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
>   

[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3

#  This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
#  It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
___
Server-devel mailing list
server-de...@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Amateurish Workaround to Get Bonding to Work With eth1

2008-12-12 Thread Reuben K. Caron


Martin Langhoff wrote:
> On Thu, Dec 11, 2008 at 7:06 PM, Reuben K. Caron  wrote:
>   
>>yum repolist --enablerepo=*
>> repolist: 0
>> 
> ...
>   
>> This is on an upgrade from 0.4
>> 
>
> Doesn't sound good. Some more questions --
>
>  - can you email me any install / upgrade logs in /root/ ?
>   
attached
>  - what does /etc/yum.conf say?
>   
attached
>  - have you got files in /etc/yum.repos.d named olpcxs* ?
>   
[r...@schoolserver etc]# ls /etc/yum.repos.d/
fedora-rawhide.repo  fedora-updates-newkey.repo  olpcxs.repo
fedora.repo  fedora-updates-testing-newkey.repo  olpcxs-testing.repo


>  - what does 'rpm -qa xs-release' say?
>   
xs-release-9-0.4.13.noarch
>   
>> Also after installing xs-config-0.5.9.g13a7973-1.noarch.rpm, I get the
>> following when running /etc/sysconfig/olpc-scripts/domain_config:
>>
>> Setting the base dns name to xs4.org
>> find: ./domain_config.d/: No such file or directory
>> 
>
> I cannot repro that problem either in a clean xs-0.5 with the latest
> xs-config, so I'm installing 0.4, going to configure it, upgrade to
> 0.5, update xs-config, and see what happens.
>
> cheers,
>
>
>
> m
>   
### OLPC School server yum configuration
###
### NOTE: yum.conf.in is the master file. Edit
###   the master file if you want your changes to persist.
###   After editing the master file, do 
###
###  `make -f xs-config.make `
###   
### Also see /usr/share/doc/xs-config-/README for more
### details, including how to RECOVER changes you have made if
### they are overwritten.
###
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800

# PUT YOUR REPOS IN separate files named file.repo in...
reposdir=/etc/yum.repos.olpc.d

### NOTE that we use an alternative 
### repo directory until http://dev.laptop.org/ticket/8033
### is fixed. So the default
## reposdir /etc/yum.repos.d
### is not enabled.
<86>Dec  3 09:47:47 useradd[1773]: failed adding user `distcache', data deleted
<86>Dec  3 09:48:14 useradd[1844]: failed adding user `tcpdump', data deleted
<86>Dec  3 09:48:14 useradd[1848]: failed adding user `nscd', data deleted
<86>Dec  3 09:48:16 useradd[1861]: failed adding user `radvd', data deleted
<86>Dec  3 09:48:28 userdel[1893]: delete user `rpc'

<86>Dec  3 09:48:28 userdel[1893]: removed group `rpc' owned by `rpc'

<86>Dec  3 09:48:28 groupadd[1900]: new group: name=rpc, GID=32
<86>Dec  3 09:48:28 useradd[1904]: new user: name=rpc, UID=32, GID=32, 
home=/var/lib/rpcbind, shell=/sbin/nologin
<86>Dec  3 09:48:28 useradd[1913]: failed adding user `ntp', data deleted
<86>Dec  3 09:50:01 useradd[2274]: failed adding user `dbus', data deleted
<86>Dec  3 09:50:29 useradd[2328]: new group: name=polkituser, GID=87
<86>Dec  3 09:50:29 useradd[2328]: new user: name=polkituser, UID=87, GID=87, 
home=/, shell=/sbin/nologin
<86>Dec  3 09:51:04 useradd[2426]: failed adding user `apache', data deleted
<86>Dec  3 09:51:08 useradd[2438]: failed adding user `sshd', data deleted
<86>Dec  3 09:51:40 groupadd[6431]: new group: name=postgres, GID=26
<86>Dec  3 09:51:40 useradd[6435]: new user: name=postgres, UID=26, GID=26, 
home=/var/lib/pgsql, shell=/bin/bash
<13>Dec  3 09:51:53 olpc_idmgr: Starting OLPC ID Manager
<13>Dec  3 09:51:53 olpc_idmgr: Starting OLPC ID Manager
<86>Dec  3 09:51:54 groupadd[6543]: new group: name=xs-activation, GID=495
<86>Dec  3 09:51:54 useradd[6548]: new user: name=xs-activation, UID=496, 
GID=495, home=/library/xs-activation, shell=/sbin/nologin
<86>Dec  3 09:51:56 useradd[6607]: failed adding user `ejabberd', data deleted
<86>Dec  3 09:52:07 useradd[6660]: failed adding user `haldaemon', data deleted
<86>Dec  3 09:52:22 useradd[6683]: failed adding user `postfix', data deleted
<18>Dec  3 09:52:23 postfix[6686]: fatal: could not find any active network 
interfaces
<13>Dec  3 09:53:21 olpc_idmgr: Starting OLPC ID Manager
<86>Dec  3 09:53:23 runuser: pam_unix(runuser-l:session): session opened for 
user postgres by (uid=0)
<86>Dec  3 09:53:34 runuser: pam_unix(runuser-l:session): session closed for 
user postgres
<86>Dec  3 09:53:53 runuser: pam_unix(runuser-l:session): session opened for 
user ejabberd by (uid=0)
<86>Dec  3 09:53:55 runuser: pam_unix(runuser-l:session): session closed for 
user ejabberd
<13>Dec  3 09:54:12 olpc_idmgr: Starting OLPC ID Manager
___
Server-devel mailing list
server-de...@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Amateurish Workaround to Get Bonding to Work With eth1

2008-12-11 Thread Reuben K. Caron
Alright, so I am still seeing problems. 

yum --enablerepo=olpcxstesting install xs-config , did not work for me.

So I:

-wget 
http://xs-dev.laptop.org/xsrepos/testing/olpc/9/i386/xs-config-0.5.7.g11aaacf-1.noarch.rpm

-yum localinstall xs-config-0.5.7.g11aaacf-1.noarch.rpm --nogpgcheck

- reran domain config
-check hostname
-restart

log file still shows:

Dec 11 09:33:06 schoolserver kernel: bonding: lanbond0 is being created...
Dec 11 09:33:06 schoolserver kernel: ADDRCONF(NETDEV_UP): lanbond0: link
is not ready

until I issue the:

-ifenslave lanbond0 eth1

which results in:

Dec 11 09:52:47 schoolserver kernel: bonding: lanbond0: enslaving eth1
as an active interface with an up link.
Dec 11 09:52:47 schoolserver kernel: ADDRCONF(NETDEV_CHANGE): lanbond0:
link becomes ready

and then dhcp works.



Martin Langhoff wrote:
> On Wed, Dec 10, 2008 at 6:09 PM, Martin Langhoff > I spotted exactly
> the same difference and tested it -- does not seem
>   
>> to work. Hope to get to the bottom of it.
>> 
>
> Alright, fixed. Credit to Anna and Jerry for narrowing down on the issue.
>
> The actual problem is laughably simple -- late in the dev cycle of 0.5
> a typo sneaked in. A minor edit of ifcfg-eth1 fixes it, see:
>
> http://dev.laptop.org/git?p=projects/xs-config;a=commitdiff;h=acd64ab3d2342fbda08a944e31878db6b3b563f2
>
> In any case, you can grab the rpm with the fix from
>
> http://xs-dev.laptop.org/xsrepos/testing/olpc/9/i386/xs-config-0.5.7.g11aaacf-1.noarch.rpm
>
> or perform
>
> yum --enablerepo=olpcxstesting install xs-config
>
> thanks everyone -- specially Anna -- for you help and patience.
>
> cheers,
>
>
>
> martin
>   

-- 
Reuben K. Caron
Country Support Engineer
One Laptop per Child
Mobile: +1-617-230-3893
[EMAIL PROTECTED]
Deployments Support <http://wiki.laptop.org/go/Deployments_Support>
___
Server-devel mailing list
[EMAIL PROTECTED]
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Amateurish Workaround to Get Bonding to Work With eth1

2008-12-10 Thread Reuben K. Caron
In my tests the following works on a fresh installation without
modifying the xs_bonding:

Put this in /etc/rc.local

ifenslave lanbond0 eth1

Reboot.  And there we go:



Anna wrote:
> This is probably far from ideal, but it works for me and I'm putting it out
> there in case you're messing with XS 0.5 and need to have eth1 working now
> so you can test other stuff.  I'm sure there's a more elegant solution.
>
> Put this in /etc/rc.local
>
> ifenslave lanbond0 eth1
>
> Reboot.  And there we go:
>
> [EMAIL PROTECTED] ~]# ifconfig eth1
> eth1  Link encap:Ethernet  HWaddr 00:0D:56:05:7C:DA
>   UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
>   RX packets:4348 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:5381 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:100
>   RX bytes:368480 (359.8 KiB)  TX bytes:6433735 (6.1 MiB)
>
> I've connected a few XOs to my test platform so far and haven't seen any
> unexpected issues.  I don't know if you have to edit
> /etc/modprobe.d/xs_bonding with Jerry's suggestion below, but I've got that
> in there.
>
> options lanbond0 mode=active-backup miimon=100
> options mshbond0 mode=active-backup miimon=100
> options mshbond1 mode=active-backup miimon=100
> options mshbond2 mode=active-backup miimon=100
>
> Of course, you can just run ifenslave lanbond0 eth1, but it doesn't persist
> on reboot.
>
> Anna Schoolfield
> Birmingham
>
>   
> 
>
> ___
> Server-devel mailing list
> [EMAIL PROTECTED]
> http://lists.laptop.org/listinfo/server-devel
>   

___
Server-devel mailing list
[EMAIL PROTECTED]
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS 0.5 Second Attempt at eth1

2008-12-05 Thread Reuben K. Caron
Now that I have DHCPD running on a clean install. I can report that it
still does not hand out IPs. When I assign my laptop ethernet adapter as
172.18.96.1 and 172.18.0.1 I do get an ARP error from the server;
however, when I bump it up one address 172.18.0.2 it still does not ping.



Martin Langhoff wrote:
> On Fri, Dec 5, 2008 at 12:06 AM, Jerry Vonau <[EMAIL PROTECTED]> wrote:
>   
>> Anna wrote:
>> 
>>> So, what are the repercussions of this?
>>>   
>> Not sure... Martin?
>> 
>
> Good sleuthing! Bonding-related errors was the last thing I'd
> imagined, and with the e1000 driver too -- it's widely used and
> generally well maintained.
>
> Anna, what's your NIC? Ideally, we want to know the marketing
> make/name/model and what lspci reports for it. Perhaps I can get my
> hands on the same hw you have.
>
> Googling a bit for e1000 and bonding to see if there are any known
> issues I see quite a bit of traffic back in 2006/2007 with e1000
> devices coming up / powering up late and confusing the bond drivers
> and sometimes bad performance. But nothing current, it looks like it
> got sorted out.
>
> What's your other NIC? If you run xs-swapnics (and swap the cables
> too), do things work better with the bonding configuration we're
> shipping?
>
> Also - I'm trying to think this through - I am fairly certain that one
> of the test machines in Wellington has an e1000 and it worked
> correctly for me (with a crossover cable to the AP).
>
> cheers,
>
>
>
> m
>   

-- 
Reuben K. Caron
Country Support Engineer
One Laptop per Child
Mobile: +1-617-230-3893
[EMAIL PROTECTED]
Deployments Support <http://wiki.laptop.org/go/Deployments_Support>
___
Server-devel mailing list
[EMAIL PROTECTED]
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS 0.5 Second Attempt at eth1

2008-12-05 Thread Reuben K. Caron
After doing a clean install 4 times and dhcpd not starting I
investigated a bit more and I found:

When I

cd /etc/sysconfig/olpc-scripts
./domain_config xs5.org

It creates the xs_domain_name file in /etc/sysconfig/olpc-scripts/

However, /etc/sysconfig/dhcpd looks for this file in /etc/sysconfig/

When I copy /etc/sysconfig/olpc-scripts/xs_domain_name to
/etc/sysconfig/xs_domain_name; then start dhcpd it correctly generates
the config files and starts up.

For completeness I then deleted
/etc/sysconfig/olpc-scripts/xs_domain_name and
/etc/sysconfig/xs_domain_name.

Then ran: /etc/sysconfig/olpc-scripts/domain_config xs5.org ; this does
generate xs_domain_name in the correct /etc/sysconfig directory.

Reuben




Anna wrote:
> On Thu, Dec 4, 2008 at 2:00 PM, Reuben K. Caron <[EMAIL PROTECTED]> wrote:
>
>   
>> Actually, I just tried a clean install and DHCP doesn't come up. When I
>> check status it continues to tell me that I must run network-config and
>> domain-config before DHPCd can start; even though I have run those
>> repeatedly.
>>
>> Reuben
>> 
>
>
> I did the 0.5 clean install on both machines and dhcpd came up on each one
> after domain_config.  I noticed it worked before I ran network_config, too,
> for whatever reason.
>
> [EMAIL PROTECTED] ~]# service dhcpd status
> /etc /
> make: `dhcpd-xs.conf' is up to date.
> /
> dhcpd (pid 3451) is running...
>
> [EMAIL PROTECTED] ~]# service dhcpd status
> /etc /
> make: `dhcpd-xs.conf' is up to date.
> /
> dhcpd (pid 3176) is running...
>
> On the first machine, I had to manually set the hostname back to
> alabamaxo.org for the time being so jabber would work, but that's another
> issue for later.
>
> Anna
>
>   
> 
>
> ___
> Server-devel mailing list
> [EMAIL PROTECTED]
> http://lists.laptop.org/listinfo/server-devel
>   


___
Server-devel mailing list
[EMAIL PROTECTED]
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS 0.5 Second Attempt at eth1

2008-12-04 Thread Reuben K. Caron
Actually, I just tried a clean install and DHCP doesn't come up. When I
check status it continues to tell me that I must run network-config and
domain-config before DHPCd can start; even though I have run those
repeatedly.

Reuben


Martin Langhoff wrote:
>
>  Clean 0.5
> installs work better for you?
>
> cheers,
>
>
>
> m
>   
___
Server-devel mailing list
[EMAIL PROTECTED]
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS 0.5 Second Attempt at eth1

2008-12-04 Thread Reuben K. Caron


Martin Langhoff wrote:
> On Thu, Dec 4, 2008 at 1:14 PM, Reuben K. Caron <[EMAIL PROTECTED]> wrote:
>   
>> I too am having problems with DHCP (and ejabberd) on XS 0.5.
>> 
>
> That's interesting! Thanks for the writeup...
>
>   
>> I reviewed /etc/sysconfig/olpc-scripts/dhcpd.conf.1 - It did not match
>> dhcpd-xs.conf
>>
>> I ran ./network-config 1
>> I ran ./domain-config xs4.org (i know it isn't xs4 but I'm maintaining
>> domain for posterity)
>> 
>
> *yes* - you'll notice in the release notes... a special section that
> talks about upgrading, and asks you to run those commands ;-)
>   
http://wiki.laptop.org/go/XS_Installing_Software#Upgrading_from_XS_0.4_or_earlier

Does not include network-config. Should it?

>   
>> Rebooted.
>>
>> dhcpd-xs.conf now has the declaration for 172.18.96
>>
>> DHCP is started but still does not hand out an IP.
>> 
>
> That's weird.
>
>  - any further error msgs on the logs?
>  - maybe the XS is connected to the AP with a straight cable? You
> might need a crossover...
>  - if you connect a laptop to it via a crossover, can it get a dhcp lease?
>  - maybe the AP is doing NAT? -
>
>   
XS Lan connected to Switch. Bridge AP connected to switch does not pass
an IP. Computer connected to Switch does not get an IP.


___
Server-devel mailing list
[EMAIL PROTECTED]
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS 0.5 Second Attempt at eth1

2008-12-04 Thread Reuben K. Caron
Yes, it is on the server. However isn't it a bit chicken and egg setting
an ip address that will be on the wire given that the device on the wire
is waiting for an ip address from the server?


Jerry Vonau wrote:
> Reuben K. Caron wrote:
>> Thanks for clarification. Still no go:
>>
>> Dec  4 12:12:24 schoolserver1 kernel: eth0: link up, 100Mbps,
>> full-duplex, lpa 0xC1E1
>> Dec  4 12:12:24 schoolserver1 kernel: eth0: link up, 100Mbps,
>> full-duplex, lpa 0xC1E1
>> Dec  4 12:12:24 schoolserver1 kernel: Ethernet Channel Bonding Driver:
>> v3.3.0 (June 10, 2008)
>> Dec  4 12:12:24 schoolserver1 kernel: bonding: ARP monitoring set to
>> 1000 ms, validate none, with 1 target(s): 172.18.0.1
>
> 172.18.0.1 is on the server, no? Think you need to use something that
> is connected to the wire.
>
> Jerry
>
>
>

___
Server-devel mailing list
[EMAIL PROTECTED]
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS - XO archiving and backup (was Re: [OLPC India] Issues on the ground )

2008-11-10 Thread Reuben K. Caron
XS 0.4 does include a backup and restore functionality. The restore is
through a web interface that can be accessed at
http://schoolserver/ds-restore. The one caveat to this functionality is
that it requires the XO to be running 8.2 (in order for the backup to run).


Bryan Berry wrote:
> On Mon, 2008-11-10 at 11:44 +0530, JV Avadhanulu wrote:
>   
>> Dear Bryan,
>> I have a question.
>> Are children able to transfer files to the XS Server over Wi-Fi in your 
>> deployments?
>> 
>
> Our deployments are still using XS-163, which does not have the
> xs-backup method. We hope to migrate to a newer version of the XS later
> this month.
>
> To my knowledge, the XO's can back up to the XS but there still is no
> way for children to browse their backups or restore from them. My
> knowledge may be out of date though. Martin Langhoff knows much better
> than I.
>
>   


___
Server-devel mailing list
[EMAIL PROTECTED]
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] testing XS-RSYNC

2008-10-08 Thread Reuben K. Caron
Great, thanks. I was steered to the correct files and got it to work 
from both the USB and command line. The files I used can be found at:


http://dev.laptop.org/~reuben/xs-xobuilds/

Out of curiosity why do we require the tree files which come from:

http://pilgrim.laptop.org/~pilgrim/xo-1/streams/8.2/build767/devel_jffs2/

instead of the files which we document and publicize more frequently at:

http://download.laptop.org/xo-1/os/candidate/767/jffs2/
or
http://download.laptop.org/xo-1/os/official/711/jffs2/

FYI: updating build 766 to 767 WORKED using the command:

olpc-update --server schoolserver 
xo-1-olpc-stream-8.2-build-767-20081001_1616-devel_jffs2


Regards,
Reuben



Martin Langhoff wrote:

The script needs the "tree" file and its corresponding .md5, not the
'tar.gz' file. The rest seems correct.

cheers,



m



On Thu, Oct 9, 2008 at 7:13 AM, Reuben K. Caron <[EMAIL PROTECTED]> wrote:
  

I'm attempting to populate /library/pub/builds following the link:

http://wiki.laptop.org/go/XS-rsync

I have tried making a usb key and tried from the command line.

Could someone please review the files I'm attempting this with located at:

http://dev.laptop.org/~reuben/xs-xobuilds/

Thanks,
Reuben
___
Server-devel mailing list
[EMAIL PROTECTED]
http://lists.laptop.org/listinfo/server-devel






  


--
Reuben K. Caron
Country Support Engineer
One Laptop per Child
Mobile: +1-617-230-3893
[EMAIL PROTECTED]

___
Server-devel mailing list
[EMAIL PROTECTED]
http://lists.laptop.org/listinfo/server-devel


[Server-devel] testing XS-RSYNC

2008-10-08 Thread Reuben K. Caron
I'm attempting to populate /library/pub/builds following the link:

http://wiki.laptop.org/go/XS-rsync

I have tried making a usb key and tried from the command line.

Could someone please review the files I'm attempting this with located at:

http://dev.laptop.org/~reuben/xs-xobuilds/

Thanks,
Reuben
___
Server-devel mailing list
[EMAIL PROTECTED]
http://lists.laptop.org/listinfo/server-devel


suggestions for children with disabilities

2008-09-25 Thread Reuben K. Caron
Are there any suggestions or activities that address the needs of children
with disabilities?  For instance, at the moment we have a request
for assistance with students with  visual impairments.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel