<?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>Village Telco &#187; Mesh Potato</title>
	<atom:link href="http://villagetelco.org/tag/mesh-potato/feed/" rel="self" type="application/rss+xml" />
	<link>http://villagetelco.org</link>
	<description>an easy-to-use, scalable, standards-based, wireless, local, do-it-yourself, telephone company toolkit</description>
	<lastBuildDate>Sun, 20 May 2012 19:20:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>New firmware release &#8211; Version 1.1 RC2</title>
		<link>http://villagetelco.org/2012/03/new-firmware-release-version-1-1-rc2/</link>
		<comments>http://villagetelco.org/2012/03/new-firmware-release-version-1-1-rc2/#comments</comments>
		<pubDate>Wed, 14 Mar 2012 11:57:59 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[1.1]]></category>
		<category><![CDATA[firmware]]></category>
		<category><![CDATA[Mesh Potato]]></category>
		<category><![CDATA[RC2]]></category>
		<category><![CDATA[SECN]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[TP-Link]]></category>
		<category><![CDATA[version]]></category>
		<category><![CDATA[WR703n]]></category>

		<guid isPermaLink="false">http://villagetelco.org/?p=1236</guid>
		<description><![CDATA[Thanks to the amazing work of Terry Gillett, Keith Williamson, and Elektra, I am happy to announce version 1.1 (RC2) of the SECN firmware. SECN is the firmware developed by&#8230;]]></description>
			<content:encoded><![CDATA[<p>Thanks to the amazing work of Terry Gillett, Keith Williamson, and Elektra, I am happy to announce version 1.1 (RC2) of the SECN firmware. SECN is the firmware <a title="Small Enterprise – Campus Network (SECN)" href="http://villagetelco.org/2011/04/small-enterprise-campus-network-secn/">developed by Terry Gillett</a> which features the use of batman-adv instead of batman mesh protocol as well as easy configuration of a WiFi hotspot for the Mesh Potato. From an interesting alternative, the SECN firmware has gone on to become the default firmware for the Mesh Potato. Here is a list of features that you can find in the 1.1 firmware. So what&#8217;s new in the 1.1 version?</p><h4><a href="http://villagetelco.org/wp-content/uploads/2012/03/basic_SECN_1-1.jpg"><img class="alignright size-thumbnail wp-image-1239" title="SECN Basic Configuration UI for the Mesh Potato" src="http://villagetelco.org/wp-content/uploads/2012/03/basic_SECN_1-1-150x150.jpg" alt="SECN Basic Configuration UI for the Mesh Potato" width="150" height="150" /></a>A Simple Configuration User Interface (UI)</h4><p>While <a title="LuCI Home Page" href="http://luci.subsignal.org/trac/wiki/Documentation" onclick="urchinTracker('/outgoing/luci.subsignal.org/trac/wiki/Documentation?referer=');">LuCI</a> is tremendously powerful, we have found that it can be intimidating for new users. It also doesn&#8217;t offer the VoIP configuration features that are key to Village Telco. The new configuration UI in version 1.1 offers the most important basic options including:  setting the IP address and gateway, the WiFi hotspot, and configuring your VoIP provider details. The UI is smart enough to stop you putting in a malformed IP address or from choosing a WPA key for your hotspot that is too short, etc. It can also try to guess your gateway for you.  Of course you don&#8217;t HAVE to use the web interface to configure your Mesh Potato.  You can also <a title="Call to Configure" href="http://villagetelco.org/get-started/call-to-configure/">configure it by phone</a>.</p><h4>Easy VoIP Setup</h4><p>Previously you were obliged to edit the Asterisk configuration files in order to set up a SIP account with your VoIP Service Provider.  Now all you need is the URL of the the SIP provider and your username and password.  The UI also indicates when the Mesh Potato is successfully registered to the SIP provider.   This is set to work with the most common default setting of VoIP services providers.  You can go to the Advanced setting page if you require custom VoIP options.</p><h4>Simple Access Point Configuration</h4><p>Setting up the Mesh Potato as a WiFi access point is a breeze.  Simply enter your preferred name for the WiFi network (the SSID) and then choose the form of encryption you prefer for the network.  By keeping the SSID the same for all of the Mesh Potatoes on your network, you can create a large, seamless hotspot.  Most WiFi-enabled devices will hand-off from access point to access point if you move around in the network allowing you limited mobility within the network.</p><h4>Security Options for your Mesh Potato</h4><p>Once you&#8217;ve configured your Mesh Potato, you may not wish to make it so easy to access the configuration options for your Mesh Potato.  You have to consider the fact that your Mesh Potato can be reached by anyone on the mesh network.  The new firmware offers three options for securing your Mesh Potato.</p><ol><li><em>Encryption</em>.  You can turn on the encrypted web interface which will secure all traffic to the Mesh Potato making it extremely difficult for anyone to intercept configuration traffic to the Mesh Potato.  This means that you would access the same web UI but using the HTTPS protocol.</li><li><em>Password</em>.  You can require a username and password to access the UI.  This is based on the root or admin user accounts on the Mesh Potato.</li><li><em>Limit IP addresses</em>.  You can also make the webserver accessible only through the fallback IP address.</li></ol><p>You can also disable the web interface entirely via the phone interface.</p><h4>Integrate Smartphones with your Village Telco</h4><p>The Mesh Potato is entirely standards-based which means that you can connect the Mesh Potato to any SIP server whether local or international.  But what if you don&#8217;t have the luxury of an Internet connection?  Well of course Mesh Potatoes are designed to make local calls to each other with or without an Internet connection or SIP server but what about using your WiFi-enabled smartphone on a local Village Telco network with no Internet connection?  This is now possible with version 1.1.  You can designate one of the Mesh Potatoes on your network to offer both DHCP and SIP services so that any WiFi-enabled smartphone can connect to the mesh network and dial the Mesh Potatoes and vice versa.   This has relevance for rapid deployment of Mesh Potatoes where you may not have time or resources to establish an upstream connection but still wish to make maximum voice use of the network.</p><h4><a href="http://villagetelco.org/wp-content/uploads/2012/03/wireless.jpg"><img class="alignright size-thumbnail wp-image-1241" title="Wireless Status Page" src="http://villagetelco.org/wp-content/uploads/2012/03/wireless-150x150.jpg" alt="Wireless Status Page" width="150" height="150" /></a>Wireless Status Page</h4><p>There is now a Wireless Status page that shows you the other mesh nodes in the network and devices that are connected to the WiFi hotspot on the Mesh Potato.  It is still a little cryptic.  In version 2 of the Mesh Potato firmware we&#8217;ll have a less technical status page although the more detailed stats will still be available.</p><h3>How to Get It</h3><p>You can download version 1.1 RC2 of the SECN firmware from:</p><p><a href="http://villagetelco.org/download/firmware/secn/unstable/mp/SECN-1.1/RC2/">http://villagetelco.org/download/firmware/secn/unstable/mp/SECN-1.1/RC2/</a></p><p>If you have never flashed a Mesh Potato with a new firmware, <a title="Flash Your Mesh Potato" href="http://villagetelco.org/get-started/flash-your-mesh-potato/">please follow this guide</a>.   The default IP address for the 1.1 RC2 firmware is <strong>10.130.1.20</strong> or you can use the fallback IP address of <strong>172.31.255.254</strong>.  You&#8217;ll note that this release is RC2 or Release Candidate 2 which means that the feature set is stable and we are not aware of any bugs but further testing is required to confirm this.</p><h3>But Wait There&#8217;s More</h3><p>The SECN firmware doesn&#8217;t just run on Mesh Potatoes.  It is also available for the <a title="Ecommerce site for WR703n" href="http://www.everbuying.com/product65368.html" onclick="urchinTracker('/outgoing/www.everbuying.com/product65368.html?referer=');">TP-Link WR703N</a> and the <a title="TP-Link MR-3020" href="http://www.tp-link.com/en/products/details/?model=TL-MR3020" onclick="urchinTracker('/outgoing/www.tp-link.com/en/products/details/?model=TL-MR3020&amp;referer=');">TP-Link MR-3020</a> so you can mix and match devices in your network.  The devices are completely interoperable with Mesh Potatoes running this firmware.  You can download those firmwares from:</p><p><a href="http://villagetelco.org/download/firmware/secn/unstable/tp-703n/SECN-1.1/factory/">http://villagetelco.org/download/firmware/secn/unstable/tp-703n/SECN-1.1/factory/</a> <a href="http://villagetelco.org/download/firmware/secn/unstable/tp-3020/SECN-1.1/factory/">http://villagetelco.org/download/firmware/secn/unstable/tp-3020/SECN-1.1/factory/</a></p><p>Finally, I can&#8217;t thank Terry, Elektra, and Keith enough for what they&#8217;ve accomplished.   All this progress is directly attributable to their hard work.</p><h3>Coming Next</h3><p>Elektra, Terry, and Keith are already working on Version 2 of the Mesh Potato firmware which will include an upgrade to OpenWRT <a href="https://dev.openwrt.org/milestone/Attitude%20Adjustment%20(trunk)" onclick="urchinTracker('/outgoing/dev.openwrt.org/milestone/Attitude_20Adjustment_20_trunk?referer=');">Attitude Adjustment</a> and to the latest and greatest version of <a title="Batman Advanced" href="http://www.open-mesh.org/wiki/batman-adv" onclick="urchinTracker('/outgoing/www.open-mesh.org/wiki/batman-adv?referer=');">batman-adv</a>.  We also have plans for a simple UI for switching between mesh, client and master WiFi mode for those who want to do different things with their Mesh Potatoes.  Suggestions, requests are welcome.</p>]]></content:encoded>
			<wfw:commentRss>http://villagetelco.org/2012/03/new-firmware-release-version-1-1-rc2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mesh Potatoes now FCC and CE Approved</title>
		<link>http://villagetelco.org/2011/10/mesh-potatoes-now-fcc-and-ce-approved/</link>
		<comments>http://villagetelco.org/2011/10/mesh-potatoes-now-fcc-and-ce-approved/#comments</comments>
		<pubDate>Tue, 18 Oct 2011 12:35:34 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Mesh Potato]]></category>
		<category><![CDATA[CE]]></category>
		<category><![CDATA[FCC]]></category>
		<category><![CDATA[ICASA]]></category>
		<category><![CDATA[regulation]]></category>
		<category><![CDATA[standards]]></category>
		<category><![CDATA[type approval]]></category>

		<guid isPermaLink="false">http://villagetelco.org/?p=1141</guid>
		<description><![CDATA[The process of developing Village Telco and in particular the Mesh Potato has been a huge learning curve and indeed this is what makes it so worthwhile (dare I say&#8230;]]></description>
			<content:encoded><![CDATA[<p><a href="http://villagetelco.org/wp-content/uploads/2011/10/compliance.jpg"><img class="alignright size-medium wp-image-1142" title="compliance" src="http://villagetelco.org/wp-content/uploads/2011/10/compliance-300x214.jpg" alt="" width="300" height="214" /></a>The process of developing Village Telco and in particular the Mesh Potato has been a huge learning curve and indeed this is what makes it so worthwhile (dare I say fun) is the variety of skills and knowledge that one has to acquire to become a small scale manufacturer. However, the very nature of learning implies sometimes making mistakes and the occasionally painful experience of acquiring knowledge after you needed it as opposed to before.</p><p>One of the early mistakes we made with the Mesh Potato was not placing sufficient emphasis early on, on getting type approval for the Mesh Potato and indeed focusing on both European and U.S. type approval.  What is type approval you ask?  Type approval is the magic glue that makes unlicensed spectrum work.  Many people take the term unlicensed to mean unregulated but nothing could be further from the the truth.  Unlicensed spectrum succeeds because the devices that are permitted to use unlicensed spectrum are carefully regulated to ensure that they conform to strict standards in terms of power output and many other technical specifications that ensure that unlicensed devices &#8220;play nicely&#8221; with each other.</p><p>I am happy to say that this issued has finally been addressed in full and Mesh Potatoes now enjoy full compliance with both the standards of the Federal Communications Commission (FCC) of the United States and the European Union&#8217;s <a title="Wikipedia entry for CE Mark" href="http://en.wikipedia.org/wiki/CE_mark" onclick="urchinTracker('/outgoing/en.wikipedia.org/wiki/CE_mark?referer=');">CE standard</a>.  These are the two most common international standards for compliance and should ensure that the Mesh Potato can conform to almost any regulatory regime.</p><p>If you would like to get copies of the certification in order to apply for local type approval in your country, please get in contact with us <a title="Contact" href="http://villagetelco.org/contact/">via this website</a>.</p><p>&nbsp;</p>]]></content:encoded>
			<wfw:commentRss>http://villagetelco.org/2011/10/mesh-potatoes-now-fcc-and-ce-approved/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>AfrikaBurns Again for a Village Telco</title>
		<link>http://villagetelco.org/2011/05/afrikaburns-again-for-a-village-telco/</link>
		<comments>http://villagetelco.org/2011/05/afrikaburns-again-for-a-village-telco/#comments</comments>
		<pubDate>Tue, 17 May 2011 16:15:12 +0000</pubDate>
		<dc:creator>dcarman</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Mesh Potato]]></category>
		<category><![CDATA[afrikaburn]]></category>
		<category><![CDATA[festival]]></category>
		<category><![CDATA[isigidimi]]></category>

		<guid isPermaLink="false">http://villagetelco.org/?p=977</guid>
		<description><![CDATA[The following is a guest post from Scarborough Mesh pioneer David Carman who set up a Mesh Potato telephone network for the second year at AfrikaBurn. We headed for Tankwa&#8230;]]></description>
			<content:encoded><![CDATA[<address>The following is a guest post from <a title="Scarborough Mesh" href="http://swug.za.net/wiki/FAQ" onclick="urchinTracker('/outgoing/swug.za.net/wiki/FAQ?referer=');">Scarborough Mesh</a> pioneer David Carman who set up a Mesh Potato telephone network for the second year at <a title="AfrikaBurn Home Page" href="http://www.afrikaburn.com/" onclick="urchinTracker('/outgoing/www.afrikaburn.com/?referer=');">AfrikaBurn</a>.</address><hr /><p><a class="tt-flickr tt-flickr-Small" title="David Carman installing Mesh Potato phone booth" href="http://www.flickr.com/photos/ssong/5669502074/" onclick="urchinTracker('/outgoing/www.flickr.com/photos/ssong/5669502074/?referer=');"><img class="alignright" src="http://farm6.static.flickr.com/5061/5669502074_f0652bd461_m.jpg" alt="David Carman installing Mesh Potato phone booth" width="240" height="172" /></a> We headed for Tankwa Town with a full load and empty wallet and flashed &amp; configured the Mesh Potatoes (MPs) in the desert using the good ol&#8217; 192.168 range. The booths were different to last year: they had production MPs, new sleeves and no lighting. I set each node with a different Virtual Access Point (VAP) SSID based on the phone number because I found that using an identical VAP SSID caused SSH to die. This will be ideal in the future, when each MP owner has a WPA key on their router and both cabled and VAP connections are linked to the same account. So any device that wants to roam must either switch between VAPs or run batman itself.</p><p>Steve came up for 2 days to help set up and bring some much-needed supplies. I discovered that an Olmeca tequila bottle is not as sturdy as it looks. It broke in the trailer and softened up the Tetrapak milk until most of the cartons ruptured too. So a Nano, a few phones and other gear were swamped. Thanks for the rescue, Steve.</p><p>We set up the booths easily this year &#8211; far less wiring and better ground pegs. We put phones in the organiser&#8217;s caravan, medics and the gate, with a Nano to cover the 5km distance to the gate. However this year they had moved the gate to the end of the airstrip, so it was only 1km away.</p><p>I had brought a netbook with broken screen to act as gateway, redirecting all port 80 traffic to a phpbb3 bulletin board with the appropriate DirtyBoard2.0 skin &#8211; see <a title="SWUG" href="http://swug.za.net/phpbb/" target="_blank" onclick="urchinTracker('/outgoing/swug.za.net/phpbb/?referer=');">http://swug.za.net/phpbb/</a>. I also redirected port 53 to <a title="Wikipedia entry for dnsmasq" href="http://en.wikipedia.org/wiki/Dnsmasq" target="_blank" onclick="urchinTracker('/outgoing/en.wikipedia.org/wiki/Dnsmasq?referer=');">dnsmasq</a> that spoofed the DNS of  Top Level Domains (TLDs) to the gateway IP too. These are the kinds of things that naughty people do, but I think it works well for our application. I set each router&#8217;s dns as 8.8.8.8 and SIP registration to villagetelco.org. When a mesh is connected to the Internet, DNS &amp; SIP will work fine (once VT has a SIP server). If there is no Internet access, DNS/SIP/HTTP can be fielded by an offline gateway server. It does look a bit odd, but it works.</p><p>The spoof gateway was running fine for devices connected to the LAN but was not accessible from the WAN. In fact, no other device connected to a different MP could be seen except for the MP&#8217;s LAN address itself. This suggested that there was an issue with the dummy gateway setting on the LAN, required to allow Asterisk to run as per <a href="http://groups.google.com/group/village-telco-dev/browse_thread/thread/668b2373c94334d5?fwc=1&amp;pli=1" onclick="urchinTracker('/outgoing/groups.google.com/group/village-telco-dev/browse_thread/thread/668b2373c94334d5?fwc=1_amp_pli=1&amp;referer=');">David &amp; Elektra&#8217;s discussion</a> </p><p>I was 4 days into the trip by then and it was time to party, so I left the gateway for another day &#8211; and Internet access. It was most helpful though in checking the booths. Instead of plugging in a netbook, one could just pick a nearby cosy camp, settle down and connect wirelessly. DHCP, LAN bridging, batman routing, Asterisk were all working fine.</p><h3>Solar operation</h3><p>This year I invested in a 90W monocrystalline solar panel and regulator for the camp &#8211; 90 watts when the sun is shining for the next 25-50 years. It will be part of my home solar office in a few weeks. I had 4 105AH tractor batteries from last year and connected the gateway netbook and the fixed one (20-40W each), plus about 20W of lighting and didn&#8217;t have a power problem for the whole week.</p><p>We used the 10W flexible solar panels and 12AH batteries on the booths as with last year, but this time there was no lighting in the booths. 10W kept the booth MPs up throughout the week, but the batteries drained progressively. I put this down to the number of phone calls being made &#8211; nearly all the time, day &amp; night. One booth&#8217;s phone was left off-hook providing dialtone for a few hours. I disconnected it for a charge back at camp and it was sorted. Perhaps a dialtone hangup can be written into Asterisk for such events on battery-powered phones.</p><p>I also installed a phone in a friend&#8217;s art car, connected to the cigarette lighter adapter. It was great to be able to phone the art car from anywhere and ask for a pick-up. However next year, I&#8217;ll bring along some battery clips so that the phone stays on when the car is off &#8211; see whether the MP can &#8220;survive the crank&#8221;.</p><h3>Conclusion</h3><p><a class="tt-flickr tt-flickr-Small" title="Mesh Potato Phone Booth at Afrikaburn" href="http://www.flickr.com/photos/ssong/5668930977/" onclick="urchinTracker('/outgoing/www.flickr.com/photos/ssong/5668930977/?referer=');"><img class="alignleft" src="http://farm6.static.flickr.com/5265/5668930977_b11e96bc93_m.jpg" alt="Mesh Potato Phone Booth at Afrikaburn" width="240" height="172" /></a> This year was tougher with just Steve and I setting up, but easier because of the work we could build on from last year. The most promising result from this year were that the phones worked and worked hard. It gave me some time to work towards the 4093-node, no-NAT VAP firmware I long for. Although the VAP was not feeding into the gateway, every person with a wifi-enabled laptop or phone saw hotspots &#8211; so hopefully they&#8217;ll be better prepared next time too. Comments from participants were different this year too. Last year the phones were a novelty; this year people were more interested in and supportive of the technology behind the phones.</p><p>This year I met some important people for next year. Adriaan Wessels is the technical chap on the organising committee. For next year, we&#8217;ll be able to plan carefully regarding gate link and possibly organiser car links. Organiser confidence in the network will mean that they will be able to pre-announce a &#8220;Tankwanet&#8221; and its services so that participants can be better prepared to take advantage. There are a lot of IT geeks at Afrikaburn. Perhaps some of them could be persuaded to offer services on the network.</p><p>Rod Bracher runs the Tankwa Town post office, Burning Mail. They have some old rotary-dialling phones that they connect with carrier but without dialling. I tried to coordinate with him to hook his phones up to the network, but ran out of time. We had a chat about doing so at this burn, so pulse-dialling is definitely on for next year.</p><p>The streaming services company antfarm.co.za were at AfrikaBurn this year. I couldn&#8217;t spot their VSAT dish, but made brief contact. They were streaming the burns live, which led me to figure a rule at AfrikaBurn: the isolation is an important part of the event, but the isolation need only exist one way &#8211; incoming. So theoretically, participants should be able to send SMSs, update their twitter accounts and post on a forum on the Internet &#8211; as long as they don&#8217;t see any response from outside the burn. Antfarm&#8217;s ISP only allows Internet connection on port 80, so a little port jiggling and a helpful Internet server should squeeze whatever we need through, except for multiport SIP.</p><p>Lastly and simply, Isigidimi was at AB2011. The continuity will help us attract more participants next year, and perhaps more of the VT-dev community. You can set up an Asterisk service, website, jabberd, tinker with pulse-dialling, or just sip on the Kool Aid and be inspired ;^)</p><p>Here are some<a title="More images from Afrikaburn 2011 on Flickr" href="http://www.flickr.com/search/?q=afrikaburn+2011&amp;z=e&amp;m=tags" onclick="urchinTracker('/outgoing/www.flickr.com/search/?q=afrikaburn+2011_amp_z=e_amp_m=tags&amp;referer=');"> more images from Afrikaburn 2011</a></p>]]></content:encoded>
			<wfw:commentRss>http://villagetelco.org/2011/05/afrikaburns-again-for-a-village-telco/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bo-kaap Village Telco &#8211; Part 1</title>
		<link>http://villagetelco.org/2011/02/bo-kaap-village-telco-part-1/</link>
		<comments>http://villagetelco.org/2011/02/bo-kaap-village-telco-part-1/#comments</comments>
		<pubDate>Tue, 01 Feb 2011 19:59:16 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Village Telco]]></category>
		<category><![CDATA[bo-kaap]]></category>
		<category><![CDATA[bokaap]]></category>
		<category><![CDATA[cape town]]></category>
		<category><![CDATA[mesh]]></category>
		<category><![CDATA[Mesh Potato]]></category>
		<category><![CDATA[pilot]]></category>

		<guid isPermaLink="false">http://villagetelco.org/?p=766</guid>
		<description><![CDATA[While David Rowe and Lemi Soares have been busy building a Village Telco in Dili, the capitol of East Timor, we&#8217;ve also been hard at work in Cape Town building&#8230;]]></description>
			<content:encoded><![CDATA[<p><a href="http://villagetelco.org/wp-content/uploads/2011/02/afrimesh_again.jpg"><img class="alignright size-medium wp-image-773" title="Afrimesh - Bo-kaap" src="http://villagetelco.org/wp-content/uploads/2011/02/afrimesh_again-182x300.jpg" alt="" width="182" height="300" /></a>While David Rowe and Lemi Soares have been busy building a <a title="David Rowe's Series of blog posts on the Dili Village Telco" href="http://www.rowetel.com/blog/?p=1447" target="_blank" onclick="urchinTracker('/outgoing/www.rowetel.com/blog/?p=1447&amp;referer=');">Village Telco in Dili</a>, the capitol of East Timor, we&#8217;ve also been hard at work in Cape Town building a Village Telco within the Bo-kaap community.  The <a title="Wikipedia entry for Bo-kaap" href="http://en.wikipedia.org/wiki/Bo-Kaap" target="_blank" onclick="urchinTracker('/outgoing/en.wikipedia.org/wiki/Bo-Kaap?referer=');">Bo-kaap</a> is a largely muslim community in the heart of Cape Town.  Many of the residents go back several generations and have fascinating stories to tell.  It is a mix of wealthy and poor and also has a sprinkling of &#8220;immigrants&#8221; mostly white, artistic types (film-makers, photographers, architects) who have been attracted by the Bo-kaap&#8217;s unique character.</p><p>In terms of a place to pilot a Village Telco, it sits above the demographic we intended the Village Telco for but it seemed a good choice for a number of reasons:</p><ol><li>There is a really strong community.  There are strong social bonds linking everyone in the Bo-kaap and strong social bonds means a strong desire to communicate locally.  This was the strongest motivator for choosing the Bo-kaap</li><li>We&#8217;re still learning and don&#8217;t want to create a dependency on something that is still evolving. The fact that Bo-kaap community is a little wealthier on average than our target community means that although they may value the Village Telco, they won&#8217;t be completely stuffed up if something goes wrong as we perfect the network.</li><li>It&#8217;s convenient.  Tempting as it is to set up a rural Village Telco right away, the Bo-kaap is not many minutes away for me so easy to get to and work on.</li></ol><p>At the right you can see a screenshot from the <a title="Afrimesh - home page" href="http://code.google.com/p/afrimesh/" target="_blank" onclick="urchinTracker('/outgoing/code.google.com/p/afrimesh/?referer=');">Afrimesh</a> software that we use to monitor the mesh.  Right now we&#8217;re up to about 50 nodes in the mesh and the increasing density continues to make things easier and easier.  In the beginning we had to be very careful about long links and used some Ubiquity Nanostation IIs to make some of the long shots.  We also had to be very careful about getting the Mesh Potatoes into a strategic position to pick-up other Mesh Potatoes.  Now, once I get up on someone&#8217;s roof, I can usually see a Mesh Potato in some direction so installation is as simple as finding something to attach the Mesh Potato to.  TV antenna&#8217;s have proven to be very convenient in this regard.</p><p><a href="http://villagetelco.org/wp-content/uploads/2011/02/mp_tv_antenna.jpg"><img class="alignleft size-thumbnail wp-image-777" title="Mesh Potato attached to a television antenna" src="http://villagetelco.org/wp-content/uploads/2011/02/mp_tv_antenna-150x150.jpg" alt="" width="150" height="150" /></a> The installation process for the Bo-kaap has been slow, partly because it took a long time to get production Mesh Potatoes into our hand but also because the Bo-kaap is an old community and the houses in it have evolved more than they have been planned.  Each house is a little exercise in complexity in terms of getting to the roof, finding a cable path down from the roof, finding power near the desire location of the phone, etc.  I&#8217;ve got it down to a routine now though.  Having the right tools like a long concrete drill bit for going through walls are simple things that make life a lot easier.</p><p>We&#8217;re learning a lot as we install the Bo-kaap Village Telco.  We decided to offer 100 Mesh Potatoes to the community in exchange for user feedback on the Village Telco.  In order to build the most useful network possible, we built connections by following social ties, a bit like <a title="Wikipedia entry for Snowball Sampling" href="http://en.wikipedia.org/wiki/Snowball_sampling" target="_blank" onclick="urchinTracker('/outgoing/en.wikipedia.org/wiki/Snowball_sampling?referer=');">snowball sampling</a> in research.  We started with a family that ran a cafe and followed their social ties, brothers, sisters, friends, neighbours.  Each new person is at liberty to suggest others.  By following existing strong social ties, the Village Telco immediately begins to delivery high-value connections.  An older mother-in-law that wants to stay in touch with her family who are only a few doors away but it is hard for her to get around.  A mother who recently became a grandmother wants to stay in touch with her daughter.  In each of these cases, they could use a mobile phone to call but like the majority of people in South Africa they are conscious of what time spent on the phone costs them.  A local Village Telco call is free.</p><p>Mesh Potatoes can be gateway-ed to other telecom networks and can also offer Internet services but for the time being we are just offering local voice because the devices do that on their own at no additional cost.  Once the community is ready to take over the network themselves and manage external voice and Internet charges, we&#8217;ll enable those other features.  Stand by for more from the Bo-kaap Village Telco.</p>]]></content:encoded>
			<wfw:commentRss>http://villagetelco.org/2011/02/bo-kaap-village-telco-part-1/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Using the Voice Interface to Tune MP WiFi Connection</title>
		<link>http://villagetelco.org/2010/06/using-the-voice-interface-to-tune-mp-wifi-connection/</link>
		<comments>http://villagetelco.org/2010/06/using-the-voice-interface-to-tune-mp-wifi-connection/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 19:25:04 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[Mesh Potato]]></category>
		<category><![CDATA[UI]]></category>
		<category><![CDATA[user interface]]></category>
		<category><![CDATA[voice user interface]]></category>

		<guid isPermaLink="false">http://villagetelco.org/?p=591</guid>
		<description><![CDATA[One of the challenges in making the Mesh Potato as dead simple to use as possible is the fact that, unlike many modern Internet devices, it has no GUI.  Sure,&#8230;]]></description>
			<content:encoded><![CDATA[<p>One of the challenges in making the Mesh Potato as dead simple to use as possible is the fact that, unlike many modern Internet devices, it has no GUI.  Sure, you can plug a laptop into the ethernet port or connect via WiFi to a web interface but the Mesh Potato on its own has no GUI, which presents certain challenges in designing a drop dead easy-to-use device.</p><p>However, constraint can be both a barrier and an <a title="Many Possibilities - Using Constraint to Design for Innovation" href="http://manypossibilities.net/2008/11/using-constraint-to-design-for-innovation/" onclick="urchinTracker('/outgoing/manypossibilities.net/2008/11/using-constraint-to-design-for-innovation/?referer=');">enabler of innovation</a> and this is certainly true of the Mesh Potato.  As it turns out, we are only just beginning to discover the potential of the voice interface to the Mesh Potato to improve user experience.  Here is a great example.</p><p>The first thing you want to do when you power up a Mesh Potato is make sure it has a good connection to its peers.  This is easy if you have a GUI or even a command line but what if you just have a telephone handset?  David Rowe developed a script for his deployment of the Dili Village Telco that continuously polled the quality of the mesh link on the MP.  Elektra has taken that one further and integrated the script into a voice interface that give continuous audio feedback on link quality making it easy to tune your WiFi connection with a simple handset.  Here&#8217;s a brief  video of me testing out this feature.</p><p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="300" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=12795414&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="400" height="300" src="http://vimeo.com/moogaloop.swf?clip_id=12795414&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p><p><a href="http://vimeo.com/12795414" onclick="urchinTracker('/outgoing/vimeo.com/12795414?referer=');">Tuning Mesh Potato WiFi Performance with a Voice User Interface</a> from <a href="http://vimeo.com/stevesong" onclick="urchinTracker('/outgoing/vimeo.com/stevesong?referer=');">Steve Song</a> on <a href="http://vimeo.com" onclick="urchinTracker('/outgoing/vimeo.com?referer=');">Vimeo</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://villagetelco.org/2010/06/using-the-voice-interface-to-tune-mp-wifi-connection/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Smoke testing the Mesh-Potato video &#8211; Part II</title>
		<link>http://villagetelco.org/2010/02/smoke-testing-the-mesh-potato-video-part-ii/</link>
		<comments>http://villagetelco.org/2010/02/smoke-testing-the-mesh-potato-video-part-ii/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 18:00:58 +0000</pubDate>
		<dc:creator>elektra</dc:creator>
				<category><![CDATA[Mesh Potato]]></category>
		<category><![CDATA[Village Telco]]></category>
		<category><![CDATA[protection]]></category>
		<category><![CDATA[smoke test]]></category>
		<category><![CDATA[surge]]></category>
		<category><![CDATA[voltage]]></category>

		<guid isPermaLink="false">http://villagetelco.org/?p=540</guid>
		<description><![CDATA[We have now a new over-voltage protection circuit design for the mass production Mesh-Potatos. We were not satisfied with the previous version. Ideally the over-voltage protection circuit has a snap-on&#8230;]]></description>
			<content:encoded><![CDATA[<p>We have now a new over-voltage protection circuit design for the mass production Mesh-Potatos. We were not satisfied with the previous version. Ideally the over-voltage protection circuit has a snap-on characteristic that triggers the fuse and interrupts the supply voltage without a grey zone. The new circuit triggers at 43 Volts and acts as a powerful crowbar circuit. I have connected the prototype of this circuit to a Mesh-Potato and went through the robustness tests according to our test plan. You can find the <a title="test plan" href="http://villagetelco.svn.sourceforge.net/viewvc/villagetelco/elektra/schematics/Robustness-test-plan-protocol.txt?view=log" target="_blank" onclick="urchinTracker('/outgoing/villagetelco.svn.sourceforge.net/viewvc/villagetelco/elektra/schematics/Robustness-test-plan-protocol.txt?view=log&amp;referer=');">test plan</a> and the <a title="schematic" href="http://villagetelco.svn.sourceforge.net/viewvc/villagetelco/elektra/schematics/Overvoltage-protection-new.pdf?view=log" target="_blank" onclick="urchinTracker('/outgoing/villagetelco.svn.sourceforge.net/viewvc/villagetelco/elektra/schematics/Overvoltage-protection-new.pdf?view=log&amp;referer=');">schematic</a> in the svn respository. A little <a title="video" href="http://vimeo.com/9576879" target="_blank" onclick="urchinTracker('/outgoing/vimeo.com/9576879?referer=');">video</a> at Vimeo.com is documenting some of the tests &#8211; thanks to Katrin Lang, who acted as editor and camera operator this time.<br /><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="300" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=9576879&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="400" height="300" src="http://vimeo.com/moogaloop.swf?clip_id=9576879&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p><p><a href="http://vimeo.com/9576879" onclick="urchinTracker('/outgoing/vimeo.com/9576879?referer=');">Mesh-Potato smoke testing with 230 Volt AC</a> from <a href="http://vimeo.com/user3204934" onclick="urchinTracker('/outgoing/vimeo.com/user3204934?referer=');">Elektra Berlin</a> on <a href="http://vimeo.com" onclick="urchinTracker('/outgoing/vimeo.com?referer=');">Vimeo</a>.</p><p>The list of tests included a reverse DC voltage test from a unfused 36 Volt source (consisting of three powerful 12 V lead acid batteries in series), excessive DC voltage tests and finally a really scary test involving 230 Volt AC (330 Volt peak) from mains. Please don&#8217;t try this at home. Even if the Mesh-Potato survives, there is a 50% chance that you might have mains potential on ground of all components connected to the MP. Also don&#8217;t try this with your alpha or beta series Mesh-Potatos, because the previous over-voltage protection circuit is not up to that challenge.</p><p>Technically inexperienced people can easily make mistakes, so our idea was to design the Mesh-Potato as robust as possible. In 2005 I was helping to set up a large scale WLAN network in the Sylhet area in Bangladesh. The network consisted of high towers (up to 100 feet tall) and strong directional antennas, interconnecting towns and a school with wireless long shots (up to 32km). One of the trainees damaged a important wireless relay on a tower by taking the open ends of a 12 Volt cable and plugging it straight into the mains socket. Of course the equipment (a Mesh-Cube from 4G Systems) subsequently looked like a lightning strike had hit it, which was actually what I supposed first. However there had been no thunderstorm in the night before. It took me a while to find the reason. The trainee either hadn&#8217;t realized what he had done, or he didn&#8217;t want to admit it. He watched me trying to find the problem without saying anything. It is common practice in Bangladesh to plug cables into sockets without plugs. The quality of sockets and plugs is miserable, so loose contacts are the rule, not the exception. Now a important relay was down and it was hard to get a replacement. The problem wasn&#8217;t so much the financial loss. Shipping and particularly customs can take weeks in Bangladesh. So during the first Villagetelco workshop I suggested to design the MP as robust as possible.</p>]]></content:encoded>
			<wfw:commentRss>http://villagetelco.org/2010/02/smoke-testing-the-mesh-potato-video-part-ii/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>First Beta Mesh Potato</title>
		<link>http://villagetelco.org/2010/01/first-beta-mesh-potato/</link>
		<comments>http://villagetelco.org/2010/01/first-beta-mesh-potato/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 08:08:20 +0000</pubDate>
		<dc:creator>drowe</dc:creator>
				<category><![CDATA[Mesh Potato]]></category>
		<category><![CDATA[Village Telco]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[mesh]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://villagetelco.org/?p=508</guid>
		<description><![CDATA[Joel is helping my Village Telco presentation at the upcoming LCA 2010 conference so I took a couple of the first Beta MP01s down to his place for a test&#8230;]]></description>
			<content:encoded><![CDATA[<p><a href="http://jms.id.au" onclick="urchinTracker('/outgoing/jms.id.au?referer=');">Joel</a> is helping my Village Telco presentation at the upcoming <a href="http://www.lca2010.org.nz/" onclick="urchinTracker('/outgoing/www.lca2010.org.nz/?referer=');">LCA 2010</a> conference so I took a couple of the first Beta MP01s down to his place for a test drive.  They are fresh off the production line and not even calibrated as I needed them in a hurry for LCA 2010.  Atcom are currently assembling, testing and calibrating the Betas which will be shipping over the next few weeks.</p><div id="attachment_510" class="wp-caption aligncenter" style="width: 460px"><a href="http://villagetelco.org/wp-content/uploads/2010/01/joels_beta_mp01.jpg"><img class="size-full wp-image-510" title="joels_beta_mp01" src="http://villagetelco.org/wp-content/uploads/2010/01/joels_beta_mp01.jpg" alt="" width="450" height="338" /></a><p class="wp-caption-text">The first Beta Mesh Potato</p></div><p>These early Betas are running revision 203 firmware, which has Afrimesh as the primary GUI with Luci available for &#8220;advanced&#8221; configuration options.  Thanks Elektra and Antoine for your fine work on the Mesh Potato GUI.</p><p>Here is Joel&#8217;s experience &#8211; our #1 Beta MP01 tester!  Joel is pretty geeky (he has contributed for several years to the OLPC project) but has never used a Mesh Potato before.  I hope this information will be useful for other Beta testers who should be getting their Mesh Potatoes over the next few weeks.  I stood back through most of Joel&#8217;s beta experience &#8211; I wanted to see how other people approach the Mesh Potato.</p><p><strong>How Joel Configured His Mesh Potato</strong></p><ol><li>The default Ethernet IP is 192.168.1.20.  Joel plugged a cross over Ethernet cable into the MP01, although a regular cable should be OK.</li><li>He then logged in via telnet, and set the password from the command line using the &#8220;passwd&#8221; command. Setting the password activated ssh and disabled telnet.  This password also becomes the web admin password.</li><li>Joel then pointed his browser at 192.168.1.20 and the Web GUI came up.</li><li>He changed the 10.130.1.20 &#8220;IP Address&#8221; to a unique IP on the mesh.  Joel selected 10.130.1.123. This is the only change you need to start making phone calls between Mesh Potatoes.  This IP address becomes your phone number, for example dialing 123 on the mesh will make Joel&#8217;s phone ring.  Note this <strong>only</strong> changes the mesh Wifi IP &#8211; the Ethernet IP is still 192.168.1.20.  The Ethernet IP can be changed via the Luci Network Menu.<div id="attachment_509" class="wp-caption aligncenter" style="width: 388px"><a href="http://villagetelco.org/wp-content/uploads/2010/01/web-interface-main-page.png"><img class="size-full wp-image-509" title="Wifi IP Set Up" src="http://villagetelco.org/wp-content/uploads/2010/01/web-interface-main-page.png" alt="" width="378" height="223" /></a><p class="wp-caption-text">Setting the Wifi IP on the Mesh Potato</p></div><p>Note the settings are applied automatically &#8211; there is no &#8220;save&#8221; button, although I understand that this will be present on later firmware as out of habit we all look for a save button!  To apply the settings (i.e. change the actual Wifi settings) we rebooted (power cycled) our MP01.</p><p>We also changed the Wifi channel and BSSID to match the mesh settings of a couple of earlier Potatoes.  This is not really necessary, the default Wifi channel and BSSID are probably OK for you.</li></ol><p>That&#8217;s it &#8211; the main step is just change the mesh Wifi IP to something other than 10.130.20.  Then reboot and you can start making calls between Mesh potatoes.</p><p><strong>Easier Configuration</strong></p><p>A slightly easier way is:</p><ol><li>Point your web browser at 192.168.1.20, login with user/password root/admin.</li><li>Simply change the Wifi IP from 10.130.1.x to 10.130.1.yourchoice.</li><li>Power cycle your potato.</li></ol><p><strong>Configuration without a Web browser</strong></p><ol><li>Power up your Potato and connect a phone, after about 1 minute you will get dial tone.</li><li>Dial CONF (2663) and you will hear HAL 9000 talking to you!</li><li>Enter the new Wifi IP, e.g. 10*130*1*123</li></ol><p>Joel asked a good question &#8211; what do all the LEDs mean?  They are not labeled although from memory it&#8217;s power/Ethernet/Wifi activity etc.  I asked Edwin@Atcom about this and the reason was the vinyl labels hadn&#8217;t arrived when the first few betas shipped.  The rest of the Betas will have these labels for the LEDs.</p>]]></content:encoded>
			<wfw:commentRss>http://villagetelco.org/2010/01/first-beta-mesh-potato/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Antenna Testing</title>
		<link>http://villagetelco.org/2009/12/antenna-testing/</link>
		<comments>http://villagetelco.org/2009/12/antenna-testing/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 20:28:56 +0000</pubDate>
		<dc:creator>drowe</dc:creator>
				<category><![CDATA[Mesh Potato]]></category>
		<category><![CDATA[Village Telco]]></category>
		<category><![CDATA[antenna]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[RF]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://villagetelco.org/?p=482</guid>
		<description><![CDATA[Jeff and I have just had an enjoyable day outside testing candidate antennas for the Mesh Potato. Our goal was to evaluate candidates for the internal antenna of the production&#8230;]]></description>
			<content:encoded><![CDATA[<p>Jeff and I have just had an enjoyable day outside testing candidate antennas for the Mesh Potato.  Our goal was to evaluate candidates for the internal antenna of the production Mesh Potato.</p><p>Jeff designed three types of antennas which I laid out on PCB and had fabricated locally.  The three designs were a dipole, a monopole, and a biquad (single loop).  We made three versions of each PCB antenna with slightly different dimensions.</p><p>I also made a some wire antennas, a monopole, a biquad (dual loop), and a quad (single loop).</p><div id="attachment_484" class="wp-caption aligncenter" style="width: 460px"><a href="http://villagetelco.org/wp-content/uploads/2009/12/our_antennas_450.jpg"><img class="size-full wp-image-484" title="our_antennas_450" src="http://villagetelco.org/wp-content/uploads/2009/12/our_antennas_450.jpg" alt="" width="450" height="338" /></a><p class="wp-caption-text">Our PCB and wire antennas</p></div><div id="attachment_497" class="wp-caption aligncenter" style="width: 442px"><a href="http://villagetelco.org/wp-content/uploads/2009/12/pcb_biquad.png"><img class="size-full wp-image-497" title="pcb_biquad" src="http://villagetelco.org/wp-content/uploads/2009/12/pcb_biquad.png" alt="PCB Biquad Design" width="432" height="356" /></a><p class="wp-caption-text">PCB biquad design</p></div><div id="attachment_498" class="wp-caption aligncenter" style="width: 353px"><a href="http://villagetelco.org/wp-content/uploads/2009/12/pcb_monopole.png"><img class="size-full wp-image-498" title="pcb_monopole" src="http://villagetelco.org/wp-content/uploads/2009/12/pcb_monopole.png" alt="PCB Monopole Design" width="343" height="342" /></a><p class="wp-caption-text">PCB Monopole Design</p></div><p><strong>Checking the Antenna Impedance</strong></p><p>When the PCBs came back the first step was to check the impedance of each antenna. We want roughly 50 ohms impedance to ensure the maximum amount of power is transferred from the Mesh Potato transmitter to the antenna.</p><p>A Standing Wave Ratio (SWR) bridge can be used to measure the SWR. I used a version of the design by <a href="http://pe2er.nl/wifiswr/index.htm" onclick="urchinTracker('/outgoing/pe2er.nl/wifiswr/index.htm?referer=');">Erwin Gijzen</a>, a radio Ham and Wifi experimenter.  I constructed the SWR head, and measured the DC voltage from the bridge using a multimeter.  The bridge compares the impedance of the antennas to a known 50 ohms impedance.  If they are equal then the DC output from the bridge should be 0V.  Various degrees of mis-match give different output voltages.</p><div id="attachment_486" class="wp-caption aligncenter" style="width: 460px"><a href="http://villagetelco.org/wp-content/uploads/2009/12/swr_head_450.jpg"><img class="size-full wp-image-486" title="swr_head_450" src="http://villagetelco.org/wp-content/uploads/2009/12/swr_head_450.jpg" alt="SWR head" width="450" height="283" /></a><p class="wp-caption-text">SWR head, microwave PCB made with a Dremel tool</p></div><p>I constructed the bridge from double sided PCB and cut the microstrip (3mm wide on 1.6mm thick FR4) with a Dremel tool to save time.  When tested it gave sensible results once I fitted a decent microwave detector diode.  Unlike Erwin I couldn&#8217;t null it down to 0V with a reference 50 ohm load but it did give indicative readings that enabled me to compare our antennas to reference antennas and determine if they had a reasonable match to 50 ohms.</p><p>Here are some results:</p><table><tbody><tr><th>Load</th><th>SWR bridge output (VDC)</th></tr><tr><td>50 ohm dummy</td><td>0.5</td></tr><tr><td>short circuit</td><td>1.3</td></tr><tr><td>off the shelf router antenna</td><td>0.5</td></tr><tr><td>17mm PCB monopole</td><td>0.5</td></tr><tr><td>20mm PCB monopole</td><td>0.7</td></tr><tr><td>34mm PCB dipole</td><td>1.3</td></tr><tr><td>64mm PCB biquad dual loop</td><td>1.3</td></tr><tr><td>68mm PCB biquad dual loop</td><td>1.4</td></tr><tr><td>72mm PCB biquad dual loop</td><td>1.5</td></tr><tr><td>wire biquad dual loop</td><td>0.8</td></tr><tr><td>wire monopole</td><td>0.6</td></tr></tbody></table><p>The 17mm and 20mm monopoles look good, close to the reference 50 ohm load and commercial off the shelf router antennas (which have sleeve dipole construction internally).  The wire antennas also look good.  The PCB dipole and PCB biquads don&#8217;t look so great.</p><p>I tuned the wire monopole to a low SWR by snipping off bits of wire, 0.5mm at a time.  I started with a length of 31mm (free space quarter wavelength at 2.4 GHz) but found a good SWR at 26mm.  This is probably due to the dielectric constant of the insulation on the wire affecting the wavelength.</p><p><strong>Antenna Test Range</strong></p><p>I constructed a test range in my back yard, along the lines discussed by <a href="http://pe2er.nl/antennetesten/antennameasurement.htm" onclick="urchinTracker('/outgoing/pe2er.nl/antennetesten/antennameasurement.htm?referer=');">Erwin</a>.  I used a Nanostation 2 at the transmitter, sending continuous 802.11b broadcast pings <a href="http://www.rowetel.com/blog/?p=139" onclick="urchinTracker('/outgoing/www.rowetel.com/blog/?p=139&amp;referer=');">as described here</a>.  The antenna under test was placed about 6m away and a <a></a> spectrum analyser used as the receiver.  It wasn&#8217;t a very good antenna range but after some experimentation we did get surprisingly repeatable results when we compared our antennas to several control antennas.</p><p>I fashioned a clamp on a tripod to hold the antennas:</p><div id="attachment_488" class="wp-caption aligncenter" style="width: 460px"><a href="http://villagetelco.org/wp-content/uploads/2009/12/tripod_450.jpg"><img class="size-full wp-image-488" title="tripod_450" src="http://villagetelco.org/wp-content/uploads/2009/12/tripod_450.jpg" alt="Tripod and clamp" width="450" height="368" /></a><p class="wp-caption-text">Tripod and clamp</p></div><p>However the tripod and clamp didn&#8217;t work very well.  When I swapped antennas the results differed wildly in exactly the same position.  It&#8217;s hard to place a 17mm printed monopole in the same position as a 80cm colinear antenna as their sizes are so different.</p><p>So instead I moved each antenna around by hand until I found the peak amplitude, which was captured by the &#8220;max hold&#8221; function of the spectrum analyser.  Sounds a bit rough but gave good repeatable results, and Jeff and I achieved similar results when testing.</p><p><strong>Path Loss</strong></p><p>The 802.11b signal peaked at about -30dBm on the spec an.  Using <a href="http://www.rowetel.com/blog/?p=136" onclick="urchinTracker('/outgoing/www.rowetel.com/blog/?p=136&amp;referer=');">the Wifi power measurement method described here</a><a></a> this means a total received power of -20dBm.</p><p>The expected received signal is:</p><p>Pr = Tx power + Tx antenna gain &#8211; path loss + Rx antenna gain &#8211; coax loss</p><p>So we plug in the numbers from the Nanostation 2, a 6m path loss and the 8dBi gain <a>Superpass omni</a> reference antenna we get:</p><p>Pr = 16 + 12 &#8211; 56 + 8 -1 = -19dBm</p><p>which is pretty close to what we are measuring using the spectrum analyser.  If only all my calculations came out this close!</p><p><strong>Antenna Gain Results</strong></p><p>We used the 8dBi Superpass as a reference.  We would first measure the signals from the Superpass, then save that on the screen as signal A.  We would then measure the test antennas and calculate the antenna gain based on the known Superpass gain.  We moved each antenna around by hand until a peak was found (the max hold function made this straight forward).</p><p>We repeated these tests several times over the day, and while the absolute levels would change 1-2dB the relative levels were always similar.</p><p>The antennas are listed in order of gain, and I would estimate the measurements have a tolerance of +/- 1dB.  The RF level is the peak of the 802.11b signal on the spectrum analyser.</p><table><tbody><tr><th>Antenna</th><th>Rx Level (dBm)</th><th>Gain (dBi)</th></tr><tr><td>15dB grid antenna</td><td>-24</td><td>14</td></tr><tr><td>wire (two loop) biquad with reflector</td><td>-26</td><td>12</td></tr><tr><td>8dB Superpass</td><td>-30</td><td>8</td></tr><tr><td>wire (two loop) biquad</td><td>-34</td><td>4</td></tr><tr><td>wire (one loop) quad</td><td>-35</td><td>3</td></tr><tr><td>wire monopole</td><td>-36</td><td>2</td></tr><tr><td>17mm PCB monopole</td><td>-36</td><td>2</td></tr><tr><td>20mm PCB monopole</td><td>-36</td><td>2</td></tr><tr><td>commercial router antennas</td><td>-36</td><td>2</td></tr><tr><td>72mm PCB biquad dual loop</td><td>-40</td><td>-2</td></tr></tbody></table><p><strong>Discussion</strong></p><p>The location of the physical position where peak received signal was found was quite &#8220;sharp&#8221;.  This may have been due to lobes in the signal from the Nanostation 2 or multipath.</p><p>Several commercial router antennas were tested (sleeve dipole construction), they all measured about the same.  The internal design of these antennas <a href="http://martybugs.net/wireless/rubberducky.cgi" onclick="urchinTracker('/outgoing/martybugs.net/wireless/rubberducky.cgi?referer=');">is discussed here</a>.</p><p>The results from the control antennas (15dB grid, 8dB Superpass, and nominal 2dB sleeve dipole commercial router antennas) are consistent with what we would expect, which gives us some confidence in the other test results.</p><p>The impedance match and gain results from the PCB biquad are poor, which suggests the antenna is not resonant at 2.4GHz.  It would be nice to test this antenna on a network analyser to find out where they are resonant (please contact me if you have one &#8211; I will ship an antenna to you!)  Jeff is working up a simulation of the PCB biquad to test the design.  We aren&#8217;t pursuing the PCB dipole as we have a bunch of antenna candidates that perform just as well (2dBi).</p><p>The wire biquad performance with a reflector was remarkable, nearly as good as the grid antenna which is a much larger antenna.  The measured gain (12dBi) is consistent with <a href="http://martybugs.net/wireless/antennacomp.cgi" onclick="urchinTracker('/outgoing/martybugs.net/wireless/antennacomp.cgi?referer=');">other peoples results</a> for this antenna.</p><p>Jeff and I really liked the wire antennas due to their performance and simplicity.  They are easy to make: in production they could be bent up on a jig on 10 seconds from stiff copper wire then soldered to the Mesh Potato motherboard.  One small problem with the dual loop biquad wire antennas is a feed arrangement &#8211; a small piece of coax would be needed to reach the central feed point.  We don&#8217;t want the antenna wire directly over the PCB, as this would affect performance.  The single loop wire quad is simpler in this regard, as it could be attached at one corner to the PCB.</p><p>The PCB monopoles perform well and are very simple, just a 17mm x 3mm track on the PCB next to a good chunk of ground plane.  Virtually zero cost to add to the Mesh Potato motherboard.  Both the 17mm and 20mm versions worked well, which suggests a relatively wide bandwidth and a high tolerance to small variations in manufacture like dieletric constant of the PCB substrate.  Antennas fabricated on PCB are physically smaller than their wire cousins as the signals travel slower which means a smaller wavelength for a given frequency.</p><p>Wire single and dual loop biquad/quad antennas had above average gain and some directivity, with both peaks and nulls evident as they were rotated.  Is directivity a good thing for a mesh router?  You might enhance the signal of one node but null out the signal from another.  I am not sure.</p><p>The higher gains of some antennas look attractive but may not be useful in practical mesh networks.  To achieve the highest gain required careful adjustment of the antenna position. This is fine in a traditional point-point Wifi link, but in a mesh network their are multiple nodes we want to talk to.  So if you peak the response to one node, you may dip the response to another.  I guess it depends on how many nodes you want to talk to.</p><p>The reflector was a piece of blank PCB about 20cm x 20cm.  It was moved back and forth behind the antenna until a peak was found (usually at around 15-20mm).  All antennas improved by at least 4dB with the reflector, the wire biquad improved by 6-8dB.  David C has suggested a slide-in reflector arrangement to give a choice between omni and directional antennas.  These tests confirm David&#8217;s suggestion is a good one, if a precise way to mounting the reflector can be found.</p><p>Here are some of the antennas tested grouped by gain.</p><div id="attachment_494" class="wp-caption aligncenter" style="width: 460px"><a href="http://villagetelco.org/wp-content/uploads/2009/12/antennas_4501.jpg"><img class="size-full wp-image-494" title="antennas_450" src="http://villagetelco.org/wp-content/uploads/2009/12/antennas_4501.jpg" alt="Antennas grouped by gain" width="450" height="299" /></a><p class="wp-caption-text">Antennas grouped by gain, highest gain on the left</p></div>]]></content:encoded>
			<wfw:commentRss>http://villagetelco.org/2009/12/antenna-testing/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>RF Hacking</title>
		<link>http://villagetelco.org/2009/11/rf-hacking/</link>
		<comments>http://villagetelco.org/2009/11/rf-hacking/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 15:27:47 +0000</pubDate>
		<dc:creator>drowe</dc:creator>
				<category><![CDATA[Mesh Potato]]></category>
		<category><![CDATA[Atheros]]></category>
		<category><![CDATA[calibration]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[RF]]></category>
		<category><![CDATA[WiFi]]></category>

		<guid isPermaLink="false">http://villagetelco.org/?p=344</guid>
		<description><![CDATA[Since the 2nd Village Telco Workshop in July we have been working on the Beta release of the Mesh Potatoes. Progress slowed immediately after the workshop &#8211; I think we&#8230;]]></description>
			<content:encoded><![CDATA[<p>Since the <a title="Second Village Telco Workshop - blog post" href="http://villagetelco.org/2009/08/the-second-village-telco-workshop/" target="_blank">2nd Village Telco Workshop</a> in July we have been working on the Beta release of the Mesh Potatoes.  Progress slowed immediately after the workshop &#8211; I think we all needed a break and some time to organise the resources (e.g. test equipment, prototype manufacture and people) required for the next phase of the project.  However we are back in the thick of it now.</p><p>The Mesh Potato is a mix of many different technologies: embedded Linux, telephony hardware, VOIP and Wifi.  The Radio Frequency (RF) side of the Mesh Potato is a loose end we need to tie up.  Unfortunately, data on the RF side is nearly impossible to obtain.  To get the full support package from <a title="Atheros Home Page" href="http://www.atheros.com/" target="_blank" onclick="urchinTracker('/outgoing/www.atheros.com/?referer=');">Atheros</a> costs USD$100k.  That is beyond our budget and sits uncomfortably with the open source nature of the Village Telco project.</p><p>Each <a title="Product page for AR2317 chip" href="http://www.atheros.com/pt/AR5007AP-G.htm" target="_blank" onclick="urchinTracker('/outgoing/www.atheros.com/pt/AR5007AP-G.htm?referer=');">AR2317 chip</a> is a little different and consequently each chips requires individual RF calibration on the production line. This calibration ensures each AR2317 product has uniform transmit power and meets certain performance criteria.  The calibration data is stored at the end of the SPI flash chip and loaded by the WiFi driver at boot time.  Calibration is performed on the production line using a bunch of expensive RF test equipment connected via <a title="Wikipedia entry for General Purpose Interface Bus (GPIB)" href="http://en.wikipedia.org/wiki/GPIB" target="_blank" onclick="urchinTracker('/outgoing/en.wikipedia.org/wiki/GPIB?referer=');">GPIB</a> to a host computer running special software.</p><p>The calibration procedure and most of the data relating to the AR2317 RF section is part of the Atheros &#8220;secret sauce&#8221;.</p><p>On our prototype Mesh Potatoes we were lucky enough to have the WiFi fire up first time.  We just copied the calibration data from another AR2317 based product as a starting point.  The Wifi worked, but without calibration Wifi performance is likely to be poor.  As we had no RF test equipment our visibility was limited &#8211; it was hard to even measure the RF performance.</p><p>Elektra managed to hook a V1.0 MP01 up to a borrowed spectrum analyser, thanks to kind guys at the <a title="Meraka Institute at the CSIR" href="http://www.meraka.org.za/" target="_blank" onclick="urchinTracker('/outgoing/www.meraka.org.za/?referer=');">CSIR</a> in South Africa.  A spectrum analyser graphs the power at each frequency.  Here is what the spectrum of a calibrated DIR-300 looks like:</p><div id="attachment_346" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-346" title="Calibrated-DIR-300-1Mbit-channel11" src="http://villagetelco.org/wp-content/uploads/2009/11/Calibrated-DIR-300-1Mbit-channel11-300x225.gif" alt="DIR-300 1Mbit Channel 11 spectrum" width="300" height="225" /><p class="wp-caption-text">DIR-300 1Mbit Channel 11 spectrum</p></div><p>And here is the output from our uncalibrated V1.0 Mesh Potato:</p><div id="attachment_345" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-345" title="MP-1Mbit_channel_11" src="http://villagetelco.org/wp-content/uploads/2009/11/MP-1Mbit_channel_11-300x225.gif" alt="MP01 1Mbit Channel 11 spectrum" width="300" height="225" /><p class="wp-caption-text">MP01 1Mbit Channel 11 spectrum</p></div><p>So after the 2nd Village Telco workshop we decided to tackle Calibration.  Fortunately, our friends at <a title="Atcom Home Page" href="http://www.atcom.cn" target="_blank" onclick="urchinTracker('/outgoing/www.atcom.cn?referer=');">Atcom</a> found some friends in Shenzhen who have the production line equipment for AR2317 calibration.  Here in Adelaide I bought some basic test equipment &#8211; an old Tek 492 spectrum analyser from e-bay and a frequency counter.  The Tek 492 is an analogue spectrum analyser (with some digital storage ability) from the early 1980&#8242;s.  In their day they cost $30,000 but are available 2nd hand for around $2,000.  Microwave hacking on a budget!  The following photo is courtesy of Ben (see below):</p><p><img class="aligncenter size-medium wp-image-347" title="tek_492" src="http://villagetelco.org/wp-content/uploads/2009/11/tek_492-300x164.jpg" alt="tek_492" width="300" height="164" /></p><p>In early October we made our first attempt at calibration on one the V1.1 Betas.  The automatic test equipment in Shenzhen &#8220;failed&#8221; us.  There were several bugs including low output power (10dB down) and a large frequency offset (60ppm instead of 20ppm).  Another concern was that several Mesh Potatoes tested gave different results.  Great.  Just what we need when we are trying to get 100 Betas out the door for eager developers.</p><p>Thus began a two week frenzy of RF debugging, with Mesh Potatoes being couriered back and forth between Shenzhen and Adelaide and much soldering of tiny 0402 size parts under the microscope.  These parts appear the size of a small crumb to the naked eye (about 1mm by 0.4mm), but surprisingly you can hand solder them <a href="http://www.rowetel.com/blog/?p=20" onclick="urchinTracker('/outgoing/www.rowetel.com/blog/?p=20&amp;referer=');">under a microscope</a> with a little patience.</p><p>None of the core team are experienced in Wifi or 2.4GHz RF, and we are working without 95% of the data and test equipment we need for proper RF development.  So we had a few challenges.</p><p>After about two weeks of hard work we made some progress.  I managed to bring 3 out of 4 betas up to our target power of 17dBm (the 4th I blew up accidentally).  We discovered some areas where the PCB layout could be improved to get even more power (perhaps 20dBm) out of the MP.  The system clock was a few kHz off 40.0 MHz which when multiplied up to 2.4 GHz caused the 60 ppm frequency offset.  This was actually the largest problem &#8211; it caused packet errors at the low data rates which messed up long range performance.  Once this was fixed the packet error rate performance started to look as good as the reference DIR-300 unit we were testing against.</p><p>The variable power output of different MPs had a simple reason &#8211; some of the tiny 0402 parts were loaded in the wrong place.  This is very easy to do as the parts have no writing on them.  I only spotted this when I noticed two parts with the same value looked slightly different in colour.  Usually all parts from the same reel look identical.</p><p>With our new-found experience, Atcom decided to make another revision of the PCB (V1.2) to tighten up the RF side.  That should be ready for testing in November.  If calibration checks out on V1.2 we will then kick off a Beta run.</p><p>Given our lack of RF experience, lack of AR2317 data, lack of support from the chip vendor, and very basic test equipment I feel pretty happy with our progress in RF performance over those two hard weeks. The %$%^ Asterisk channel driver for the Mesh Potato took me three weeks to get stable and I am meant to know something about Asterisk driver development!</p><p>As well at the core team of Elektra, myself, the Atcom team (Edwin, Alen, Mr. Lee, Peter), their Shenzhen friends and of course Steve, we had some help from Jeff (our RF consultant) and two other people who were especially kind:</p><p>I found <a href="http://circuitben.net/" onclick="urchinTracker('/outgoing/circuitben.net/?referer=');">Ben Johnson</a> while looking for information on the Tek 492.  Ben had posted a page on how he <a href="http://circuitben.net/tek492/index.php" onclick="urchinTracker('/outgoing/circuitben.net/tek492/index.php?referer=');"> repaired his Tek 492</a>.  I emailed Ben to ask if he thought it was suitable for Wifi.  Ben was kind enough to actually test his Tek 492 on some Wifi signals and email me the results!  This gave me the confidence to bid for a used 492 on ebay here in Australia.</p><p>I met Dieter through an article I published on <a href="http://www.rowetel.com/ev.html#lowcostev" onclick="urchinTracker('/outgoing/www.rowetel.com/ev.html_lowcostev?referer=');">Low cost Electric Cars</a> in <a href="http://www.ata.org.au/publications/renew" onclick="urchinTracker('/outgoing/www.ata.org.au/publications/renew?referer=');">Renew</a> magazine.  He just happened to email me on a day I was messing with the Tek 492 and I found out he was a microwave engineer working in Melbourne.  Throughout the RF debugging process Dieter emailed me virtually every day and gave much needed advice and moral support.  He even sent over some semi-rigid RF cable with an N-connector to help with the testing.</p><p>The Internet is amazing place. I am constantly bowled over by the kindness of people &#8211; especially when you are working on open projects.</p><p><strong>Links</strong></p><p>[1] <a href="http://www.rowetel.com/blog/?p=136" onclick="urchinTracker('/outgoing/www.rowetel.com/blog/?p=136&amp;referer=');">Measuring Wifi Transmit Power</a> &#8211; An in-depth look on how I used the Tek 492 to measure Wifi transmit power.</p>]]></content:encoded>
			<wfw:commentRss>http://villagetelco.org/2009/11/rf-hacking/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>The Second Village Telco Workshop</title>
		<link>http://villagetelco.org/2009/08/the-second-village-telco-workshop/</link>
		<comments>http://villagetelco.org/2009/08/the-second-village-telco-workshop/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 08:24:50 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[Mesh Potato]]></category>
		<category><![CDATA[Village Telco]]></category>
		<category><![CDATA[Workshop]]></category>

		<guid isPermaLink="false">http://villagetelco.org/?p=279</guid>
		<description><![CDATA[It is just a little over a year since the first Village Telco workshop in June 2008 and having recently completed second Village Telco workshop from the 20th to the&#8230;]]></description>
			<content:encoded><![CDATA[<p><a class="tt-flickr tt-flickr-Medium" title="Edwin, Antoine, Jeff, David, and Alan" href="http://www.flickr.com/photos/shuttleworth/3787789109/" onclick="urchinTracker('/outgoing/www.flickr.com/photos/shuttleworth/3787789109/?referer=');"><img class="aligncenter" src="http://farm4.static.flickr.com/3516/3787789109_83512edc38.jpg" alt="Edwin, Antoine, Jeff, David, and Alan" width="500" height="140" /></a> It is just a little over a year since the <a title="Village Telco blog entry on the first Village Telco Workshop" href="http://villagetelco.org/2008/07/village-telco-workshop/" target="_blank">first Village Telco workshop</a> in June 2008 and having recently completed <a title="Villate Telco Wiki page for Second Workshop" href="http://wiki.villagetelco.org/index.php/2nd_Village_Telco_Workshop_-_July_20-24%2C_2009" target="_blank" onclick="urchinTracker('/outgoing/wiki.villagetelco.org/index.php/2nd_Village_Telco_Workshop_-_July_20-24_2C_2009?referer=');">second Village Telco workshop</a> from the 20th to the 24th of July, it has taken a little longer than I expected to get this post out about the event.  Similar to the first workshop we managed to assemble a remarkable group of people.  Many from last year and some new faces as well.  A notable addition this year was Sigqibo Pangabantu of <a title="Silulo Technologies Home page" href="http://www.sut.co.za/" target="_blank" onclick="urchinTracker('/outgoing/www.sut.co.za/?referer=');">Silulo Technologies</a>.  Alan Levine and I met Sigqibo last year when we went <a title="Looking for Possible Village Telco Entrepreneurs in Khayelitsha" href="http://manypossibilities.net/2008/04/looking-for-entrepreneurs/" target="_self" onclick="urchinTracker('/outgoing/manypossibilities.net/2008/04/looking-for-entrepreneurs/?referer=');">looking for likely Village Telco entrepreneurs in Khayelitsha</a>.  With his business partners, Sigqibo runs a cyber cafe, an ICT training centre, and computer shop.  Alan and I chatted with him last year about the Village Telco but there wasn&#8217;t much to show him at the time.  This year, we have something quite tangible, the Mesh Potato.  Another notable addition was Edwin Chen of Atcom.  Edwin is the technical sales manager for <a title="Atcom home page" href="http://www.atcom.cn" target="_blank" onclick="urchinTracker('/outgoing/www.atcom.cn?referer=');">Atcom</a>, who are manufacturing the Mesh Potato.  Having Edwin at the workshop was both a great sign of support from Atcom but also invaluable in terms of being able to access practical manufacturing knowledge as we debated the finer points of the Mesh Potato design.  Finally, in stead of just visiting Antoine van Gelder and David Carman in Scarborough, as we did last year, where they run a <a title="FAQ page for the Scarborough Mesh" href="http://www.prospect.ac.za/wifi/faq.html" target="_self" onclick="urchinTracker('/outgoing/www.prospect.ac.za/wifi/faq.html?referer=');">250 node mesh network</a>, it was great to have that at the workshop helping us work through design challenges.   Antoine is the principal author of the <a title="Afrimesh page on Google Code" href="http://code.google.com/p/afrimesh/" target="_blank" onclick="urchinTracker('/outgoing/code.google.com/p/afrimesh/?referer=');">Afrimesh</a> software project which will be running on all the Mesh Potatoes.</p><p>Last year a bold and creative group of geeks conceived of an Open Hardware / Open Software device that would both simplify and lower the cost of deploying wireless mesh voice networks.  We called it the Mesh Potato which is a mashup of Mesh + <a title="Wikipedia entry for POTS - Plain Old Telephone Service" href="http://en.wikipedia.org/wiki/POTS" target="_blank" onclick="urchinTracker('/outgoing/en.wikipedia.org/wiki/POTS?referer=');">POTS</a> + <a title="Wikipedia entry for ATA - Analog Telephony Adaptor" href="http://en.wikipedia.org/wiki/Analog_telephony_adapter" target="_blank" onclick="urchinTracker('/outgoing/en.wikipedia.org/wiki/Analog_telephony_adapter?referer=');">ATA</a>.  Well , it works in <a title="Wiktionary entry for Patata - Spanish for Potato" href="http://en.wiktionary.org/wiki/patata" target="_blank" onclick="urchinTracker('/outgoing/en.wiktionary.org/wiki/patata?referer=');">Spanish</a> at least.  A year later we had working Mesh Potato prototypes to hack at the workshop. And that is what the workshop focused on, getting the Mesh Potato into production and helping it go to scale.  The rest of this post is a summary of the key elements of the workshop.</p><h3>Technical Design Trade-offs</h3><p>One of the first conversations we had at the workshop was to review the technical design decisions to date and discuss the pros and cons of each decision.  From the beginning we have tried to balance a desire to make the Mesh Potato as hard-to-break (or <a title="Wikipedia entry for Brick - as in to &quot;brick&quot; an electronic device" href="http://en.wikipedia.org/wiki/Brick_%28electronics%29" target="_blank" onclick="urchinTracker('/outgoing/en.wikipedia.org/wiki/Brick_28electronics_29?referer=');">brick</a> for that matter) as possible with a need to keep it affordable.</p><h5>Antenna Type</h5><p>Based on her experience in Bangladesh, Elektra proposed the more robust N-type antenna for the Mesh Potato as opposed to the smaller but less rugged Reverse-SMA antenna typically found on low cost wireless APs.  Because the N-type was more expensive there was some discussion as to which was the best option.  This debate was rendered somewhat moot when we realised that we could both save money and increase robustness by going with an internal antenna etched on the motherboard of the Mesh Potato.  That was a big design step for us as it rule out the flexibility of attaching different types of antennae to the device but it seemed like a reasonable trade-off.  Even now though a connector for an external antenna may find its way onto the motherboard somewhere. <img src='http://villagetelco.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p><h5>FXS Interface</h5><p>In the design of the Mesh Potato, we have opted for a compromise of speed in getting the Mesh Potato to market and optimal cost-effective design.  David pointed out in the workshop that with another month or so of design work, he would be able to bring the cost of the FXS module by over 50%.  Clearly, this is something to prioritise for the next generation of Mesh Potatoes in terms of producing a very affordable device.</p><h5>AC Adaptor</h5><p>A surprise for me in the discussions was recognising what a weak point the AC adaptors are in the context of the whole system.  We have gone the extra mile to harden the ports on the Mesh Potatoes to handle variable power sources, lightning strikes, etc but we haven&#8217;t discussed the AC adaptors at all.  These are obviously the first things to go when plugged into an unstable or incorrect power source.  While designing a custom AC adaptor would possibly turn out to be too expensive, it is possible that we will be able to get a higher rated power supply for the Mesh Potato.  David and Edwin are looking into this.</p><h5>Power Supply Chipset</h5><p>We had a good discussion about the trade-offs of between a high quality power supply chipset which would give us a 10% savings on the power consumption versus the cost of the chipset which was almost an order of magnitude more expensive than the cheaper option.    One insight for me was that the big win on power for the Mesh Potato is simply that of combining an AP and an ATA in a single device.  That halves the typical power consumption right there.  A 10% savings on top of that is desirable but has to be balanced against overall cost.  There was also a discuss about handling unexpected high voltages such as from an unregulated solar panel and here I have to defer to David and Elektra to chime in as it was beyond my modest capacity to fully grok.  The bottom line is that we are opting for the cheaper power chipset but some additional design is required for this chipset to cope with the high voltage scenario.</p><h5><a title="Wikipedia entry for Power of Ethernet (POE)" href="http://en.wikipedia.org/wiki/Power_over_Ethernet" target="_blank" onclick="urchinTracker('/outgoing/en.wikipedia.org/wiki/Power_over_Ethernet?referer=');">PoE</a> and PoTL Injectors</h5><p>The discussion around PoE (Power of Ethernet) an PoTL (Power over Telephone Line) injectors was pretty wide ranging.  We&#8217;d like to create the most flexible scenario possible for the Mesh Potatoes so that they can be powered by standard power cable or PoE using a single ethernet cable or PoTL using a standard telephone line.  We even discussed putting power and ethernet and telephone line through a single cable but the consensus at the end was to be as standard as possible to avoid misconfiguration.  PoTL in particular is a little hazardous because of the comparatively high voltage going over the phone wires.</p><p>Rael had a very innovative solution in which the Mesh Potato ports could be snapped on or off the Mesh Potato and extended via PoE.  This would make the Mesh Potato ideal for indoor or outdoor installation but we decided that it was going to add a level of complexity to the design that would slow getting the MPs to market.  Something to look at seriously for the next iteration though.</p><h3>Case Design</h3><p><a class="tt-flickr tt-flickr-Small" title="Mesh Potato without LCD panel" href="http://www.flickr.com/photos/shuttleworth/3784553149/" onclick="urchinTracker('/outgoing/www.flickr.com/photos/shuttleworth/3784553149/?referer=');"><img class="alignleft" src="http://farm3.static.flickr.com/2524/3784553149_216d74d96b_m.jpg" alt="Mesh Potato without LCD panel" width="150" height="240" /></a> Another significant topic of discussion was the case design.  We all agreed that we wanted the following:</p><ul><li>a water resistant case that can withstand a rain storm;</li><li>UV resistant plastic that will work for years under an African sun;</li><li>white or beige case to keep the device as cool as possible;</li><li>ports should be covered inside the device;</li><li>an LED display to aid configuration; and,</li><li>fittings for both pole and wall mountings as well as possibly a desktop mounting.</li></ul><p>In the end it transpired that what we were talking about would look remarkably like an Ubiquiti Nanostation Loco.  Hopefully we may even improve on Ubiquiti&#8217;s mounting bracket design.  After seeing some Vodacom payphone units in Khayelitsha we also discussed possibly replacing the LEDs with an <a title="My artist's rendering of what a Mesh Potato might look like with an LCD display" href="http://www.flickr.com/photos/shuttleworth/3772008256/" target="_blank" onclick="urchinTracker('/outgoing/www.flickr.com/photos/shuttleworth/3772008256/?referer=');">LCD display</a> that would open up possibilities for innovation in terms of debugging, configuration, payment status, etc.  We&#8217;re still investigating this possibility.</p><h3>Software Development</h3><p>I&#8217;ll break the software discussion down into the Mesh Potato, Afrimesh on the Mesh Potato, Server Configuration, and Miscellaneous.  Needless to say the conversation was not that structured.  <img src='http://villagetelco.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p><h5>Mesh Potato Initialisation</h5><p>We all agreed that to the extent it is possible, we&#8217;d like the Mesh Potatoes to work as a <a title="Village Telco blog entry - A Phone Mesh" href="http://villagetelco.org/2009/05/a-phone-mesh/" target="_blank">telephone network right out of the box</a>.  This applies both to the scenario where they are working in peer mode i.e. not connected to an upstream server and when they are connected to an upstream asterisk server which could be on the local network, at an ISP, or even in the cloud.  Key to making that work is to ensure that each Mesh Potato that comes off the production line has a unique IP address.  Type wireless AP devices have a standard default IP address.  This would not work for us because Mesh Potatoes would then need to be individually configured by the user.  Thus, each MP needs to begin its life with a unique IP address.  Jeff Wishnie proposed a similar strategy to that used by Meraki which is to generate an IP address from a hash of the <a title="Wikipedia entry for MAC address" href="http://en.wikipedia.org/wiki/MAC_address" target="_blank" onclick="urchinTracker('/outgoing/en.wikipedia.org/wiki/MAC_address?referer=');">MAC address</a> of the devices.  We decided that each MP should not only have a unique IP address but also a unique phone number which would be derived from the last 9 digits of the IP address.  We even came up with an unused country code (+288) which might be used to give the Mesh Potatoes a fully addressable unique <a title="Wikipedia entry for DID - Direct Inward Dialing" href="http://en.wikipedia.org/wiki/Direct_Inward_Dialing" target="_blank" onclick="urchinTracker('/outgoing/en.wikipedia.org/wiki/Direct_Inward_Dialing?referer=');">DID</a> at some point in the future. More about this on the <a title="VT Wiki - Mesh Potato configuration defaults page" href="http://wiki.villagetelco.org/index.php/Mesh_Potato_Configuration_Defaults" target="_blank" onclick="urchinTracker('/outgoing/wiki.villagetelco.org/index.php/Mesh_Potato_Configuration_Defaults?referer=');">wiki</a>.</p><p>We also established that it would be desirable to be to switch any Mesh Potato into a &#8221; voice master&#8221; mode so that other Mesh Potatoes on the local mesh would automatically recognise a configured Asterisk server on the network.  Elektra suggested that this could be achieved by having the &#8220;voice master&#8221; node announce a voice gateway class to the network in a very similar manner to how the mesh network announces upstream gateways via a class.  <em>[Need a link to more info on this]</em></p><div id="attachment_297" class="wp-caption alignright" style="width: 160px"><a href="http://villagetelco.org/wp-content/uploads/2009/08/EasyTAG-2.1.5.png"><img class="size-thumbnail wp-image-297" title="EasyTAG 2.1.5" src="http://villagetelco.org/wp-content/uploads/2009/08/EasyTAG-2.1.5-150x150.png" alt="EasyTAG 2.1.5" width="150" height="150" /></a><p class="wp-caption-text">EasyTAG UI</p></div><p>Finally, because the Mesh Potatoes will have effectively random IP addresses out of the box, which will allow them to work as a network from power-on, the Village Telco entrepreneur is likely to want tools for mass configuration of the network, e.g. putting all the nodes on a single subnet, re-numbering the phone numbers, etc.  The whole mass-reconfiguration thing made me think of my music collection and the elegant simplicity of tools like <a title="EasyTAG home page" href="http://easytag.sourceforge.net/" target="_blank" onclick="urchinTracker('/outgoing/easytag.sourceforge.net/?referer=');">EasyTag</a> which allow you to batch edit an individual attribute of a single mp3 file or a thousand.  Having an EasyTag-like editor to edit the attributes of the Mesh Potatoes on your network would make network configuration a breeze.</p><p>ToDo:  Develop all of the above.</p><h5>Afrimesh</h5><p>Over the course of the workshop, Antoine managed to get his very elegant Afrimesh software running on the Mesh Potatoes.  He has posted some <a title="VT wiki - Installing Afrimesh on the Mesh Potatoes" href="http://wiki.villagetelco.org/index.php/MP_Afrimesh_Installation" target="_blank" onclick="urchinTracker('/outgoing/wiki.villagetelco.org/index.php/MP_Afrimesh_Installation?referer=');">instructions on how to install Afrimesh</a> on a fresh OpenWRT install.   Afrimesh on the Mesh Potato will serve three core functions.</p><ol><li><strong>Default GUI</strong>:  Afrimesh will be the  default web GUI for the Mesh Potato.  If you plug your laptop into the Mesh Potato via the ethernet port and point your browser at the MP,  Afrimesh is what you should see.  Any other software should be accessible via Afrimesh.</li><li><strong>Network performance:</strong> Afrimesh provides the user with a dynamic map which shows the active mesh nodes on the network and their relative health.</li><li><strong>Basic configuration:</strong> Afrimesh should allow the user to configure basic things like network name, IP address, etc.  For more sophisticated configuration, Afrimesh provides a link to <a title="LuCI - web interface to OpenWRT" href="http://luci.freifunk-halle.net/" onclick="urchinTracker('/outgoing/luci.freifunk-halle.net/?referer=');">Luci </a>which can open a Pandora&#8217;s box of configuration options for the more intrepid user.</li></ol><p>ToDo:</p><ul><li>Develop an Afrimesh package is easily installable on OpenWRT and which is also part of a Mesh Potato &#8220;target&#8221; firmware for OpenWRT</li><li>Develop the network monitoring aspect of the Afrimesh software to include visual monitoring of network performance over time</li></ul><h5>Interactive Voice Response (IVR) Configuration</h5><p>Naturally we don&#8217;t wnat to just have one way to configure the Mesh Potatoes, there should be several.  In particular, the Mesh Potatoes should be configurable without a web interface i.e. just by picking up a handset.  David made some initial progress in setting up IVR to be able to configure the IP address of the Mesh Potatoes, even working in a 2001 Space Odyssey clip to catch the attention&#8230;. &#8220;What are you doing, Dave?&#8221;  The goal is ultimately to have a suite of commands that could be issued via the phone keypad to be able to both diagnose and configure the Mesh Potatoes.</p><h5>Default Asterisk Configuration</h5><p>In order to make it as easy as possible for people testing out the Mesh Potatoes to set up their own VoIP networks, we need to develop some basic Asterisk configuration instructions, files, snippets and even bootable ISOs for Mesh Potato networks.  Work on that has <a title="VT Wiki - Hooking up the MPs to an upstream Asterisk server" href="http://wiki.villagetelco.org/index.php/MP_Asterisk_hook_up" target="_blank" onclick="urchinTracker('/outgoing/wiki.villagetelco.org/index.php/MP_Asterisk_hook_up?referer=');">begun on the VT wiki</a>.</p><h3>Points of Pain</h3><p>It seems worthwhile ending off this workshop summary with a review of a sessions we called &#8220;points of pain&#8221;.  That is, what do we need to work on on the Mesh Potato and the Village Telco that will have the biggest impact on both the ease and cost of installing an MP network.  Here are what we came with:</p><ul><li>From a cost perspective &#8220;ease of installation&#8221; as just important as driving down the purchase price of the Mesh Potato.  A Mesh Potato that is difficult or simply complex to install can add as much as USD 50 to the total cost of the device.  A reminder to make the Mesh Potato blindingly easy to install, monitor, and debug.</li><li>Less to do translates into lower error rates.  Pre-configure as much as possible and anticipate  as many scenarios as possible.</li><li>Investment in software affects the hardware cost.  In this case we are talking about things like have David re-design the FXS interface.  In the spirit of <a title="Open Hardware for Development" href="http://manypossibilities.net/2008/08/open-hardware-for-development/" target="_blank" onclick="urchinTracker('/outgoing/manypossibilities.net/2008/08/open-hardware-for-development/?referer=');">hardware is the new software</a>, smarter software/firmware can allow us to use less expensive (but not lower quality) components in the Mesh Potato.</li><li>Scalability is critical.  What does an MP network look like at 10, 100, 100, 100 000 devices?  All software and design choices need to scale.</li><li>Distinguish between technical infrastructure and payment infrastructure (I actually can&#8217;t remember exactly what we meant by this&#8230; other than the obvious)</li><li>Protection is key.  Ensure that the Mesh Potatoes are as invulnerable as possible to natural (accidents, lightning, surges, brown-outs, etc) and un-natural (misconfigurations, theft, etc) events.</li></ul><p>That&#8217;s about as much as I am able to capture from the event.  I hope participants will chip in the comments to flesh out and/or correct memory blips on my part in the post.  It was amazing (again) having such creative and brilliant minds crafting a future for the Mesh Potato and the Village Telco.</p><p>-Steve</p>]]></content:encoded>
			<wfw:commentRss>http://villagetelco.org/2009/08/the-second-village-telco-workshop/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic
Object Caching 1369/1469 objects using disk: basic

Served from: villagetelco.org @ 2012-05-22 02:28:46 -->
