1 <?xml version=
"1.0" encoding=
"utf-8"?>
2 <rss version='
2.0' xmlns:lj='http://www.livejournal.org/rss/lj/
1.0/'
>
4 <title>Petter Reinholdtsen - Entries tagged mesh network
</title>
5 <description>Entries tagged mesh network
</description>
6 <link>http://people.skolelinux.org/pere/blog/
</link>
10 <title>Dugnadsnett for alle stiller på Oslo Maker Faire i januar
2014</title>
11 <link>http://people.skolelinux.org/pere/blog/Dugnadsnett_for_alle_stiller_p__Oslo_Maker_Faire_i_januar_2014.html
</link>
12 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Dugnadsnett_for_alle_stiller_p__Oslo_Maker_Faire_i_januar_2014.html
</guid>
13 <pubDate>Tue,
10 Dec
2013 19:
20:
00 +
0100</pubDate>
14 <description><p
>Helga
18. og
19. januar
2014 arrangeres
15 <a href=
"http://makerfaireoslo.no/no/program/dugnadsnett
">Oslo Maker
16 Faire
</a
>, og
<a href=
"http://www.dugnadsnett.no/
">Dugnadsnett for
17 alle
</a
> har fått plass! Planen er å ha et bord med en plakat der vi
18 forteller om hva Dugnadsnett for alle er for noe, og et lite verksted
19 der vi hjelper folk som er interessert i å få opp sin egen mesh-node.
20 Jeg gleder meg til å se hvordan prosjektet blir mottatt der.
</p
>
22 <p
>Målet med dugnadsnett for alle i Oslo er å få på plass et datanett
23 for kommunikasjon ved hjelp av radio-repeaterstasjoner (kalt
24 mesh-noder) som gjør at en kan direkte kommunisere med slekt, venner
25 og bekjente i Oslo via andre som deltar i dugnadsnettet, samt gjøre
26 det mulig komme ut på internett via dugnadsnettet. Første delmål er å
27 kunne sende SMS-meldinger vha. IP-telefoni løsningen
28 <a href=
"http://www.servalproject.org/
">Serval project
</a
> mellom
29 deltagerne i Dugnadsnett for alle i Oslo. Formålet er å ta tilbake
30 kontrollen over egen nett-infrastruktur og gjøre det dyrere å bedrive
31 massiv innsamling av informasjon om borgernes bruk av datanett.
</p
>
33 <p
>Høres dette interessant ut? Bli med på prosjektet, fortell oss
34 hvor du kunne tenke deg å sette opp en radio-repeater (slik at folk i
35 nærheten kan finne hverandre ved hjelp av
36 <a href=
"http://flynor.net/mesh/mesh.php
">kartet over planlagte og
37 eksisterende radio-repeatere
</A
>), bli med på epostlisten
38 <a href=
"http://lists.nuug.no/mailman/listinfo/dugnadsnett
">dugnadsnett
39 (at) nuug.no
</a
> og stikk innom
40 <a href=
"irc://irc.freenode.net/#dugnadsnett.no
">IRC-kanalen
41 #dugnadsnett.no
</a
>. Så langt er det planlagt over
40
42 radio-repeatere, med VPN-forbindelser via Internet for å la de delene
43 av nettet som ikke når hverandre via radio kunne snakke med hverandre
49 <title>Dugnadsnett for alle, a wireless community network in Oslo, take shape
</title>
50 <link>http://people.skolelinux.org/pere/blog/Dugnadsnett_for_alle__a_wireless_community_network_in_Oslo__take_shape.html
</link>
51 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Dugnadsnett_for_alle__a_wireless_community_network_in_Oslo__take_shape.html
</guid>
52 <pubDate>Sat,
30 Nov
2013 10:
10:
00 +
0100</pubDate>
53 <description><p
>If you want the ability to electronically communicate directly with
54 your neighbors and friends using a network controlled by your peers in
55 stead of centrally controlled by a few corporations, or would like to
56 experiment with interesting network technology, the
57 <a href=
"http://www.dugnadsnett.no/
">Dugnasnett for alle i Oslo
</a
>
58 might be project for you.
39 mesh nodes are currently being planned,
59 in the freshly started initiative from NUUG and Hackeriet to create a
60 wireless community network. The work is inspired by
61 <a href=
"http://freifunk.net/
">Freifunk
</a
>,
62 <a href=
"http://www.awmn.net/
">Athens Wireless Metropolitan
63 Network
</a
>,
<a href=
"http://en.wikipedia.org/wiki/Roofnet
">Roofnet
</a
>
64 and other successful mesh networks around the globe. Two days ago we
65 held a workshop to try to get people started on setting up their own
66 mesh node, and there we decided to create a new mailing list
67 <a href=
"http://lists.nuug.no/mailman/listinfo/dugnadsnett
">dugnadsnett
68 (at) nuug.no
</a
> and IRC channel
69 <a href=
"irc://irc.freenode.net/#dugnadsnett.no
">#dugnadsnett.no
</a
> to
70 coordinate the work. See also the NUUG blog post
71 <a href=
"http://www.nuug.no/news/E_postliste_og_IRC_kanal_for_Dugnadsnett_for_alle_i_Oslo.shtml
">announcing
72 the mailing list and IRC channel
</a
>.
</p
>
77 <title>Lets make a wireless community network in Oslo!
</title>
78 <link>http://people.skolelinux.org/pere/blog/Lets_make_a_wireless_community_network_in_Oslo_.html
</link>
79 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Lets_make_a_wireless_community_network_in_Oslo_.html
</guid>
80 <pubDate>Wed,
13 Nov
2013 21:
00:
00 +
0100</pubDate>
81 <description><p
>Today NUUG and Hackeriet announced
82 <a href=
"http://www.nuug.no/news/Bli_med___bygge_dugnadsnett_for_alle_i_Oslo.shtml
">our
83 plans to join forces and create a wireless community network in
84 Oslo
</a
>. The workshop to help people get started will take place
85 Thursday
2013-
11-
28, but we already are collecting the geolocation of
86 people joining forces to make this happen. We have
87 <a href=
"https://github.com/petterreinholdtsen/meshfx-node/blob/master/oslo-nodes.geojson
">9
88 locations plotted on the map
</a
>, but we will need more before we have
89 a connected mesh spread across Oslo. If this sound interesting to
90 you, please join us at the workshop. If you are too impatient to wait
91 15 days, please join us on the IRC channel
92 <a href=
"irc://irc.freenode.net/%
23nuug
">#nuug on irc.freenode.net
</a
>
93 right away. :)
</p
>
98 <title>Running TP-Link MR3040 as a batman-adv mesh node using openwrt
</title>
99 <link>http://people.skolelinux.org/pere/blog/Running_TP_Link_MR3040_as_a_batman_adv_mesh_node_using_openwrt.html
</link>
100 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Running_TP_Link_MR3040_as_a_batman_adv_mesh_node_using_openwrt.html
</guid>
101 <pubDate>Sun,
10 Nov
2013 23:
00:
00 +
0100</pubDate>
102 <description><p
>Continuing my research into mesh networking, I was recommended to
103 use TP-Link
3040 and
3600 access points as mesh nodes, and the pair I
104 bought arrived on Friday. Here are my notes on how to set up the
105 MR3040 as a mesh node using
106 <a href=
"http://www.openwrt.org/
">OpenWrt
</a
>.
</p
>
108 <p
>I started by following the instructions on the OpenWRT wiki for
109 <a href=
"http://wiki.openwrt.org/toh/tp-link/tl-mr3040
">TL-MR3040
</a
>,
111 <a href=
"http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-tl-mr3040-v2-squashfs-factory.bin
">the
112 recommended firmware image
</a
>
113 (openwrt-ar71xx-generic-tl-mr3040-v2-squashfs-factory.bin) and
114 uploaded it into the original web interface. The flashing went fine,
115 and the machine was available via telnet on the ethernet port. After
116 logging in and setting the root password, ssh was available and I
117 could start to set it up as a batman-adv mesh node.
</p
>
119 <p
>I started off by reading the instructions from
120 <a href=
"http://wirelessafrica.meraka.org.za/wiki/index.php?title=Antoine
's_Research
">Wireless
121 Africa
</a
>, which had quite a lot of useful information, but
122 eventually I followed the recipe from the Open Mesh wiki for
123 <a href=
"http://www.open-mesh.org/projects/batman-adv/wiki/Batman-adv-openwrt-config
">using
124 batman-adv on OpenWrt
</a
>. A small snag was the fact that the
125 <tt
>opkg install kmod-batman-adv
</tt
> command did not work as it
126 should. The batman-adv kernel module would fail to load because its
127 dependency crc16 was not already loaded. I
128 <a href=
"https://dev.openwrt.org/ticket/
14452">reported the bug
</a
> to
129 the openwrt project and hope it will be fixed soon. But the problem
130 only seem to affect initial testing of batman-adv, as configuration
131 seem to work when booting from scratch.
</p
>
133 <p
>The setup is done using files in /etc/config/. I did not bridge
134 the Ethernet and mesh interfaces this time, to be able to hook up the
135 box on my local network and log into it for configuration updates.
136 The following files were changed and look like this after modifying
139 <p
><tt
>/etc/config/network
</tt
></p
>
143 config interface
'loopback
'
144 option ifname
'lo
'
145 option proto
'static
'
146 option ipaddr
'127.0.0.1'
147 option netmask
'255.0.0.0'
149 config globals
'globals
'
150 option ula_prefix
'fdbf:
4c12:
3fed::/
48'
152 config interface
'lan
'
153 option ifname
'eth0
'
154 option type
'bridge
'
155 option proto
'dhcp
'
156 option ipaddr
'192.168.1.1'
157 option netmask
'255.255.255.0'
158 option hostname
'tl-mr3040
'
159 option ip6assign
'60'
161 config interface
'mesh
'
162 option ifname
'adhoc0
'
163 option mtu
'1528'
164 option proto
'batadv
'
165 option mesh
'bat0
'
168 <p
><tt
>/etc/config/wireless
</tt
></p
>
171 config wifi-device
'radio0
'
172 option type
'mac80211
'
173 option channel
'11'
174 option hwmode
'11ng
'
175 option path
'platform/ar933x_wmac
'
176 option htmode
'HT20
'
177 list ht_capab
'SHORT-GI-
20'
178 list ht_capab
'SHORT-GI-
40'
179 list ht_capab
'RX-STBC1
'
180 list ht_capab
'DSSS_CCK-
40'
181 option disabled
'0'
183 config wifi-iface
'wmesh
'
184 option device
'radio0
'
185 option ifname
'adhoc0
'
186 option network
'mesh
'
187 option encryption
'none
'
188 option mode
'adhoc
'
189 option bssid
'02:BA:
00:
00:
00:
01'
190 option ssid
'meshfx@hackeriet
'
192 <p
><tt
>/etc/config/batman-adv
</tt
></p
>
195 config
'mesh
' 'bat0
'
196 option interfaces
'adhoc0
'
197 option
'aggregated_ogms
'
198 option
'ap_isolation
'
199 option
'bonding
'
200 option
'fragmentation
'
201 option
'gw_bandwidth
'
202 option
'gw_mode
'
203 option
'gw_sel_class
'
204 option
'log_level
'
205 option
'orig_interval
'
206 option
'vis_mode
'
207 option
'bridge_loop_avoidance
'
208 option
'distributed_arp_table
'
209 option
'network_coding
'
210 option
'hop_penalty
'
212 # yet another batX instance
213 # config
'mesh
' 'bat5
'
214 # option
'interfaces
' 'second_mesh
'
217 <p
>The mesh node is now operational. I have yet to test its range,
218 but I hope it is good. I have not yet tested the TP-Link
3600 box
219 still wrapped up in plastic.
</p
>
224 <title>Teaching vmdebootstrap to create Raspberry Pi SD card images
</title>
225 <link>http://people.skolelinux.org/pere/blog/Teaching_vmdebootstrap_to_create_Raspberry_Pi_SD_card_images.html
</link>
226 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Teaching_vmdebootstrap_to_create_Raspberry_Pi_SD_card_images.html
</guid>
227 <pubDate>Sun,
27 Oct
2013 17:
00:
00 +
0100</pubDate>
228 <description><p
>The
229 <a href=
"http://packages.qa.debian.org/v/vmdebootstrap.html
">vmdebootstrap
</a
>
230 program is a a very nice system to create virtual machine images. It
231 create a image file, add a partition table, mount it and run
232 debootstrap in the mounted directory to create a Debian system on a
233 stick. Yesterday, I decided to try to teach it how to make images for
234 <a href=
"https://wiki.debian.org/RaspberryPi
">Raspberry Pi
</a
>, as part
235 of a plan to simplify the build system for
236 <a href=
"https://wiki.debian.org/FreedomBox
">the FreedomBox
237 project
</a
>. The FreedomBox project already uses vmdebootstrap for
238 the virtualbox images, but its current build system made multistrap
239 based system for Dreamplug images, and it is lacking support for
240 Raspberry Pi.
</p
>
242 <p
>Armed with the knowledge on how to build
"foreign
" (aka non-native
243 architecture) chroots for Raspberry Pi, I dived into the vmdebootstrap
244 code and adjusted it to be able to build armel images on my amd64
245 Debian laptop. I ended up giving vmdebootstrap five new options,
246 allowing me to replicate the image creation process I use to make
247 <a href=
"http://people.skolelinux.org/pere/blog/A_Raspberry_Pi_based_batman_adv_Mesh_network_node.html
">Debian
248 Jessie based mesh node images for the Raspberry Pi
</a
>. First, the
249 <tt
>--foreign /path/to/binfm_handler
</tt
> option tell vmdebootstrap to
250 call debootstrap with --foreign and to copy the handler into the
251 generated chroot before running the second stage. This allow
252 vmdebootstrap to create armel images on an amd64 host. Next I added
253 two new options
<tt
>--bootsize size
</tt
> and
<tt
>--boottype
254 fstype
</tt
> to teach it to create a separate /boot/ partition with the
255 given file system type, allowing me to create an image with a vfat
256 partition for the /boot/ stuff. I also added a
<tt
>--variant
257 variant
</tt
> option to allow me to create smaller images without the
258 Debian base system packages installed. Finally, I added an option
259 <tt
>--no-extlinux
</tt
> to tell vmdebootstrap to not install extlinux
260 as a boot loader. It is not needed on the Raspberry Pi and probably
261 most other non-x86 architectures. The changes were accepted by the
262 upstream author of vmdebootstrap yesterday and today, and is now
264 <a href=
"http://git.liw.fi/cgi-bin/cgit/cgit.cgi/vmdebootstrap/
">the
265 upstream project page
</a
>.
</p
>
267 <p
>To use it to build a Raspberry Pi image using Debian Jessie, first
268 create a small script (the customize script) to add the non-free
269 binary blob needed to boot the Raspberry Pi and the APT source
274 set -e # Exit on first error
275 rootdir=
"$
1"
276 cd
"$rootdir
"
277 cat
&lt;
&lt;EOF
> etc/apt/sources.list
278 deb http://http.debian.net/debian/ jessie main contrib non-free
280 # Install non-free binary blob needed to boot Raspberry Pi. This
281 # install a kernel somewhere too.
282 wget https://raw.github.com/Hexxeh/rpi-update/master/rpi-update \
283 -O $rootdir/usr/bin/rpi-update
284 chmod a+x $rootdir/usr/bin/rpi-update
285 mkdir -p $rootdir/lib/modules
286 touch $rootdir/boot/start.elf
287 chroot $rootdir rpi-update
288 </pre
></p
>
290 <p
>Next, fetch the latest vmdebootstrap script and call it like this
291 to build the image:
</p
>
294 sudo ./vmdebootstrap \
297 --distribution jessie \
298 --mirror http://http.debian.net/debian \
307 --root-password raspberry \
308 --hostname raspberrypi \
309 --foreign /usr/bin/qemu-arm-static \
310 --customize `pwd`/customize \
314 --package ca-certificates \
317 </pre
></p
>
319 <p
>The list of packages being installed are the ones needed by
320 rpi-update to make the image bootable on the Raspberry Pi, with the
321 exception of netbase, which is needed by debootstrap to find
322 /etc/hosts with the minbase variant. I really wish there was a way to
323 set up an Raspberry Pi using only packages in the Debian archive, but
324 that is not possible as far as I know, because it boots from the GPU
325 using a non-free binary blob.
</p
>
327 <p
>The build host need debootstrap, kpartx and qemu-user-static and
328 probably a few others installed. I have not checked the complete
329 build dependency list.
</p
>
331 <p
>The resulting image will not use the hardware floating point unit
332 on the Raspberry PI, because the armel architecture in Debian is not
333 optimized for that use. So the images created will be a bit slower
334 than
<a href=
"http://www.raspbian.org/
">Raspbian
</a
> based images.
</p
>
339 <title>A Raspberry Pi based batman-adv Mesh network node
</title>
340 <link>http://people.skolelinux.org/pere/blog/A_Raspberry_Pi_based_batman_adv_Mesh_network_node.html
</link>
341 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/A_Raspberry_Pi_based_batman_adv_Mesh_network_node.html
</guid>
342 <pubDate>Mon,
21 Oct
2013 11:
40:
00 +
0200</pubDate>
343 <description><p
>The last few days I have been experimenting with
344 <a href=
"http://www.open-mesh.org/projects/batman-adv/wiki
">the
345 batman-adv mesh technology
</a
>. I want to gain some experience to see
346 if it will fit
<a href=
"https://wiki.debian.org/FreedomBox
">the
347 Freedombox project
</a
>, and together with my neighbors try to build a
348 mesh network around the park where I live. Batman-adv is a layer
2
349 mesh system (
"ethernet
" in other words), where the mesh network appear
350 as if all the mesh clients are connected to the same switch.
</p
>
352 <p
>My hardware of choice was the Linksys WRT54GL routers I had lying
353 around, but I
've been unable to get them working with batman-adv. So
354 instead, I started playing with a
355 <a href=
"http://www.raspberrypi.org/
">Raspberry Pi
</a
>, and tried to
356 get it working as a mesh node. My idea is to use it to create a mesh
357 node which function as a switch port, where everything connected to
358 the Raspberry Pi ethernet plug is connected (bridged) to the mesh
359 network. This allow me to hook a wifi base station like the Linksys
360 WRT54GL to the mesh by plugging it into a Raspberry Pi, and allow
361 non-mesh clients to hook up to the mesh. This in turn is useful for
362 Android phones using
<a href=
"http://servalproject.org/
">the Serval
363 Project
</a
> voip client, allowing every one around the playground to
364 phone and message each other for free. The reason is that Android
365 phones do not see ad-hoc wifi networks (they are filtered away from
366 the GUI view), and can not join the mesh without being rooted. But if
367 they are connected using a normal wifi base station, they can talk to
368 every client on the local network.
</p
>
370 <p
>To get this working, I
've created a debian package
371 <a href=
"https://github.com/petterreinholdtsen/meshfx-node
">meshfx-node
</a
>
373 <a href=
"https://github.com/petterreinholdtsen/meshfx-node/blob/master/build-rpi-mesh-node
">build-rpi-mesh-node
</a
>
374 to create the Raspberry Pi boot image. I
'm using Debian Jessie (and
375 not Raspbian), to get more control over the packages available.
376 Unfortunately a huge binary blob need to be inserted into the boot
377 image to get it booting, but I
'll ignore that for now. Also, as
378 Debian lack support for the CPU features available in the Raspberry
379 Pi, the system do not use the hardware floating point unit. I hope
380 the routing performance isn
't affected by the lack of hardware FPU
383 <p
>To create an image, run the following with a sudo enabled user
384 after inserting the target SD card into the build machine:
</p
>
387 % wget -O build-rpi-mesh-node \
388 https://raw.github.com/petterreinholdtsen/meshfx-node/master/build-rpi-mesh-node
389 % sudo bash -x ./build-rpi-mesh-node
> build.log
2>&1
390 % dd if=/root/rpi/rpi_basic_jessie_$(date +%Y%m%d).img of=/dev/mmcblk0 bs=
1M
392 </pre
></p
>
394 <p
>Booting with the resulting SD card on a Raspberry PI with a USB
395 wifi card inserted should give you a mesh node. At least it does for
396 me with a the wifi card I am using. The default mesh settings are the
397 ones used by the Oslo mesh project at Hackeriet, as I mentioned in
398 <a href=
"http://people.skolelinux.org/pere/blog/Oslo_community_mesh_network___with_NUUG_and_Hackeriet_at_Hausmania.html
">an
399 earlier blog post about this mesh testing
</a
>.
</p
>
401 <p
>The mesh node was not horribly expensive either. I bought
402 everything over the counter in shops nearby. If I had ordered online
403 from the lowest bidder, the price should be significantly lower:
</p
>
405 <p
><table
>
407 <tr
><th
>Supplier
</th
><th
>Model
</th
><th
>NOK
</th
></tr
>
408 <tr
><td
>Teknikkmagasinet
</td
><td
>Raspberry Pi model B
</td
><td
>349.90</td
></tr
>
409 <tr
><td
>Teknikkmagasinet
</td
><td
>Raspberry Pi type B case
</td
><td
>99.90</td
></tr
>
410 <tr
><td
>Lefdal
</td
><td
>Jensen Air:Link
25150</td
><td
>295.-
</td
></tr
>
411 <tr
><td
>Clas Ohlson
</td
><td
>Kingston
16 GB SD card
</td
><td
>199.-
</td
></tr
>
412 <tr
><td
>Total cost
</td
><td
></td
><td
>943.80</td
></tr
>
414 </table
></p
>
416 <p
>Now my mesh network at home consist of one laptop in the basement
417 connected to my production network, one Raspberry Pi node on the
1th
418 floor that can be seen by my neighbor across the park, and one
419 play-node I use to develop the image building script. And some times
420 I hook up my work horse laptop to the mesh to test it. I look forward
421 to figuring out what kind of latency the batman-adv setup will give,
422 and how much packet loss we will experience around the park. :)
</p
>
427 <title>Oslo community mesh network - with NUUG and Hackeriet at Hausmania
</title>
428 <link>http://people.skolelinux.org/pere/blog/Oslo_community_mesh_network___with_NUUG_and_Hackeriet_at_Hausmania.html
</link>
429 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Oslo_community_mesh_network___with_NUUG_and_Hackeriet_at_Hausmania.html
</guid>
430 <pubDate>Fri,
11 Oct
2013 14:
10:
00 +
0200</pubDate>
431 <description><p
>Wireless mesh networks are self organising and self healing
432 networks that can be used to connect computers across small and large
433 areas, depending on the radio technology used. Normal wifi equipment
434 can be used to create home made radio networks, and there are several
435 successful examples like
436 <a href=
"http://www.freifunk.net/
">Freifunk
</a
> and
437 <a href=
"http://www.awmn.net/
">Athens Wireless Metropolitan Network
</a
>
439 <a href=
"http://en.wikipedia.org/wiki/List_of_wireless_community_networks_by_region#Greece
">wikipedia
440 for a large list
</a
>) around the globe. To give you an idea how it
441 work, check out the nice overview of the Kiel Freifunk community which
442 can be seen from their
443 <a href=
"http://freifunk.in-kiel.de/ffmap/nodes.html
">dynamically
444 updated node graph and map
</a
>, where one can see how the mesh nodes
445 automatically handle routing and recover from nodes disappearing.
446 There is also a small community mesh network group in Oslo, Norway,
447 and that is the main topic of this blog post.
</p
>
449 <p
>I
've wanted to check out mesh networks for a while now, and hoped
450 to do it as part of my involvement with the
<a
451 href=
"http://www.nuug.no/
">NUUG member organisation
</a
> community, and
452 my recent involvement in
453 <a href=
"https://wiki.debian.org/FreedomBox
">the Freedombox project
</a
>
454 finally lead me to give mesh networks some priority, as I suspect a
455 Freedombox should use mesh networks to connect neighbours and family
456 when possible, given that most communication between people are
457 between those nearby (as shown for example by research on Facebook
458 communication patterns). It also allow people to communicate without
459 any central hub to tap into for those that want to listen in on the
460 private communication of citizens, which have become more and more
461 important over the years.
</p
>
463 <p
>So far I have only been able to find one group of people in Oslo
464 working on community mesh networks, over at the hack space
465 <a href=
"http://hackeriet.no/
">Hackeriet
</a
> at Husmania. They seem to
466 have started with some Freifunk based effort using OLSR, called
467 <a href=
"http://oslo.freifunk.net/index.php?title=Main_Page
">the Oslo
468 Freifunk project
</a
>, but that effort is now dead and the people
469 behind it have moved on to a batman-adv based system called
470 <a href=
"http://meshfx.org/trac
">meshfx
</a
>. Unfortunately the wiki
471 site for the Oslo Freifunk project is no longer possible to update to
472 reflect this fact, so the old project page can
't be updated to point to
473 the new project. A while back, the people at Hackeriet invited people
474 from the Freifunk community to Oslo to talk about mesh networks. I
475 came across this video where Hans Jørgen Lysglimt interview the
476 speakers about this talk (from
477 <a href=
"https://www.youtube.com/watch?v=N2Kd7CLkhSY
">youtube
</a
>):
</p
>
479 <p
><iframe width=
"420" height=
"315" src=
"https://www.youtube.com/embed/N2Kd7CLkhSY
" frameborder=
"0" allowfullscreen
></iframe
></p
>
481 <p
>I mentioned OLSR and batman-adv, which are mesh routing protocols.
482 There are heaps of different protocols, and I am still struggling to
483 figure out which one would be
"best
" for some definitions of best, but
484 given that the community mesh group in Oslo is so small, I believe it
485 is best to hook up with the existing one instead of trying to create a
486 completely different setup, and thus I have decided to focus on
487 batman-adv for now. It sure help me to know that the very cool
488 <a href=
"http://www.servalproject.org/
">Serval project in Australia
</a
>
489 is using batman-adv as their meshing technology when it create a self
490 organizing and self healing telephony system for disaster areas and
491 less industrialized communities. Check out this cool video presenting
493 <a href=
"https://www.youtube.com/watch?v=
30qNfzJCQOA
">youtube
</a
>):
</p
>
495 <p
><iframe width=
"560" height=
"315" src=
"https://www.youtube.com/embed/
30qNfzJCQOA
" frameborder=
"0" allowfullscreen
></iframe
></p
>
497 <p
>According to the wikipedia page on
498 <a href=
"http://en.wikipedia.org/wiki/Wireless_mesh_network
">Wireless
499 mesh network
</a
> there are around
70 competing schemes for routing
500 packets across mesh networks, and OLSR, B.A.T.M.A.N. and
501 B.A.T.M.A.N. advanced are protocols used by several free software
502 based community mesh networks.
</p
>
504 <p
>The batman-adv protocol is a bit special, as it provide layer
2
505 (as in ethernet ) routing, allowing ipv4 and ipv6 to work on the same
506 network. One way to think about it is that it provide a mesh based
507 vlan you can bridge to or handle like any other vlan connected to your
508 computer. The required drivers are already in the Linux kernel at
509 least since Debian Wheezy, and it is fairly easy to set up. A
510 <a href=
"http://www.open-mesh.org/projects/batman-adv/wiki/Quick-start-guide
">good
511 introduction
</a
> is available from the Open Mesh project. These are
512 the key settings needed to join the Oslo meshfx network:
</p
>
514 <p
><table
>
515 <tr
><th
>Setting
</th
><th
>Value
</th
></tr
>
516 <tr
><td
>Protocol / kernel module
</td
><td
>batman-adv
</td
></tr
>
517 <tr
><td
>ESSID
</td
><td
>meshfx@hackeriet
</td
></tr
>
518 <td
>Channel / Frequency
</td
><td
>11 /
2462</td
></tr
>
519 <td
>Cell ID
</td
><td
>02:BA:
00:
00:
00:
01</td
>
520 </table
></p
>
522 <p
>The reason for setting ad-hoc wifi Cell ID is to work around bugs
523 in firmware used in wifi card and wifi drivers. (See a nice post from
525 "<a href=
"http://tiebing.blogspot.no/
2009/
12/ad-hoc-cell-splitting-re-post-original.html
">Information
526 about cell-id splitting, stuck beacons, and failed IBSS merges!
</a
>
527 for details.) When these settings are activated and you have some
528 other mesh node nearby, your computer will be connected to the mesh
529 network and can communicate with any mesh node that is connected to
530 any of the nodes in your network of nodes. :)
</p
>
532 <p
>My initial plan was to reuse my old Linksys WRT54GL as a mesh node,
533 but that seem to be very hard, as I have not been able to locate a
534 firmware supporting batman-adv. If anyone know how to use that old
535 wifi access point with batman-adv these days, please let me know.
</p
>
537 <p
>If you find this project interesting and want to join, please join
538 us on IRC, either channel
539 <a href=
"irc://irc.freenode.net/#oslohackerspace
">#oslohackerspace
</a
>
540 or
<a href=
"irc://irc.freenode.net/#nuug
">#nuug
</a
> on
541 irc.freenode.net.
</p
>
543 <p
>While investigating mesh networks in Oslo, I came across an old
544 research paper from the university of Stavanger and Telenor Research
545 and Innovation called
546 <a href=
"http://folk.uio.no/paalee/publications/netrel-egeland-iswcs-
2008.pdf
">The
547 reliability of wireless backhaul mesh networks
</a
> and elsewhere
548 learned that Telenor have been experimenting with mesh networks at
549 Grünerløkka in Oslo. So mesh networks are also interesting for
550 commercial companies, even though Telenor discovered that it was hard
551 to figure out a good business plan for mesh networking and as far as I
552 know have closed down the experiment. Perhaps Telenor or others would
553 be interested in a cooperation?
</p
>
555 <p
><strong
>Update
2013-
10-
12</strong
>: I was just
556 <a href=
"http://lists.alioth.debian.org/pipermail/freedombox-discuss/
2013-October/
005900.html
">told
557 by the Serval project developers
</a
> that they no longer use
558 batman-adv (but are compatible with it), but their own crypto based
559 mesh system.
</p
>