]> pere.pagekite.me Git - homepage.git/blob - blog/tags/freedombox/freedombox.rss
9abd2d18f0ba6ea5680a43b8d2b6bcfb4cf93913
[homepage.git] / blog / tags / freedombox / freedombox.rss
1 <?xml version="1.0" encoding="utf-8"?>
2 <rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/'>
3 <channel>
4 <title>Petter Reinholdtsen - Entries tagged freedombox</title>
5 <description>Entries tagged freedombox</description>
6 <link>http://people.skolelinux.org/pere/blog/</link>
7
8
9 <item>
10 <title>Freedombox on Dreamplug, Raspberry Pi and virtual x86 machine</title>
11 <link>http://people.skolelinux.org/pere/blog/Freedombox_on_Dreamplug__Raspberry_Pi_and_virtual_x86_machine.html</link>
12 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Freedombox_on_Dreamplug__Raspberry_Pi_and_virtual_x86_machine.html</guid>
13 <pubDate>Fri, 14 Mar 2014 11:00:00 +0100</pubDate>
14 <description>&lt;p&gt;The &lt;a href=&quot;https://wiki.debian.org/FreedomBox&quot;&gt;Freedombox
15 project&lt;/a&gt; is working on to providing the software and hardware for
16 making it easy for non-technical people to host their data and
17 communication at home, and being able to communicate with their
18 friends and family encrypted and away from prying eyes. It has been
19 going on for a while, and is slowly progressing towards a new test
20 release (0.2). And what day could be better than the Pi day to
21 announce that the new version will provide &quot;hard drive&quot;/SD card/USB
22 stick images for Dreamplug, Raspberry Pi and VirtualBox (or any other
23 virtualization system), and can also be installed using a Debian
24 installer preseed file. The Debian based Freedombox is now based on
25 Debian Jessie, where most of the needed packages used are already
26 present. Only one, the freedombox-setup package, is missing. To try
27 to build your own boot image to test the current status, fetch the
28 freedom-maker scripts and build using
29 &lt;a href=&quot;http://packages.qa.debian.org/vmdebootstrap&quot;&gt;vmdebootstrap&lt;/a&gt;
30 with a user with sudo access to become root:
31
32 &lt;pre&gt;
33 git clone http://anonscm.debian.org/git/freedombox/freedom-maker.git \
34 freedom-maker
35 sudo apt-get install git vmdebootstrap mercurial python-docutils \
36 mktorrent extlinux virtualbox qemu-user-static binfmt-support \
37 u-boot-tools
38 make -C freedom-maker dreamplug-image raspberry-image virtualbox-image
39 &lt;/pre&gt;
40
41 &lt;p&gt;Root access is needed to run debootstrap and mount loopback
42 devices. See the README for more details on the build. If you do not
43 want all three images, trim the make line. But note that thanks to &lt;a
44 href=&quot;https://bugs.debian.org/741407&quot;&gt;a race condition in
45 vmdebootstrap&lt;/a&gt;, the build might fail without the patch to the
46 kpartx call.&lt;/p&gt;
47
48 &lt;p&gt;If you instead want to install using a Debian CD and the preseed
49 method, boot a Debian Wheezy ISO and use this boot argument to load
50 the preseed values:&lt;/p&gt;
51
52 &lt;pre&gt;
53 url=&lt;a href=&quot;http://www.reinholdtsen.name/freedombox/preseed-jessie.dat&quot;&gt;http://www.reinholdtsen.name/freedombox/preseed-jessie.dat&lt;/a&gt;
54 &lt;/pre&gt;
55
56 &lt;p&gt;But note that due to &lt;a href=&quot;https://bugs.debian.org/740673&quot;&gt;a
57 recently introduced bug in apt in Jessie&lt;/a&gt;, the installer will
58 currently hang while setting up APT sources. Killing the
59 &#39;&lt;tt&gt;apt-cdrom ident&lt;/tt&gt;&#39; process when it hang a few times during the
60 installation will get the installation going. This affect all
61 installations in Jessie, and I expect it will be fixed soon.&lt;/p&gt;
62
63 Give it a go and let us know how it goes on the mailing list, and help
64 us get the new release published. :) Please join us on
65 &lt;a href=&quot;irc://irc.debian.org:6667/%23freedombox&quot;&gt;IRC (#freedombox on
66 irc.debian.org)&lt;/a&gt; and
67 &lt;a href=&quot;http://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss&quot;&gt;the
68 mailing list&lt;/a&gt; if you want to help make this vision come true.&lt;/p&gt;
69 </description>
70 </item>
71
72 <item>
73 <title>Teaching vmdebootstrap to create Raspberry Pi SD card images</title>
74 <link>http://people.skolelinux.org/pere/blog/Teaching_vmdebootstrap_to_create_Raspberry_Pi_SD_card_images.html</link>
75 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Teaching_vmdebootstrap_to_create_Raspberry_Pi_SD_card_images.html</guid>
76 <pubDate>Sun, 27 Oct 2013 17:00:00 +0100</pubDate>
77 <description>&lt;p&gt;The
78 &lt;a href=&quot;http://packages.qa.debian.org/v/vmdebootstrap.html&quot;&gt;vmdebootstrap&lt;/a&gt;
79 program is a a very nice system to create virtual machine images. It
80 create a image file, add a partition table, mount it and run
81 debootstrap in the mounted directory to create a Debian system on a
82 stick. Yesterday, I decided to try to teach it how to make images for
83 &lt;a href=&quot;https://wiki.debian.org/RaspberryPi&quot;&gt;Raspberry Pi&lt;/a&gt;, as part
84 of a plan to simplify the build system for
85 &lt;a href=&quot;https://wiki.debian.org/FreedomBox&quot;&gt;the FreedomBox
86 project&lt;/a&gt;. The FreedomBox project already uses vmdebootstrap for
87 the virtualbox images, but its current build system made multistrap
88 based system for Dreamplug images, and it is lacking support for
89 Raspberry Pi.&lt;/p&gt;
90
91 &lt;p&gt;Armed with the knowledge on how to build &quot;foreign&quot; (aka non-native
92 architecture) chroots for Raspberry Pi, I dived into the vmdebootstrap
93 code and adjusted it to be able to build armel images on my amd64
94 Debian laptop. I ended up giving vmdebootstrap five new options,
95 allowing me to replicate the image creation process I use to make
96 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/A_Raspberry_Pi_based_batman_adv_Mesh_network_node.html&quot;&gt;Debian
97 Jessie based mesh node images for the Raspberry Pi&lt;/a&gt;. First, the
98 &lt;tt&gt;--foreign /path/to/binfm_handler&lt;/tt&gt; option tell vmdebootstrap to
99 call debootstrap with --foreign and to copy the handler into the
100 generated chroot before running the second stage. This allow
101 vmdebootstrap to create armel images on an amd64 host. Next I added
102 two new options &lt;tt&gt;--bootsize size&lt;/tt&gt; and &lt;tt&gt;--boottype
103 fstype&lt;/tt&gt; to teach it to create a separate /boot/ partition with the
104 given file system type, allowing me to create an image with a vfat
105 partition for the /boot/ stuff. I also added a &lt;tt&gt;--variant
106 variant&lt;/tt&gt; option to allow me to create smaller images without the
107 Debian base system packages installed. Finally, I added an option
108 &lt;tt&gt;--no-extlinux&lt;/tt&gt; to tell vmdebootstrap to not install extlinux
109 as a boot loader. It is not needed on the Raspberry Pi and probably
110 most other non-x86 architectures. The changes were accepted by the
111 upstream author of vmdebootstrap yesterday and today, and is now
112 available from
113 &lt;a href=&quot;http://git.liw.fi/cgi-bin/cgit/cgit.cgi/vmdebootstrap/&quot;&gt;the
114 upstream project page&lt;/a&gt;.&lt;/p&gt;
115
116 &lt;p&gt;To use it to build a Raspberry Pi image using Debian Jessie, first
117 create a small script (the customize script) to add the non-free
118 binary blob needed to boot the Raspberry Pi and the APT source
119 list:&lt;/p&gt;
120
121 &lt;p&gt;&lt;pre&gt;
122 #!/bin/sh
123 set -e # Exit on first error
124 rootdir=&quot;$1&quot;
125 cd &quot;$rootdir&quot;
126 cat &amp;lt;&amp;lt;EOF &gt; etc/apt/sources.list
127 deb http://http.debian.net/debian/ jessie main contrib non-free
128 EOF
129 # Install non-free binary blob needed to boot Raspberry Pi. This
130 # install a kernel somewhere too.
131 wget https://raw.github.com/Hexxeh/rpi-update/master/rpi-update \
132 -O $rootdir/usr/bin/rpi-update
133 chmod a+x $rootdir/usr/bin/rpi-update
134 mkdir -p $rootdir/lib/modules
135 touch $rootdir/boot/start.elf
136 chroot $rootdir rpi-update
137 &lt;/pre&gt;&lt;/p&gt;
138
139 &lt;p&gt;Next, fetch the latest vmdebootstrap script and call it like this
140 to build the image:&lt;/p&gt;
141
142 &lt;pre&gt;
143 sudo ./vmdebootstrap \
144 --variant minbase \
145 --arch armel \
146 --distribution jessie \
147 --mirror http://http.debian.net/debian \
148 --image test.img \
149 --size 600M \
150 --bootsize 64M \
151 --boottype vfat \
152 --log-level debug \
153 --verbose \
154 --no-kernel \
155 --no-extlinux \
156 --root-password raspberry \
157 --hostname raspberrypi \
158 --foreign /usr/bin/qemu-arm-static \
159 --customize `pwd`/customize \
160 --package netbase \
161 --package git-core \
162 --package binutils \
163 --package ca-certificates \
164 --package wget \
165 --package kmod
166 &lt;/pre&gt;&lt;/p&gt;
167
168 &lt;p&gt;The list of packages being installed are the ones needed by
169 rpi-update to make the image bootable on the Raspberry Pi, with the
170 exception of netbase, which is needed by debootstrap to find
171 /etc/hosts with the minbase variant. I really wish there was a way to
172 set up an Raspberry Pi using only packages in the Debian archive, but
173 that is not possible as far as I know, because it boots from the GPU
174 using a non-free binary blob.&lt;/p&gt;
175
176 &lt;p&gt;The build host need debootstrap, kpartx and qemu-user-static and
177 probably a few others installed. I have not checked the complete
178 build dependency list.&lt;/p&gt;
179
180 &lt;p&gt;The resulting image will not use the hardware floating point unit
181 on the Raspberry PI, because the armel architecture in Debian is not
182 optimized for that use. So the images created will be a bit slower
183 than &lt;a href=&quot;http://www.raspbian.org/&quot;&gt;Raspbian&lt;/a&gt; based images.&lt;/p&gt;
184 </description>
185 </item>
186
187 <item>
188 <title>A Raspberry Pi based batman-adv Mesh network node</title>
189 <link>http://people.skolelinux.org/pere/blog/A_Raspberry_Pi_based_batman_adv_Mesh_network_node.html</link>
190 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/A_Raspberry_Pi_based_batman_adv_Mesh_network_node.html</guid>
191 <pubDate>Mon, 21 Oct 2013 11:40:00 +0200</pubDate>
192 <description>&lt;p&gt;The last few days I have been experimenting with
193 &lt;a href=&quot;http://www.open-mesh.org/projects/batman-adv/wiki&quot;&gt;the
194 batman-adv mesh technology&lt;/a&gt;. I want to gain some experience to see
195 if it will fit &lt;a href=&quot;https://wiki.debian.org/FreedomBox&quot;&gt;the
196 Freedombox project&lt;/a&gt;, and together with my neighbors try to build a
197 mesh network around the park where I live. Batman-adv is a layer 2
198 mesh system (&quot;ethernet&quot; in other words), where the mesh network appear
199 as if all the mesh clients are connected to the same switch.&lt;/p&gt;
200
201 &lt;p&gt;My hardware of choice was the Linksys WRT54GL routers I had lying
202 around, but I&#39;ve been unable to get them working with batman-adv. So
203 instead, I started playing with a
204 &lt;a href=&quot;http://www.raspberrypi.org/&quot;&gt;Raspberry Pi&lt;/a&gt;, and tried to
205 get it working as a mesh node. My idea is to use it to create a mesh
206 node which function as a switch port, where everything connected to
207 the Raspberry Pi ethernet plug is connected (bridged) to the mesh
208 network. This allow me to hook a wifi base station like the Linksys
209 WRT54GL to the mesh by plugging it into a Raspberry Pi, and allow
210 non-mesh clients to hook up to the mesh. This in turn is useful for
211 Android phones using &lt;a href=&quot;http://servalproject.org/&quot;&gt;the Serval
212 Project&lt;/a&gt; voip client, allowing every one around the playground to
213 phone and message each other for free. The reason is that Android
214 phones do not see ad-hoc wifi networks (they are filtered away from
215 the GUI view), and can not join the mesh without being rooted. But if
216 they are connected using a normal wifi base station, they can talk to
217 every client on the local network.&lt;/p&gt;
218
219 &lt;p&gt;To get this working, I&#39;ve created a debian package
220 &lt;a href=&quot;https://github.com/petterreinholdtsen/meshfx-node&quot;&gt;meshfx-node&lt;/a&gt;
221 and a script
222 &lt;a href=&quot;https://github.com/petterreinholdtsen/meshfx-node/blob/master/build-rpi-mesh-node&quot;&gt;build-rpi-mesh-node&lt;/a&gt;
223 to create the Raspberry Pi boot image. I&#39;m using Debian Jessie (and
224 not Raspbian), to get more control over the packages available.
225 Unfortunately a huge binary blob need to be inserted into the boot
226 image to get it booting, but I&#39;ll ignore that for now. Also, as
227 Debian lack support for the CPU features available in the Raspberry
228 Pi, the system do not use the hardware floating point unit. I hope
229 the routing performance isn&#39;t affected by the lack of hardware FPU
230 support.&lt;/p&gt;
231
232 &lt;p&gt;To create an image, run the following with a sudo enabled user
233 after inserting the target SD card into the build machine:&lt;/p&gt;
234
235 &lt;p&gt;&lt;pre&gt;
236 % wget -O build-rpi-mesh-node \
237 https://raw.github.com/petterreinholdtsen/meshfx-node/master/build-rpi-mesh-node
238 % sudo bash -x ./build-rpi-mesh-node &gt; build.log 2&gt;&amp;1
239 % dd if=/root/rpi/rpi_basic_jessie_$(date +%Y%m%d).img of=/dev/mmcblk0 bs=1M
240 %
241 &lt;/pre&gt;&lt;/p&gt;
242
243 &lt;p&gt;Booting with the resulting SD card on a Raspberry PI with a USB
244 wifi card inserted should give you a mesh node. At least it does for
245 me with a the wifi card I am using. The default mesh settings are the
246 ones used by the Oslo mesh project at Hackeriet, as I mentioned in
247 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Oslo_community_mesh_network___with_NUUG_and_Hackeriet_at_Hausmania.html&quot;&gt;an
248 earlier blog post about this mesh testing&lt;/a&gt;.&lt;/p&gt;
249
250 &lt;p&gt;The mesh node was not horribly expensive either. I bought
251 everything over the counter in shops nearby. If I had ordered online
252 from the lowest bidder, the price should be significantly lower:&lt;/p&gt;
253
254 &lt;p&gt;&lt;table&gt;
255
256 &lt;tr&gt;&lt;th&gt;Supplier&lt;/th&gt;&lt;th&gt;Model&lt;/th&gt;&lt;th&gt;NOK&lt;/th&gt;&lt;/tr&gt;
257 &lt;tr&gt;&lt;td&gt;Teknikkmagasinet&lt;/td&gt;&lt;td&gt;Raspberry Pi model B&lt;/td&gt;&lt;td&gt;349.90&lt;/td&gt;&lt;/tr&gt;
258 &lt;tr&gt;&lt;td&gt;Teknikkmagasinet&lt;/td&gt;&lt;td&gt;Raspberry Pi type B case&lt;/td&gt;&lt;td&gt;99.90&lt;/td&gt;&lt;/tr&gt;
259 &lt;tr&gt;&lt;td&gt;Lefdal&lt;/td&gt;&lt;td&gt;Jensen Air:Link 25150&lt;/td&gt;&lt;td&gt;295.-&lt;/td&gt;&lt;/tr&gt;
260 &lt;tr&gt;&lt;td&gt;Clas Ohlson&lt;/td&gt;&lt;td&gt;Kingston 16 GB SD card&lt;/td&gt;&lt;td&gt;199.-&lt;/td&gt;&lt;/tr&gt;
261 &lt;tr&gt;&lt;td&gt;Total cost&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;943.80&lt;/td&gt;&lt;/tr&gt;
262
263 &lt;/table&gt;&lt;/p&gt;
264
265 &lt;p&gt;Now my mesh network at home consist of one laptop in the basement
266 connected to my production network, one Raspberry Pi node on the 1th
267 floor that can be seen by my neighbor across the park, and one
268 play-node I use to develop the image building script. And some times
269 I hook up my work horse laptop to the mesh to test it. I look forward
270 to figuring out what kind of latency the batman-adv setup will give,
271 and how much packet loss we will experience around the park. :)&lt;/p&gt;
272 </description>
273 </item>
274
275 <item>
276 <title>Oslo community mesh network - with NUUG and Hackeriet at Hausmania</title>
277 <link>http://people.skolelinux.org/pere/blog/Oslo_community_mesh_network___with_NUUG_and_Hackeriet_at_Hausmania.html</link>
278 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Oslo_community_mesh_network___with_NUUG_and_Hackeriet_at_Hausmania.html</guid>
279 <pubDate>Fri, 11 Oct 2013 14:10:00 +0200</pubDate>
280 <description>&lt;p&gt;Wireless mesh networks are self organising and self healing
281 networks that can be used to connect computers across small and large
282 areas, depending on the radio technology used. Normal wifi equipment
283 can be used to create home made radio networks, and there are several
284 successful examples like
285 &lt;a href=&quot;http://www.freifunk.net/&quot;&gt;Freifunk&lt;/a&gt; and
286 &lt;a href=&quot;http://www.awmn.net/&quot;&gt;Athens Wireless Metropolitan Network&lt;/a&gt;
287 (see
288 &lt;a href=&quot;http://en.wikipedia.org/wiki/List_of_wireless_community_networks_by_region#Greece&quot;&gt;wikipedia
289 for a large list&lt;/a&gt;) around the globe. To give you an idea how it
290 work, check out the nice overview of the Kiel Freifunk community which
291 can be seen from their
292 &lt;a href=&quot;http://freifunk.in-kiel.de/ffmap/nodes.html&quot;&gt;dynamically
293 updated node graph and map&lt;/a&gt;, where one can see how the mesh nodes
294 automatically handle routing and recover from nodes disappearing.
295 There is also a small community mesh network group in Oslo, Norway,
296 and that is the main topic of this blog post.&lt;/p&gt;
297
298 &lt;p&gt;I&#39;ve wanted to check out mesh networks for a while now, and hoped
299 to do it as part of my involvement with the &lt;a
300 href=&quot;http://www.nuug.no/&quot;&gt;NUUG member organisation&lt;/a&gt; community, and
301 my recent involvement in
302 &lt;a href=&quot;https://wiki.debian.org/FreedomBox&quot;&gt;the Freedombox project&lt;/a&gt;
303 finally lead me to give mesh networks some priority, as I suspect a
304 Freedombox should use mesh networks to connect neighbours and family
305 when possible, given that most communication between people are
306 between those nearby (as shown for example by research on Facebook
307 communication patterns). It also allow people to communicate without
308 any central hub to tap into for those that want to listen in on the
309 private communication of citizens, which have become more and more
310 important over the years.&lt;/p&gt;
311
312 &lt;p&gt;So far I have only been able to find one group of people in Oslo
313 working on community mesh networks, over at the hack space
314 &lt;a href=&quot;http://hackeriet.no/&quot;&gt;Hackeriet&lt;/a&gt; at Husmania. They seem to
315 have started with some Freifunk based effort using OLSR, called
316 &lt;a href=&quot;http://oslo.freifunk.net/index.php?title=Main_Page&quot;&gt;the Oslo
317 Freifunk project&lt;/a&gt;, but that effort is now dead and the people
318 behind it have moved on to a batman-adv based system called
319 &lt;a href=&quot;http://meshfx.org/trac&quot;&gt;meshfx&lt;/a&gt;. Unfortunately the wiki
320 site for the Oslo Freifunk project is no longer possible to update to
321 reflect this fact, so the old project page can&#39;t be updated to point to
322 the new project. A while back, the people at Hackeriet invited people
323 from the Freifunk community to Oslo to talk about mesh networks. I
324 came across this video where Hans Jørgen Lysglimt interview the
325 speakers about this talk (from
326 &lt;a href=&quot;https://www.youtube.com/watch?v=N2Kd7CLkhSY&quot;&gt;youtube&lt;/a&gt;):&lt;/p&gt;
327
328 &lt;p&gt;&lt;iframe width=&quot;420&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/N2Kd7CLkhSY&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;/p&gt;
329
330 &lt;p&gt;I mentioned OLSR and batman-adv, which are mesh routing protocols.
331 There are heaps of different protocols, and I am still struggling to
332 figure out which one would be &quot;best&quot; for some definitions of best, but
333 given that the community mesh group in Oslo is so small, I believe it
334 is best to hook up with the existing one instead of trying to create a
335 completely different setup, and thus I have decided to focus on
336 batman-adv for now. It sure help me to know that the very cool
337 &lt;a href=&quot;http://www.servalproject.org/&quot;&gt;Serval project in Australia&lt;/a&gt;
338 is using batman-adv as their meshing technology when it create a self
339 organizing and self healing telephony system for disaster areas and
340 less industrialized communities. Check out this cool video presenting
341 that project (from
342 &lt;a href=&quot;https://www.youtube.com/watch?v=30qNfzJCQOA&quot;&gt;youtube&lt;/a&gt;):&lt;/p&gt;
343
344 &lt;p&gt;&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/30qNfzJCQOA&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;/p&gt;
345
346 &lt;p&gt;According to the wikipedia page on
347 &lt;a href=&quot;http://en.wikipedia.org/wiki/Wireless_mesh_network&quot;&gt;Wireless
348 mesh network&lt;/a&gt; there are around 70 competing schemes for routing
349 packets across mesh networks, and OLSR, B.A.T.M.A.N. and
350 B.A.T.M.A.N. advanced are protocols used by several free software
351 based community mesh networks.&lt;/p&gt;
352
353 &lt;p&gt;The batman-adv protocol is a bit special, as it provide layer 2
354 (as in ethernet ) routing, allowing ipv4 and ipv6 to work on the same
355 network. One way to think about it is that it provide a mesh based
356 vlan you can bridge to or handle like any other vlan connected to your
357 computer. The required drivers are already in the Linux kernel at
358 least since Debian Wheezy, and it is fairly easy to set up. A
359 &lt;a href=&quot;http://www.open-mesh.org/projects/batman-adv/wiki/Quick-start-guide&quot;&gt;good
360 introduction&lt;/a&gt; is available from the Open Mesh project. These are
361 the key settings needed to join the Oslo meshfx network:&lt;/p&gt;
362
363 &lt;p&gt;&lt;table&gt;
364 &lt;tr&gt;&lt;th&gt;Setting&lt;/th&gt;&lt;th&gt;Value&lt;/th&gt;&lt;/tr&gt;
365 &lt;tr&gt;&lt;td&gt;Protocol / kernel module&lt;/td&gt;&lt;td&gt;batman-adv&lt;/td&gt;&lt;/tr&gt;
366 &lt;tr&gt;&lt;td&gt;ESSID&lt;/td&gt;&lt;td&gt;meshfx@hackeriet&lt;/td&gt;&lt;/tr&gt;
367 &lt;td&gt;Channel / Frequency&lt;/td&gt;&lt;td&gt;11 / 2462&lt;/td&gt;&lt;/tr&gt;
368 &lt;td&gt;Cell ID&lt;/td&gt;&lt;td&gt;02:BA:00:00:00:01&lt;/td&gt;
369 &lt;/table&gt;&lt;/p&gt;
370
371 &lt;p&gt;The reason for setting ad-hoc wifi Cell ID is to work around bugs
372 in firmware used in wifi card and wifi drivers. (See a nice post from
373 VillageTelco about
374 &quot;&lt;a href=&quot;http://tiebing.blogspot.no/2009/12/ad-hoc-cell-splitting-re-post-original.html&quot;&gt;Information
375 about cell-id splitting, stuck beacons, and failed IBSS merges!&lt;/a&gt;
376 for details.) When these settings are activated and you have some
377 other mesh node nearby, your computer will be connected to the mesh
378 network and can communicate with any mesh node that is connected to
379 any of the nodes in your network of nodes. :)&lt;/p&gt;
380
381 &lt;p&gt;My initial plan was to reuse my old Linksys WRT54GL as a mesh node,
382 but that seem to be very hard, as I have not been able to locate a
383 firmware supporting batman-adv. If anyone know how to use that old
384 wifi access point with batman-adv these days, please let me know.&lt;/p&gt;
385
386 &lt;p&gt;If you find this project interesting and want to join, please join
387 us on IRC, either channel
388 &lt;a href=&quot;irc://irc.freenode.net/#oslohackerspace&quot;&gt;#oslohackerspace&lt;/a&gt;
389 or &lt;a href=&quot;irc://irc.freenode.net/#nuug&quot;&gt;#nuug&lt;/a&gt; on
390 irc.freenode.net.&lt;/p&gt;
391
392 &lt;p&gt;While investigating mesh networks in Oslo, I came across an old
393 research paper from the university of Stavanger and Telenor Research
394 and Innovation called
395 &lt;a href=&quot;http://folk.uio.no/paalee/publications/netrel-egeland-iswcs-2008.pdf&quot;&gt;The
396 reliability of wireless backhaul mesh networks&lt;/a&gt; and elsewhere
397 learned that Telenor have been experimenting with mesh networks at
398 Grünerløkka in Oslo. So mesh networks are also interesting for
399 commercial companies, even though Telenor discovered that it was hard
400 to figure out a good business plan for mesh networking and as far as I
401 know have closed down the experiment. Perhaps Telenor or others would
402 be interested in a cooperation?&lt;/p&gt;
403
404 &lt;p&gt;&lt;strong&gt;Update 2013-10-12&lt;/strong&gt;: I was just
405 &lt;a href=&quot;http://lists.alioth.debian.org/pipermail/freedombox-discuss/2013-October/005900.html&quot;&gt;told
406 by the Serval project developers&lt;/a&gt; that they no longer use
407 batman-adv (but are compatible with it), but their own crypto based
408 mesh system.&lt;/p&gt;
409 </description>
410 </item>
411
412 <item>
413 <title>Videos about the Freedombox project - for inspiration and learning</title>
414 <link>http://people.skolelinux.org/pere/blog/Videos_about_the_Freedombox_project___for_inspiration_and_learning.html</link>
415 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Videos_about_the_Freedombox_project___for_inspiration_and_learning.html</guid>
416 <pubDate>Fri, 27 Sep 2013 14:10:00 +0200</pubDate>
417 <description>&lt;p&gt;The &lt;a href=&quot;http://www.freedomboxfoundation.org/&quot;&gt;Freedombox
418 project&lt;/a&gt; have been going on for a while, and have presented the
419 vision, ideas and solution several places. Here is a little
420 collection of videos of talks and presentation of the project.&lt;/p&gt;
421
422 &lt;ul&gt;
423
424 &lt;li&gt;&lt;a href=&quot;http://www.youtube.com/watch?v=ukvUz5taxvA&quot;&gt;FreedomBox -
425 2,5 minute marketing film&lt;/a&gt; (Youtube)&lt;/li&gt;
426
427 &lt;li&gt;&lt;a href=&quot;http://www.youtube.com/watch?v=SzW25QTVWsE&quot;&gt;Eben Moglen
428 discusses the Freedombox on CBS news 2011&lt;/a&gt; (Youtube)&lt;/li&gt;
429
430 &lt;li&gt;&lt;a href=&quot;http://www.youtube.com/watch?v=Ae8SZbxfE0g&quot;&gt;Eben Moglen -
431 Freedom in the Cloud - Software Freedom, Privacy and and Security for
432 Web 2.0 and Cloud computing at ISOC-NY Public Meeting 2010&lt;/a&gt;
433 (Youtube)&lt;/li&gt;
434
435 &lt;li&gt;&lt;a href=&quot;http://www.youtube.com/watch?v=vNaIji_3xBE&quot;&gt;Fosdem 2011
436 Keynote by Eben Moglen presenting the Freedombox&lt;/a&gt; (Youtube)&lt;/li&gt;
437
438 &lt;li&gt;&lt;a href=&quot;http://www.youtube.com/watch?v=9bDDUyJSQ9s&quot;&gt;Presentation of
439 the Freedombox by James Vasile at Elevate in Gratz 2011&lt;/a&gt; (Youtube)&lt;/li&gt;
440
441 &lt;li&gt;&lt;a href=&quot;http://www.youtube.com/watch?v=zQTmnk27g9s&quot;&gt; Freedombox -
442 Discovery, Identity, and Trust by Nick Daly at Freedombox Hackfest New
443 York City in 2012&lt;/a&gt; (Youtube)&lt;/li&gt;
444
445 &lt;li&gt;&lt;a href=&quot;http://www.youtube.com/watch?v=tkbSB4Ba7Ck&quot;&gt;Introduction
446 to the Freedombox at Freedombox Hackfest New York City in 2012&lt;/a&gt;
447 (Youtube)&lt;/li&gt;
448
449 &lt;li&gt;&lt;a href=&quot;http://www.youtube.com/watch?v=z-P2Jaeg0aQ&quot;&gt;Freedom, Out
450 of the Box! by Bdale Garbee at linux.conf.au Ballarat, 2012&lt;/a&gt; (Youtube) &lt;/li&gt;
451
452 &lt;li&gt;&lt;a href=&quot;https://archive.fosdem.org/2013/schedule/event/freedombox/&quot;&gt;Freedombox
453 1.0 by Eben Moglen and Bdale Garbee at Fosdem 2013&lt;/a&gt; (FOSDEM) &lt;/li&gt;
454
455 &lt;li&gt;&lt;a href=&quot;http://www.youtube.com/watch?v=e1LpYX2zVYg&quot;&gt;What is the
456 FreedomBox today by Bdale Garbee at Debconf13 in Vaumarcus
457 2013&lt;/a&gt; (Youtube)&lt;/li&gt;
458
459 &lt;/ul&gt;
460
461 &lt;p&gt;A larger list is available from
462 &lt;a href=&quot;https://wiki.debian.org/FreedomBox/TalksAndPresentations&quot;&gt;the
463 Freedombox Wiki&lt;/a&gt;.&lt;/p&gt;
464
465 &lt;p&gt;On other news, I am happy to report that Freedombox based on Debian
466 Jessie is coming along quite well, and soon both Owncloud and using
467 Tor should be available for testers of the Freedombox solution. :) In
468 a few weeks I hope everything needed to test it is included in Debian.
469 The withsqlite package is already in Debian, and the plinth package is
470 pending in NEW. The third and vital part of that puzzle is the
471 metapackage/setup framework, which is still pending an upload. Join
472 us on &lt;a href=&quot;irc://irc.debian.org:6667/%23freedombox&quot;&gt;IRC
473 (#freedombox on irc.debian.org)&lt;/a&gt; and
474 &lt;a href=&quot;http://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss&quot;&gt;the
475 mailing list&lt;/a&gt; if you want to help make this vision come true.&lt;/p&gt;
476 </description>
477 </item>
478
479 <item>
480 <title>Recipe to test the Freedombox project on amd64 or Raspberry Pi</title>
481 <link>http://people.skolelinux.org/pere/blog/Recipe_to_test_the_Freedombox_project_on_amd64_or_Raspberry_Pi.html</link>
482 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Recipe_to_test_the_Freedombox_project_on_amd64_or_Raspberry_Pi.html</guid>
483 <pubDate>Tue, 10 Sep 2013 14:20:00 +0200</pubDate>
484 <description>&lt;p&gt;I was introduced to the
485 &lt;a href=&quot;http://www.freedomboxfoundation.org/&quot;&gt;Freedombox project&lt;/a&gt;
486 in 2010, when Eben Moglen presented his vision about serving the need
487 of non-technical people to keep their personal information private and
488 within the legal protection of their own homes. The idea is to give
489 people back the power over their network and machines, and return
490 Internet back to its intended peer-to-peer architecture. Instead of
491 depending on a central service, the Freedombox will give everyone
492 control over their own basic infrastructure.&lt;/p&gt;
493
494 &lt;p&gt;I&#39;ve intended to join the effort since then, but other tasks have
495 taken priority. But this summers nasty news about the misuse of trust
496 and privilege exercised by the &quot;western&quot; intelligence gathering
497 communities increased my eagerness to contribute to a point where I
498 actually started working on the project a while back.&lt;/p&gt;
499
500 &lt;p&gt;The &lt;a href=&quot;https://alioth.debian.org/projects/freedombox/&quot;&gt;initial
501 Debian initiative&lt;/a&gt; based on the vision from Eben Moglen, is to
502 create a simple and cheap Debian based appliance that anyone can hook
503 up in their home and get access to secure and private services and
504 communication. The initial deployment platform have been the
505 &lt;a href=&quot;http://www.globalscaletechnologies.com/t-dreamplugdetails.aspx&quot;&gt;Dreamplug&lt;/a&gt;,
506 which is a piece of hardware I do not own. So to be able to test what
507 the current Freedombox setup look like, I had to come up with a way to install
508 it on some hardware I do have access to. I have rewritten the
509 &lt;a href=&quot;https://github.com/NickDaly/freedom-maker&quot;&gt;freedom-maker&lt;/a&gt;
510 image build framework to use .deb packages instead of only copying
511 setup into the boot images, and thanks to this rewrite I am able to
512 set up any machine supported by Debian Wheezy as a Freedombox, using
513 the previously mentioned deb (and a few support debs for packages
514 missing in Debian).&lt;/p&gt;
515
516 &lt;p&gt;The current Freedombox setup consist of a set of bootstrapping
517 scripts
518 (&lt;a href=&quot;https://github.com/petterreinholdtsen/freedombox-setup&quot;&gt;freedombox-setup&lt;/a&gt;),
519 and a administrative web interface
520 (&lt;a href=&quot;https://github.com/NickDaly/Plinth&quot;&gt;plinth&lt;/a&gt; + exmachina +
521 withsqlite), as well as a privacy enhancing proxy based on
522 &lt;a href=&quot;http://packages.qa.debian.org/privoxy&quot;&gt;privoxy&lt;/a&gt;
523 (freedombox-privoxy). There is also a web/javascript based XMPP
524 client (&lt;a href=&quot;http://packages.qa.debian.org/jwchat&quot;&gt;jwchat&lt;/a&gt;)
525 trying (unsuccessfully so far) to talk to the XMPP server
526 (&lt;a href=&quot;http://packages.qa.debian.org/ejabberd&quot;&gt;ejabberd&lt;/a&gt;). The
527 web interface is pluggable, and the goal is to use it to enable OpenID
528 services, mesh network connectivity, use of TOR, etc, etc. Not much of
529 this is really working yet, see
530 &lt;a href=&quot;https://github.com/NickDaly/freedombox-todos/blob/master/TODO&quot;&gt;the
531 project TODO&lt;/a&gt; for links to GIT repositories. Most of the code is
532 on github at the moment. The HTTP proxy is operational out of the
533 box, and the admin web interface can be used to add/remove plinth
534 users. I&#39;ve not been able to do anything else with it so far, but
535 know there are several branches spread around github and other places
536 with lots of half baked features.&lt;/p&gt;
537
538 &lt;p&gt;Anyway, if you want to have a look at the current state, the
539 following recipes should work to give you a test machine to poke
540 at.&lt;/p&gt;
541
542 &lt;p&gt;&lt;strong&gt;Debian Wheezy amd64&lt;/strong&gt;&lt;/p&gt;
543
544 &lt;ol&gt;
545
546 &lt;li&gt;Fetch normal Debian Wheezy installation ISO.&lt;/li&gt;
547 &lt;li&gt;Boot from it, either as CD or USB stick.&lt;/li&gt;
548 &lt;li&gt;&lt;p&gt;Press [tab] on the boot prompt and add this as a boot argument
549 to the Debian installer:&lt;p&gt;
550 &lt;pre&gt;url=&lt;a href=&quot;http://www.reinholdtsen.name/freedombox/preseed-wheezy.dat&quot;&gt;http://www.reinholdtsen.name/freedombox/preseed-wheezy.dat&lt;/a&gt;&lt;/pre&gt;&lt;/li&gt;
551
552 &lt;li&gt;Answer the few language/region/password questions and pick disk to
553 install on.&lt;/li&gt;
554
555 &lt;li&gt;When the installation is finished and the machine have rebooted a
556 few times, your Freedombox is ready for testing.&lt;/li&gt;
557
558 &lt;/ol&gt;
559
560 &lt;p&gt;&lt;strong&gt;Raspberry Pi Raspbian&lt;/strong&gt;&lt;/p&gt;
561
562 &lt;ol&gt;
563
564 &lt;li&gt;Fetch a Raspbian SD card image, create SD card.&lt;/li&gt;
565 &lt;li&gt;Boot from SD card, extend file system to fill the card completely.&lt;/li&gt;
566 &lt;li&gt;&lt;p&gt;Log in and add this to /etc/sources.list:&lt;/p&gt;
567 &lt;pre&gt;
568 deb &lt;a href=&quot;http://www.reinholdtsen.name/freedombox/&quot;&gt;http://www.reinholdtsen.name/freedombox&lt;/a&gt; wheezy main
569 &lt;/pre&gt;&lt;/li&gt;
570 &lt;li&gt;&lt;p&gt;Run this as root:&lt;/p&gt;
571 &lt;pre&gt;
572 wget -O - http://www.reinholdtsen.name/freedombox/BE1A583D.asc | \
573 apt-key add -
574 apt-get update
575 apt-get install freedombox-setup
576 /usr/lib/freedombox/setup
577 &lt;/pre&gt;&lt;/li&gt;
578 &lt;li&gt;Reboot into your freshly created Freedombox.&lt;/li&gt;
579
580 &lt;/ol&gt;
581
582 &lt;p&gt;You can test it on other architectures too, but because the
583 freedombox-privoxy package is binary, it will only work as intended on
584 the architectures where I have had time to build the binary and put it
585 in my APT repository. But do not let this stop you. It is only a
586 short &quot;&lt;tt&gt;apt-get source -b freedombox-privoxy&lt;/tt&gt;&quot; away. :)&lt;/p&gt;
587
588 &lt;p&gt;Note that by default Freedombox is a DHCP server on the
589 192.168.1.0/24 subnet, so if this is your subnet be careful and turn
590 off the DHCP server by running &quot;&lt;tt&gt;update-rc.d isc-dhcp-server
591 disable&lt;/tt&gt;&quot; as root.&lt;/p&gt;
592
593 &lt;p&gt;Please let me know if this works for you, or if you have any
594 problems. We gather on the IRC channel
595 &lt;a href=&quot;irc://irc.debian.org:6667/%23freedombox&quot;&gt;#freedombox&lt;/a&gt; on
596 irc.debian.org and the
597 &lt;a href=&quot;http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss&quot;&gt;project
598 mailing list&lt;/a&gt;.&lt;/p&gt;
599
600 &lt;p&gt;Once you get your freedombox operational, you can visit
601 &lt;tt&gt;http://your-host-name:8001/&lt;/tt&gt; to see the state of the plint
602 welcome screen (dead end - do not be surprised if you are unable to
603 get past it), and next visit &lt;tt&gt;http://your-host-name:8001/help/&lt;/tt&gt;
604 to look at the rest of plinth. The default user is &#39;admin&#39; and the
605 default password is &#39;secret&#39;.&lt;/p&gt;
606 </description>
607 </item>
608
609 </channel>
610 </rss>