1 Title: Oslo community mesh network - with NUUG and Hackeriet at Hausmania
5 <p>Wireless mesh networks are self organising and self healing
6 networks that can be used to connect computers across small and large
7 areas, depending on the radio technology used. Normal wifi equipment
8 can be used to create home made radio networks, and there are several
9 successful examples like
10 <a href="http://www.freifunk.net/">Freifunk</a> and
11 <a href="http://www.awmn.net/">Athens Wireless Metropolitan Network</a>
13 <a href="http://en.wikipedia.org/wiki/List_of_wireless_community_networks_by_region#Greece">wikipedia
14 for a large list</a>) around the globe. To give you an idea how it
15 work, check out the nice overview of the Kiel Freifunk community which
16 can be seen from their
17 <a href="http://freifunk.in-kiel.de/ffmap/nodes.html">dynamically
18 updated node graph and map</a>, where one can see how the mesh nodes
19 automatically handle routing and recover from nodes disappearing.
20 There is also a small community mesh network group in Oslo, Norway,
21 and that is the main topic of this blog post.</p>
23 <p>I've wanted to check out mesh networks for a while now, and hoped
24 to do it as part of my involvement with the <a
25 href="http://www.nuug.no/">NUUG member organisation</a> community, and
26 my recent involvement in
27 <a href="https://wiki.debian.org/FreedomBox">the Freedombox project</a>
28 finally lead me to give mesh networks some priority, as I suspect a
29 Freedombox should use mesh networks to connect neighbours and family
30 when possible, given that most communication between people are
31 between those nearby (as shown for example by research on Facebook
32 communication patterns). It also allow people to communicate without
33 any central hub to tap into for those that want to listen in on the
34 private communication of citizens, which have become more and more
35 important over the years.</p>
37 <p>So far I have only been able to find one group of people in Oslo
38 working on community mesh networks, over at the hack space
39 <a href="http://hackeriet.no/">Hackeriet</a> at Husmania. They seem to
40 have started with some Freifunk based effort using OLSR, called
41 <a href="http://oslo.freifunk.net/index.php?title=Main_Page">the Oslo
42 Freifunk project</a>, but that effort is now dead and the people
43 behind it have moved on to a batman-adv based system called
44 <a href="http://meshfx.org/trac">meshfx</a>. Unfortunately the wiki
45 site for the Oslo Freifunk project is no longer possible to update to
46 reflect this fact, so the old project page can't be updated to point to
47 the new project. A while back, the people at Hackeriet invited people
48 from the Freifunk community to Oslo to talk about mesh networks. I
49 came across this video where Hans Jørgen Lysglimt interview the
50 speakers about this talk (from
51 <a href="https://www.youtube.com/watch?v=N2Kd7CLkhSY">youtube</a>:</p>
54 <p><iframe width="420" height="315" src="https://www.youtube.com/embed/N2Kd7CLkhSY" frameborder="0" allowfullscreen></iframe></p>
56 <p>I mentioned OLSR and batman-adv, which are mesh routing protocols.
57 There are heaps of different protocols, and I am still struggling to
58 figure out which one would be "best" for some definitions of best, but
59 given that the community mesh group in Oslo is so small, I believe it
60 is best to hook up with the existing one instead of trying to create a
61 completely different setup, and thus this have decided to focus on
62 batman-adv for now. It sure help me to know that the very cool
63 <a href="http://www.servalproject.org/">Serval project in Australia</a>
64 is using batman-adv as their meshing technology when it create a self
65 organizing and self healing telephony system for disaster areas and
66 less industrialized communities. Check out this cool video presenting
68 <a href="https://www.youtube.com/watch?v=30qNfzJCQOA">youtube</a>:</p>
70 <p><iframe width="560" height="315" src="https://www.youtube.com/embed/30qNfzJCQOA" frameborder="0" allowfullscreen></iframe></p>
72 <p>According to the wikipedia page on
73 <a href="http://en.wikipedia.org/wiki/Wireless_mesh_network">Wireless
74 mesh network</a> there are around 70 competing schemes for routing
75 packets across mesh networks, and OLSR, B.A.T.M.A.N. and
76 B.A.T.M.A.N. advanced are protocols used by several free software
77 based community mesh networks.</p>
79 </p>The batman-adv protocol is a bit special, as it provide layer 2
80 (as in ethernet ) routing, allowing ipv4 and ipv6 to work on the same
81 network. One way to think about it is that it provide a mesh based
82 vlan you can bridge to or handle like any other vlan connected to your
83 computer. The required drivers are already in the Linux kernel at
84 least since Debian Wheezy, and it is fairly easy to set up. A
85 <a href="http://www.open-mesh.org/projects/batman-adv/wiki/Quick-start-guide">good
86 introduction</a> is available from the Open Mesh project. These are
87 the key settings needed to join the Oslo meshfx network:</p>
90 <tr><th>Setting</th><th>Value</th></tr>
91 <tr><td>Protocol / kernel module</td><td>batman-adv</td></tr>
92 <tr><td>ESSID</td><td>meshfx@hackeriet</td></tr>
93 <td>Channel / Frequency</td><td>11 / 2462</td></tr>
94 <td>Cell ID</td><td>02:BA:00:00:00:01</td>
97 <p>The reason for setting ad-hoc wifi Cell ID is to work around bugs
98 in firmware used in wifi card and wifi drivers. (See a nice post from
100 "<a href="http://tiebing.blogspot.no/2009/12/ad-hoc-cell-splitting-re-post-original.html">Information
101 about cell-id splitting, stuck beacons, and failed IBSS merges!</a>
102 for details.) When these settings are activated and you have some
103 other mesh node nearby, your computer will be connected to the mesh
104 network and can communicate with any mesh node that is connected to
105 any of the nodes in your network of nodes. :)</p>
107 <p>My initial plan was to reuse my old Linksys WRT54GL as a mesh node,
108 but that seem to be very hard, as I have not been able to locate a
109 firmware supporting batman-adv. If anyone know how to use that old
110 wifi access point with batman-adv these days, please let me know.</p>
112 <p>If you find this project interesting and want to join, please join
113 us on IRC, either channel
114 <a href="irc://irc.freenode.net/#oslohackerspace">#oslohackerspace</a>
115 or <a href="irc://irc.freenode.net/#nuug">#nuug</a> on
116 irc.freenode.net.</p>
118 <p>While investigating mesh networks in Oslo, I came across an old
119 research paper from the university of Stavanger and Telenor Research
120 and Innovation called
121 <a href="http://folk.uio.no/paalee/publications/netrel-egeland-iswcs-2008.pdf">The
122 reliability of wireless backhaul mesh networks</a> and elsewhere
123 learned that Telenor have been experimenting with mesh networks at
124 Grünerløkka in Oslo. So mesh networks are also interesting for
125 commercial companies, even though Telenor discovered that it was hard
126 to figure out a good business plan for mesh networking and as far as I
127 know have closed down the experiment. Perhaps Telenor or others would
128 be interested in a cooperation?</p>