<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SVU's blog &#187; olpc</title>
	<atom:link href="http://blogs.gnome.org/sudaltsov/category/olpc/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.gnome.org/sudaltsov</link>
	<description>Just another GNOME Blogs weblog</description>
	<lastBuildDate>Thu, 08 Oct 2009 11:32:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Useful OLPC</title>
		<link>http://blogs.gnome.org/sudaltsov/2008/10/14/useful-olpc/</link>
		<comments>http://blogs.gnome.org/sudaltsov/2008/10/14/useful-olpc/#comments</comments>
		<pubDate>Tue, 14 Oct 2008 13:06:56 +0000</pubDate>
		<dc:creator>Sergey Udaltsov</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[olpc]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/sudaltsov/?p=155</guid>
		<description><![CDATA[So far, the &#8220;service machine&#8221; in my house was Power G5 running Ubuntu. 24*7. The main functions (beside being a desktop) was http proxying (squid + dansguardian) and X10 service (heyu).
Trying to save on my energy bills, and to make something useful of nice green OLPC laptop, I&#8217;ve decided to move these services to OLPC [...]]]></description>
			<content:encoded><![CDATA[<p>So far, the &#8220;service machine&#8221; in my house was Power G5 running Ubuntu. 24*7. The main functions (beside being a desktop) was http proxying (squid + dansguardian) and X10 service (<a href="http://heyu.tanj.com/">heyu</a>).</p>
<p>Trying to save on my energy bills, and to make something useful of nice green OLPC laptop, I&#8217;ve decided to move these services to OLPC &#8211; that way, I could afford shutting down the Mac, at least sometimes (it just eats the energy).</p>
<p>So, yesterday I &#8220;yum install&#8221;ed dansguardian and tinyproxy (instead of squid) &#8211; and tried to make a transparent proxy of it. Unfortunately, the transparent proxying is disabled in Fedora&#8217;s build of the tinyproxy. So, I had to rebuild it. It was some kind of a challenge &#8211; the only machines I got was Mac (Power G5, as I said) and another laptop (Ubuntu x86_64). How would you build 32-bit x86 app in that world? Immediately I found that 64-bit Ubuntu cannot build 32-bit apps. At least I could not find the way. Well, &#8220;gcc -m32&#8243; works somehow &#8211; but some headers (like stub-32.h) and gcc libs and obj files are missing. Installing ia32-libs does not help (and they do not provide -dev package). But I was really lucky to have &#8230; some wreckage of (!!!) Maemo SDK (which I did not manage to enable under 64-bit OS BTW). Which includes, among other things, 32-bit gcc with all the necessary stuff. So &#8230; chrooting to that environment allowed me to build tinyproxy binary with transparent proxying support (even though I had to patch it a bit &#8211; there is an <a href="https://www.banu.com/tinyproxy/ticket/2">issue with binding</a>). Now, this all is up and running.</p>
<p>Next thing would be to build heyu utility for x86 &#8211; I am going to do it the same way, using Maemo SDK. My X10 will be hosted on OLPC as well.</p>
<p>So, a bit of numbers. It is claimed that OLPC consumes about <a href="http://wiki.mobileread.com/wiki/Ultra-cheap_sub-notebook_matrix">3W</a> of energy. According to Apple, Power G5 uses <a href="http://docs.info.apple.com/article.html?artnum=32486">140W (idle) to 604W (fully loaded)</a>. Actually, Ubuntu can not control CPU speed (constantly shows 2.0GHz) &#8211; so I guess even idle, my Mac eats around 200W. I do not even mention the 24&#8243; monitor&#8230;</p>
<p>I want to make proxy work faster, so I guess I&#8217;ll get some cheap USB Ethernet adapter &#8211; in order not to use humble wireless abilities of OLPC. Recommendations are welcome.</p>
<p>If you participated in G1G1 program last year (or thinking about doing it this year) &#8211; you can do something similar with that nice little piece of hardware. It is much more than just a sexy toy.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/sudaltsov/2008/10/14/useful-olpc/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
