mesh link

This commit is contained in:
Bob Mottram 2015-12-18 22:54:03 +00:00
parent e96b2adf42
commit 360c2a5f30
2 changed files with 50 additions and 60 deletions

View File

@ -18,7 +18,7 @@
| [[Building an image for a Single Board Computer or Virtual Machine]] |
| [[Checklist]] |
| [[Mesh network]] |
| [[./mesh.html][Mesh network]] |
| [[Installation]] |
| [[Social Key Management - the 'Unforgettable Key']] |
| [[Final Setup]] |
@ -80,8 +80,6 @@ Before installing Freedombone you will need a few things.
* Ethernet connection between the system and your internet router
* That it is possible to forward ports from the internet router to the system, typically via firewall settings
* Have ssh access to the system, typically via fbone@freedombone.local on port 2222
* Mesh network
If you are installing one of the mesh network variants then see [[./mesh.html][these instructions]] for details.
* Installation
There are three install options: Laptop/Desktop/Netbook, SBC and Virtual Machine.

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>
<!-- 2015-12-18 Fri 22:18 -->
<!-- 2015-12-18 Fri 22:53 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title></title>
@ -176,31 +176,31 @@ for the JavaScript code in this tag.
</tr>
<tr>
<td class="org-left"><a href="#orgheadline3">Mesh network</a></td>
<td class="org-left"><a href="./mesh.html">Mesh network</a></td>
</tr>
<tr>
<td class="org-left"><a href="#orgheadline4">Installation</a></td>
<td class="org-left"><a href="#orgheadline3">Installation</a></td>
</tr>
<tr>
<td class="org-left"><a href="#orgheadline5">Social Key Management - the 'Unforgettable Key'</a></td>
<td class="org-left"><a href="#orgheadline4">Social Key Management - the 'Unforgettable Key'</a></td>
</tr>
<tr>
<td class="org-left"><a href="#orgheadline6">Final Setup</a></td>
<td class="org-left"><a href="#orgheadline5">Final Setup</a></td>
</tr>
<tr>
<td class="org-left"><a href="#orgheadline7">Keydrives</a></td>
<td class="org-left"><a href="#orgheadline6">Keydrives</a></td>
</tr>
<tr>
<td class="org-left"><a href="#orgheadline8">On Client Machines</a></td>
<td class="org-left"><a href="#orgheadline7">On Client Machines</a></td>
</tr>
<tr>
<td class="org-left"><a href="#orgheadline9">Administering the system</a></td>
<td class="org-left"><a href="#orgheadline8">Administering the system</a></td>
</tr>
</tbody>
</table>
@ -300,24 +300,16 @@ Before installing Freedombone you will need a few things.
</div>
</div>
<div id="outline-container-orgheadline3" class="outline-2">
<h2 id="orgheadline3">Mesh network</h2>
<h2 id="orgheadline3">Installation</h2>
<div class="outline-text-2" id="text-orgheadline3">
<p>
If you are installing one of the mesh network variants then see <a href="./mesh.html">these instructions</a> for details.
</p>
</div>
</div>
<div id="outline-container-orgheadline4" class="outline-2">
<h2 id="orgheadline4">Installation</h2>
<div class="outline-text-2" id="text-orgheadline4">
<p>
There are three install options: Laptop/Desktop/Netbook, SBC and Virtual Machine.
</p>
</div>
<div id="outline-container-orgheadline10" class="outline-3">
<h3 id="orgheadline10">On a Laptop, Netbook or Desktop machine</h3>
<div class="outline-text-3" id="text-orgheadline10">
<div id="outline-container-orgheadline9" class="outline-3">
<h3 id="orgheadline9">On a Laptop, Netbook or Desktop machine</h3>
<div class="outline-text-3" id="text-orgheadline9">
<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 Jessie 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>
@ -336,9 +328,9 @@ freedombone menuconfig
</div>
</div>
<div id="outline-container-orgheadline11" class="outline-3">
<h3 id="orgheadline11">On a single board computer (SBC)</h3>
<div class="outline-text-3" id="text-orgheadline11">
<div id="outline-container-orgheadline10" class="outline-3">
<h3 id="orgheadline10">On a single board computer (SBC)</h3>
<div class="outline-text-3" id="text-orgheadline10">
<p>
Currently the following boards are supported:
</p>
@ -420,9 +412,9 @@ Using the password 'freedombone'. Take a note of the new login password and then
</div>
</div>
<div id="outline-container-orgheadline12" class="outline-3">
<h3 id="orgheadline12">As a Virtual Machine</h3>
<div class="outline-text-3" id="text-orgheadline12">
<div id="outline-container-orgheadline11" class="outline-3">
<h3 id="orgheadline11">As a Virtual Machine</h3>
<div class="outline-text-3" id="text-orgheadline11">
<p>
Virtualbox and Qemu are supported. You can run a 64 bit Qemu image with:
</p>
@ -444,42 +436,42 @@ The default login will be username 'fbone' and password 'freedombone'. Take a no
</div>
</div>
<div id="outline-container-orgheadline5" class="outline-2">
<h2 id="orgheadline5">Social Key Management - the 'Unforgettable Key'</h2>
<div class="outline-text-2" id="text-orgheadline5">
<div id="outline-container-orgheadline4" class="outline-2">
<h2 id="orgheadline4">Social Key Management - the 'Unforgettable Key'</h2>
<div class="outline-text-2" id="text-orgheadline4">
<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
</p>
</div>
<div id="outline-container-orgheadline13" class="outline-3">
<h3 id="orgheadline13">You have the gnupg keyring on an encrypted USB drive</h3>
<div class="outline-text-3" id="text-orgheadline13">
<div id="outline-container-orgheadline12" class="outline-3">
<h3 id="orgheadline12">You have the gnupg keyring on an encrypted USB drive</h3>
<div class="outline-text-3" id="text-orgheadline12">
<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.
</p>
</div>
</div>
<div id="outline-container-orgheadline14" class="outline-3">
<h3 id="orgheadline14">You have a number of key fragments on USB drives retrieved from friends</h3>
<div class="outline-text-3" id="text-orgheadline14">
<div id="outline-container-orgheadline13" class="outline-3">
<h3 id="orgheadline13">You have a number of key fragments on USB drives retrieved from friends</h3>
<div class="outline-text-3" id="text-orgheadline13">
<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="#orgheadline7">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="#orgheadline6">Keydrives</a>.
</p>
</div>
</div>
<div id="outline-container-orgheadline15" class="outline-3">
<h3 id="orgheadline15">You can specify some ssh login details for friends servers containing key fragments</h3>
<div class="outline-text-3" id="text-orgheadline15">
<div id="outline-container-orgheadline14" class="outline-3">
<h3 id="orgheadline14">You can specify some ssh login details for friends servers containing key fragments</h3>
<div class="outline-text-3" id="text-orgheadline14">
<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.
</p>
</div>
</div>
</div>
<div id="outline-container-orgheadline6" class="outline-2">
<h2 id="orgheadline6">Final Setup</h2>
<div class="outline-text-2" id="text-orgheadline6">
<div id="outline-container-orgheadline5" class="outline-2">
<h2 id="orgheadline5">Final Setup</h2>
<div class="outline-text-2" id="text-orgheadline5">
<p>
Any manual post-installation setup instructions or passwords can be found in /home/username/README. You should remove any passwords from that file and store them within a password manager such as KeepassX.
</p>
@ -602,16 +594,16 @@ On your internet router, typically under firewall settings, open the following p
</div>
</div>
<div id="outline-container-orgheadline7" class="outline-2">
<h2 id="orgheadline7">Keydrives</h2>
<div class="outline-text-2" id="text-orgheadline7">
<div id="outline-container-orgheadline6" class="outline-2">
<h2 id="orgheadline6">Keydrives</h2>
<div class="outline-text-2" id="text-orgheadline6">
<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:
</p>
</div>
<div id="outline-container-orgheadline16" class="outline-3">
<h3 id="orgheadline16">Master Keydrive</h3>
<div class="outline-text-3" id="text-orgheadline16">
<div id="outline-container-orgheadline15" class="outline-3">
<h3 id="orgheadline15">Master Keydrive</h3>
<div class="outline-text-3" id="text-orgheadline15">
<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:
</p>
@ -628,9 +620,9 @@ Select <i>Backup and Restore</i> then <i>Backup GPG key to USB (master keydrive)
</p>
</div>
</div>
<div id="outline-container-orgheadline17" class="outline-3">
<h3 id="orgheadline17">Fragment keydrives</h3>
<div class="outline-text-3" id="text-orgheadline17">
<div id="outline-container-orgheadline16" class="outline-3">
<h3 id="orgheadline16">Fragment keydrives</h3>
<div class="outline-text-3" id="text-orgheadline16">
<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:
</p>
@ -652,9 +644,9 @@ Fragments are randomly assigned and so you will need at least three or four keyd
</div>
</div>
</div>
<div id="outline-container-orgheadline8" class="outline-2">
<h2 id="orgheadline8">On Client Machines</h2>
<div class="outline-text-2" id="text-orgheadline8">
<div id="outline-container-orgheadline7" class="outline-2">
<h2 id="orgheadline7">On Client Machines</h2>
<div class="outline-text-2" id="text-orgheadline7">
<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.
</p>
@ -672,9 +664,9 @@ freedombone-client
</div>
</div>
<div id="outline-container-orgheadline9" class="outline-2">
<h2 id="orgheadline9">Administering the system</h2>
<div class="outline-text-2" id="text-orgheadline9">
<div id="outline-container-orgheadline8" class="outline-2">
<h2 id="orgheadline8">Administering the system</h2>
<div class="outline-text-2" id="text-orgheadline8">
<p>
To administer the system after installation log in via ssh, become the root user and then launch the control panel.
</p>