Archive for the ‘OLPC’ Category

OLPC browser throwing sec_error_unknown_issuer

Saturday, March 8th, 2008

I had the opportunity to visit a school today. Not quite a school you’ll expect to roll-out a deployment of OLPCs (its a top-notch boarding school, with yearly fees that cost as much as completing a 4-year university degree), but a school in Victoria, nonetheless.

Microsoft products are entrenched in the Victorian school system. It so happens that Microsoft ISA Server 2006 is used to power mail for the students. Trying to access mail via the browser, proved to be impossible with the OLPC.

OLPC browser failing on secure connections (screen 1)
Secure Connection Failed: The certificate is not trusted because the issuer certificate is unknown

The error code received: sec_error_unknown_issuer. So I thought I’d try out giving an exception.

OLPC browser failing on secure connections (screen 2)
Getting an exception? You need to find advanced encryption settings

Exceptions are impossible to get, seeing that there’s no way to get to the advanced encryption settings location. After coming home, I decided to check up on this (which involves hopping on to the developers IRC channel). Turns out the ticket is #5534: Browser cannot connect to sites with non-standard Certificate Authorities.

I added to the ticket, mainly because the MS ISA Server 2006 actually had a valid certificate, signed by VeriSign. It works fine in Firefox, but just not on the OLPC. Apparently, there’s an FAQ about this too: How to ignore SSL warning about invalid security certificate? However, the idea of installing Opera, just doesn’t bode well with me - the browser itself, must work.

Time to get hacking…

Technorati Tags: , , , , , , ,

OLPC, by Jim Gettys

Tuesday, January 29th, 2008

Some notes from Jim’s OLPC talk, which was full. I’ve added thoughts about (rural) Malaysia, because its naturally close to my heart. I’ve not had a similar opportunity to go around rural Australia (does it even exist?), and things are (I think) a lot better in Australia, than they are in Malaysia… I’m sure Jim’s talk video will be up soon, and his slides are worth going through - some interesting pictures there too.

Everybody wants the best for their kids. Most kids in the world, have no electricity at home :( Parents, themselves, might be illiterate or aware of the world. Teaching is not a valued profession by society, sometimes, and worse, books sometimes may not exist. Classrooms? You might not be so lucky.

So, what is the OLPC trying to achieve? A few hours of access in the computer lab every week, is not enough. Children lack opportunity, not capability. We should focus on high-quality education for all.

If schools exist in some places, there are insufficient classrooms. True, take Malaysia for example - there are two sessions to ensure folk get an education (morning, and afternoon sessions). This makes one get a fewer hours per day in school. Schools are often very crowded, so cables don’t really work.

The OLPC has a sunlight readable screen. This means classrooms can be outside. This won’t really affect Malaysians, seeing that there are actually classrooms. Electricity, might be hard to come by in some rural areas, but there are at least classrooms (or cabins, even).

In e-book mode, the OLPC runs for about 13 hours in B&W mode, and 8 hours in colour mode.

Parents tend to not be computer literate. Girls tend to have lower literacy than boys. Do we have fonts, for said languages? Does a computer interface (or even Sugar) apply, because we base our UI on metaphors?

Teachers, often only have 5-6 years of schooling themselves. Luckily in Malaysia, there are teacher training colleges, and you don’t become a teacher, unless you’ve gone through teacher training. However, teaching in Malaysia, does seem like an undesirable job (low paying, for example, might be an answer). One laptop/teacher? I honestly don’t even think this has been achieved in Malaysia.

What does one do about drop outs? Logistics, sometimes make it not feasible, for one to get to school, every day. Even in Malaysia, we know of people spending 2 hours to walk, to get to school. These stories move you, and you wonder, if its possible that they don’t have to go to school daily. People in the Klang Valley (read: Kuala Lumpur and surrounds) don’t even have electricity (or can’t afford it).

Regular laptops take about 10-20 watts, but the OLPC goal is 2W! They’re not there yet, but they’re getting there. 3-5W isn’t good enough.

A small child can generate 5-10 watts. Its a 21 watt battery. So the idea of hand cranking, too much is not good. Jim passed around a hand crank, and a solar panel. Both cost about the same, about USD$12-15. The solar panel does 5W, and costs about USD$12.

Mesh network, demands that the wireless is always on, otherwise, packets will not be forwarded.

Whats the CPU, on average, doing? Usually just refreshing the screen, and forwarding packets. Incidentally, the OLPC screens use LEDs - this makes them easy to recycle. The OLPC is an environmentally friendly laptop!

The OLPC actually turns off the CPU and most of the system - it just keeps the wireless and mostly, the display on. They use a DCON chip, and Marvell’s wireless chipset allows this to work well. During e-book reading, you’re only using 1.5-2.5 watts, depending on the screen and wireless use (so the 21 watt battery will do wonders).

Generators at schools, means that there’s a great cost, for fuel. And fuel prices are going up. So power for regular laptops, suck.

Jim highly recommends us to read Three Cups of Tea. Its been on the New York Times bestseller list for quite a while.

I noticed someone using the hand crank in the talk. The hand crank, can be mounted to a table, by the side, and then cranked. Very smart design. It however, does make noise. Imagine a classroom filled with folk, cranking their OLPCs? I don’t think the teacher will be very pleased.

The OLPC’s are hardy. You want to ensure they survive a rainstorm or a duststorm. Accidents happen, so allow kids to repair these things. A repair station can be very far away. The machine itself, can be assembled and disassembled, with a screwdriver. This could be interesting if its sent around Malaysia - rural areas in Sabah/Sarawak, and probably on the Peninsular, will definitely benefit from this.

Mountains are great for the network. Speaking to David Woodhouse earlier, and he mentioned that dry climates (like what we get in Melbourne, and generally the rest of Australia) is great for the mesh network. However, humidity, is generally not so good - this can affect Malaysia, especially during the monsoon season, the humidity goes up pretty high.

5 year life is aimed at. 2,000 battery cycles is the aim. Now, imagine replacing books? In Malaysia, 5 years means 5 years of either secondary education, or 5 years of primary education (well, its 6, but with the OLPC, I can imagine kids get to skip grades…) Books are really expensive, and while going to the schools are generally free, its not free to get books. Students going without books, is just silly. It realistically seems that the OLPC might be ideal to kids in primary school, rather than secondary school. I don’t actually know if its expandable for learning biology, chemistry, physics, etc.

The “Show Source” key exists. Learn, learning, by debugging!

The aim is to create children that will be both consumers, and creators. This I see benefiting not only Malaysia, but also Australia (ICT deficit in Australia is the largest in the budget, at something like $21 billion, and growing yearly).

Sugar: GTK+/Pango/ATK/Cairo. Python is what is used to tie it all together. Presence, allows you to build collaborative applications with each other. Take pictures, and share with people all around you. That’s what the “Share” activity in the UI is for.

How do you deal with parents who are suspicious with the OLPC, due to illiteracy? Involve them in the process. Do it upfront, don’t wait till later.

I’m actually highly moved by the OLPC. My recent travels to Vietnam, Cambodia, Thailand, India, China, and of course Malaysia, has made me think hard about what we need to do for spreading education and FLOSS. I’m sure I’ll talk about this more, later…

One Laptop Per Child

Tuesday, February 21st, 2006

There was a request to take a gander at the $100 Laptop: One Laptop Per Child (OLPC), and reading Fedora People recently made me want to snap up the opportunity to give it a go. Here are my first impressions on the emulator, known as the OLPC SDK, by Daniel Berrange.

Installation, if instructions are followed on FC-4 work fine. There are spec files to rebuild for FC-5. During the bootup sequence, I noticed that LVM was starting up, and finding no volume groups - can’t this be disabled? There doesn’t seem to be a use for LVM on the OLPC.

Once you get past the fairly slow emulator startup (its qemu based), you’ll notice that at the heart of it, you’ve got FC-5 sitting there. Very sexy.

Looking for a terminal? While gnome-terminal isn’t supplied (and probably will never be), xterm is there for the moment. Alt+F2, xterm, and you’re on your way. The root user has no password, so su - shouldn’t be a problem.

What doesn’t work with the olpc-2006_02_06_16_08.ext3 firmware image is networking. Try modprobing for ne2k-pci, and it’ll fail, mainly because 8390.ko is missing. This should be fixed with the next firmware image.

All’s not lost however. If you run file on the .ext3 firmware image, you’ll notice that it contains an x86 boot sector, code offset 0×48. A little fdisk, will show that there are 63 sectors/track, with each sector size being 512 bytes. Multiply that, get 32256, and that should be the offset to mounting the image.

sudo /sbin/losetup -o 32256 /dev/loop0 olpc-2006_02_06_16_08.ext3
sudo mount -t ext3 /dev/loop0/mnt
merrily going on making changes
sudo umount /mnt
sudo /sbin/losetup -d /dev/loop0

Its well worthwhile to not have QEMU running with the disk image - make sure it isn’t, otherwise corruption is likely. Once that happened, it was fairly trivial to get MySQL installed. So I did.


MySQL running on the OLPC

The question is… do we want 61MB of a package sitting there? It can probably be reduced in size tremendously. So can removal of /var/log and /etc/yum.repos.d/ and so on…

From reading the software task list, it doesn’t seem like there’s a focus on teaching IT to the owners of the OLPC. Does MySQL pass off as educational software, covering a database component? I don’t see OpenOffice.org being listed as something that will be on the OLPC, and the GNOME Office (Abiword and Gnumeric) don’t have a front-end for database connectivity.

I’d like to thank davidz and Daniel Berrange for assistance when needed! Oh and read his blog for little tips - the simulator debugging did come in handy.