Lca 2009 Mesh Potato

27
The Mesh Potato The Problem Village Telco B.A.T.M.A.N. Demo Lets build a Mesh! Mesh Potato Memes

description

Linux Conf AU 2009 Mesh Potato Presentation

Transcript of Lca 2009 Mesh Potato

Page 1: Lca 2009 Mesh Potato

The Mesh Po ta to

● The Problem● Village Telco● B.A.T.M.A.N.● Demo● Lets build a Mesh!● Mesh Potato● Memes

Page 2: Lca 2009 Mesh Potato

C i t i es o f the Fu tu re

Page 3: Lca 2009 Mesh Potato

J une 2008 Workshop

Page 4: Lca 2009 Mesh Potato

V i l l age Te l co

Page 5: Lca 2009 Mesh Potato

V i l l age Te l co Goa l s

● Small Telco business for 2nd or 3rd world● Self sustaining business (viral growth)● Scalable up and down● Business for a reasonably geeky

entrepreneur● $5,000 Capital● 6 months break even● Grounded in business (not tech or charity)

Page 6: Lca 2009 Mesh Potato

V i l l age Te l co Components

● Mesh Potato● B.A.T.M.A.N.● Gateway Server with Billing System● Entrepreneur● Up stream VOIP and PSTN● Modest Capital● Business Model

Page 7: Lca 2009 Mesh Potato

ServerServer 40 Mesh Potatoes40 Mesh PotatoesSuperNodeSuperNode

V i l l age Te l co K i t

Page 8: Lca 2009 Mesh Potato

Dabba

● dabba.co.za have a prototype Village Telco network in actual commercial operation

● Orange farm, township near Johannesburg

● uses commodity hardware and open source software

● free local calls● pre-paid vouchers for calls to other

networks

Page 9: Lca 2009 Mesh Potato

V i l l age Te l co and Ce l l Phones

● Call Cost● Community Approach● Unlicensed Spectrum● Infrastructure cost and availability● Cell Phone networks don't scale down● Capital (it's not just the handsets)● Walled gardens versus the Internet

Page 10: Lca 2009 Mesh Potato

B .A .T .M .A .N .

● Better Approach to Mobile AdHoc Networking

Adhoc Infrastructure

Page 11: Lca 2009 Mesh Potato

Advantages o f Mesh Networks

A

Access Point

B

CD

Extended range over Infrastructure mode

Page 12: Lca 2009 Mesh Potato

Mesh Network P rob lems

● Unstructured● Unreliable Medium● Dynamic changes

Page 13: Lca 2009 Mesh Potato

B .A .T .M .A .N .

● Distributed intelligence● Every node knows: Available nodes, total

metric towards each destination and best next hop for each destination

● No information about the full routing path is necessary. Works well as nodes come and go.

● Works well in practice (e.g. 500 node Freifunk network in Berlin)

Page 14: Lca 2009 Mesh Potato

Demo

● 3 node mesh● Running on commodity wireless hardware● Next Hop information● Mesh adapting to changes

Page 15: Lca 2009 Mesh Potato

Lets Bu i ld a Mesh

wget http://rowetel.com/batman_demo.txt● x86 Linux user mode daemon● Not all Wifi drivers will work in Ad-hoc● Choose a random 10.0.0.0/8 IP (e.g. 10.1.2.3,

10.20.21.22, 10.x.y.z)● Internet connectivity

Page 16: Lca 2009 Mesh Potato

V i l l age Te l co Cha l l enges

● Ease of customer and billing management● Cost of Access Points● Range of WiFi Phones

Page 17: Lca 2009 Mesh Potato
Page 18: Lca 2009 Mesh Potato

POT-ATA

Projected Cost: USD 60 per unit

Page 19: Lca 2009 Mesh Potato

Mesh Po ta to Des ign

● Low Cost, SoC● Maximum use of existing Open

components● OpenWRT● MadWifi on Atheros (Ad-hoc problems)● CPU load (Asterisk, Speex Codec, Oslec

Echo Cancellation)● FXS port interface

Page 20: Lca 2009 Mesh Potato

FXS Port

Atheros SoC

32M SDRAM

8M SPI Flash

Glue Logic

Ethernet

802.11bg

Page 21: Lca 2009 Mesh Potato

So f tware

● OpenWRT● MadWifi● B.A.T.M.A.N.● Asterisk● Speex (GSM)● Oslec

Page 22: Lca 2009 Mesh Potato

Mesh Po ta to P lan

● What we have done● What's next

M1Software

M2Hardware

M3Beta

M4Production

Page 23: Lca 2009 Mesh Potato

Open Hardware

● Designing exactly the hardware we want● Community based development (many

eyes and skill sets)● Partnering with commercial companies

for volume manufacture● Good Business (IP04)● Opportunities for novel business models● Completely open and keeping it that way

Page 24: Lca 2009 Mesh Potato

Af r i can i sa t ion

● Design for real world problems based on field experience of Village Telco team

● Static electricity on antenna ● Reverse polarity on DC connector● 240VAC connected to DC connector!● Wide range AC adaptor (350VAC)● Humidity, rain, hail, connector

weatherproofing● lightning protection on FXS port

Page 25: Lca 2009 Mesh Potato

Memes

● Cell Networks (closed, strong licensing, high cost/bit) versus the Internet (open standards, unlicensed, anyone can connect, low cost/bit).

● Community ownership versus big business or government

● Development: Many good projects have been ruined by money

● Voice is the killer application. Once voice network is deployed we have built an Internet backbone

Page 26: Lca 2009 Mesh Potato

Memes

● 60% of all calls are local (value without upstream connectivity)

● Mesh Potato useful outside of Village Telco

● Very Very Open● The future for many is the township● You and I are going to help them get

connected

Page 27: Lca 2009 Mesh Potato

L inks

● Village Telco Google Group● shuttleworthfoundation.org● villagetelco.org● manypossibilities.net● open-mesh.net/batman● dabba.co.za● rowetel.com