New hashes for mesh images

This commit is contained in:
Bob Mottram 2017-10-06 22:38:03 +01:00
parent 0f405c932f
commit f608c47b90
2 changed files with 72 additions and 72 deletions

View File

@ -134,7 +134,7 @@ wget https://freedombone.net/downloads/current/freedombone-mesh_beaglebone-armhf
wget https://freedombone.net/downloads/current/freedombone-mesh_beaglebone-armhf.img.xz.sig
gpg --verify freedombone-mesh_beaglebone-armhf.img.xz.sig
sha256sum freedombone-mesh_beaglebone-armhf.img.xz
45f131995e2f77188e7ddaf2b42ca3d8d48d821d37c7a31a21e2e6dcceaf510d
unxz freedombone-mesh_beaglebone-armhf.img.xz
sudo dd bs=1M if=freedombone-mesh_beaglebone-armhf.img of=/dev/sdX conv=fdatasync
#+end_src

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-10-05 Thu 15:10 -->
<!-- 2017-10-06 Fri 22:37 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>&lrm;</title>
@ -274,13 +274,13 @@ for the JavaScript code in this tag.
</colgroup>
<tbody>
<tr>
<td class="org-left"><a href="#orgb0dd1ad">What the system can do</a></td>
<td class="org-left"><a href="#org4955211">What the system can do</a></td>
<td class="org-left">-</td>
<td class="org-left"><a href="#org2b727b3">Disk Images</a></td>
<td class="org-left"><a href="#org61b515b">Disk Images</a></td>
<td class="org-left">-</td>
<td class="org-left"><a href="#org520845e">Building Disk Images</a></td>
<td class="org-left"><a href="#org3671d74">Building Disk Images</a></td>
<td class="org-left">-</td>
<td class="org-left"><a href="#org315aa35">How to use it</a></td>
<td class="org-left"><a href="#org6bbb5cc">How to use it</a></td>
</tr>
</tbody>
</table>
@ -324,9 +324,9 @@ The Freedombone mesh roughly follows MondoNet's ten social specifications:
<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>
</ul>
<div id="outline-container-orgb0dd1ad" class="outline-2">
<h2 id="orgb0dd1ad">What the system can do</h2>
<div class="outline-text-2" id="text-orgb0dd1ad">
<div id="outline-container-org4955211" class="outline-2">
<h2 id="org4955211">What the system can do</h2>
<div class="outline-text-2" id="text-org4955211">
<ul class="org-ul">
<li>Discovery of other users on the network</li>
<li>Text based chat, one-to-one and in groups</li>
@ -350,13 +350,13 @@ This system should be quite scalable. Both qTox and IPFS are based upon distribu
</div>
</div>
<div id="outline-container-org2b727b3" class="outline-2">
<h2 id="org2b727b3">Disk Images</h2>
<div class="outline-text-2" id="text-org2b727b3">
<div id="outline-container-org61b515b" class="outline-2">
<h2 id="org61b515b">Disk Images</h2>
<div class="outline-text-2" id="text-org61b515b">
</div>
<div id="outline-container-org4dcc4ac" class="outline-3">
<h3 id="org4dcc4ac">Writing many images quickly</h3>
<div class="outline-text-3" id="text-org4dcc4ac">
<div id="outline-container-orgd43a5df" class="outline-3">
<h3 id="orgd43a5df">Writing many images quickly</h3>
<div class="outline-text-3" id="text-orgd43a5df">
<p>
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>.
</p>
@ -384,9 +384,9 @@ The MultiWriter tool is also available within mesh client images, so that you ca
</p>
</div>
</div>
<div id="outline-container-orgd331956" class="outline-3">
<h3 id="orgd331956">Client images</h3>
<div class="outline-text-3" id="text-orgd331956">
<div id="outline-container-orga6b136f" class="outline-3">
<h3 id="orga6b136f">Client images</h3>
<div class="outline-text-3" id="text-orga6b136f">
<div class="org-center">
<div class="figure">
@ -405,7 +405,7 @@ wget https://freedombone.net/downloads/current/freedombone-meshclient-i386.img.x
wget https://freedombone.net/downloads/current/freedombone-meshclient-i386.img.xz.sig
gpg --verify freedombone-meshclient-i386.img.xz.sig
sha256sum freedombone-meshclient-i386.img.xz
f7e261d369d6f0ccf650dbbed18227bfe5ec427ae0b97f56e1f1e202afc6d0b3
995dd64538f46f6abf83ba258cca6cb82a72399cb9a099caeafc1de947ef795c
unxz freedombone-meshclient-i386.img.xz
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
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,7 +426,7 @@ wget https://freedombone.net/downloads/current/freedombone-meshclient-insecure-i
wget https://freedombone.net/downloads/current/freedombone-meshclient-insecure-i386.img.xz.sig
gpg --verify freedombone-meshclient-insecure-i386.img.xz.sig
sha256sum freedombone-meshclient-insecure-i386.img.xz
3bfbcaedb587c5cbddec8b9fffcd48398d9e3b97486ef49aa645357f61a0f11f
b06e6ff5e56577025e6b994fe0bb28f02da7d2905ac32a2f38d7d074ffe801fc
unxz freedombone-meshclient-insecure-i386.img.xz
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
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,16 +435,16 @@ sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-n
</div>
</div>
<div id="outline-container-org513ddc4" class="outline-3">
<h3 id="org513ddc4">Router images</h3>
<div class="outline-text-3" id="text-org513ddc4">
<div id="outline-container-org370a98f" class="outline-3">
<h3 id="org370a98f">Router images</h3>
<div class="outline-text-3" id="text-org370a98f">
<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-orgfa33a6f" class="outline-4">
<h4 id="orgfa33a6f">Beaglebone Black</h4>
<div class="outline-text-4" id="text-orgfa33a6f">
<div id="outline-container-orgdc33b2d" class="outline-4">
<h4 id="orgdc33b2d">Beaglebone Black</h4>
<div class="outline-text-4" id="text-orgdc33b2d">
<div class="org-center">
<div class="figure">
@ -459,13 +459,13 @@ The above picture shows a Beaglebone Black with the image copied onto a microSD
<div class="org-src-container">
<pre class="src src-bash">sudo apt-get install xz-utils wget
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
wget https://freedombone.net/downloads/current/freedombone-mesh_beaglebone-armhf.img.xz
wget https://freedombone.net/downloads/current/freedombone-mesh_beaglebone-armhf.img.xz.sig
gpg --verify freedombone-mesh_beaglebone-armhf.img.xz.sig
sha256sum freedombone-mesh_beaglebone-armhf.img.xz
45f131995e2f77188e7ddaf2b42ca3d8d48d821d37c7a31a21e2e6dcceaf510d
unxz freedombone-mesh_beaglebone-armhf.img.xz
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
</pre>
</div>
@ -481,9 +481,9 @@ There is still a software freedom issue with the Beaglebone Black, but it doesn'
</div>
</div>
<div id="outline-container-org520845e" class="outline-2">
<h2 id="org520845e">Building Disk Images</h2>
<div class="outline-text-2" id="text-org520845e">
<div id="outline-container-org3671d74" class="outline-2">
<h2 id="org3671d74">Building Disk Images</h2>
<div class="outline-text-2" id="text-org3671d74">
<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>
@ -571,9 +571,9 @@ The resulting image can be copied to a microSD card, inserted into a Beaglebone
</div>
</div>
<div id="outline-container-org138c835" class="outline-2">
<h2 id="org138c835">Customisation</h2>
<div class="outline-text-2" id="text-org138c835">
<div id="outline-container-orgaca7d62" class="outline-2">
<h2 id="orgaca7d62">Customisation</h2>
<div class="outline-text-2" id="text-orgaca7d62">
<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>
@ -583,9 +583,9 @@ If you need particular <i>dconf</i> commands to alter desktop appearance or beha
</p>
</div>
</div>
<div id="outline-container-org315aa35" class="outline-2">
<h2 id="org315aa35">How to use it</h2>
<div class="outline-text-2" id="text-org315aa35">
<div id="outline-container-org6bbb5cc" class="outline-2">
<h2 id="org6bbb5cc">How to use it</h2>
<div class="outline-text-2" id="text-org6bbb5cc">
<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>
@ -595,9 +595,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-org1b3364a" class="outline-3">
<h3 id="org1b3364a">Boot trouble</h3>
<div class="outline-text-3" id="text-org1b3364a">
<div id="outline-container-orgec5d22d" class="outline-3">
<h3 id="orgec5d22d">Boot trouble</h3>
<div class="outline-text-3" id="text-orgec5d22d">
<p>
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.
</p>
@ -607,9 +607,9 @@ After the system has booted successfully the problem should resolve itself on su
</p>
</div>
</div>
<div id="outline-container-orgde8506a" class="outline-3">
<h3 id="orgde8506a">Set the Date</h3>
<div class="outline-text-3" id="text-orgde8506a">
<div id="outline-container-org90ebbd3" class="outline-3">
<h3 id="org90ebbd3">Set the Date</h3>
<div class="outline-text-3" id="text-org90ebbd3">
<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>
@ -619,9 +619,9 @@ On the ordinary internet the date and time of your system would be set automatic
</p>
</div>
</div>
<div id="outline-container-orgc819dda" class="outline-3">
<h3 id="orgc819dda">Check network status</h3>
<div class="outline-text-3" id="text-orgc819dda">
<div id="outline-container-orgec803c7" class="outline-3">
<h3 id="orgec803c7">Check network status</h3>
<div class="outline-text-3" id="text-orgec803c7">
<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>
@ -644,9 +644,9 @@ When you are finished close the window and then select the <i>Network Restart</i
</p>
</div>
</div>
<div id="outline-container-org41bb113" class="outline-3">
<h3 id="org41bb113">Connecting to the internet</h3>
<div class="outline-text-3" id="text-org41bb113">
<div id="outline-container-orga0dfb95" class="outline-3">
<h3 id="orga0dfb95">Connecting to the internet</h3>
<div class="outline-text-3" id="text-orga0dfb95">
<p>
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.
</p>
@ -669,9 +669,9 @@ Where <i>myclient.ovpn</i> comes from your VPN provider and with the password "<
</p>
</div>
</div>
<div id="outline-container-orgcffa0dd" class="outline-3">
<h3 id="orgcffa0dd">Connecting two meshes over the internet via a VPN tunnel</h3>
<div class="outline-text-3" id="text-orgcffa0dd">
<div id="outline-container-org661333c" class="outline-3">
<h3 id="org661333c">Connecting two meshes over the internet via a VPN tunnel</h3>
<div class="outline-text-3" id="text-org661333c">
<p>
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:
</p>
@ -707,9 +707,9 @@ Using the password "<i>freedombone</i>". From a deep packet inspection point of
</div>
</div>
<div id="outline-container-org0071e68" class="outline-3">
<h3 id="org0071e68">Mobile devices (phones, etc)</h3>
<div class="outline-text-3" id="text-org0071e68">
<div id="outline-container-org54f9e4c" class="outline-3">
<h3 id="org54f9e4c">Mobile devices (phones, etc)</h3>
<div class="outline-text-3" id="text-org54f9e4c">
<p>
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>").
</p>
@ -731,9 +731,9 @@ On some android devices you may need to move the downloaded APK file from the <b
</p>
</div>
</div>
<div id="outline-container-org15ce109" class="outline-3">
<h3 id="org15ce109">Chat System</h3>
<div class="outline-text-3" id="text-org15ce109">
<div id="outline-container-org0e734db" class="outline-3">
<h3 id="org0e734db">Chat System</h3>
<div class="outline-text-3" id="text-org0e734db">
<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>
@ -792,9 +792,9 @@ At present video doesn't work reliably, but text and voice chat do work well.
</div>
</div>
<div id="outline-container-org9f229f4" class="outline-3">
<h3 id="org9f229f4">Social Network</h3>
<div class="outline-text-3" id="text-org9f229f4">
<div id="outline-container-org04683ad" class="outline-3">
<h3 id="org04683ad">Social Network</h3>
<div class="outline-text-3" id="text-org04683ad">
<p>
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.
</p>
@ -829,9 +829,9 @@ The Secure Scuttlebutt protocol which Patchwork is based upon is intended to be
</div>
</div>
<div id="outline-container-org31fc0a9" class="outline-3">
<h3 id="org31fc0a9">Sharing Files</h3>
<div class="outline-text-3" id="text-org31fc0a9">
<div id="outline-container-orgf2ce9cf" class="outline-3">
<h3 id="orgf2ce9cf">Sharing Files</h3>
<div class="outline-text-3" id="text-orgf2ce9cf">
<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>
@ -846,9 +846,9 @@ You can make files publicly available on the network simply by dragging and drop
</div>
</div>
<div id="outline-container-org5a54e47" class="outline-3">
<h3 id="org5a54e47">Blogging</h3>
<div class="outline-text-3" id="text-org5a54e47">
<div id="outline-container-org30ab75c" class="outline-3">
<h3 id="org30ab75c">Blogging</h3>
<div class="outline-text-3" id="text-org30ab75c">
<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>