<?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>Aptivate &#124; A Blog for ICT4D</title>
	<atom:link href="http://blog.aptivate.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.aptivate.org</link>
	<description>International I.T. Development</description>
	<lastBuildDate>Thu, 22 Jul 2010 13:45:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>System Imaging for Free using G4L</title>
		<link>http://blog.aptivate.org/2010/07/22/free-system-imaging-using-g4l/</link>
		<comments>http://blog.aptivate.org/2010/07/22/free-system-imaging-using-g4l/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 13:05:34 +0000</pubDate>
		<dc:creator>chrisw</dc:creator>
				<category><![CDATA[Engineer's Log]]></category>
		<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://blog.aptivate.org/?p=594</guid>
		<description><![CDATA[This is a copy of the notes that I wrote at AfNOG 2010 as a guide to using system imaging at future workshops. Unfortunately that wiki is not accessible without signing up for an account, so I&#8217;m posting the information here too.
How to Install Computer Labs
If you ever need to set up a large number [...]]]></description>
			<content:encoded><![CDATA[<p>This is a copy of the <a href="http://nsrc.org/workshops/2010/afnog/wiki/SystemImaging">notes</a> that I wrote at AfNOG 2010 as a guide to using system imaging at future workshops. Unfortunately that wiki is not accessible without signing up for an account, so I&#8217;m posting the information here too.</p>
<h3>How to Install Computer Labs</h3>
<p>If you ever need to set up a large number of computers in identical configurations, you have a few options:</p>
<ul>
<li>Install each one individually by hand</li>
<li>Automate the standard install process, for example using:
<ul>
<li><a href="http://en.wikipedia.org/wiki/Windows_Automated_Installation_Kit">AIK</a> for Windows;</li>
<li><a href="https://help.ubuntu.com/7.04/installation-guide/i386/automatic-install.html">Kickstart</a> for Red Hat Linux, CentOS and Ubuntu; or</li>
<li><a href="http://people.freebsd.org/~dwhite/bsdconpaper.html">sysinstall and mfsroot</a> for FreeBSD.</li>
</ul>
</li>
<li>Configure one machine exactly how you like it, and then exactly duplicate the hard disk to the others (disk imaging)</li>
</ul>
<p>The first option (manual installation) is extremely slow, tedious, error-prone, unlikely to result in identical machines, and does not speed up future installations or reinstallations.</p>
<p>The second option requires using rarely-used and less tested parts of the installer, scales poorly in performance for simultaneous installations, and places limits on what you can customise. For example, it could be impossible to customise <code>/etc/rc.conf</code> using the installer on FreeBSD, and pre-installing SSH keys is tricky. I also spent days writing a sysinstall script to automate a process that I could have done in half an hour by configuring a single machine manually.</p>
<p>Therefore I prefer the third option, system imaging.</p>
<h3>What is System Imaging</h3>
<p>Imaging is the process of making exact copies of one machine&#8217;s hard disk, including all partitions, onto another. This only works when the second hard disk is at least as large as the first. It works best when all the PCs are identical.</p>
<p>Imaging is independent of the operating system. You can image Windows, FreeBSD, any version of Linux, dual-boot and triple-boot installations, whatever you like.</p>
<p>We successfully used imaging to set up the PCs for these workshops:</p>
<ul>
<li><a href="http://www.ws.afnog.org/afnog2009/">AfNOG 2009</a>, Cairo, all tracks</li>
<li><a href="http://oer.aptivate.org/wiki/KBT/BMO_Training_KENET">KENET BMO Training</a>, Nairobi 2009</li>
<li><a href="http://www.ws.afnog.org/afnog2010/">AfNOG 2010</a>, Kigali, for three tracks: SA-E, SS-E and SI-F</li>
</ul>
<h3>How to Image</h3>
<p>Many systems administrators have heard of <a href="http://www.symantec.com/norton/ghost">Norton Ghost</a> and <a href="http://www.acronis.com/homecomputing/products/trueimage/index.html">Acronis True Image</a>, two of the most popular commercial applications.</p>
<p>However, open source alternatives such as <a href="http://freshmeat.net/projects/g4l/">G4L</a> (Linux-based) and its ancestor <a href="http://www.feyrer.de/g4u/">G4U</a> (FreeBSD-based) are pretty good, and completely free. G4L however lacks a website, and it&#8217;s not obvious how best to use it, hence this post.</p>
<p>G4L is quite similar to G4U, and I could have used G4U instead. But I find the Linux kernel&#8217;s hardware support a bit better than FreeBSD&#8217;s, and G4L supports multicasting, which enables it to install many machines at the same time with good performance.</p>
<h3>Using Ghost for Linux (G4L)</h3>
<p>I&#8217;ve successfully used Ghost 4 Linux (G4L) versions 0.27 and 0.33 for this process. 0.33 has multicast support, which allows setting up an entire room in one go, without wasting network bandwidth copying the same 4 GB disk image to each of 50 machines independently.</p>
<p>Set up an FTP server on your network with an account that supports downloads and uploads (e.g. on a local server on your network). Make sure it has plenty of disk space free, perhaps 40 GB. Create an &#8220;img&#8221; directory under the FTP user&#8217;s home directory for the images.</p>
<p>Download G4L and burn some CDs, maybe about five copies, or set up network booting (this conflicts with FreeBSD PXE installation and may require BIOS setup changes to enable PXE).</p>
<p>To boot into G4L:</p>
<ul>
<li>Reboot or power up the machine</li>
<li>Press the key to choose boot device</li>
<li>If CD-ROM is not on the list, reboot, go into the BIOS and enable booting from CD-ROM</li>
<li>Choose to boot from the CD</li>
<li>Choose the default kernel at the GRUB screen (just press Enter)
<ul>
<li>If for some reason the default kernel doesn&#8217;t work, the machine hangs or crashes or doesn&#8217;t detect the network interface, then try one or two other kernels</li>
</ul>
</li>
<li>Wait for the kernel and initrd to be loaded (two long lines of dots)</li>
<li>Then you can remove the CD, about one minute from cold boot, and start booting another PC</li>
<li>Press space to skip each of the information/advertising screens (about 8 of them)</li>
<li>Enter <code>g4l</code> at the prompt (if you go past this and get a shell, just type <code>g4l</code> at the shell prompt)</li>
<li>You can access other consoles with Ctrl-Alt-F1 to F4, log in as <code>g4l</code> with no password, and run <code>g4l</code>, <code>ifconfig</code>, <code>ping</code> or whatever</li>
<li>Choose <em>Network Use</em> (default)</li>
<li>Choose <em>Raw Mode</em> (default)</li>
<li>Check that you have an IP address (option B) or try again to acquire one by DHCP</li>
<li>If you can&#8217;t get an IP address by DHCP, check your cabling and DHCP server</li>
</ul>
<h3>Create a Restore Image (optional)</h3>
<p>Back up one of your PCs if necessary (if you plan to restore the PCs later) by:</p>
<ul>
<li>Follow the procedure above to get into Ghost for Linux</li>
<li>Enter the FTP server&#8217;s IP address, username and password</li>
<li>Choose an image name, e.g. <code>backup_original_2010_07_22.img</code></li>
<li>Choose the <em>back up</em> option</li>
<li>Press Space to select the entire disk (mark it with an asterisk [*])</li>
<li>Start backing up the image</li>
</ul>
<p>This process can take 1-2 hours. In the mean time&#8230;</p>
<h3>Set up the Master PC</h3>
<p>Boot G4L on the PC that you will use as the master. Use DD to wipe the entire disk with zeroes:</p>
<pre>
dd if=/dev/zero of=/dev/sda bs=1M
</pre>
<p>This makes the image much smaller, and transfer much faster.</p>
<p>Install FreeBSD or whatever operating system(s) on the master PC, and set it up exactly the way you want all of the PCs to be. Examples include:</p>
<ul>
<li>Install Gnome (gnome/gnome2)</li>
<li>Install Xorg (x11/xorg)</li>
<li>Install Firefox (www/firefox35)</li>
<li>Install Xpdf (print/xpdf)</li>
<li>Enable gnome and sshd in <code>/etc/rc.conf</code>, and add templates for the IP address configuration (this saves typing when setting all the machines to static IPs):
<pre>
hostname="pc01.sse.ws.afnog.org"
ifconfig_bge0="dhcp"
# ifconfig_bge0="196.200.219.101/24"
defaultrouter="196.200.219.254"
gnome_enable="YES"
sshd_enable="YES"
</pre>
</li>
<li>Create a user account (e.g. username <code>afnog</code>, password <code>afnog</code>)</li>
<li>Log into Gnome, add firefox, terminal and the Downloads folder to your toolbar, and remove epiphany and evolution</li>
<li>Edit /etc/fstab and add the proc filesystem:
<pre>
proc /proc procfs rw 0 0
</pre>
<p>(this allows GDM to display the user list and shut down and restart the machine)</li>
<li>Edit /etc/profile and set the default pager to less by adding:
<pre>
PAGER=less; export PAGER
</pre>
</li>
<li>Set the timezone by softlinking <code>/etc/localtime</code> to something like /usr/share/zoneinfo/Africa/Kigali</li>
<li>Create <code>/etc/rc.local</code> and have it run <code>/usr/sbin/ntpd -qg</code> to set the time once at boot</li>
</ul>
<p>I recommend using DHCP on this machine. Otherwise all the imaged machines will boot up with the same IP address, causing IP address conflicts, and you will have to reconfigure them before you can access the Internet at all, or reconfigure them automatically.</p>
<p>Create some SSH keys for use in administering the machines. You may wish to set up the local server already and generate the keys there for security. I recommend adding the keys to <code>/root/.ssh/authorized_keys</code>. Please test that they work, and that sshd comes up automatically after boot!</p>
<h3>Imaging the other PCs</h3>
<p>On all the PCs (master and clones):</p>
<ul>
<li>Boot G4L as above</li>
<li>Check that it has an IP address (option B)</li>
</ul>
<p>Once a master is online, all the PCs will show &#8220;press any key to start&#8221;. Pressing any key on any computer will start all the machines imaging. If any PCs are not ready yet, you will have to cancel the imaging process on all of them and start again, or image those PCs later. So:</p>
<p><strong>Start the master last!</strong> (when all the other PCs are ready)</p>
<p>Start the clones first, by following these steps on each one:</p>
<ul>
<li>Choose UDP Multicast Client (option U)</li>
<li>Select the entire disk, <code>/dev/sda</code> with the space key</li>
<li>Say yes, you&#8217;re sure</li>
<li>When it says &#8220;Compressed UDP receiver&#8221;, it&#8217;s ready and waiting for a master to appear on the network</li>
</ul>
<p>Then start the master:</p>
<ul>
<li>Get ALL the clones ready, as above, before doing this!</li>
<li>On the master, choose UDP Multicast Server (option W)</li>
<li>Select the entire disk, <code>/dev/sda</code>, with the space key</li>
<li>Leave the options blank</li>
<li>Say yes, you&#8217;re sure</li>
<li>The master start accepting connections from clients, which will happen automatically. The screens on the clients will also change.</li>
<li>Please check that every client says &#8220;Press any key to start&#8221;.</li>
<li>If not, please check it for network problems, etc.</li>
<li><strong>DO NOT</strong> stop or kill the server now, unless you want to visit every client again!</li>
<li>You can press Ctrl+C <strong>on the client</strong> and run <code>g4l</code> again to check the IP address, retry DHCP, and try the UDP Multicast Client option again.</li>
<li>This is your last chance to join any remaining clients to the group for this imaging session!</li>
<li>When all the clients are ready, press a key on the master to start transfer.</li>
</ul>
<p>The master will show progress of the transfer, and an error line if any clients fail to respond. Clients that cause too many errors will be kicked out of the group and appear to &#8220;finish&#8221; early.</p>
<p>It&#8217;s difficult to tell if the imaging process finished successfully or failed on the clients. However it appears that FreeBSD is very good at detecting filesystem corruption, and will fail to boot if the image was not completely transferred. So you can test them by trying to boot FreeBSD and seeing if it boots completely or stops with a filesystem error. Ideally this would be improved in future versions of G4L.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aptivate.org/2010/07/22/free-system-imaging-using-g4l/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mobiles for Scientific Research</title>
		<link>http://blog.aptivate.org/2010/07/09/mobiles-for-scientific-research/</link>
		<comments>http://blog.aptivate.org/2010/07/09/mobiles-for-scientific-research/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 09:43:54 +0000</pubDate>
		<dc:creator>chrisw</dc:creator>
				<category><![CDATA[Mobiles]]></category>
		<category><![CDATA[Offline]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PDAs]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[agile]]></category>
		<category><![CDATA[bandwidth]]></category>
		<category><![CDATA[data collection]]></category>
		<category><![CDATA[africa]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[ictp]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[science]]></category>

		<guid isPermaLink="false">http://blog.aptivate.org/?p=591</guid>
		<description><![CDATA[We know mobiles are very useful in areas where desktop computer and communications infrastructure is not easily available or affordable. And we&#8217;re very interested in mobile applications and scientific research in exactly these regions.
So I was very interested to see a new training workshop being run by the Science Dissemination Unit (SDU) of the Abdus [...]]]></description>
			<content:encoded><![CDATA[<p>We know mobiles are very useful in areas where desktop computer and communications infrastructure is not easily available or affordable. And we&#8217;re very interested in mobile applications and scientific research in exactly these regions.</p>
<p>So I was very interested to see a new training workshop being run by the <a href="http://sdu.ictp.it">Science Dissemination Unit (SDU)</a> of the <a href="http://ictp.it">Abdus Salam International Centre for Theoretical Physics (ICTP)</a>. The workshop is on <a href="http://cdsagenda5.ictp.trieste.it/full_display.php?ida=a09152">Mobile Science: Sensing, Computing and Dissemination</a> and the deadline for applications is tomorrow, July 10th.</p>
<p>Quoting from the announcement: </p>
<blockquote><p>
The Science Dissemination Unit (SDU) of the Abdus Salam International Centre for Theoretical Physics (ICTP), with the assistance of the University of Washington (USA) and of the UCLA Centerfor Embedded Networked Sensing (USA) will hold a Workshop on &#8220;Mobile Science: Sensing, Computing and Dissemination&#8221; in Trieste (Italy) from the 2 to the 5 of November 2010.</p>
<p>Mobile applications offer tremendous benefits to academic research and<br />
education, and to society as a whole throughout the world. This is an<br />
opportunity that deserves attention and promotion, especially in less<br />
developed areas where mobile phones are the first telecommunications<br />
technology in history to have more users than in the developed world.
</p></blockquote>
<p>The specific things that interested me were:</p>
<dl>
<dt>The Mobile Science workshop aims to engage the scientific community in developing countries in the design, development, and deployment of the newest mobile scientific applications;</dt>
<dd>i.e. advocating appropriate mobile applications in scientific<br />
research/academia;</dd>
<dt>Participants will learn how to apply mobile technology tools to retrieve scientific data</dt>
<dd>I.e. designing mobile apps for science data collection;</dd>
<dt>how to apply appropriate web-based analysis to assimilate mobile data into scientific studies</dt>
<dd>I.e. web-based statistical analysis and presentation, like a free online version of SPSS? As far as I know this doesn&#8217;t exist yet. The closest that I can think of is the Google Docs spreadsheet, which is of course just a spreadsheet, requires an internet connection and doesn&#8217;t allow plugins for additional scientific analysis functionality. But there could be a very interesting app to develop here.</dd>
<dt>and how to share their scientific findings with a potentially large mobile audience.</dt>
<dd>I.e. <a href="http://www.aptivate.org/webguidelines/">low bandwidth design</a> with an emphasis on web standards for cross-platform compatibility, so that it works on the largest number of mobile devices.</dd>
</dl>
<p>If you want to apply, better get on your bike (or modem?) because the deadline is tomorrow. If you want to do mobile scientific research applications, please get in touch, we&#8217;d like to help you.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aptivate.org/2010/07/09/mobiles-for-scientific-research/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The reality of Internet access in Africa</title>
		<link>http://blog.aptivate.org/2010/07/08/internet-access-in-africa/</link>
		<comments>http://blog.aptivate.org/2010/07/08/internet-access-in-africa/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 10:34:51 +0000</pubDate>
		<dc:creator>mark</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.aptivate.org/?p=473</guid>
		<description><![CDATA[When we talk about making the Internet accessible over slow and unreliable connections, we speak from experience.  Our recent work in Zambia, for example,  taught us a lot about the realities of Internet in the field, in rural Africa.
We were helping to deliver hands-on computer training for 150 young Zambian women as part of our [...]]]></description>
			<content:encoded><![CDATA[<p>When we talk about making the Internet accessible over slow and unreliable connections, we speak from experience.  Our recent work in Zambia, for example,  taught us a lot about the realities of Internet in the field, in rural Africa.</p>
<p>We were helping to deliver hands-on <a href="/2010/05/07/ubuntu-in-zambia/">computer training for 150 young Zambian women</a> as part of our ongoing work with Camfed. The training was framed as an introduction to email; for many it was a first introduction to computers.</p>
<p>We did not expect great Internet connectivity. We set up  a local email system  for the training to avoid dependency on a good connection. While practical, this approach wasn&#8217;t ideal as we wanted to offer as much real experience of the Internet as possible.</p>
<p>The rural high school where we were working  has a small IT lab that is connected to the Internet through a directional WIFI link to a near by youth skills centre where there is a VSAT link to the rest of the world.</p>
<p>The environment was harsh for network equipment. The mains power supply was was poor, with regular cuts and brown outs. The school and skills centre both had back-up generators but these  were started manually and not always at the same time. The route to the Internet could not have been called reliable. Neither building normally had UPSs to condition the power to their network equipment, though fortunately we had brought some with us.</p>
<div id="attachment_507" class="wp-caption alignnone" style="width: 260px"><a rel="attachment wp-att-507" href="http://blog.aptivate.org/2010/07/08/internet-access-in-africa/blog-wifi-2/"><img class="size-full wp-image-507" title="blog-wifi" src="http://blog.aptivate.org/wp-content/uploads/2010/06/blog-wifi.jpg" alt="" width="250" height="239" /></a><p class="wp-caption-text">Adjusting the antenna to improve signal-to-noise ratio</p></div>
<p>When conditions conspired to supply power to all the right places, Internet access at the school worked, but it wasn&#8217;t great. A VSAT connection has an unavoidably high latency and costs prohibit high bandwidth connections. The  Internet connection at the school was a nominal 1Mbit/s with a 1:10 contention ratio which means we were sharing our satellite bandwidth with nine other user sites. This works well in countries with abundant Internet connectivity as network use is effectively intermittent and sharing doesn&#8217;t cause much degradation of service. In Zambia, and much of Africa, a connection like his is often shared between a number  schools, hospitals and telecentres, etc., meaning network use is almost constant. Our experience of bandwidth was often that of the worst-case: 12Kbyte/s.  Though we soon found there were more serious problems with the connection.</p>
<h2>Corruption</h2>
<p><a rel="attachment wp-att-508" href="http://blog.aptivate.org/2010/07/08/internet-access-in-africa/corruption/"><img class="alignnone size-medium wp-image-508" title="corruption" src="http://blog.aptivate.org/wp-content/uploads/2010/06/corruption-300x235.jpg" alt="" width="300" height="235" /></a></p>
<p>The web is surprisingly forgiving over a lossy connection experiencing data corruption, and at first it was easy to dismiss slow page load times as a limitation of the connection. Though it soon became obvious that something else was wrong. The image above shows corruption to image data downloaded from a popular mapping site.</p>
<p>A web page with corrupted content can be simply reloaded, but when downloading Ubuntu packages to update a machine we found the md5sums weren&#8217;t matching.</p>
<p>The following tests helped us uncover network faults:</p>
<ul>
<li>Pinging hosts on the Internet route using a larger packet (-s packet size).</li>
<li>Downloading a large file with a known hash and comparing the computed value. If the hash value didn&#8217;t match, then repeating the download and checking if the computed value has changed.</li>
<li>Using <a title="MTR" href="http://en.wikipedia.org/wiki/MTR_(software)">MTR</a> to see at what router packet loss is occurring.</li>
<li>Using <a title="Network Diagnostic Tool" href="http://www.measurementlab.net/measurement-lab-tools#tool1">Network Diagnostic Tool</a> from a JAVA enabled browser to measure network performance.</li>
</ul>
<p>Having identified the problem we wanted to establish that the corruption wasn&#8217;t happening on our own network: we repeated  the above tests while directly connected to the school&#8217;s router, and using more than one computer. The corruption was happening somewhere upstream of our connection, so we called our local ISP (by mobile telephone):</p>
<p>&#8220;Can we get an engineer to look into this?&#8221;</p>
<p>&#8220;Our engineers only visit Samfya district as part of a regular inspection&#8221;</p>
<p>&#8220;How often do your engineers come out?&#8221;&#8230;</p>
<p>&#8220;Once a month&#8221;.</p>
<p>No such visit was likely before we left Zambia. We needed  to find a workaround.</p>
<p>When running a shell over SSH on the trouble connection,  every so often the session would close with a &#8220;Corrupted MAC on input&#8221; error. This indicates that the last SSH packet failed verification, presumably because the underlying transport layers failed to guarantee the integrity of the data. It seemed like this characteristic could be useful in building a system to help download large files.</p>
<p>Being able to drop connections when ever packets are corrupted isn&#8217;t in itself going to help download complete files. But it does mean that a file transfer application running over SSH will never unknowingly write incorrect data to the file (up to the point that SSH MAC checks can detect the problem). This lead to the idea of a brute force solution by persistently running a file transfer application over SSH until the whole file is successfully downloaded. The file transfer application must be able to resume part-way through a file if the link is dropped. A suitable application is rsync.</p>
<p>If files are available on a remote host which can be accessed using public key authentication so that it can be left running unattended, the described work around becomes in shell script form;</p>
<pre>return 1
until [ $? -eq 0 ] ; do
 rsync -axrv --partial --inplace &lt;remote-host&gt;:directory .
done
</pre>
<p>With this method we were able to retrieve the Ubuntu packages we needed up update our servers.</p>
<h2>Is there a better way?</h2>
<p>Having to manually transfer data through a third machine is inconvenient, a better solution would be transparent to the existing network. Although we can&#8217;t easily solve the underlying problem, which is the failure of the relatively small size of the TCP checksum to guarantee the data integrity (in this instance), it is possible to create the conditions where it&#8217;s no longer a problem. To do this we might look at reliable transport protocols implemented on top of UDP, which could then be used to tunnel the troubled TCP connections.</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1096px; width: 1px; height: 1px;">
<h3>Network Diagnostic Tool</h3>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.aptivate.org/2010/07/08/internet-access-in-africa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Aptivate Speaking at Africa Gathering, London</title>
		<link>http://blog.aptivate.org/2010/06/22/aptivate-speaking-at-africa-gathering-london/</link>
		<comments>http://blog.aptivate.org/2010/06/22/aptivate-speaking-at-africa-gathering-london/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 08:37:14 +0000</pubDate>
		<dc:creator>alan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[agile]]></category>
		<category><![CDATA[participation]]></category>
		<category><![CDATA[Africa Gathering]]></category>

		<guid isPermaLink="false">http://blog.aptivate.org/?p=578</guid>
		<description><![CDATA[I'm going to be talking at Africa Gathering London about the reciprocal relationships between participation and IT.]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-580" href="http://blog.aptivate.org/2010/06/22/aptivate-speaking-at-africa-gathering-london/africagatheringlogo/"><img class="alignright size-full wp-image-580" style="margin: 0px 10px 10px 10px;" title="africa gathering logo" src="http://blog.aptivate.org/wp-content/uploads/2010/06/africagatheringlogo.png" alt="africa gathering logo" width="136" height="167" /></a>I (Alan) am going to be talking at <a href="http://www.africagathering.org/londonevent.php"><strong>Africa Gathering London</strong></a> about the reciprocal relationships between <strong>participation</strong> and <strong>IT</strong>.</p>
<p>Here&#8217;s the synopsis&#8230; (although Africa Gathering has previously been described as an &#8220;unconference&#8221; so I may be tempted to slip into a bit of &#8220;<a href="http://blog.aptivate.org/2009/05/02/the-unpresentation/">unpresentation</a>&#8221; if the situation warrants it).</p>
<blockquote><p><strong>The reciprocal relationship between ICTs and Participation</strong></p>
<p>Over the last few decades of software engineering there is a rising tide of emphasis on the value of participation. The growth of the &#8220;<strong>Agile</strong>&#8221; software methodologies is a good example. The finding, which really shouldn&#8217;t be that surprising, is that participation makes better software. <strong>Participation</strong> with the client, with the users with the<br />
stakeholders etc.</p>
<p>Seven years ago, at the start of Aptivate, that&#8217;s how we saw participation. As a means to creating better software. Over the last year we have seen that relationship reverse. IT is a means for better participation. It&#8217;s not just that new technologies like web 2.0 enable people to collaborate. Engaging in software projects themselves are excellent excuses for participation and human development. Finally, the dog is wagging the tail again and not the other way round.</p></blockquote>
<p><a href="http://www.africagathering.org/londonevent.php">Africa Gathering</a> will be in London on the <strong>2nd</strong> and <strong>3rd</strong> <strong>of July</strong>. Get your tickets now while there&#8217;s still some left! For more information see the <a href="http://www.africagathering.org/londonevent.php">Africa Gathering site</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aptivate.org/2010/06/22/aptivate-speaking-at-africa-gathering-london/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The (ongoing) need for speed</title>
		<link>http://blog.aptivate.org/2010/06/21/the-need-for-speed/</link>
		<comments>http://blog.aptivate.org/2010/06/21/the-need-for-speed/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 22:50:23 +0000</pubDate>
		<dc:creator>alan</dc:creator>
				<category><![CDATA[Appropriate Technology]]></category>
		<category><![CDATA[Design and Usability]]></category>
		<category><![CDATA[bandwidth]]></category>
		<category><![CDATA[Jakob Nielsen]]></category>
		<category><![CDATA[low bandwidth web design]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web optimisation]]></category>

		<guid isPermaLink="false">http://blog.aptivate.org/?p=572</guid>
		<description><![CDATA[13 years ago Jakob Nielsen wrote an important article stating that one of the most significant factors in web usability is speed. 

Now he has to say it again.]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignright" style="width: 210px"><img style="margin: 20px 10px;" title="Jakob Nielsen" src="http://upload.wikimedia.org/wikipedia/commons/thumb/3/3d/Jakob_Nielsen_1.jpg/200px-Jakob_Nielsen_1.jpg" alt="Jakob Nielsen" width="200" height="150" /><p class="wp-caption-text">Jakob Nielsen</p></div>
<p>13 years ago Jakob Nielsen wrote an<a href="http://www.useit.com/alertbox/9703a.html"> important article</a> stating that one of the most significant factors in web usability is <strong>speed</strong>.</p>
<p>In the work that we do, designing web applications that are used in developing countries, we have taken this advice very much to heart.</p>
<p>13 years later Jakob Nielsen has felt the need to write a <a href="http://www.useit.com/alertbox/response-times.html">new version of that article</a> again. And I am glad he has! Despite the roll out of broadband web authors are still creating sites that are slow, although for different reasons, according to Jakob.</p>
<p>In the original article Jakob said that <strong>large images</strong> were the main culprit in causing slow web pages. Now he says, with the advent of broadband, large images are not the main problem.</p>
<p>Interestingly, with the sites we look at and the connection speeds we deal with, large images <strong>still</strong> are one of the main contributing factors to slow sites.</p>
<p>Jakob now lays the blame on too many fancy widgets.</p>
<p>I would agree with Jakob here. In my experience the size of javascript is now rivalling that of the large images for the sites we&#8217;re interested in.</p>
<p>The research into user interface response times is as true now as it was back in <strong>1968</strong> when it was done. From Nielsen&#8217;s article, remember these times:</p>
<blockquote>
<ul>
<li><strong>0.1 seconds</strong> gives the feeling of <strong>instantaneous</strong> response — that is, the outcome feels like it was caused by the user, not the computer.</li>
<li><strong>1 second</strong> keeps the user&#8217;s flow of thought <strong>seamless</strong>. Users can sense a delay, and thus know the computer is generating the outcome, but they still feel in control of the overall experience and that they&#8217;re moving freely rather than waiting on the computer.</li>
<li><strong>10 seconds</strong> keeps the user&#8217;s <strong>attention</strong>. From 1–10 seconds, users definitely feel at the mercy of the computer and wish it was faster, but they can handle it. After 10 seconds, they start thinking about other things, making it harder to get their brains back on track once the computer finally does respond.</li>
</ul>
<p>A 10-second delay will often make users <strong>leave a site</strong> immediately.</p></blockquote>
<p>Now consider the implications of these times in conjunction with your users&#8217; connection speed, particularly if they happen to be in the developing world.</p>
<p><em>(see also our <a href="http://www.aptivate.org/webguidelines/Home.html">web design guidelines</a> for low bandwidth connections.</em>)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aptivate.org/2010/06/21/the-need-for-speed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alan&#8217;s Random Idea</title>
		<link>http://blog.aptivate.org/2010/06/19/556/</link>
		<comments>http://blog.aptivate.org/2010/06/19/556/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 23:52:34 +0000</pubDate>
		<dc:creator>alan</dc:creator>
				<category><![CDATA[Appropriate Technology]]></category>
		<category><![CDATA[Alan's Random Idea]]></category>
		<category><![CDATA[bicycle]]></category>
		<category><![CDATA[DOS]]></category>
		<category><![CDATA[Moore's Law]]></category>
		<category><![CDATA[SPA2010]]></category>
		<category><![CDATA[Visicalc]]></category>
		<category><![CDATA[WordPerfect]]></category>

		<guid isPermaLink="false">http://blog.aptivate.org/?p=556</guid>
		<description><![CDATA[You probably know Moore's Law. I have a theory too, well... a "Random Idea" about progress in software.]]></description>
			<content:encoded><![CDATA[<p>You are probably familiar with <strong>Moore&#8217;s Law</strong> &#8211; that every year or so the power of computers doubles. I have a theory too, well&#8230; more a hypothesis&#8230;. ok let&#8217;s call it a &#8220;Random Idea&#8221;  &#8211; about progress in software.</p>
<p>Imagine for a moment you&#8217;re an engineer working on hard-drive design. Your goal is <strong>obvious</strong> &#8211; you want to cram more stuff in less area on a disk. You want it to work faster and for mobile devices in particular, use less power. It might not be easy to achieve but you know what you&#8217;re trying to do.</p>
<p>Imagine you&#8217;re a chip designer. What are your goals? You want to make chips with more stuff in less area, that work faster and use less power.<br />
<a rel="attachment wp-att-557" href="http://blog.aptivate.org/2010/06/19/556/arigraph-300x246-i32/"><img class="size-full wp-image-557 alignright" style="margin: 40px 10px;" title="Alans Random Idea Graph" src="http://blog.aptivate.org/wp-content/uploads/2010/06/ARIGraph-300x246-i32.png" alt="Alans Random Idea Graph" width="300" height="246" /></a><br />
So while Moore&#8217;s Law states that the hardware capability follows a geometric increase, <strong>Alan&#8217;s Random Idea</strong> says that software capability increases <strong>linearly</strong>.</p>
<p>Imagine you&#8217;re working on the Microsoft Excel team. What&#8217;s your goal? You can already embed the kitchen sink in a cell. What are you going to make it do next? Put the cells in a cube instead of a grid? (Hey.. that&#8217;s actually quite a mad idea&#8230; hmm&#8230; that&#8217;s another blog post).</p>
<p>The goals for software, for what we want to do with computers, require more imagination. So <strong>REAL</strong> software capability progresses linearly.</p>
<p>The area between Moore&#8217;s curve and mine I call &#8220;<span style="color: #800000;"><strong>guff</strong></span>&#8220;. The not-so essential stuff we waste all our computing power on.</p>
<p>Let me give you an example of what I mean. Do you remember DOS? That thing we had before Windows? Even on an old DOS machine you can run <a href="http://en.wikipedia.org/wiki/WordPerfect#WordPerfect_for_DOS">WordPerfect</a>, the word processor and <a href="http://en.wikipedia.org/wiki/VisiCalc">Visicalc</a> the spreadsheet. I bet you could even <a href="http://www.pmail.com/index.htm">run an email program on it</a>. A lot of the business value you get from a computer in most small businesses is in doing email, writing documents and working out things in spreadsheets.</p>
<h2>Guff, the Great Leap and the Bicycle</h2>
<p>The <a href="http://www.brompton.co.uk/">Brompton</a> folding bicycle is a classic in design. Beautifully engineered and fantastically functional. People <strong>love</strong> Bromptons. You could own one for 10 years and it wouldn&#8217;t even lose 10% of its value. They&#8217;re expensive too.<br />
<a rel="attachment wp-att-558" href="http://blog.aptivate.org/2010/06/19/556/bike-300x26-q60/"><img class="alignleft size-full wp-image-558" style="margin: 30px 20px;" title="A Great Leap Bike" src="http://blog.aptivate.org/wp-content/uploads/2010/06/bike-300x26-q60.jpg" alt="A Great Leap Bike" width="300" height="226" /></a><br />
At the other end of the spectrum we have the <strong>&#8220;Cambridge Bicycle</strong>&#8220;. Cambridge must be the world capital of bicycle theft. The un-written rule in Cambridge is you should spend more on your lock than on the bike. And most people don&#8217;t like to spend more than £20 on a lock. The bikes are atrocious. New-comers to Cambridge at first cower away when they see a typical bike worried that just being near the rusting, brake-less thing might pre-dispose them to having a nasty accident.</p>
<p>However, from a distance&#8230; a long distance&#8230; (like out in space), the difference in capability between someone with a Brompton and a Cambridge Bike is a lot less than that between having a Cambridge bike and having none at all. However terrible a Cambridge bike may be, it&#8217;s already made the &#8220;<strong>Great Leap</strong>&#8220;.</p>
<p>The same is true of the DOS machine, which is the Cambridge Bicycle of the of the computing world. It&#8217;s also already made the Great Leap between having no computer and having something useful. Moore&#8217;s Law means that the cost of making the Great Leap becomes, at least in theory, incredibly cheap. The current crop of mobile phones have enough processing power to run a business. In a couple of years time they will be throw-away items.</p>
<p>There are many people in the world who are seriously constrained by resources, who are living on just a few dollars a day. Perhaps Moore&#8217;s Law and Alan&#8217;s Random Idea might mean they have a chance, if they can get by without the guff, of making a great leap.</p>
<p><em>This was the gist of a last minute lightning talk I gave at <a href="http://www.spaconference.org/spa2010/index.php">SPA2010</a>.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aptivate.org/2010/06/19/556/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guide de conception Web pour environnements à bande passante faible en français</title>
		<link>http://blog.aptivate.org/2010/06/17/guide-de-conception-web-pour-environnements-a-bande-passante-faible-en-francais/</link>
		<comments>http://blog.aptivate.org/2010/06/17/guide-de-conception-web-pour-environnements-a-bande-passante-faible-en-francais/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 16:07:37 +0000</pubDate>
		<dc:creator>toml</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.aptivate.org/?p=553</guid>
		<description><![CDATA[Nous avons récemment traduit notre Guide de conception Web pour environnements à bande passante faible en français, ce qui signifie qu’il est maintenant acccessible à environ 200 million de personnes dans le monde. Le français est une langue officielle ou commune dans plus de 30 pays, y compris de nombreuses nations Africaines.
C’est grâce au soutient [...]]]></description>
			<content:encoded><![CDATA[<p>Nous avons récemment traduit notre <a href="http://www.aptivate.org/webguidelines/Home.fr.html" target="_blank">Guide de conception Web pour environnements à bande passante faible</a> en français, ce qui signifie qu’il est maintenant acccessible à environ 200 million de personnes dans le monde. Le français est une langue officielle ou commune dans plus de 30 pays, y compris de nombreuses nations Africaines.</p>
<p>C’est grâce au soutient de <a title="INASP link" href="http://www.inasp.info/" target="_blank">l’INASP</a> que nous avons pu développer notre Guide de conception Web pour environnements à bande passante faible en 2007, et ce dans le cadre d’une initiative visant à faciliter l’accès aux informations en ligne partout dans le monde, quel que soit le niveau de bande passante disponible. Nous utilisons les techniques décrites dans ce guide dans les divers projets centrés sur le contenu en ligne et les sites Web auxquels nous participons en collaboration avec nos partenaires.</p>
<p>Nous comptons à présent transférer ce guide depuis notre site Web vers Wordpress afin d’en faciliter la future traduction. Si vous souhaitez nous aider à traduire ce guide dans votre langue ou nous faire part de vos suggestions en matière d’ajouts ou de spécifications, n’hésitez pas à nous contacter.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aptivate.org/2010/06/17/guide-de-conception-web-pour-environnements-a-bande-passante-faible-en-francais/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Web Design Guidelines in French</title>
		<link>http://blog.aptivate.org/2010/06/17/web-design-guidelines-in-french/</link>
		<comments>http://blog.aptivate.org/2010/06/17/web-design-guidelines-in-french/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 16:03:27 +0000</pubDate>
		<dc:creator>toml</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.aptivate.org/?p=551</guid>
		<description><![CDATA[We&#8217;ve recently translated our Web Design Guidelines for Low Bandwidth into French, making them potentially accessible to 200 million people worldwide. French is an official or commonly used language in over 30 countries, including many African countries.
We launched the guidelines with the support of INASP in 2007, as part of our ongoing efforts to make [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve recently translated our <a title="guidelines link" href="http://www.aptivate.org/webguidelines/Home.html" target="_blank">Web Design Guidelines for Low Bandwidth</a> into French, making them potentially accessible to 200 million people worldwide. French is an official or commonly used language in over 30 countries, including many African countries.</p>
<p>We launched the guidelines with the support of <a title="INASP link" href="http://www.inasp.info/" target="_blank">INASP</a> in 2007, as part of our ongoing efforts to make online information accessible to as many people as possible, regardless of their location or bandwidth. The techniques described in the guidelines inform our work on projects with partner organisations based around online content and websites.</p>
<p>We&#8217;re currently looking at moving the guidelines over from static content to Wordpress, which will make translation into other languages even easier in the future. If you would like to work with us to translate the guidelines into another language, please contact us. If you have suggestions for material that we could add to the guidelines, we&#8217;d like to hear about that too.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aptivate.org/2010/06/17/web-design-guidelines-in-french/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simulating low bandwidth: Publishers for Development</title>
		<link>http://blog.aptivate.org/2010/06/08/simulating-low-bandwidth-publishers-for-development/</link>
		<comments>http://blog.aptivate.org/2010/06/08/simulating-low-bandwidth-publishers-for-development/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 16:09:55 +0000</pubDate>
		<dc:creator>chrisw</dc:creator>
				<category><![CDATA[Design and Usability]]></category>
		<category><![CDATA[Engineer's Log]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[bandwidth]]></category>
		<category><![CDATA[academia]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[publishing]]></category>
		<category><![CDATA[research]]></category>

		<guid isPermaLink="false">http://blog.aptivate.org/?p=472</guid>
		<description><![CDATA[We think that academic publishing is an area that's both critically important to development, and simultaneously becoming more and more inaccessible to the people who need it most. The average size of web pages has been growing much faster than the average speed of connections in developing countries. We built a low bandwidth simulator ourselves, and took it to INASP and the ACU's Publishers for Development conference in Oxford to persuade the journal publishers to optimize their sites to make them accessible to everyone.]]></description>
			<content:encoded><![CDATA[<p>We think that academic publishing is an area that&#8217;s both critically important to development, and simultaneously becoming more and more inaccessible to the people who need it most.</p>
<p>The average size of web pages has been growing much faster than the average speed of connections in developing countries, and journal websites are no exception, as you can see in <a href="http://blog.aptivate.org/2009/07/09/when-it-comes-to-websites-small-is-beautiful/">Alan&#8217;s blog post</a>:</p>
<div id="attachment_488" class="wp-caption aligncenter" style="width: 510px"><a href="http://blog.aptivate.org/2010/06/08/simulating-low-bandwidth-publishers-for-development/graph-2/" rel="attachment wp-att-488"><img src="http://blog.aptivate.org/wp-content/uploads/2010/06/graph-500x381.png" alt="Average page size has grown much faster than available bandwidth" title="Average Page Size vs Bandwidth" width="500" height="381" class="size-large wp-image-488" /></a><p class="wp-caption-text">Average Page Size vs Bandwidth</p></div>
<p>As Alan points out, the average journal&#8217;s home page in his sample would take over <strong>90 seconds</strong> to load on average, for researchers at universities in developing countries. Usability research has shown that people expect a computer to respond within 30 seconds. Making them wait longer interrupts their concentration, causes dissatisfaction and annoyance, and they <strong>often abandon the process</strong>. The biggest factor in user satisfaction is speed of response.</p>
<p>While this research probably did not include users who are accustomed to slow and unreliable computers, I think it&#8217;s safe to say that most people would find it annoying and difficult to use the Internet on a dial-up modem. And even a modem would have been preferable to some of the Internet connections that I&#8217;ve experienced (and paid for) in some countries in the last few years.</p>
<p>Academics have little ability to persuade their universities to upgrade their internet connections, at a cost of several peoples&#8217; salaries (several thousand dollars a month). The only people who can change this are the publishers of the journals, by optimising their journals&#8217; websites for users with slower connections.</p>
<p>But how to persuade the publishers that this is important? We built a low bandwidth simulator ourselves, and took it to Oxford, to <a href="http://www.inasp.info">INASP</a> and the <a href="http://www.acu.ac.uk/">ACU</a>&#8217;s <a href="http://www.inasp.info/file/f5c039878f09a104df806301113361a5/publishers-for-development-pfd.html">Publishers for Development</a> conference.</p>
<h3>What We Did</h3>
<p>We set up spare machine as a <a href="http://bwmo.net">bandwidth management</a> box, and used it as a network filter for the participants. They could come and plug their laptops into the box, and browse the Internet and their own websites at a simulated slow speed.</p>
<div id="attachment_504" class="wp-caption aligncenter" style="width: 510px"><a href="http://blog.aptivate.org/2010/06/08/simulating-low-bandwidth-publishers-for-development/table-layout/" rel="attachment wp-att-504"><img src="http://blog.aptivate.org/wp-content/uploads/2010/06/table-layout-500x302.jpg" alt="Table with server, router and laptops with exercise cards stuck on top" title="Exercise Table" width="500" height="302" class="size-large wp-image-504" /></a><p class="wp-caption-text">Exercise Table</p></div>
<p>We configured the box for transparent bridging. This allowed us to insert and remove it from the network easily, just by switching over a network cable, to demonstrate the difference between fast and slow loading of pages.</p>
<p>We gave the participants at the meeting tasks to perform on various publishers&#8217; websites, for example finding and downloading an academic paper by topic or researcher.</p>
<div id="attachment_502" class="wp-caption aligncenter" style="width: 510px"><a href="http://blog.aptivate.org/2010/06/08/simulating-low-bandwidth-publishers-for-development/publishers-testing/" rel="attachment wp-att-502"><img src="http://blog.aptivate.org/wp-content/uploads/2010/06/publishers-testing-500x408.jpg" alt="Participants watching and using the throttled laptops" title="Playing the Game" width="500" height="408" class="size-large wp-image-502" /></a><p class="wp-caption-text">Playing the Game</p></div>
<p>I think they found the activities enlightening, because we had some very good comments from some of the participants:</p>
<ul>
<li>&#8220;<em>We&#8217;re so pleased that Alan was able to work his magic at the recent PfD session &#8211; his delivery is innovative, dynamic and fact-packed so it really sparks enthusiasm from the audience&#8230; [which] is demonstrably channelled into action once people return to their places of work.</em>&#8220;<br />Publishers for Development Team</li>
<li>&#8220;<em>It was really useful to try the low bandwidth! [Our site] is already considered fast but it made us think even more around this issue, what else can we do etc.</em>&#8220;<br />Anonymous Participant
</li>
<li>&#8220;<em>Alan Jackson&#8217;s information about bandwidth was kind of shocking even if I knew it before, but to really experience it was very valuable. We are going to redesign DOAJ&#8217;s home page and this must be the starting point.</em>&#8220;<br />Sonja Brage, DOAJ
</li>
<li>&#8220;<em>Site speed is a major consideration for us, and I really enjoyed Alan/Aptivate&#8217;s session, experiencing the exasperation of trying (and failing) to connect via low-bandwidth&#8230; I have a feeling that there is &#8216;excess baggage&#8217; on a number of the pages&#8230;</em>&#8220;<br />James Kitchen, OECD
</li>
</ul>
<h3>How We Did It</h3>
<p>We used FreeBSD as the operating system for the software bridge, because its <em>dummynet</em> traffic shaper is relatively easy to use, and very good at simulating slow connections.</p>
<p>We wanted to use a laptop instead of a desktop machine, so that we could carry it to the conference easily, but we had hardware compatibility issues with FreeBSD on all the laptops we had available to us (mostly IBM Thinkpads). We ended up using a compact Fujitsu desktop box.</p>
<p>We installed FreeBSD 8 on it, and configured it to transparently bridge between two interfaces. Our internet access at the conference would be wireless, but we had issues with bridging wired and wireless interfaces together. So instead we used a <a href="http://en.wikipedia.org/wiki/Linksys_WRT54G_series">Linksys WRT-54GL</a> router with the <a href="http://www.polarcloud.com/tomato">Tomato</a> firmware, which enables wireless client mode, to connect to the network:</p>
<div id="attachment_493" class="wp-caption aligncenter" style="width: 510px"><a href="http://blog.aptivate.org/2010/06/08/simulating-low-bandwidth-publishers-for-development/throttler/" rel="attachment wp-att-493"><img src="http://blog.aptivate.org/wp-content/uploads/2010/06/throttler-500x328.png" alt="WRT-54GL connected to FreeBSD throttler connected to network switch connected to client laptops" title="Throttler Network Diagram" width="500" height="328" class="size-large wp-image-493" /></a><p class="wp-caption-text">Throttler Network Diagram</p></div>
<p>And this is what it looked like in the room. Notice the essential coffee and cupcake, without which the system mysteriously failed to work:</p>
<div id="attachment_503" class="wp-caption aligncenter" style="width: 509px"><a href="http://blog.aptivate.org/2010/06/08/simulating-low-bandwidth-publishers-for-development/server-closeup/" rel="attachment wp-att-503"><img src="http://blog.aptivate.org/wp-content/uploads/2010/06/server-closeup-499x408.jpg" alt="FreeBSD server, wireless router and a laptop" title="Network Close Up" width="499" height="408" class="size-large wp-image-503" /></a><p class="wp-caption-text">Network Close Up</p></div>
<p>We configured the FreeBSD box to bring up the bridge automatically at boot time, and to load a set of <em>ipfw</em> firewall rules to enable <em>dummynet</em>, the traffic shaper. On this box, the ethernet interfaces are called <em>em0</em> and <em>rl0</em>, so we added the following lines to <em>/etc/rc.conf</em>:</p>
<pre>
ifconfig_em0="up"
ifconfig_rl0="up"
cloned_interfaces="bridge0"
ifconfig_bridge0="addm em0 addm rl0 up dhcp"

firewall_enable="YES"
firewall_type="/etc/ipfw.rules"
dummynet_enable="YES"
</pre>
<p>Then we created <em>/etc/ipfw.rules</em> with the following contents:</p>
<pre>
# with bridge mode, two nics. em0 is wan
add pipe 1 all from any to any out recv em0
add pipe 2 all from any to any out xmit em0
add allow all from any to any
pipe 1 config delay 700ms bw 40Kbit/s mask dst-ip 0x000000ff
pipe 2 config delay 700ms bw 40Kbit/s mask src-ip 0x000000ff
</pre>
<p>This configuration creates two <em>dummynet pipes</em>. Pipe 1 is for traffic received on the external interface (downloads), and pipe 2 is for traffic being sent out of the external interface (uploads). We have to follow this by a rule which allows all other traffic, otherwise local traffic (on the box itself) is denied by default when the firewall is enabled, which breaks local DNS and inbound SSH and makes the box pretty unusable on the console.</p>
<p>Then we configure both pipes to allocate 40 Kbps (kilobits per second) for each individual IP address in the private subnet (allocated by the DHCP server on the Tomato router) and a 700 ms delay in each direction, which gives a 1400 ms round trip time. This is somewhat higher than the expected 600 ms round trip for a connection by geostationary satellite.</p>
<p>The end result is that each user connects a laptop to the switch behind the box, gets an IP address from the DHCP server on the router, is NATted by the router onto the public network, and is able to browse the Internet with a connection of 40 kbps upload and download. If you remove the FreeBSD box, by connecting the switch directly to the router, you can access the public network at full speed.</p>
<p>One issue was that the public network used a captive portal, which we had to log into. We didn&#8217;t want each client on our network to have to log in separately, so we enabled NAT on the router, and in wireless client mode, all the NATted clients get the MAC address of the router, so the public network thinks that they&#8217;re all the same PC and doesn&#8217;t ask them to log in again.</p>
<h3>Why We Did it</h3>
<p>We think that members of universities and research institutions need to be able to join and participate in the global research community as equals, in order to play their part in assisting development in their home countries.</p>
<p>Programmes such as <a href="http://www.inasp.info/file/5f65fc9017860338882881402dc594e4/perii.html">PERii</a>, <a href="http://www.who.int/hinari/">HINARI</a> and <a href="http://www.aginternetwork.org/">AGORA</a> negotiate free or discounted online access to these journals for universities in developing countries. But the users still need to get online and access the content.</p>
<p>Online publishing for Western markets is usually designed for users with fast Internet connections, which Western universities have. But in other regions, universities often can&#8217;t afford fast connections, and this makes it very difficult for them to access these journals online.</p>
<p>Publishers for Development is bringing international publishers together who are interested in finding out how they might contribute to discourse and action around developing country access, encourage publication from developing country researchers and understand the diversity within research cultures/communities and the challenges these present.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aptivate.org/2010/06/08/simulating-low-bandwidth-publishers-for-development/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Ubuntu in Zambia</title>
		<link>http://blog.aptivate.org/2010/05/07/ubuntu-in-zambia/</link>
		<comments>http://blog.aptivate.org/2010/05/07/ubuntu-in-zambia/#comments</comments>
		<pubDate>Fri, 07 May 2010 18:04:38 +0000</pubDate>
		<dc:creator>mark</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[aleutia]]></category>
		<category><![CDATA[Camfed]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[zambia]]></category>

		<guid isPermaLink="false">http://blog.aptivate.org/?p=440</guid>
		<description><![CDATA[Ubuntu in Zambia was the title of my talk at OggCamp10: I described  our recent work using Ubuntu based low-power computers for training in rural Zambia.Telling this story to the geeks at OggCamp reminded me of the role the Open Source desktop operating system played in this successful project.

Hundreds of young Zambian women leaving school [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://oggcamp.org/"><img class="alignright" src="http://oggcamp.org/_media/oc10-banner1-160px.png" alt="" /></a>Ubuntu in Zambia was the title of my talk at OggCamp10: I described  our recent work using Ubuntu based low-power computers for training in rural Zambia.Telling this story to the geeks at OggCamp reminded me of the role the Open Source desktop operating system played in this successful project.<br />
<span id="more-440"></span><br />
Hundreds of young Zambian women leaving school are learning practical entrepreneurship through a training programme run by <a href="http://uk.camfed.org/">Camfed</a>. Working in groups, these young women create and run real short-term enterprise schemes with mentoring and training from successful social entrepreneurs from around the world.</p>
<h2>training the trainers</h2>
<p><img class="alignright size-full wp-image-442" title="blog-trainers" src="http://blog.aptivate.org/wp-content/uploads/2010/05/blog-trainers.jpg" alt="The trainers are proud to be associated with the open source operating system on their computers" width="250" height="224" />Information and Communication Technology (ICT) is a central part of the programme: the trainees email their mentors using Internet-enabled mobile phones and computers. Getting them all up to speed with a few hours training was a great challenge: Aptivate worked with six of the young women who have become the ICT trainers. They deliver all the training, though they were new to computers themselves when the programme started.</p>
<p>The trainers are proud to be associated with the Ubuntu logo, which you see when the computers start up.<br style="clear: right;" /></p>
<h2>thin client networking</h2>
<p><img class="alignright size-full wp-image-444" title="blog-terminal" src="http://blog.aptivate.org/wp-content/uploads/2010/05/blog-terminal.jpg" alt="The LTSP workstations in use" width="250" height="231" />For the training we chose a network of sixteen <a title="Aleutia make small low-power computers" href="http://www.aleutia.com/">Aleutia</a> thin-client workstations running LTSP, and two Ubuntu servers. We chose net-tops with full-size keyboards and screens because we wanted the two ladies to be able to work together at one workstation in the classroom. The whole network draws only a kilowatt and could easily be run from solar panels.</p>
<p>The tiny thin-client computer is attached to the back of the screen.<br style="clear: right;" /></p>
<h2>virus-protection</h2>
<p><img class="alignright size-full wp-image-448" title="The command-line projected on the black-board" src="http://blog.aptivate.org/wp-content/uploads/2010/05/blog-ls.jpg" alt="" width="250" height="229" />A Linux desktop system is less likely to be affected by viruses and other unwanted software than a Windows based system. The school where the training would be held had been disconnected from the Internet by their Internet service provider (ISP) because their Windows-based computers were infected with software that was generating undesirable network traffic. The ISP were happy to connect our Ubuntu network to the Internet while we cleaned the school&#8217;s Windows PCs using anti-virus software so they could remain connected after we left.</p>
<p>The command-line projected onto the wall of the training room.<br style="clear: right;" /></p>
<h2>local email</h2>
<p><img class="alignright size-full wp-image-449" title="blog-board" src="http://blog.aptivate.org/wp-content/uploads/2010/05/blog-board.jpg" alt="Tracing the Zambian map projected onto the blackboard" width="250" height="277" />For the email training we installed an open-source web-mail system on one of our servers giving lighting-fast email for our classroom practical sessions.  The trainees enjoyed competing to send emails to the instructor&#8217;s inbox which we projected onto the wall. Seeing their messages arrive in real-time was very rewarding.</p>
<p>Projecting onto a blackboard created new learning opportunities: trace the outline of Zambia&#8230;<br style="clear: right;" /></p>
<p><a href="http://blog.aptivate.org/wp-content/uploads/2010/05/blog-map.jpg"><img class="alignright size-full wp-image-460" title="blog-map" src="http://blog.aptivate.org/wp-content/uploads/2010/05/blog-map.jpg" alt="Stick a note on the map where you're from" width="250" height="161" /></a>&#8230; get everyone to put a sticky note on the map where they come from.<br style="clear: right;" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aptivate.org/2010/05/07/ubuntu-in-zambia/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
