Update documentation for v3

This commit is contained in:
Bob Mottram 2017-07-03 12:29:43 +01:00
parent 55377bde8d
commit 33dfc726b8
8 changed files with 136 additions and 121 deletions

View File

@ -41,6 +41,7 @@ On your laptop or desktop prepare a microSD card image as follows. To create an
sudo apt-get install git sudo apt-get install git
git clone https://github.com/bashrc/freedombone git clone https://github.com/bashrc/freedombone
cd freedombone cd freedombone
git checkout stretch
sudo make install sudo make install
freedombone-image --setup debian freedombone-image --setup debian
#+end_src #+end_src
@ -51,6 +52,7 @@ Or on Arch/Parabola:
sudo pacman -S git sudo pacman -S git
git clone https://github.com/bashrc/freedombone git clone https://github.com/bashrc/freedombone
cd freedombone cd freedombone
git checkout stretch
sudo make install sudo make install
freedombone-image --setup parabola freedombone-image --setup parabola
#+end_src #+end_src

View File

@ -23,6 +23,7 @@ First install freedombone onto your local system (not the target hardware that y
sudo apt-get install git sudo apt-get install git
git clone https://github.com/bashrc/freedombone git clone https://github.com/bashrc/freedombone
cd freedombone cd freedombone
git checkout stretch
sudo make install sudo make install
freedombone-image --setup debian freedombone-image --setup debian
freedombone-image -t i386 --onion yes freedombone-image -t i386 --onion yes
@ -34,6 +35,7 @@ Or on Arch/Parabola:
sudo pacman -S git sudo pacman -S git
git clone https://github.com/bashrc/freedombone git clone https://github.com/bashrc/freedombone
cd freedombone cd freedombone
git checkout stretch
sudo make install sudo make install
freedombone-image --setup parabola freedombone-image --setup parabola
freedombone-image -t i386 --onion yes freedombone-image -t i386 --onion yes

View File

@ -35,6 +35,7 @@ Install the freedombone commands onto your laptop/desktop:
sudo apt-get install git build-essential dialog sudo apt-get install git build-essential dialog
git clone https://github.com/bashrc/freedombone git clone https://github.com/bashrc/freedombone
cd freedombone cd freedombone
git checkout stretch
sudo make install sudo make install
#+END_SRC #+END_SRC
@ -224,6 +225,7 @@ sudo apt-get update
sudo apt-get install git dialog haveged build-essential sudo apt-get install git dialog haveged build-essential
git clone https://github.com/bashrc/freedombone git clone https://github.com/bashrc/freedombone
cd freedombone cd freedombone
git checkout stretch
sudo make install sudo make install
freedombone-client freedombone-client
#+END_SRC #+END_SRC

View File

@ -110,15 +110,16 @@ sudo apt-get -y install build-essential libc6-dev-i386 wget \
vmdebootstrap xz-utils dosfstools btrfs-tools extlinux \ vmdebootstrap xz-utils dosfstools btrfs-tools extlinux \
python-distro-info mbr qemu-user-static binfmt-support \ python-distro-info mbr qemu-user-static binfmt-support \
u-boot-tools qemu u-boot-tools qemu
wget https://freedombone.net/downloads/freedombone-mesh-13-09-2016.tar.gz wget https://freedombone.net/downloads/v3/freedombone-3.tar.gz
wget https://freedombone.net/downloads/freedombone-mesh-13-09-2016.tar.gz.sig wget https://freedombone.net/downloads/freedombone-3.tar.gz.sig
gpg --verify freedombone-mesh-13-09-2016.tar.gz.sig gpg --verify freedombone-3.tar.gz.sig
sha256sum freedombone-mesh-13-09-2016.tar.gz sha256sum freedombone-3.tar.gz
3e279f8ed762afb682bec6bd463830087354dd2f24020f3b0de51143585ab0ed
tar -xzvf freedombone-mesh-13-09-2016.tar.gz tar -xzvf freedombone-3.tar.gz
cd freedombone cd freedombone
git checkout stretch git checkout stretch
sudo make install sudo make install
freedombone-image --setup debian
freedombone-image -t i386 -v meshclient freedombone-image -t i386 -v meshclient
#+end_src #+end_src

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2017-01-05 Thu 14:11 --> <!-- 2017-07-03 Mon 12:29 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title></title> <title></title>
@ -71,6 +71,7 @@
pre.src-fortran:before { content: 'Fortran'; } pre.src-fortran:before { content: 'Fortran'; }
pre.src-gnuplot:before { content: 'gnuplot'; } pre.src-gnuplot:before { content: 'gnuplot'; }
pre.src-haskell:before { content: 'Haskell'; } pre.src-haskell:before { content: 'Haskell'; }
pre.src-hledger:before { content: 'hledger'; }
pre.src-java:before { content: 'Java'; } pre.src-java:before { content: 'Java'; }
pre.src-js:before { content: 'Javascript'; } pre.src-js:before { content: 'Javascript'; }
pre.src-latex:before { content: 'LaTeX'; } pre.src-latex:before { content: 'LaTeX'; }
@ -188,7 +189,7 @@
@licstart The following is the entire license notice for the @licstart The following is the entire license notice for the
JavaScript code in this tag. JavaScript code in this tag.
Copyright (C) 2012-2013 Free Software Foundation, Inc. Copyright (C) 2012-2017 Free Software Foundation, Inc.
The JavaScript code in this tag is free software: you can The JavaScript code in this tag is free software: you can
redistribute it and/or modify it under the terms of the GNU redistribute it and/or modify it under the terms of the GNU
@ -285,12 +286,13 @@ On your laptop or desktop prepare a microSD card image as follows. To create an
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">sudo apt-get install git <pre><code class="src src-bash">sudo apt-get install git
git clone https://github.com/bashrc/freedombone git clone https://github.com/bashrc/freedombone
<span class="org-builtin">cd</span> freedombone <span class="org-builtin">cd</span> freedombone
git checkout stretch
sudo make install sudo make install
freedombone-image --setup debian freedombone-image --setup debian
</pre> </code></pre>
</div> </div>
<p> <p>
@ -298,12 +300,13 @@ Or on Arch/Parabola:
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">sudo pacman -S git <pre><code class="src src-bash">sudo pacman -S git
git clone https://github.com/bashrc/freedombone git clone https://github.com/bashrc/freedombone
<span class="org-builtin">cd</span> freedombone <span class="org-builtin">cd</span> freedombone
git checkout stretch
sudo make install sudo make install
freedombone-image --setup parabola freedombone-image --setup parabola
</pre> </code></pre>
</div> </div>
<div class="org-center"> <div class="org-center">

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2017-06-27 Tue 13:17 --> <!-- 2017-07-03 Mon 12:29 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title></title> <title></title>
@ -259,6 +259,7 @@ First install freedombone onto your local system (not the target hardware that y
<pre><code class="src src-bash">sudo apt-get install git <pre><code class="src src-bash">sudo apt-get install git
git clone https://github.com/bashrc/freedombone git clone https://github.com/bashrc/freedombone
<span class="org-builtin">cd</span> freedombone <span class="org-builtin">cd</span> freedombone
git checkout stretch
sudo make install sudo make install
freedombone-image --setup debian freedombone-image --setup debian
freedombone-image -t i386 --onion yes freedombone-image -t i386 --onion yes
@ -273,6 +274,7 @@ Or on Arch/Parabola:
<pre><code class="src src-bash">sudo pacman -S git <pre><code class="src src-bash">sudo pacman -S git
git clone https://github.com/bashrc/freedombone git clone https://github.com/bashrc/freedombone
<span class="org-builtin">cd</span> freedombone <span class="org-builtin">cd</span> freedombone
git checkout stretch
sudo make install sudo make install
freedombone-image --setup parabola freedombone-image --setup parabola
freedombone-image -t i386 --onion yes freedombone-image -t i386 --onion yes

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2017-06-25 Sun 23:22 --> <!-- 2017-07-03 Mon 12:29 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title></title> <title></title>
@ -256,11 +256,11 @@ for the JavaScript code in this tag.
</colgroup> </colgroup>
<tbody> <tbody>
<tr> <tr>
<td class="org-left"><a href="#org18d6c84">Building an image for a Single Board Computer or Virtual Machine</a></td> <td class="org-left"><a href="#org9ae206a">Building an image for a Single Board Computer or Virtual Machine</a></td>
</tr> </tr>
<tr> <tr>
<td class="org-left"><a href="#org584ec2f">Checklist</a></td> <td class="org-left"><a href="#org31945c3">Checklist</a></td>
</tr> </tr>
<tr> <tr>
@ -268,34 +268,34 @@ for the JavaScript code in this tag.
</tr> </tr>
<tr> <tr>
<td class="org-left"><a href="#orgfab577d">Installation</a></td> <td class="org-left"><a href="#org0f2759f">Installation</a></td>
</tr> </tr>
<tr> <tr>
<td class="org-left"><a href="#orgcb6b854">Social Key Management - the 'Unforgettable Key'</a></td> <td class="org-left"><a href="#orgbdecc1e">Social Key Management - the 'Unforgettable Key'</a></td>
</tr> </tr>
<tr> <tr>
<td class="org-left"><a href="#org8b82a92">Final Setup</a></td> <td class="org-left"><a href="#org75caec3">Final Setup</a></td>
</tr> </tr>
<tr> <tr>
<td class="org-left"><a href="#org9be9bc1">Keydrives</a></td> <td class="org-left"><a href="#org4ec5353">Keydrives</a></td>
</tr> </tr>
<tr> <tr>
<td class="org-left"><a href="#org4bfd97f">On Client Machines</a></td> <td class="org-left"><a href="#org125e66b">On Client Machines</a></td>
</tr> </tr>
<tr> <tr>
<td class="org-left"><a href="#org132bbc7">Administering the system</a></td> <td class="org-left"><a href="#orgf76a31b">Administering the system</a></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<div id="outline-container-org18d6c84" class="outline-2"> <div id="outline-container-org9ae206a" class="outline-2">
<h2 id="org18d6c84">Building an image for a Single Board Computer or Virtual Machine</h2> <h2 id="org9ae206a">Building an image for a Single Board Computer or Virtual Machine</h2>
<div class="outline-text-2" id="text-org18d6c84"> <div class="outline-text-2" id="text-org9ae206a">
<p> <p>
You don't have to trust images downloaded from random internet locations signed with untrusted keys. You can build one from scratch yourself, and this is the recommended procedure for maximum security. For guidance on how to build images see the manpage for the <b>freedombone-image</b> command. You don't have to trust images downloaded from random internet locations signed with untrusted keys. You can build one from scratch yourself, and this is the recommended procedure for maximum security. For guidance on how to build images see the manpage for the <b>freedombone-image</b> command.
</p> </p>
@ -308,6 +308,7 @@ Install the freedombone commands onto your laptop/desktop:
<pre><code class="src src-bash">sudo apt-get install git build-essential dialog <pre><code class="src src-bash">sudo apt-get install git build-essential dialog
git clone https://github.com/bashrc/freedombone git clone https://github.com/bashrc/freedombone
<span class="org-builtin">cd</span> freedombone <span class="org-builtin">cd</span> freedombone
git checkout stretch
sudo make install sudo make install
</code></pre> </code></pre>
</div> </div>
@ -372,9 +373,9 @@ If the image build fails with an error such as "<i>Error reading from server. Re
</div> </div>
</div> </div>
<div id="outline-container-org584ec2f" class="outline-2"> <div id="outline-container-org31945c3" class="outline-2">
<h2 id="org584ec2f">Checklist</h2> <h2 id="org31945c3">Checklist</h2>
<div class="outline-text-2" id="text-org584ec2f"> <div class="outline-text-2" id="text-org31945c3">
<p> <p>
Before installing Freedombone you will need a few things. Before installing Freedombone you will need a few things.
</p> </p>
@ -388,17 +389,17 @@ Before installing Freedombone you will need a few things.
</ul> </ul>
</div> </div>
</div> </div>
<div id="outline-container-orgfab577d" class="outline-2"> <div id="outline-container-org0f2759f" class="outline-2">
<h2 id="orgfab577d">Installation</h2> <h2 id="org0f2759f">Installation</h2>
<div class="outline-text-2" id="text-orgfab577d"> <div class="outline-text-2" id="text-org0f2759f">
<p> <p>
There are three install options: Laptop/Desktop/Netbook, SBC and Virtual Machine. There are three install options: Laptop/Desktop/Netbook, SBC and Virtual Machine.
</p> </p>
</div> </div>
<div id="outline-container-org2d57cc6" class="outline-3"> <div id="outline-container-org7ab5896" class="outline-3">
<h3 id="org2d57cc6">On a Laptop, Netbook or Desktop machine</h3> <h3 id="org7ab5896">On a Laptop, Netbook or Desktop machine</h3>
<div class="outline-text-3" id="text-org2d57cc6"> <div class="outline-text-3" id="text-org7ab5896">
<p> <p>
If you have an existing system, such as an old laptop or netbook which you can leave running as a server, then install a new version of Debian Stretch onto it. During the Debian install you won't need the print server or the desktop environment, and unchecking those will reduce the attack surface. Once Debian enter the following commands: If you have an existing system, such as an old laptop or netbook which you can leave running as a server, then install a new version of Debian Stretch onto it. During the Debian install you won't need the print server or the desktop environment, and unchecking those will reduce the attack surface. Once Debian enter the following commands:
</p> </p>
@ -417,9 +418,9 @@ freedombone menuconfig
</div> </div>
</div> </div>
<div id="outline-container-org7983334" class="outline-3"> <div id="outline-container-org71fafdc" class="outline-3">
<h3 id="org7983334">On a single board computer (SBC)</h3> <h3 id="org71fafdc">On a single board computer (SBC)</h3>
<div class="outline-text-3" id="text-org7983334"> <div class="outline-text-3" id="text-org71fafdc">
<p> <p>
Currently the following boards are supported: Currently the following boards are supported:
</p> </p>
@ -497,9 +498,9 @@ Using the password 'freedombone'. Take a note of the new login password and then
</div> </div>
</div> </div>
<div id="outline-container-org8cdd9ea" class="outline-3"> <div id="outline-container-org49acf4b" class="outline-3">
<h3 id="org8cdd9ea">As a Virtual Machine</h3> <h3 id="org49acf4b">As a Virtual Machine</h3>
<div class="outline-text-3" id="text-org8cdd9ea"> <div class="outline-text-3" id="text-org49acf4b">
<p> <p>
Qemu is currently supported, since it's s fully free software system. You can run a 64 bit Qemu image with: Qemu is currently supported, since it's s fully free software system. You can run a 64 bit Qemu image with:
</p> </p>
@ -516,42 +517,42 @@ The default login will be username 'fbone' and password 'freedombone'. Take a no
</div> </div>
</div> </div>
<div id="outline-container-orgcb6b854" class="outline-2"> <div id="outline-container-orgbdecc1e" class="outline-2">
<h2 id="orgcb6b854">Social Key Management - the 'Unforgettable Key'</h2> <h2 id="orgbdecc1e">Social Key Management - the 'Unforgettable Key'</h2>
<div class="outline-text-2" id="text-orgcb6b854"> <div class="outline-text-2" id="text-orgbdecc1e">
<p> <p>
During the install procedure you will be asked if you wish to import GPG keys. If you don't already possess GPG keys then just select "Ok" and they will be generated during the install. If you do already have GPG keys then there are a few possibilities During the install procedure you will be asked if you wish to import GPG keys. If you don't already possess GPG keys then just select "Ok" and they will be generated during the install. If you do already have GPG keys then there are a few possibilities
</p> </p>
</div> </div>
<div id="outline-container-orgd4bc308" class="outline-3"> <div id="outline-container-orgcf6835e" class="outline-3">
<h3 id="orgd4bc308">You have the gnupg keyring on an encrypted USB drive</h3> <h3 id="orgcf6835e">You have the gnupg keyring on an encrypted USB drive</h3>
<div class="outline-text-3" id="text-orgd4bc308"> <div class="outline-text-3" id="text-orgcf6835e">
<p> <p>
If you previously made a master keydrive containing the full keyring (the .gnupg directory). This is the most straightforward case, but not as secure as splitting the key into fragments. If you previously made a master keydrive containing the full keyring (the .gnupg directory). This is the most straightforward case, but not as secure as splitting the key into fragments.
</p> </p>
</div> </div>
</div> </div>
<div id="outline-container-orgb94d773" class="outline-3"> <div id="outline-container-org954990d" class="outline-3">
<h3 id="orgb94d773">You have a number of key fragments on USB drives retrieved from friends</h3> <h3 id="org954990d">You have a number of key fragments on USB drives retrieved from friends</h3>
<div class="outline-text-3" id="text-orgb94d773"> <div class="outline-text-3" id="text-org954990d">
<p> <p>
If you previously made some USB drives containing key fragments then retrieve them from your friends and plug them in one after the other. After the last drive has been read then remove it and just select "Ok". The system will then try to reconstruct the key. For this to work you will need to have previously made three or more <a href="#org9be9bc1">Keydrives</a>. If you previously made some USB drives containing key fragments then retrieve them from your friends and plug them in one after the other. After the last drive has been read then remove it and just select "Ok". The system will then try to reconstruct the key. For this to work you will need to have previously made three or more <a href="#org4ec5353">Keydrives</a>.
</p> </p>
</div> </div>
</div> </div>
<div id="outline-container-orgb78381f" class="outline-3"> <div id="outline-container-org8493049" class="outline-3">
<h3 id="orgb78381f">You can specify some ssh login details for friends servers containing key fragments</h3> <h3 id="org8493049">You can specify some ssh login details for friends servers containing key fragments</h3>
<div class="outline-text-3" id="text-orgb78381f"> <div class="outline-text-3" id="text-org8493049">
<p> <p>
Enter three or more sets of login details and the installer will try to retrieve key fragments and then assemble them into the full key. This only works if you previously were using remote backups and had social key management enabled. Enter three or more sets of login details and the installer will try to retrieve key fragments and then assemble them into the full key. This only works if you previously were using remote backups and had social key management enabled.
</p> </p>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org8b82a92" class="outline-2"> <div id="outline-container-org75caec3" class="outline-2">
<h2 id="org8b82a92">Final Setup</h2> <h2 id="org75caec3">Final Setup</h2>
<div class="outline-text-2" id="text-org8b82a92"> <div class="outline-text-2" id="text-org75caec3">
<p> <p>
Any manual post-installation setup instructions or passwords can be found in /home/username/README. Any manual post-installation setup instructions or passwords can be found in /home/username/README.
</p> </p>
@ -669,16 +670,16 @@ On your internet router, typically under firewall settings, open the following p
</div> </div>
</div> </div>
<div id="outline-container-org9be9bc1" class="outline-2"> <div id="outline-container-org4ec5353" class="outline-2">
<h2 id="org9be9bc1">Keydrives</h2> <h2 id="org4ec5353">Keydrives</h2>
<div class="outline-text-2" id="text-org9be9bc1"> <div class="outline-text-2" id="text-org4ec5353">
<p> <p>
After installing for the first time it's a good idea to create some keydrives. These will store your gpg key so that if all else fails you will still be able to restore from backup. There are two ways to do this: After installing for the first time it's a good idea to create some keydrives. These will store your gpg key so that if all else fails you will still be able to restore from backup. There are two ways to do this:
</p> </p>
</div> </div>
<div id="outline-container-org9f35c99" class="outline-3"> <div id="outline-container-org8e2343a" class="outline-3">
<h3 id="org9f35c99">Master Keydrive</h3> <h3 id="org8e2343a">Master Keydrive</h3>
<div class="outline-text-3" id="text-org9f35c99"> <div class="outline-text-3" id="text-org8e2343a">
<p> <p>
This is the traditional security model in which you carry your full keyring on an encrypted USB drive. To make a master keydrive first format a USB drive as a LUKS encrypted drive. In Ubuntu this can be <a href="https://help.ubuntu.com/community/EncryptedFilesystemsOnRemovableStorage">done from the <i>Disk Utility</i> application</a>. Then plug it into the Freedombone system, then from your local machine run: This is the traditional security model in which you carry your full keyring on an encrypted USB drive. To make a master keydrive first format a USB drive as a LUKS encrypted drive. In Ubuntu this can be <a href="https://help.ubuntu.com/community/EncryptedFilesystemsOnRemovableStorage">done from the <i>Disk Utility</i> application</a>. Then plug it into the Freedombone system, then from your local machine run:
</p> </p>
@ -693,9 +694,9 @@ Select <i>Administrator controls</i> then <i>Backup and Restore</i> then <i>Back
</p> </p>
</div> </div>
</div> </div>
<div id="outline-container-org17de37d" class="outline-3"> <div id="outline-container-orgd192484" class="outline-3">
<h3 id="org17de37d">Fragment keydrives</h3> <h3 id="orgd192484">Fragment keydrives</h3>
<div class="outline-text-3" id="text-org17de37d"> <div class="outline-text-3" id="text-orgd192484">
<p> <p>
This breaks your GPG key into a number of fragments and randomly selects one to add to the USB drive. First format a USB drive as a LUKS encrypted drive. In Ubuntu this <a href="https://help.ubuntu.com/community/EncryptedFilesystemsOnRemovableStorage">can be done from the <i>Disk Utility</i> application</a>. Plug it into the Freedombone system then from your local machine run the following commands: This breaks your GPG key into a number of fragments and randomly selects one to add to the USB drive. First format a USB drive as a LUKS encrypted drive. In Ubuntu this <a href="https://help.ubuntu.com/community/EncryptedFilesystemsOnRemovableStorage">can be done from the <i>Disk Utility</i> application</a>. Plug it into the Freedombone system then from your local machine run the following commands:
</p> </p>
@ -715,9 +716,9 @@ Fragments are randomly assigned and so you will need at least three or four keyd
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org4bfd97f" class="outline-2"> <div id="outline-container-org125e66b" class="outline-2">
<h2 id="org4bfd97f">On Client Machines</h2> <h2 id="org125e66b">On Client Machines</h2>
<div class="outline-text-2" id="text-org4bfd97f"> <div class="outline-text-2" id="text-org125e66b">
<p> <p>
You can configure laptops or desktop machines which connect to the Freedombone server in the following way. This alters encryption settings to improve overall security. You can configure laptops or desktop machines which connect to the Freedombone server in the following way. This alters encryption settings to improve overall security.
</p> </p>
@ -727,6 +728,7 @@ You can configure laptops or desktop machines which connect to the Freedombone s
sudo apt-get install git dialog haveged build-essential sudo apt-get install git dialog haveged build-essential
git clone https://github.com/bashrc/freedombone git clone https://github.com/bashrc/freedombone
<span class="org-builtin">cd</span> freedombone <span class="org-builtin">cd</span> freedombone
git checkout stretch
sudo make install sudo make install
freedombone-client freedombone-client
</code></pre> </code></pre>
@ -734,9 +736,9 @@ freedombone-client
</div> </div>
</div> </div>
<div id="outline-container-org132bbc7" class="outline-2"> <div id="outline-container-orgf76a31b" class="outline-2">
<h2 id="org132bbc7">Administering the system</h2> <h2 id="orgf76a31b">Administering the system</h2>
<div class="outline-text-2" id="text-org132bbc7"> <div class="outline-text-2" id="text-orgf76a31b">
<p> <p>
To administer the system after installation log in via ssh, become the root user and then launch the control panel. To administer the system after installation log in via ssh, become the root user and then launch the control panel.
</p> </p>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2017-07-03 Mon 12:19 --> <!-- 2017-07-03 Mon 12:29 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title></title> <title></title>
@ -274,13 +274,13 @@ for the JavaScript code in this tag.
</colgroup> </colgroup>
<tbody> <tbody>
<tr> <tr>
<td class="org-left"><a href="#org3515d7b">What the system can do</a></td> <td class="org-left"><a href="#org867db5f">What the system can do</a></td>
<td class="org-left">-</td> <td class="org-left">-</td>
<td class="org-left"><a href="#org2287bf2">Disk Images</a></td> <td class="org-left"><a href="#org4c478bc">Disk Images</a></td>
<td class="org-left">-</td> <td class="org-left">-</td>
<td class="org-left"><a href="#orgbcc8ad6">Building Disk Images</a></td> <td class="org-left"><a href="#orgb4ed686">Building Disk Images</a></td>
<td class="org-left">-</td> <td class="org-left">-</td>
<td class="org-left"><a href="#orge200053">How to use it</a></td> <td class="org-left"><a href="#org8abf4b4">How to use it</a></td>
</tr> </tr>
</tbody> </tbody>
</table> </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. 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> </p>
<div id="outline-container-org3515d7b" class="outline-2"> <div id="outline-container-org867db5f" class="outline-2">
<h2 id="org3515d7b">What the system can do</h2> <h2 id="org867db5f">What the system can do</h2>
<div class="outline-text-2" id="text-org3515d7b"> <div class="outline-text-2" id="text-org867db5f">
<ul class="org-ul"> <ul class="org-ul">
<li>Discovery of other users on the network</li> <li>Discovery of other users on the network</li>
<li>Text based chat, one-to-one and in groups</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> </div>
<div id="outline-container-org2287bf2" class="outline-2"> <div id="outline-container-org4c478bc" class="outline-2">
<h2 id="org2287bf2">Disk Images</h2> <h2 id="org4c478bc">Disk Images</h2>
<div class="outline-text-2" id="text-org2287bf2"> <div class="outline-text-2" id="text-org4c478bc">
</div> </div>
<div id="outline-container-org13936cc" class="outline-3"> <div id="outline-container-org82dfd43" class="outline-3">
<h3 id="org13936cc">Client images</h3> <h3 id="org82dfd43">Client images</h3>
<div class="outline-text-3" id="text-org13936cc"> <div class="outline-text-3" id="text-org82dfd43">
<div class="org-center"> <div class="org-center">
<div class="figure"> <div class="figure">
@ -365,16 +365,16 @@ sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-n
</div> </div>
</div> </div>
<div id="outline-container-org52daaf8" class="outline-3"> <div id="outline-container-org253c747" class="outline-3">
<h3 id="org52daaf8">Router images</h3> <h3 id="org253c747">Router images</h3>
<div class="outline-text-3" id="text-org52daaf8"> <div class="outline-text-3" id="text-org253c747">
<p> <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. 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> </p>
</div> </div>
<div id="outline-container-orgdb1657a" class="outline-4"> <div id="outline-container-orgd06b4b5" class="outline-4">
<h4 id="orgdb1657a">Beaglebone Black</h4> <h4 id="orgd06b4b5">Beaglebone Black</h4>
<div class="outline-text-4" id="text-orgdb1657a"> <div class="outline-text-4" id="text-orgd06b4b5">
<div class="org-center"> <div class="org-center">
<div class="figure"> <div class="figure">
@ -411,9 +411,9 @@ There is still a software freedom issue with the Beaglebone Black, but it doesn'
</div> </div>
</div> </div>
<div id="outline-container-orgbcc8ad6" class="outline-2"> <div id="outline-container-orgb4ed686" class="outline-2">
<h2 id="orgbcc8ad6">Building Disk Images</h2> <h2 id="orgb4ed686">Building Disk Images</h2>
<div class="outline-text-2" id="text-orgbcc8ad6"> <div class="outline-text-2" id="text-orgb4ed686">
<p> <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. 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> </p>
@ -428,15 +428,16 @@ First you will need to create an image. On a Debian based system (tested on Debi
vmdebootstrap xz-utils dosfstools btrfs-tools extlinux <span class="org-sh-escaped-newline">\</span> vmdebootstrap xz-utils dosfstools btrfs-tools extlinux <span class="org-sh-escaped-newline">\</span>
python-distro-info mbr qemu-user-static binfmt-support <span class="org-sh-escaped-newline">\</span> python-distro-info mbr qemu-user-static binfmt-support <span class="org-sh-escaped-newline">\</span>
u-boot-tools qemu u-boot-tools qemu
wget https://freedombone.net/downloads/freedombone-mesh-13-09-2016.tar.gz wget https://freedombone.net/downloads/v3/freedombone-3.tar.gz
wget https://freedombone.net/downloads/freedombone-mesh-13-09-2016.tar.gz.sig wget https://freedombone.net/downloads/freedombone-3.tar.gz.sig
gpg --verify freedombone-mesh-13-09-2016.tar.gz.sig gpg --verify freedombone-3.tar.gz.sig
sha256sum freedombone-mesh-13-09-2016.tar.gz sha256sum freedombone-3.tar.gz
3e279f8ed762afb682bec6bd463830087354dd2f24020f3b0de51143585ab0ed
tar -xzvf freedombone-mesh-13-09-2016.tar.gz tar -xzvf freedombone-3.tar.gz
<span class="org-builtin">cd</span> freedombone <span class="org-builtin">cd</span> freedombone
git checkout stretch git checkout stretch
sudo make install sudo make install
freedombone-image --setup debian
freedombone-image -t i386 -v meshclient freedombone-image -t i386 -v meshclient
</code></pre> </code></pre>
</div> </div>
@ -503,9 +504,9 @@ The resulting image can be copied to a microSD card, inserted into a Beaglebone
</div> </div>
</div> </div>
<div id="outline-container-org2ebd78c" class="outline-2"> <div id="outline-container-org4d4569e" class="outline-2">
<h2 id="org2ebd78c">Customisation</h2> <h2 id="org4d4569e">Customisation</h2>
<div class="outline-text-2" id="text-org2ebd78c"> <div class="outline-text-2" id="text-org4d4569e">
<p> <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. 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> </p>
@ -515,9 +516,9 @@ If you need particular <i>dconf</i> commands to alter desktop appearance or beha
</p> </p>
</div> </div>
</div> </div>
<div id="outline-container-orge200053" class="outline-2"> <div id="outline-container-org8abf4b4" class="outline-2">
<h2 id="orge200053">How to use it</h2> <h2 id="org8abf4b4">How to use it</h2>
<div class="outline-text-2" id="text-orge200053"> <div class="outline-text-2" id="text-org8abf4b4">
<p> <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. 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> </p>
@ -527,9 +528,9 @@ After a minute or two if you are within wifi range and there is at least one oth
</p> </p>
</div> </div>
<div id="outline-container-orgbc2cc03" class="outline-3"> <div id="outline-container-orgb644ccd" class="outline-3">
<h3 id="orgbc2cc03">Set the Date</h3> <h3 id="orgb644ccd">Set the Date</h3>
<div class="outline-text-3" id="text-orgbc2cc03"> <div class="outline-text-3" id="text-orgb644ccd">
<p> <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. 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> </p>
@ -539,9 +540,9 @@ On the ordinary internet the date and time of your system would be set automatic
</p> </p>
</div> </div>
</div> </div>
<div id="outline-container-org0d7deee" class="outline-3"> <div id="outline-container-org869e4ee" class="outline-3">
<h3 id="org0d7deee">Check network status</h3> <h3 id="org869e4ee">Check network status</h3>
<div class="outline-text-3" id="text-org0d7deee"> <div class="outline-text-3" id="text-org869e4ee">
<p> <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. 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> </p>
@ -565,9 +566,9 @@ When you are finished close the window and then select the <i>Network Restart</i
</div> </div>
</div> </div>
<div id="outline-container-orgf65770e" class="outline-3"> <div id="outline-container-org75782ab" class="outline-3">
<h3 id="orgf65770e">Chat System</h3> <h3 id="org75782ab">Chat System</h3>
<div class="outline-text-3" id="text-orgf65770e"> <div class="outline-text-3" id="text-org75782ab">
<p> <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. 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> </p>
@ -626,9 +627,9 @@ At present video doesn't work reliably, but text and voice chat do work well.
</div> </div>
</div> </div>
<div id="outline-container-org9b1471c" class="outline-3"> <div id="outline-container-org549c50c" class="outline-3">
<h3 id="org9b1471c">Sharing Files</h3> <h3 id="org549c50c">Sharing Files</h3>
<div class="outline-text-3" id="text-org9b1471c"> <div class="outline-text-3" id="text-org549c50c">
<p> <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. 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> </p>
@ -643,9 +644,9 @@ You can make files publicly available on the network simply by dragging and drop
</div> </div>
</div> </div>
<div id="outline-container-org0508f80" class="outline-3"> <div id="outline-container-org56b94ab" class="outline-3">
<h3 id="org0508f80">Blogging</h3> <h3 id="org56b94ab">Blogging</h3>
<div class="outline-text-3" id="text-org0508f80"> <div class="outline-text-3" id="text-org56b94ab">
<p> <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. 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> </p>