Update mesh instructions for v3

This commit is contained in:
Bob Mottram 2017-07-03 12:17:40 +01:00
parent 39dcd34200
commit bfe5ec416e
2 changed files with 84 additions and 84 deletions

View File

@ -51,13 +51,13 @@ This system should be quite scalable. Both qTox and IPFS are based upon distribu
#+begin_src bash
sudo apt-get install xz-utils wget
wget https://freedombone.net/downloads/v2.00/freedombone-meshclient-2.00_all-i386.img.xz
wget https://freedombone.net/downloads/v2.00/freedombone-meshclient-2.00_all-i386.img.xz.sig
wget https://freedombone.net/downloads/v3/freedombone-meshclient-3_all-i386.img.xz
wget https://freedombone.net/downloads/v3/freedombone-meshclient-3_all-i386.img.xz.sig
gpg --verify freedombone-meshclient-2.00_all-i386.img.xz.sig
sha256sum freedombone-meshclient-2.00_all-i386.img.xz
403cf1cc2bc5272e5921d3ebefc351540928141bc65641b6d16f2262a933cb4e
unxz freedombone-meshclient-2.00_all-i386.img.xz
sudo dd bs=1M if=freedombone-meshclient-2.00_all-i386.img of=/dev/sdX conv=fdatasync
sha256sum freedombone-meshclient-3_all-i386.img.xz
57e07013896503c1b0e9fee37f7cff0baa3cd98c795cb1f7209970177b7d2249
unxz freedombone-meshclient-3_all-i386.img.xz
sudo dd bs=1M if=freedombone-meshclient-3_all-i386.img of=/dev/sdX conv=fdatasync
#+end_src
To get a number of systems onto the mesh repeat the /dd/ command to create however many bootable USB drives you need.
@ -66,13 +66,13 @@ If you're in an emergency and don't have Atheros wifi dongles then there is also
#+begin_src bash
sudo apt-get install xz-utils wget
wget https://freedombone.net/downloads/v2.00/freedombone-meshclient-insecure-2.00_all-i386.img.xz
wget https://freedombone.net/downloads/v2.00/freedombone-meshclient-insecure-2.00_all-i386.img.xz.sig
gpg --verify freedombone-meshclient-insecure-2.00_all-i386.img.xz.sig
sha256sum freedombone-meshclient-insecure-2.00_all-i386.img.xz
7cda1a52acad7d18156ea238d7eb550479a5f882ac45c8cf9b9e56077fb26be9
unxz freedombone-meshclient-insecure-2.00_all-i386.img.xz
sudo dd bs=1M if=freedombone-meshclient-insecure-2.00_all-i386.img of=/dev/sdX conv=fdatasync
wget https://freedombone.net/downloads/v3/freedombone-meshclient-insecure-3_all-i386.img.xz
wget https://freedombone.net/downloads/v3/freedombone-meshclient-insecure-3_all-i386.img.xz.sig
gpg --verify freedombone-meshclient-insecure-3_all-i386.img.xz.sig
sha256sum freedombone-meshclient-insecure-3_all-i386.img.xz
527670814d8ffd08885c5163cad85950f81abd9e819b24d3cf185e3084a6838b
unxz freedombone-meshclient-insecure-3_all-i386.img.xz
sudo dd bs=1M if=freedombone-meshclient-insecure-3_all-i386.img of=/dev/sdX conv=fdatasync
#+end_src
** Router images
@ -86,13 +86,13 @@ The above picture shows a Beaglebone Black with the image copied onto a microSD
#+begin_src bash
sudo apt-get install xz-utils wget
wget https://freedombone.net/downloads/v2.00/freedombone-mesh-2.00_beaglebone-armhf.img.xz
wget https://freedombone.net/downloads/v2.00/freedombone-mesh-2.00_beaglebone-armhf.img.xz.sig
gpg --verify freedombone-mesh-2.00_beaglebone-armhf.img.xz.sig
sha256sum freedombone-mesh-2.00_beaglebone-armhf.img.xz
daf8c82f111ae8714cffc52633156554c23d5feafabbe85cb15925e0373a3ff4
unxz freedombone-mesh-2.00_beaglebone-armhf.img.xz
sudo dd bs=1M if=freedombone-mesh-2.00_beaglebone-armhf.img of=/dev/sdX conv=fdatasync
wget https://freedombone.net/downloads/v3/freedombone-mesh-3_beaglebone-armhf.img.xz
wget https://freedombone.net/downloads/v3/freedombone-mesh-3_beaglebone-armhf.img.xz.sig
gpg --verify freedombone-mesh-3_beaglebone-armhf.img.xz.sig
sha256sum freedombone-mesh-3_beaglebone-armhf.img.xz
ab783ea807da1144bd076f7b43e54b5f4376ecf1ea1f86f56ac76c3469325802
unxz freedombone-mesh-3_beaglebone-armhf.img.xz
sudo dd bs=1M if=freedombone-mesh-3_beaglebone-armhf.img of=/dev/sdX conv=fdatasync
#+end_src
If you have a few Beaglebone Blacks to use as routers then repeat the /dd/ command to create however many microSD cards you need.

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2017-06-27 Tue 13:16 -->
<!-- 2017-07-03 Mon 12:17 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title></title>
@ -274,13 +274,13 @@ for the JavaScript code in this tag.
</colgroup>
<tbody>
<tr>
<td class="org-left"><a href="#orga78fc1f">What the system can do</a></td>
<td class="org-left"><a href="#org775b148">What the system can do</a></td>
<td class="org-left">-</td>
<td class="org-left"><a href="#org40cb1bb">Disk Images</a></td>
<td class="org-left"><a href="#org877fc88">Disk Images</a></td>
<td class="org-left">-</td>
<td class="org-left"><a href="#orgcf920a2">Building Disk Images</a></td>
<td class="org-left"><a href="#org1b1651f">Building Disk Images</a></td>
<td class="org-left">-</td>
<td class="org-left"><a href="#orgb61ffe7">How to use it</a></td>
<td class="org-left"><a href="#org42ba924">How to use it</a></td>
</tr>
</tbody>
</table>
@ -289,9 +289,9 @@ for the JavaScript code in this tag.
Mesh networks are useful as a quick way to make a fully decentralised communications system which is not connected to or reliant upon the internet. Think festivals, hacker conferences, onboard ships at sea, disaster/war zones, small business internal office communications, protests, remote areas of the world, temporary "digital blackouts", scientific expeditions and off-world space colonies. The down side is that you can't access any internet content. The upside is that you can securely communicate with anyone on the local mesh. No ISPs. No payments or subscriptions beyond the cost of obtaining the hardware. Systems need to be within wifi range of each other for the mesh to be created. It can be an ultra-convenient way to do purely local communications.
</p>
<div id="outline-container-orga78fc1f" class="outline-2">
<h2 id="orga78fc1f">What the system can do</h2>
<div class="outline-text-2" id="text-orga78fc1f">
<div id="outline-container-org775b148" class="outline-2">
<h2 id="org775b148">What the system can do</h2>
<div class="outline-text-2" id="text-org775b148">
<ul class="org-ul">
<li>Discovery of other users on the network</li>
<li>Text based chat, one-to-one and in groups</li>
@ -312,13 +312,13 @@ This system should be quite scalable. Both qTox and IPFS are based upon distribu
</div>
</div>
<div id="outline-container-org40cb1bb" class="outline-2">
<h2 id="org40cb1bb">Disk Images</h2>
<div class="outline-text-2" id="text-org40cb1bb">
<div id="outline-container-org877fc88" class="outline-2">
<h2 id="org877fc88">Disk Images</h2>
<div class="outline-text-2" id="text-org877fc88">
</div>
<div id="outline-container-org7353de8" class="outline-3">
<h3 id="org7353de8">Client images</h3>
<div class="outline-text-3" id="text-org7353de8">
<div id="outline-container-orga4d9df6" class="outline-3">
<h3 id="orga4d9df6">Client images</h3>
<div class="outline-text-3" id="text-orga4d9df6">
<div class="org-center">
<div class="figure">
@ -333,13 +333,13 @@ This system should be quite scalable. Both qTox and IPFS are based upon distribu
<div class="org-src-container">
<pre><code class="src src-bash">sudo apt-get install xz-utils wget
wget https://freedombone.net/downloads/v2.00/freedombone-meshclient-2.00_all-i386.img.xz
wget https://freedombone.net/downloads/v2.00/freedombone-meshclient-2.00_all-i386.img.xz.sig
wget https://freedombone.net/downloads/v3/freedombone-meshclient-3_all-i386.img.xz
wget https://freedombone.net/downloads/v3/freedombone-meshclient-3_all-i386.img.xz.sig
gpg --verify freedombone-meshclient-2.00_all-i386.img.xz.sig
sha256sum freedombone-meshclient-2.00_all-i386.img.xz
403cf1cc2bc5272e5921d3ebefc351540928141bc65641b6d16f2262a933cb4e
unxz freedombone-meshclient-2.00_all-i386.img.xz
sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">if</span>=freedombone-meshclient-2.00_all-i386.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync
sha256sum freedombone-meshclient-3_all-i386.img.xz
57e07013896503c1b0e9fee37f7cff0baa3cd98c795cb1f7209970177b7d2249
unxz freedombone-meshclient-3_all-i386.img.xz
sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">if</span>=freedombone-meshclient-3_all-i386.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync
</code></pre>
</div>
@ -353,28 +353,28 @@ If you're in an emergency and don't have Atheros wifi dongles then there is also
<div class="org-src-container">
<pre><code class="src src-bash">sudo apt-get install xz-utils wget
wget https://freedombone.net/downloads/v2.00/freedombone-meshclient-insecure-2.00_all-i386.img.xz
wget https://freedombone.net/downloads/v2.00/freedombone-meshclient-insecure-2.00_all-i386.img.xz.sig
gpg --verify freedombone-meshclient-insecure-2.00_all-i386.img.xz.sig
sha256sum freedombone-meshclient-insecure-2.00_all-i386.img.xz
7cda1a52acad7d18156ea238d7eb550479a5f882ac45c8cf9b9e56077fb26be9
unxz freedombone-meshclient-insecure-2.00_all-i386.img.xz
sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">if</span>=freedombone-meshclient-insecure-2.00_all-i386.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync
wget https://freedombone.net/downloads/v3/freedombone-meshclient-insecure-3_all-i386.img.xz
wget https://freedombone.net/downloads/v3/freedombone-meshclient-insecure-3_all-i386.img.xz.sig
gpg --verify freedombone-meshclient-insecure-3_all-i386.img.xz.sig
sha256sum freedombone-meshclient-insecure-3_all-i386.img.xz
527670814d8ffd08885c5163cad85950f81abd9e819b24d3cf185e3084a6838b
unxz freedombone-meshclient-insecure-3_all-i386.img.xz
sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">if</span>=freedombone-meshclient-insecure-3_all-i386.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync
</code></pre>
</div>
</div>
</div>
<div id="outline-container-orgcf2f281" class="outline-3">
<h3 id="orgcf2f281">Router images</h3>
<div class="outline-text-3" id="text-orgcf2f281">
<div id="outline-container-org350d1ff" class="outline-3">
<h3 id="org350d1ff">Router images</h3>
<div class="outline-text-3" id="text-org350d1ff">
<p>
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.
</p>
</div>
<div id="outline-container-orgf98375a" class="outline-4">
<h4 id="orgf98375a">Beaglebone Black</h4>
<div class="outline-text-4" id="text-orgf98375a">
<div id="outline-container-org70ad721" class="outline-4">
<h4 id="org70ad721">Beaglebone Black</h4>
<div class="outline-text-4" id="text-org70ad721">
<div class="org-center">
<div class="figure">
@ -389,13 +389,13 @@ The above picture shows a Beaglebone Black with the image copied onto a microSD
<div class="org-src-container">
<pre><code class="src src-bash">sudo apt-get install xz-utils wget
wget https://freedombone.net/downloads/v2.00/freedombone-mesh-2.00_beaglebone-armhf.img.xz
wget https://freedombone.net/downloads/v2.00/freedombone-mesh-2.00_beaglebone-armhf.img.xz.sig
gpg --verify freedombone-mesh-2.00_beaglebone-armhf.img.xz.sig
sha256sum freedombone-mesh-2.00_beaglebone-armhf.img.xz
daf8c82f111ae8714cffc52633156554c23d5feafabbe85cb15925e0373a3ff4
unxz freedombone-mesh-2.00_beaglebone-armhf.img.xz
sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">if</span>=freedombone-mesh-2.00_beaglebone-armhf.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync
wget https://freedombone.net/downloads/v3/freedombone-mesh-3_beaglebone-armhf.img.xz
wget https://freedombone.net/downloads/v3/freedombone-mesh-3_beaglebone-armhf.img.xz.sig
gpg --verify freedombone-mesh-3_beaglebone-armhf.img.xz.sig
sha256sum freedombone-mesh-3_beaglebone-armhf.img.xz
ab783ea807da1144bd076f7b43e54b5f4376ecf1ea1f86f56ac76c3469325802
unxz freedombone-mesh-3_beaglebone-armhf.img.xz
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
</code></pre>
</div>
@ -411,9 +411,9 @@ There is still a software freedom issue with the Beaglebone Black, but it doesn'
</div>
</div>
<div id="outline-container-orgcf920a2" class="outline-2">
<h2 id="orgcf920a2">Building Disk Images</h2>
<div class="outline-text-2" id="text-orgcf920a2">
<div id="outline-container-org1b1651f" class="outline-2">
<h2 id="org1b1651f">Building Disk Images</h2>
<div class="outline-text-2" id="text-org1b1651f">
<p>
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.
</p>
@ -503,9 +503,9 @@ The resulting image can be copied to a microSD card, inserted into a Beaglebone
</div>
</div>
<div id="outline-container-org0a2f2f6" class="outline-2">
<h2 id="org0a2f2f6">Customisation</h2>
<div class="outline-text-2" id="text-org0a2f2f6">
<div id="outline-container-org1eee020" class="outline-2">
<h2 id="org1eee020">Customisation</h2>
<div class="outline-text-2" id="text-org1eee020">
<p>
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.
</p>
@ -515,9 +515,9 @@ If you need particular <i>dconf</i> commands to alter desktop appearance or beha
</p>
</div>
</div>
<div id="outline-container-orgb61ffe7" class="outline-2">
<h2 id="orgb61ffe7">How to use it</h2>
<div class="outline-text-2" id="text-orgb61ffe7">
<div id="outline-container-org42ba924" class="outline-2">
<h2 id="org42ba924">How to use it</h2>
<div class="outline-text-2" id="text-org42ba924">
<p>
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.
</p>
@ -527,9 +527,9 @@ After a minute or two if you are within wifi range and there is at least one oth
</p>
</div>
<div id="outline-container-orgc4ccb88" class="outline-3">
<h3 id="orgc4ccb88">Set the Date</h3>
<div class="outline-text-3" id="text-orgc4ccb88">
<div id="outline-container-orga9c9bbb" class="outline-3">
<h3 id="orga9c9bbb">Set the Date</h3>
<div class="outline-text-3" id="text-orga9c9bbb">
<p>
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.
</p>
@ -539,9 +539,9 @@ On the ordinary internet the date and time of your system would be set automatic
</p>
</div>
</div>
<div id="outline-container-org84104d7" class="outline-3">
<h3 id="org84104d7">Check network status</h3>
<div class="outline-text-3" id="text-org84104d7">
<div id="outline-container-orgc7af160" class="outline-3">
<h3 id="orgc7af160">Check network status</h3>
<div class="outline-text-3" id="text-orgc7af160">
<p>
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.
</p>
@ -565,9 +565,9 @@ When you are finished close the window and then select the <i>Network Restart</i
</div>
</div>
<div id="outline-container-orgee9c3f6" class="outline-3">
<h3 id="orgee9c3f6">Chat System</h3>
<div class="outline-text-3" id="text-orgee9c3f6">
<div id="outline-container-orgba402ab" class="outline-3">
<h3 id="orgba402ab">Chat System</h3>
<div class="outline-text-3" id="text-orgba402ab">
<p>
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.
</p>
@ -626,9 +626,9 @@ At present video doesn't work reliably, but text and voice chat do work well.
</div>
</div>
<div id="outline-container-orgc962bf6" class="outline-3">
<h3 id="orgc962bf6">Sharing Files</h3>
<div class="outline-text-3" id="text-orgc962bf6">
<div id="outline-container-orgb9a2fe0" class="outline-3">
<h3 id="orgb9a2fe0">Sharing Files</h3>
<div class="outline-text-3" id="text-orgb9a2fe0">
<p>
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.
</p>
@ -643,9 +643,9 @@ You can make files publicly available on the network simply by dragging and drop
</div>
</div>
<div id="outline-container-org29786bc" class="outline-3">
<h3 id="org29786bc">Blogging</h3>
<div class="outline-text-3" id="text-org29786bc">
<div id="outline-container-org87a7d68" class="outline-3">
<h3 id="org87a7d68">Blogging</h3>
<div class="outline-text-3" id="text-org87a7d68">
<p>
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.
</p>