Browse Source

Merge branch 'stretch' of https://github.com/bashrc/freedombone

Bob Mottram 7 years ago
parent
commit
bbb46a37f7

+ 15
- 15
doc/EN/mesh.org View File

97
 wget https://freedombone.net/downloads/current/freedombone-meshclient-i386.img.xz.sig
97
 wget https://freedombone.net/downloads/current/freedombone-meshclient-i386.img.xz.sig
98
 gpg --verify freedombone-meshclient-i386.img.xz.sig
98
 gpg --verify freedombone-meshclient-i386.img.xz.sig
99
 sha256sum freedombone-meshclient-i386.img.xz
99
 sha256sum freedombone-meshclient-i386.img.xz
100
-f7e261d369d6f0ccf650dbbed18227bfe5ec427ae0b97f56e1f1e202afc6d0b3
100
+995dd64538f46f6abf83ba258cca6cb82a72399cb9a099caeafc1de947ef795c
101
 unxz freedombone-meshclient-i386.img.xz
101
 unxz freedombone-meshclient-i386.img.xz
102
 sudo dd if=/dev/zero of=/dev/sdX bs=1M count=8
102
 sudo dd if=/dev/zero of=/dev/sdX bs=1M count=8
103
 sudo dd bs=1M if=freedombone-meshclient-i386.img of=/dev/sdX conv=fdatasync
103
 sudo dd bs=1M if=freedombone-meshclient-i386.img of=/dev/sdX conv=fdatasync
113
 wget https://freedombone.net/downloads/current/freedombone-meshclient-insecure-i386.img.xz.sig
113
 wget https://freedombone.net/downloads/current/freedombone-meshclient-insecure-i386.img.xz.sig
114
 gpg --verify freedombone-meshclient-insecure-i386.img.xz.sig
114
 gpg --verify freedombone-meshclient-insecure-i386.img.xz.sig
115
 sha256sum freedombone-meshclient-insecure-i386.img.xz
115
 sha256sum freedombone-meshclient-insecure-i386.img.xz
116
-3bfbcaedb587c5cbddec8b9fffcd48398d9e3b97486ef49aa645357f61a0f11f
116
+b06e6ff5e56577025e6b994fe0bb28f02da7d2905ac32a2f38d7d074ffe801fc
117
 unxz freedombone-meshclient-insecure-i386.img.xz
117
 unxz freedombone-meshclient-insecure-i386.img.xz
118
 sudo dd if=/dev/zero of=/dev/sdX bs=1M count=8
118
 sudo dd if=/dev/zero of=/dev/sdX bs=1M count=8
119
 sudo dd bs=1M if=freedombone-meshclient-insecure-i386.img of=/dev/sdX conv=fdatasync
119
 sudo dd bs=1M if=freedombone-meshclient-insecure-i386.img of=/dev/sdX conv=fdatasync
130
 
130
 
131
 #+begin_src bash
131
 #+begin_src bash
132
 sudo apt-get install xz-utils wget
132
 sudo apt-get install xz-utils wget
133
-wget https://freedombone.net/downloads/v3/freedombone-mesh-3_beaglebone-armhf.img.xz
134
-wget https://freedombone.net/downloads/v3/freedombone-mesh-3_beaglebone-armhf.img.xz.sig
135
-gpg --verify freedombone-mesh-3_beaglebone-armhf.img.xz.sig
136
-sha256sum freedombone-mesh-3_beaglebone-armhf.img.xz
137
-ab783ea807da1144bd076f7b43e54b5f4376ecf1ea1f86f56ac76c3469325802
138
-unxz freedombone-mesh-3_beaglebone-armhf.img.xz
139
-sudo dd bs=1M if=freedombone-mesh-3_beaglebone-armhf.img of=/dev/sdX conv=fdatasync
133
+wget https://freedombone.net/downloads/current/freedombone-mesh_beaglebone-armhf.img.xz
134
+wget https://freedombone.net/downloads/current/freedombone-mesh_beaglebone-armhf.img.xz.sig
135
+gpg --verify freedombone-mesh_beaglebone-armhf.img.xz.sig
136
+sha256sum freedombone-mesh_beaglebone-armhf.img.xz
137
+45f131995e2f77188e7ddaf2b42ca3d8d48d821d37c7a31a21e2e6dcceaf510d
138
+unxz freedombone-mesh_beaglebone-armhf.img.xz
139
+sudo dd bs=1M if=freedombone-mesh_beaglebone-armhf.img of=/dev/sdX conv=fdatasync
140
 #+end_src
140
 #+end_src
141
 
141
 
142
 If you have a few Beaglebone Blacks to use as routers then repeat the /dd/ command to create however many microSD cards you need.
142
 If you have a few Beaglebone Blacks to use as routers then repeat the /dd/ command to create however many microSD cards you need.
150
 
150
 
151
 #+begin_src bash
151
 #+begin_src bash
152
 sudo apt-get -y install git wget build-essential
152
 sudo apt-get -y install git wget build-essential
153
-wget https://freedombone.net/downloads/v3/freedombone-3.tar.gz
154
-wget https://freedombone.net/downloads/freedombone-3.tar.gz.sig
155
-gpg --verify freedombone-3.tar.gz.sig
156
-sha256sum freedombone-3.tar.gz
157
-b99853322871efd298a9efd78d22323e0e7424a5cdb5097b4cc55ef45a220ebb
158
-tar -xzvf freedombone-3.tar.gz
153
+wget https://freedombone.net/downloads/current/freedombone.tar.gz
154
+wget https://freedombone.net/downloads/current/freedombone.tar.gz.sig
155
+gpg --verify freedombone.tar.gz.sig
156
+sha256sum freedombone.tar.gz
157
+fd0b3fe1527de893f4ece7ffe95fdf0c41e635a3f82d22a51b707c1aee541e88
158
+tar -xzvf freedombone.tar.gz
159
 cd freedombone
159
 cd freedombone
160
 git checkout stretch
160
 git checkout stretch
161
 sudo make install
161
 sudo make install

+ 4
- 0
src/freedombone-app-scuttlebot View File

197
 }
197
 }
198
 
198
 
199
 function mesh_install_scuttlebot {
199
 function mesh_install_scuttlebot {
200
+    if [[ $VARIANT == "mesh" ]]; then
201
+        return
202
+    fi
203
+
200
     cat <<EOF > $rootdir/usr/bin/install_scuttlebot
204
     cat <<EOF > $rootdir/usr/bin/install_scuttlebot
201
 #!/bin/bash
205
 #!/bin/bash
202
 npm install -g scuttlebot@${SCUTTLEBOT_VERSION}
206
 npm install -g scuttlebot@${SCUTTLEBOT_VERSION}

+ 4
- 3
src/freedombone-image-customise View File

894
     # Produce a text file on the desktop listing users on the mesh
894
     # Produce a text file on the desktop listing users on the mesh
895
     cat <<EOF > $rootdir/usr/bin/list-tox-users
895
     cat <<EOF > $rootdir/usr/bin/list-tox-users
896
 #!/bin/bash
896
 #!/bin/bash
897
-ethernet_connected=$(cat /sys/class/net/eth0/carrier)
897
+ethernet_connected=\$(cat /sys/class/net/eth0/carrier)
898
 users_list=\$(lstox | awk -F ' ' '{\$1=""; print \$0}' | sed -e 's/^[[:space:]]*//' | sort -d | uniq)
898
 users_list=\$(lstox | awk -F ' ' '{\$1=""; print \$0}' | sed -e 's/^[[:space:]]*//' | sort -d | uniq)
899
 if [ ! \$users_list ]; then
899
 if [ ! \$users_list ]; then
900
     no_of_users=0
900
     no_of_users=0
1007
 
1007
 
1008
     # If ethernet is connected then add the invite icon to help enable
1008
     # If ethernet is connected then add the invite icon to help enable
1009
     # SSB nat traversal
1009
     # SSB nat traversal
1010
-    if [[ "$ethernet_connected" != "0" ]]; then
1010
+    if [[ "\$ethernet_connected" != "0" ]]; then
1011
         if [ ! -f /home/$MY_USERNAME/Desktop/invite.desktop ]; then
1011
         if [ ! -f /home/$MY_USERNAME/Desktop/invite.desktop ]; then
1012
             echo '[Desktop Entry]' > /home/$MY_USERNAME/Desktop/invite.desktop
1012
             echo '[Desktop Entry]' > /home/$MY_USERNAME/Desktop/invite.desktop
1013
             echo 'Version=1.0' >> /home/$MY_USERNAME/Desktop/invite.desktop
1013
             echo 'Version=1.0' >> /home/$MY_USERNAME/Desktop/invite.desktop
1018
             echo 'Icon=/usr/share/freedombone/avatars/invite.png' >> /home/$MY_USERNAME/Desktop/invite.desktop
1018
             echo 'Icon=/usr/share/freedombone/avatars/invite.png' >> /home/$MY_USERNAME/Desktop/invite.desktop
1019
             echo 'Terminal=false' >> /home/$MY_USERNAME/Desktop/invite.desktop
1019
             echo 'Terminal=false' >> /home/$MY_USERNAME/Desktop/invite.desktop
1020
             echo 'Categories=Application;' >> /home/$MY_USERNAME/Desktop/invite.desktop
1020
             echo 'Categories=Application;' >> /home/$MY_USERNAME/Desktop/invite.desktop
1021
+            chmod +x /home/$MY_USERNAME/Desktop/invite.desktop
1021
         fi
1022
         fi
1022
     else
1023
     else
1023
         if [ -f /home/$MY_USERNAME/Desktop/invite.desktop ]; then
1024
         if [ -f /home/$MY_USERNAME/Desktop/invite.desktop ]; then
1054
     fi
1055
     fi
1055
 
1056
 
1056
     # If there is no ethernet then remove the invite icon
1057
     # If there is no ethernet then remove the invite icon
1057
-    if [[ "$ethernet_connected" == "0" ]]; then
1058
+    if [[ "\$ethernet_connected" == "0" ]]; then
1058
         if [ -f /home/$MY_USERNAME/Desktop/invite.desktop ]; then
1059
         if [ -f /home/$MY_USERNAME/Desktop/invite.desktop ]; then
1059
             rm /home/$MY_USERNAME/Desktop/invite.desktop
1060
             rm /home/$MY_USERNAME/Desktop/invite.desktop
1060
         fi
1061
         fi

+ 3
- 0
src/freedombone-utils-nodejs View File

63
 function mesh_install_nodejs {
63
 function mesh_install_nodejs {
64
     mesh_install_nodejs_prefix=
64
     mesh_install_nodejs_prefix=
65
     if [ $rootdir ]; then
65
     if [ $rootdir ]; then
66
+        if [[ $VARIANT == "mesh" ]]; then
67
+            return
68
+        fi
66
         mesh_install_nodejs_prefix="chroot $rootdir"
69
         mesh_install_nodejs_prefix="chroot $rootdir"
67
     fi
70
     fi
68
     $mesh_install_nodejs_prefix apt-get -yq install g++ m4 libtool automake nodejs curl
71
     $mesh_install_nodejs_prefix apt-get -yq install g++ m4 libtool automake nodejs curl

+ 77
- 77
website/EN/mesh.html View File

3
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
5
 <head>
5
 <head>
6
-<!-- 2017-10-05 Thu 15:10 -->
6
+<!-- 2017-10-07 Sat 10:19 -->
7
 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
7
 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
8
 <meta name="viewport" content="width=device-width, initial-scale=1" />
8
 <meta name="viewport" content="width=device-width, initial-scale=1" />
9
 <title>&lrm;</title>
9
 <title>&lrm;</title>
274
 </colgroup>
274
 </colgroup>
275
 <tbody>
275
 <tbody>
276
 <tr>
276
 <tr>
277
-<td class="org-left"><a href="#orgb0dd1ad">What the system can do</a></td>
277
+<td class="org-left"><a href="#org459477a">What the system can do</a></td>
278
 <td class="org-left">-</td>
278
 <td class="org-left">-</td>
279
-<td class="org-left"><a href="#org2b727b3">Disk Images</a></td>
279
+<td class="org-left"><a href="#org0164602">Disk Images</a></td>
280
 <td class="org-left">-</td>
280
 <td class="org-left">-</td>
281
-<td class="org-left"><a href="#org520845e">Building Disk Images</a></td>
281
+<td class="org-left"><a href="#orgac711fb">Building Disk Images</a></td>
282
 <td class="org-left">-</td>
282
 <td class="org-left">-</td>
283
-<td class="org-left"><a href="#org315aa35">How to use it</a></td>
283
+<td class="org-left"><a href="#orgb7403cc">How to use it</a></td>
284
 </tr>
284
 </tr>
285
 </tbody>
285
 </tbody>
286
 </table>
286
 </table>
324
 <li><b>Evolvable</b>: The network should be built with future development in mind. The platform should be flexible enough to support technologies, protocols and modes of usage that have not yet been developed.</li>
324
 <li><b>Evolvable</b>: The network should be built with future development in mind. The platform should be flexible enough to support technologies, protocols and modes of usage that have not yet been developed.</li>
325
 </ul>
325
 </ul>
326
 
326
 
327
-<div id="outline-container-orgb0dd1ad" class="outline-2">
328
-<h2 id="orgb0dd1ad">What the system can do</h2>
329
-<div class="outline-text-2" id="text-orgb0dd1ad">
327
+<div id="outline-container-org459477a" class="outline-2">
328
+<h2 id="org459477a">What the system can do</h2>
329
+<div class="outline-text-2" id="text-org459477a">
330
 <ul class="org-ul">
330
 <ul class="org-ul">
331
 <li>Discovery of other users on the network</li>
331
 <li>Discovery of other users on the network</li>
332
 <li>Text based chat, one-to-one and in groups</li>
332
 <li>Text based chat, one-to-one and in groups</li>
350
 </div>
350
 </div>
351
 </div>
351
 </div>
352
 
352
 
353
-<div id="outline-container-org2b727b3" class="outline-2">
354
-<h2 id="org2b727b3">Disk Images</h2>
355
-<div class="outline-text-2" id="text-org2b727b3">
353
+<div id="outline-container-org0164602" class="outline-2">
354
+<h2 id="org0164602">Disk Images</h2>
355
+<div class="outline-text-2" id="text-org0164602">
356
 </div>
356
 </div>
357
-<div id="outline-container-org4dcc4ac" class="outline-3">
358
-<h3 id="org4dcc4ac">Writing many images quickly</h3>
359
-<div class="outline-text-3" id="text-org4dcc4ac">
357
+<div id="outline-container-orge7a4bb5" class="outline-3">
358
+<h3 id="orge7a4bb5">Writing many images quickly</h3>
359
+<div class="outline-text-3" id="text-orge7a4bb5">
360
 <p>
360
 <p>
361
 There may be situations where you need to write the same disk image to multiple drives at the same time in order to maximize rate of deployment. In the instructions given below the <b>dd</b> command is used for writing to the target drive, but to write to multiple drives you can use a tool such as <a href="https://wiki.gnome.org/Apps/MultiWriter">GNOME MultiWriter</a>.
361
 There may be situations where you need to write the same disk image to multiple drives at the same time in order to maximize rate of deployment. In the instructions given below the <b>dd</b> command is used for writing to the target drive, but to write to multiple drives you can use a tool such as <a href="https://wiki.gnome.org/Apps/MultiWriter">GNOME MultiWriter</a>.
362
 </p>
362
 </p>
384
 </p>
384
 </p>
385
 </div>
385
 </div>
386
 </div>
386
 </div>
387
-<div id="outline-container-orgd331956" class="outline-3">
388
-<h3 id="orgd331956">Client images</h3>
389
-<div class="outline-text-3" id="text-orgd331956">
387
+<div id="outline-container-org937e4d8" class="outline-3">
388
+<h3 id="org937e4d8">Client images</h3>
389
+<div class="outline-text-3" id="text-org937e4d8">
390
 <div class="org-center">
390
 <div class="org-center">
391
 
391
 
392
 <div class="figure">
392
 <div class="figure">
405
 wget https://freedombone.net/downloads/current/freedombone-meshclient-i386.img.xz.sig
405
 wget https://freedombone.net/downloads/current/freedombone-meshclient-i386.img.xz.sig
406
 gpg --verify freedombone-meshclient-i386.img.xz.sig
406
 gpg --verify freedombone-meshclient-i386.img.xz.sig
407
 sha256sum freedombone-meshclient-i386.img.xz
407
 sha256sum freedombone-meshclient-i386.img.xz
408
-f7e261d369d6f0ccf650dbbed18227bfe5ec427ae0b97f56e1f1e202afc6d0b3
408
+995dd64538f46f6abf83ba258cca6cb82a72399cb9a099caeafc1de947ef795c
409
 unxz freedombone-meshclient-i386.img.xz
409
 unxz freedombone-meshclient-i386.img.xz
410
 sudo dd <span class="org-variable-name">if</span>=/dev/zero <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">count</span>=8
410
 sudo dd <span class="org-variable-name">if</span>=/dev/zero <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">count</span>=8
411
 sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">if</span>=freedombone-meshclient-i386.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync
411
 sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">if</span>=freedombone-meshclient-i386.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync
426
 wget https://freedombone.net/downloads/current/freedombone-meshclient-insecure-i386.img.xz.sig
426
 wget https://freedombone.net/downloads/current/freedombone-meshclient-insecure-i386.img.xz.sig
427
 gpg --verify freedombone-meshclient-insecure-i386.img.xz.sig
427
 gpg --verify freedombone-meshclient-insecure-i386.img.xz.sig
428
 sha256sum freedombone-meshclient-insecure-i386.img.xz
428
 sha256sum freedombone-meshclient-insecure-i386.img.xz
429
-3bfbcaedb587c5cbddec8b9fffcd48398d9e3b97486ef49aa645357f61a0f11f
429
+b06e6ff5e56577025e6b994fe0bb28f02da7d2905ac32a2f38d7d074ffe801fc
430
 unxz freedombone-meshclient-insecure-i386.img.xz
430
 unxz freedombone-meshclient-insecure-i386.img.xz
431
 sudo dd <span class="org-variable-name">if</span>=/dev/zero <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">count</span>=8
431
 sudo dd <span class="org-variable-name">if</span>=/dev/zero <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">count</span>=8
432
 sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">if</span>=freedombone-meshclient-insecure-i386.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync
432
 sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">if</span>=freedombone-meshclient-insecure-i386.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync
435
 </div>
435
 </div>
436
 </div>
436
 </div>
437
 
437
 
438
-<div id="outline-container-org513ddc4" class="outline-3">
439
-<h3 id="org513ddc4">Router images</h3>
440
-<div class="outline-text-3" id="text-org513ddc4">
438
+<div id="outline-container-org4b4e016" class="outline-3">
439
+<h3 id="org4b4e016">Router images</h3>
440
+<div class="outline-text-3" id="text-org4b4e016">
441
 <p>
441
 <p>
442
 Routers are intended to build network coverage for an area using small and low cost hardware. You can bolt them to walls or leave them on window ledges. They don't have any user interface and their only job is to haul network traffic across the mesh and to enable peers to find each other via running bootstrap nodes for Tox and IPFS. Copy the image to a microSD card and insert it into the router, plug in an Atheros wifi dongle and power on. That should be all you need to do.
442
 Routers are intended to build network coverage for an area using small and low cost hardware. You can bolt them to walls or leave them on window ledges. They don't have any user interface and their only job is to haul network traffic across the mesh and to enable peers to find each other via running bootstrap nodes for Tox and IPFS. Copy the image to a microSD card and insert it into the router, plug in an Atheros wifi dongle and power on. That should be all you need to do.
443
 </p>
443
 </p>
444
 </div>
444
 </div>
445
-<div id="outline-container-orgfa33a6f" class="outline-4">
446
-<h4 id="orgfa33a6f">Beaglebone Black</h4>
447
-<div class="outline-text-4" id="text-orgfa33a6f">
445
+<div id="outline-container-org139719d" class="outline-4">
446
+<h4 id="org139719d">Beaglebone Black</h4>
447
+<div class="outline-text-4" id="text-org139719d">
448
 <div class="org-center">
448
 <div class="org-center">
449
 
449
 
450
 <div class="figure">
450
 <div class="figure">
459
 
459
 
460
 <div class="org-src-container">
460
 <div class="org-src-container">
461
 <pre class="src src-bash">sudo apt-get install xz-utils wget
461
 <pre class="src src-bash">sudo apt-get install xz-utils wget
462
-wget https://freedombone.net/downloads/v3/freedombone-mesh-3_beaglebone-armhf.img.xz
463
-wget https://freedombone.net/downloads/v3/freedombone-mesh-3_beaglebone-armhf.img.xz.sig
464
-gpg --verify freedombone-mesh-3_beaglebone-armhf.img.xz.sig
465
-sha256sum freedombone-mesh-3_beaglebone-armhf.img.xz
466
-ab783ea807da1144bd076f7b43e54b5f4376ecf1ea1f86f56ac76c3469325802
467
-unxz freedombone-mesh-3_beaglebone-armhf.img.xz
468
-sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">if</span>=freedombone-mesh-3_beaglebone-armhf.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync
462
+wget https://freedombone.net/downloads/current/freedombone-mesh_beaglebone-armhf.img.xz
463
+wget https://freedombone.net/downloads/current/freedombone-mesh_beaglebone-armhf.img.xz.sig
464
+gpg --verify freedombone-mesh_beaglebone-armhf.img.xz.sig
465
+sha256sum freedombone-mesh_beaglebone-armhf.img.xz
466
+45f131995e2f77188e7ddaf2b42ca3d8d48d821d37c7a31a21e2e6dcceaf510d
467
+unxz freedombone-mesh_beaglebone-armhf.img.xz
468
+sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">if</span>=freedombone-mesh_beaglebone-armhf.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync
469
 </pre>
469
 </pre>
470
 </div>
470
 </div>
471
 
471
 
481
 </div>
481
 </div>
482
 </div>
482
 </div>
483
 
483
 
484
-<div id="outline-container-org520845e" class="outline-2">
485
-<h2 id="org520845e">Building Disk Images</h2>
486
-<div class="outline-text-2" id="text-org520845e">
484
+<div id="outline-container-orgac711fb" class="outline-2">
485
+<h2 id="orgac711fb">Building Disk Images</h2>
486
+<div class="outline-text-2" id="text-orgac711fb">
487
 <p>
487
 <p>
488
 It's better not to trust images downloaded from random places on the interwebs. Chances are that unless you are in the web of trust of the above GPG signatures then they don't mean very much to you. If you actually want something trustworthy then build the images from scratch. It will take some time. Here's how to do it.
488
 It's better not to trust images downloaded from random places on the interwebs. Chances are that unless you are in the web of trust of the above GPG signatures then they don't mean very much to you. If you actually want something trustworthy then build the images from scratch. It will take some time. Here's how to do it.
489
 </p>
489
 </p>
494
 
494
 
495
 <div class="org-src-container">
495
 <div class="org-src-container">
496
 <pre class="src src-bash">sudo apt-get -y install git wget build-essential
496
 <pre class="src src-bash">sudo apt-get -y install git wget build-essential
497
-wget https://freedombone.net/downloads/v3/freedombone-3.tar.gz
498
-wget https://freedombone.net/downloads/freedombone-3.tar.gz.sig
499
-gpg --verify freedombone-3.tar.gz.sig
500
-sha256sum freedombone-3.tar.gz
501
-b99853322871efd298a9efd78d22323e0e7424a5cdb5097b4cc55ef45a220ebb
502
-tar -xzvf freedombone-3.tar.gz
497
+wget https://freedombone.net/downloads/current/freedombone.tar.gz
498
+wget https://freedombone.net/downloads/current/freedombone.tar.gz.sig
499
+gpg --verify freedombone.tar.gz.sig
500
+sha256sum freedombone.tar.gz
501
+fd0b3fe1527de893f4ece7ffe95fdf0c41e635a3f82d22a51b707c1aee541e88
502
+tar -xzvf freedombone.tar.gz
503
 <span class="org-builtin">cd</span> freedombone
503
 <span class="org-builtin">cd</span> freedombone
504
 git checkout stretch
504
 git checkout stretch
505
 sudo make install
505
 sudo make install
571
 </div>
571
 </div>
572
 </div>
572
 </div>
573
 
573
 
574
-<div id="outline-container-org138c835" class="outline-2">
575
-<h2 id="org138c835">Customisation</h2>
576
-<div class="outline-text-2" id="text-org138c835">
574
+<div id="outline-container-org9625de2" class="outline-2">
575
+<h2 id="org9625de2">Customisation</h2>
576
+<div class="outline-text-2" id="text-org9625de2">
577
 <p>
577
 <p>
578
 If you want to make your own specially branded version, such as for a particular event, then to change the default desktop backgrounds edit the images within <b>img/backgrounds</b> and to change the available avatars and desktop icons edit the images within <b>img/avatars</b>. Re-create disk images using the instructions shown previously.
578
 If you want to make your own specially branded version, such as for a particular event, then to change the default desktop backgrounds edit the images within <b>img/backgrounds</b> and to change the available avatars and desktop icons edit the images within <b>img/avatars</b>. Re-create disk images using the instructions shown previously.
579
 </p>
579
 </p>
583
 </p>
583
 </p>
584
 </div>
584
 </div>
585
 </div>
585
 </div>
586
-<div id="outline-container-org315aa35" class="outline-2">
587
-<h2 id="org315aa35">How to use it</h2>
588
-<div class="outline-text-2" id="text-org315aa35">
586
+<div id="outline-container-orgb7403cc" class="outline-2">
587
+<h2 id="orgb7403cc">How to use it</h2>
588
+<div class="outline-text-2" id="text-orgb7403cc">
589
 <p>
589
 <p>
590
 When you first boot from the USB drive the system will create some encryption keys, assign a unique network address to the system and then reboot itself. When that's done you should see a prompt asking for a username. This username just makes it easy for others to initially find you on the mesh and will appear in the list of users.
590
 When you first boot from the USB drive the system will create some encryption keys, assign a unique network address to the system and then reboot itself. When that's done you should see a prompt asking for a username. This username just makes it easy for others to initially find you on the mesh and will appear in the list of users.
591
 </p>
591
 </p>
595
 </p>
595
 </p>
596
 </div>
596
 </div>
597
 
597
 
598
-<div id="outline-container-org1b3364a" class="outline-3">
599
-<h3 id="org1b3364a">Boot trouble</h3>
600
-<div class="outline-text-3" id="text-org1b3364a">
598
+<div id="outline-container-org70dd907" class="outline-3">
599
+<h3 id="org70dd907">Boot trouble</h3>
600
+<div class="outline-text-3" id="text-org70dd907">
601
 <p>
601
 <p>
602
 If the system doesn't boot and reports an error which includes <b>/dev/mapper/loop0p1</b> then reboot with <b>Ctrl-Alt-Del</b> and when you see the grub menu press <b>e</b> and manually change <b>/dev/mapper/loop0p1</b> to <b>/dev/sdb1</b>, then press <b>Ctrl-x</b>. If that doesn't work then reboot and try <b>/dev/sdc1</b> instead.
602
 If the system doesn't boot and reports an error which includes <b>/dev/mapper/loop0p1</b> then reboot with <b>Ctrl-Alt-Del</b> and when you see the grub menu press <b>e</b> and manually change <b>/dev/mapper/loop0p1</b> to <b>/dev/sdb1</b>, then press <b>Ctrl-x</b>. If that doesn't work then reboot and try <b>/dev/sdc1</b> instead.
603
 </p>
603
 </p>
607
 </p>
607
 </p>
608
 </div>
608
 </div>
609
 </div>
609
 </div>
610
-<div id="outline-container-orgde8506a" class="outline-3">
611
-<h3 id="orgde8506a">Set the Date</h3>
612
-<div class="outline-text-3" id="text-orgde8506a">
610
+<div id="outline-container-orge861d36" class="outline-3">
611
+<h3 id="orge861d36">Set the Date</h3>
612
+<div class="outline-text-3" id="text-orge861d36">
613
 <p>
613
 <p>
614
 On the ordinary internet the date and time of your system would be set automatically via NTP. But this is not the internet and so you will need to manually ensure that your date and time settings are correct. You might need to periodically do this if your clock drifts. It's not essential that the time on your system be highly accurate, but if it drifts too far or goes back to epoch then things could become a little confusing in regard to the order of blog posts.
614
 On the ordinary internet the date and time of your system would be set automatically via NTP. But this is not the internet and so you will need to manually ensure that your date and time settings are correct. You might need to periodically do this if your clock drifts. It's not essential that the time on your system be highly accurate, but if it drifts too far or goes back to epoch then things could become a little confusing in regard to the order of blog posts.
615
 </p>
615
 </p>
619
 </p>
619
 </p>
620
 </div>
620
 </div>
621
 </div>
621
 </div>
622
-<div id="outline-container-orgc819dda" class="outline-3">
623
-<h3 id="orgc819dda">Check network status</h3>
624
-<div class="outline-text-3" id="text-orgc819dda">
622
+<div id="outline-container-org15c35d8" class="outline-3">
623
+<h3 id="org15c35d8">Check network status</h3>
624
+<div class="outline-text-3" id="text-org15c35d8">
625
 <p>
625
 <p>
626
 Unlike with ordinary wifi, on the mesh you don't get a signal strength icon and so it's not simple to see if you have a good connection.
626
 Unlike with ordinary wifi, on the mesh you don't get a signal strength icon and so it's not simple to see if you have a good connection.
627
 </p>
627
 </p>
644
 </p>
644
 </p>
645
 </div>
645
 </div>
646
 </div>
646
 </div>
647
-<div id="outline-container-org41bb113" class="outline-3">
648
-<h3 id="org41bb113">Connecting to the internet</h3>
649
-<div class="outline-text-3" id="text-org41bb113">
647
+<div id="outline-container-org1a60165" class="outline-3">
648
+<h3 id="org1a60165">Connecting to the internet</h3>
649
+<div class="outline-text-3" id="text-org1a60165">
650
 <p>
650
 <p>
651
 If you need to be able to access the internet from the mesh then connect one of the peers to an internet router using an ethernet cable, then reboot it. Other peers in the mesh, including any attached mobile devices, will then be able to access the internet using the ethernet attached peer as a gateway. <a href="https://en.wikipedia.org/wiki/Freifunk">Freifunk</a> works in a similar way.
651
 If you need to be able to access the internet from the mesh then connect one of the peers to an internet router using an ethernet cable, then reboot it. Other peers in the mesh, including any attached mobile devices, will then be able to access the internet using the ethernet attached peer as a gateway. <a href="https://en.wikipedia.org/wiki/Freifunk">Freifunk</a> works in a similar way.
652
 </p>
652
 </p>
669
 </p>
669
 </p>
670
 </div>
670
 </div>
671
 </div>
671
 </div>
672
-<div id="outline-container-orgcffa0dd" class="outline-3">
673
-<h3 id="orgcffa0dd">Connecting two meshes over the internet via a VPN tunnel</h3>
674
-<div class="outline-text-3" id="text-orgcffa0dd">
672
+<div id="outline-container-orgc23a852" class="outline-3">
673
+<h3 id="orgc23a852">Connecting two meshes over the internet via a VPN tunnel</h3>
674
+<div class="outline-text-3" id="text-orgc23a852">
675
 <p>
675
 <p>
676
 Maybe the internet exists, but you don't care about getting any content from it and just want to use it as a way to connect mesh networks from different geographical locations together. VPN configuration, pem and stunnel files exist within the home directory. Edit the configuration with:
676
 Maybe the internet exists, but you don't care about getting any content from it and just want to use it as a way to connect mesh networks from different geographical locations together. VPN configuration, pem and stunnel files exist within the home directory. Edit the configuration with:
677
 </p>
677
 </p>
707
 </div>
707
 </div>
708
 </div>
708
 </div>
709
 
709
 
710
-<div id="outline-container-org0071e68" class="outline-3">
711
-<h3 id="org0071e68">Mobile devices (phones, etc)</h3>
712
-<div class="outline-text-3" id="text-org0071e68">
710
+<div id="outline-container-orgfb80d50" class="outline-3">
711
+<h3 id="orgfb80d50">Mobile devices (phones, etc)</h3>
712
+<div class="outline-text-3" id="text-orgfb80d50">
713
 <p>
713
 <p>
714
 To allow mobile devices to connect to the mesh you will need a second wifi adapter connected to your laptop/netbook/SBC. Plug in a second wifi adapter then reboot the system. The second adaptor will then create a wifi hotspot which mobile devices can connect to. The hotspot name also contains its local IP address (eg. "<i>mesh-192.168.1.83</i>").
714
 To allow mobile devices to connect to the mesh you will need a second wifi adapter connected to your laptop/netbook/SBC. Plug in a second wifi adapter then reboot the system. The second adaptor will then create a wifi hotspot which mobile devices can connect to. The hotspot name also contains its local IP address (eg. "<i>mesh-192.168.1.83</i>").
715
 </p>
715
 </p>
731
 </p>
731
 </p>
732
 </div>
732
 </div>
733
 </div>
733
 </div>
734
-<div id="outline-container-org15ce109" class="outline-3">
735
-<h3 id="org15ce109">Chat System</h3>
736
-<div class="outline-text-3" id="text-org15ce109">
734
+<div id="outline-container-org8cef3f4" class="outline-3">
735
+<h3 id="org8cef3f4">Chat System</h3>
736
+<div class="outline-text-3" id="text-org8cef3f4">
737
 <p>
737
 <p>
738
 Ensure that you're within wifi range of at least one other mesh peer (could be a router or client) and then you should see that the <i>Chat</i> and <i>Other Users</i> icons appear. Select the users icon and you should see a list of users on the mesh. Select the <i>Chat</i> icon and once you are connected you should see the status light turn green. If after a few minutes you don't get the green status light then try closing and re-opening the Tox chat application. Select the plus button to add a friend and then copy and paste in a Tox ID from the users list.
738
 Ensure that you're within wifi range of at least one other mesh peer (could be a router or client) and then you should see that the <i>Chat</i> and <i>Other Users</i> icons appear. Select the users icon and you should see a list of users on the mesh. Select the <i>Chat</i> icon and once you are connected you should see the status light turn green. If after a few minutes you don't get the green status light then try closing and re-opening the Tox chat application. Select the plus button to add a friend and then copy and paste in a Tox ID from the users list.
739
 </p>
739
 </p>
792
 </div>
792
 </div>
793
 </div>
793
 </div>
794
 
794
 
795
-<div id="outline-container-org9f229f4" class="outline-3">
796
-<h3 id="org9f229f4">Social Network</h3>
797
-<div class="outline-text-3" id="text-org9f229f4">
795
+<div id="outline-container-org1bfb325" class="outline-3">
796
+<h3 id="org1bfb325">Social Network</h3>
797
+<div class="outline-text-3" id="text-org1bfb325">
798
 <p>
798
 <p>
799
 Patchwork is available as a social networking system for the mesh. Like all social network systems it has a stream of posts and you can follow or unfollow other users. You can also send private messages to other users with end-to-end encryption.
799
 Patchwork is available as a social networking system for the mesh. Like all social network systems it has a stream of posts and you can follow or unfollow other users. You can also send private messages to other users with end-to-end encryption.
800
 </p>
800
 </p>
829
 </div>
829
 </div>
830
 </div>
830
 </div>
831
 
831
 
832
-<div id="outline-container-org31fc0a9" class="outline-3">
833
-<h3 id="org31fc0a9">Sharing Files</h3>
834
-<div class="outline-text-3" id="text-org31fc0a9">
832
+<div id="outline-container-org2d4c2ef" class="outline-3">
833
+<h3 id="org2d4c2ef">Sharing Files</h3>
834
+<div class="outline-text-3" id="text-org2d4c2ef">
835
 <p>
835
 <p>
836
 You can make files publicly available on the network simply by dragging and dropping them into the <i>Public</i> folder on the desktop. To view the files belonging to another user select the desktop icon called <i>Visit a site</i> and enter the username or Tox ID of the other user.
836
 You can make files publicly available on the network simply by dragging and dropping them into the <i>Public</i> folder on the desktop. To view the files belonging to another user select the desktop icon called <i>Visit a site</i> and enter the username or Tox ID of the other user.
837
 </p>
837
 </p>
846
 </div>
846
 </div>
847
 </div>
847
 </div>
848
 
848
 
849
-<div id="outline-container-org5a54e47" class="outline-3">
850
-<h3 id="org5a54e47">Blogging</h3>
851
-<div class="outline-text-3" id="text-org5a54e47">
849
+<div id="outline-container-org47a1d04" class="outline-3">
850
+<h3 id="org47a1d04">Blogging</h3>
851
+<div class="outline-text-3" id="text-org47a1d04">
852
 <p>
852
 <p>
853
 To create a blog post select the <i>Blog</i> icon on the desktop and then use the up and down cursor keys, space bar and enter key to add a new entry. Edit the title of the entry and add your text. You can also include photos if you wish - just copy them to the <b>CreateBlog/content/images</b> directory and then link to them as shown.
853
 To create a blog post select the <i>Blog</i> icon on the desktop and then use the up and down cursor keys, space bar and enter key to add a new entry. Edit the title of the entry and add your text. You can also include photos if you wish - just copy them to the <b>CreateBlog/content/images</b> directory and then link to them as shown.
854
 </p>
854
 </p>