Extra sync

This commit is contained in:
Bob Mottram 2018-05-10 11:49:54 +01:00
parent fac5859a3b
commit 334f6aff94
14 changed files with 142 additions and 142 deletions

View File

@ -23,7 +23,7 @@ If you have a single board ARM computer which isn't one of the supported ones th
Download the Armbian image for your board. It must be version 9 (Stretch), otherwise it won't work. Extract the image from its archive, then copy it to a microSD card:
#+begin_src bash
sudo dd bs=32M if=[Armbian .img file] of=/dev/sdX conv=fdatasync,noerror
sudo dd bs=32M if=[Armbian .img file] of=/dev/sdX conv=fdatasync,sync,noerror
#+end_src
Where */dev/sdX* is the path for the microSD drive on your system.

View File

@ -70,7 +70,7 @@ You can now copy the image to the USB thumb drive, replacing *sdX* with the iden
#+begin_src bash
dd if=/dev/zero of=/dev/sdX bs=32M count=8
dd bs=32M if=myimagefile.img of=/dev/sdX conv=fdatasync,noerror
dd bs=32M if=myimagefile.img of=/dev/sdX conv=fdatasync,sync,noerror
#+end_src
And wait. Again it will take a while to copy over. When that's done plug it into the laptop or netbook which you want to use as a server, power on and set the BIOS to boot from the USB stick.

View File

@ -129,7 +129,7 @@ unxz filename.img.xz
Then copy it to a microSD card. Depending on your system you may need an adaptor to be able to do that.
#+BEGIN_SRC bash
sudo dd bs=32M if=filename.img of=/dev/sdX conv=fdatasync,noerror
sudo dd bs=32M if=filename.img of=/dev/sdX conv=fdatasync,sync,noerror
#+END_SRC
Where *sdX* is the microSD drive. You can check which drive is the microSD drive using:

View File

@ -42,7 +42,7 @@ wget https://freedombone.net/downloads/v31/freedombone-meshclient-i386.img.xz.si
gpg --verify freedombone-meshclient-i386.img.xz.sig
unxz freedombone-meshclient-i386.img.xz
sudo dd if=/dev/zero of=/dev/sdX bs=32M count=8
sudo dd bs=32M if=freedombone-meshclient-i386.img of=/dev/sdX conv=fdatasync,noerror
sudo dd bs=32M if=freedombone-meshclient-i386.img of=/dev/sdX conv=fdatasync,sync,noerror
#+end_src
To get a number of systems onto the mesh repeat the /dd/ command to create however many bootable USB drives you need.
@ -56,7 +56,7 @@ wget https://freedombone.net/downloads/v31/freedombone-meshclient-insecure-i386.
gpg --verify freedombone-meshclient-insecure-i386.img.xz.sig
unxz freedombone-meshclient-insecure-i386.img.xz
sudo dd if=/dev/zero of=/dev/sdX bs=32M count=8
sudo dd bs=32M if=freedombone-meshclient-insecure-i386.img of=/dev/sdX conv=fdatasync,noerror
sudo dd bs=32M if=freedombone-meshclient-insecure-i386.img of=/dev/sdX conv=fdatasync,sync,noerror
#+end_src
** Router images
@ -75,7 +75,7 @@ gpg --verify freedombone-mesh_beaglebone-armhf.img.xz.sig
sha256sum freedombone-mesh_beaglebone-armhf.img.xz
ad8f22c0d46c98a80aa47b5809402971cf5cf26ebf587c59a667307b2386c3d2
unxz freedombone-mesh_beaglebone-armhf.img.xz
sudo dd bs=32M if=freedombone-mesh_beaglebone-armhf.img of=/dev/sdX conv=fdatasync,noerror
sudo dd bs=32M if=freedombone-mesh_beaglebone-armhf.img of=/dev/sdX conv=fdatasync,sync,noerror
#+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.
@ -120,7 +120,7 @@ You can now copy the image to the USB thumb drive, replacing *sdX* with the iden
#+begin_src bash
sudo dd if=/dev/zero of=/dev/sdX bs=32M count=8
sudo dd bs=32M if=myimagefile.img of=/dev/sdX conv=fdatasync,noerror
sudo dd bs=32M if=myimagefile.img of=/dev/sdX conv=fdatasync,sync,noerror
#+end_src
And wait. Again it will take a while to copy over. When that's done plug it into the laptop or netbook which you want to use on the mesh, power on and set the BIOS to boot from the USB stick.

View File

@ -31,7 +31,7 @@ Copy the image to a microSD card or USB thumb drive, replacing sdX with the iden
#+BEGIN_SRC bash
unxz downloadedimagefile.img.xz
dd bs=32M if=downloadedimagefile.img of=/dev/sdX conv=fdatasync,noerror
dd bs=32M if=downloadedimagefile.img of=/dev/sdX conv=fdatasync,sync,noerror
#+END_SRC
And wait. It will take a while to copy over. When that's done you might want to increase the partition size on the drive, using a tool such as [[http://gparted.org][Gparted]]. Whether you need to do that will depend upon how many apps you intend to install and how much data they will store.

View File

@ -39,7 +39,7 @@ Copy the image to a microSD card or USB thumb drive, replacing sdX with the iden
#+BEGIN_SRC bash
unxz downloadedimagefile.img.xz
dd bs=32M if=downloadedimagefile.img of=/dev/sdX conv=fdatasync,noerror
dd bs=32M if=downloadedimagefile.img of=/dev/sdX conv=fdatasync,sync,noerror
#+END_SRC
And wait. It will take a while to copy over. When that's done you might want to increase the partition size on the drive, using a tool such as [[http://gparted.org][Gparted]]. Whether you need to do that will depend upon how many apps you intend to install and how much data they will store.

View File

@ -32,7 +32,7 @@ wget https://freedombone.net/downloads/v31/freedombone-pleroma-amd64.img.xz.sig
gpg --verify freedombone-pleroma-amd64.img.xz.sig
unxz freedombone-pleroma-amd64.img.xz
sudo dd if=/dev/zero of=/dev/sdX bs=32M count=8
sudo dd bs=32M if=freedombone-pleroma-amd64.img of=/dev/sdX conv=fdatasync,noerror
sudo dd bs=32M if=freedombone-pleroma-amd64.img of=/dev/sdX conv=fdatasync,sync,noerror
#+end_src
Also note that if the laptop has a removable SSD drive it's possible to copy the image directly to that if you have enough equipment.

View File

@ -719,7 +719,7 @@ if [[ $IMAGE_TYPE != "qemu"* ]]; then
echo ''
echo " unxz -k ${PROJECT_NAME}*.img.xz"
echo ' sudo dd if=/dev/zero of=/dev/sdX bs=32M count=8'
echo " sudo dd bs=32M if=${PROJECT_NAME}*.img of=/dev/sdX conv=fdatasync,noerror"
echo " sudo dd bs=32M if=${PROJECT_NAME}*.img of=/dev/sdX conv=fdatasync,sync,noerror"
echo ''
fi

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>
<!-- 2018-05-10 Thu 11:40 -->
<!-- 2018-05-10 Thu 11:47 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>&lrm;</title>
@ -260,7 +260,7 @@ Download the Armbian image for your board. It must be version 9 (Stretch), other
</p>
<div class="org-src-container">
<pre class="src src-bash">sudo dd <span class="org-variable-name">bs</span>=32M <span class="org-variable-name">if</span>=[Armbian .img file] <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync,noerror
<pre class="src src-bash">sudo dd <span class="org-variable-name">bs</span>=32M <span class="org-variable-name">if</span>=[Armbian .img file] <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync,sync,noerror
</pre>
</div>

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>
<!-- 2018-05-10 Thu 11:41 -->
<!-- 2018-05-10 Thu 11:47 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>&lrm;</title>
@ -243,9 +243,9 @@ for the JavaScript code in this tag.
</div>
<div id="outline-container-orgae7f865" class="outline-2">
<h2 id="orgae7f865">Home Server</h2>
<div class="outline-text-2" id="text-orgae7f865">
<div id="outline-container-orgddbcade" class="outline-2">
<h2 id="orgddbcade">Home Server</h2>
<div class="outline-text-2" id="text-orgddbcade">
<p>
The quickest way to get started is as follows. You will need to be running a Debian based system (version 8 or later), have an old but still working laptop or netbook which you can use as a server, and 8GB or larger USB thumb drive and an ethernet cable to connect the laptop to your internet router.
</p>
@ -336,7 +336,7 @@ You can now copy the image to the USB thumb drive, replacing <b>sdX</b> with the
<div class="org-src-container">
<pre class="src src-bash">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>=32M <span class="org-variable-name">count</span>=8
dd <span class="org-variable-name">bs</span>=32M <span class="org-variable-name">if</span>=myimagefile.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync,noerror
dd <span class="org-variable-name">bs</span>=32M <span class="org-variable-name">if</span>=myimagefile.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync,sync,noerror
</pre>
</div>

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>
<!-- 2018-05-10 Thu 11:41 -->
<!-- 2018-05-10 Thu 11:48 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>&lrm;</title>
@ -242,9 +242,9 @@ for the JavaScript code in this tag.
</p>
</div>
<div id="outline-container-org0efb25a" class="outline-2">
<h2 id="org0efb25a">Installation</h2>
<div class="outline-text-2" id="text-org0efb25a">
<div id="outline-container-org0b64622" class="outline-2">
<h2 id="org0b64622">Installation</h2>
<div class="outline-text-2" id="text-org0b64622">
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
@ -253,11 +253,11 @@ for the JavaScript code in this tag.
</colgroup>
<tbody>
<tr>
<td class="org-left"><a href="#org2cd3e1a">Building an image for a Single Board Computer or Virtual Machine</a></td>
<td class="org-left"><a href="#org25d1365">Building an image for a Single Board Computer or Virtual Machine</a></td>
</tr>
<tr>
<td class="org-left"><a href="#org5d4ef71">Checklist</a></td>
<td class="org-left"><a href="#org6e8f4d2">Checklist</a></td>
</tr>
<tr>
@ -265,36 +265,36 @@ for the JavaScript code in this tag.
</tr>
<tr>
<td class="org-left"><a href="#org0efb25a">Installation</a></td>
<td class="org-left"><a href="#org0b64622">Installation</a></td>
</tr>
<tr>
<td class="org-left"><a href="#orgc0e0af3">Social Key Management - the 'Unforgettable Key'</a></td>
<td class="org-left"><a href="#org000b565">Social Key Management - the 'Unforgettable Key'</a></td>
</tr>
<tr>
<td class="org-left"><a href="#org4972be7">Final Setup</a></td>
<td class="org-left"><a href="#orgc5a4a1b">Final Setup</a></td>
</tr>
<tr>
<td class="org-left"><a href="#org4d05e8a">Keydrives</a></td>
<td class="org-left"><a href="#org39a9487">Keydrives</a></td>
</tr>
<tr>
<td class="org-left"><a href="#org98d9c42">On Client Machines</a></td>
<td class="org-left"><a href="#orgfe68233">On Client Machines</a></td>
</tr>
<tr>
<td class="org-left"><a href="#orga8b9ab1">Administering the system</a></td>
<td class="org-left"><a href="#org00cf2bc">Administering the system</a></td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="outline-container-org2cd3e1a" class="outline-2">
<h2 id="org2cd3e1a">Building an image for a Single Board Computer or Virtual Machine</h2>
<div class="outline-text-2" id="text-org2cd3e1a">
<div id="outline-container-org25d1365" class="outline-2">
<h2 id="org25d1365">Building an image for a Single Board Computer or Virtual Machine</h2>
<div class="outline-text-2" id="text-org25d1365">
<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.
</p>
@ -372,9 +372,9 @@ If the image build fails with an error such as "<i>Error reading from server. Re
</div>
</div>
<div id="outline-container-org5d4ef71" class="outline-2">
<h2 id="org5d4ef71">Checklist</h2>
<div class="outline-text-2" id="text-org5d4ef71">
<div id="outline-container-org6e8f4d2" class="outline-2">
<h2 id="org6e8f4d2">Checklist</h2>
<div class="outline-text-2" id="text-org6e8f4d2">
<p>
Before installing Freedombone you will need a few things.
</p>
@ -388,17 +388,17 @@ Before installing Freedombone you will need a few things.
</ul>
</div>
</div>
<div id="outline-container-org648a2ec" class="outline-2">
<h2 id="org648a2ec">Installation</h2>
<div class="outline-text-2" id="text-org648a2ec">
<div id="outline-container-org9c73f16" class="outline-2">
<h2 id="org9c73f16">Installation</h2>
<div class="outline-text-2" id="text-org9c73f16">
<p>
There are three install options: Laptop/Desktop/Netbook, SBC and Virtual Machine.
</p>
</div>
<div id="outline-container-orgeabe1ff" class="outline-3">
<h3 id="orgeabe1ff">On a Laptop, Netbook or Desktop machine</h3>
<div class="outline-text-3" id="text-orgeabe1ff">
<div id="outline-container-org94f9c89" class="outline-3">
<h3 id="org94f9c89">On a Laptop, Netbook or Desktop machine</h3>
<div class="outline-text-3" id="text-org94f9c89">
<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:
</p>
@ -417,9 +417,9 @@ freedombone menuconfig
</div>
</div>
<div id="outline-container-org2277749" class="outline-3">
<h3 id="org2277749">On a single board computer (SBC)</h3>
<div class="outline-text-3" id="text-org2277749">
<div id="outline-container-org9b005d5" class="outline-3">
<h3 id="org9b005d5">On a single board computer (SBC)</h3>
<div class="outline-text-3" id="text-org9b005d5">
<p>
Currently the following boards are supported:
</p>
@ -466,7 +466,7 @@ Then copy it to a microSD card. Depending on your system you may need an adaptor
</p>
<div class="org-src-container">
<pre class="src src-bash">sudo dd <span class="org-variable-name">bs</span>=32M <span class="org-variable-name">if</span>=filename.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync,noerror
<pre class="src src-bash">sudo dd <span class="org-variable-name">bs</span>=32M <span class="org-variable-name">if</span>=filename.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync,sync,noerror
</pre>
</div>
@ -498,9 +498,9 @@ Using the password 'freedombone'. Take a note of the new login password and then
</div>
</div>
<div id="outline-container-orgef276e5" class="outline-3">
<h3 id="orgef276e5">As a Virtual Machine</h3>
<div class="outline-text-3" id="text-orgef276e5">
<div id="outline-container-orgc53af7b" class="outline-3">
<h3 id="orgc53af7b">As a Virtual Machine</h3>
<div class="outline-text-3" id="text-orgc53af7b">
<p>
Qemu is currently supported, since it's s fully free software system. You can run a 64 bit Qemu image with:
</p>
@ -517,42 +517,42 @@ The default login will be username 'fbone' and password 'freedombone'. Take a no
</div>
</div>
<div id="outline-container-orgc0e0af3" class="outline-2">
<h2 id="orgc0e0af3">Social Key Management - the 'Unforgettable Key'</h2>
<div class="outline-text-2" id="text-orgc0e0af3">
<div id="outline-container-org000b565" class="outline-2">
<h2 id="org000b565">Social Key Management - the 'Unforgettable Key'</h2>
<div class="outline-text-2" id="text-org000b565">
<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-orgff8e6b8" class="outline-3">
<h3 id="orgff8e6b8">You have the gnupg keyring on an encrypted USB drive</h3>
<div class="outline-text-3" id="text-orgff8e6b8">
<div id="outline-container-org3dd5e36" class="outline-3">
<h3 id="org3dd5e36">You have the gnupg keyring on an encrypted USB drive</h3>
<div class="outline-text-3" id="text-org3dd5e36">
<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-orgbc0b5a6" class="outline-3">
<h3 id="orgbc0b5a6">You have a number of key fragments on USB drives retrieved from friends</h3>
<div class="outline-text-3" id="text-orgbc0b5a6">
<div id="outline-container-orga01493d" class="outline-3">
<h3 id="orga01493d">You have a number of key fragments on USB drives retrieved from friends</h3>
<div class="outline-text-3" id="text-orga01493d">
<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="#org4d05e8a">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="#org39a9487">Keydrives</a>.
</p>
</div>
</div>
<div id="outline-container-org9e2a636" class="outline-3">
<h3 id="org9e2a636">You can specify some ssh login details for friends servers containing key fragments</h3>
<div class="outline-text-3" id="text-org9e2a636">
<div id="outline-container-org7fee2fd" class="outline-3">
<h3 id="org7fee2fd">You can specify some ssh login details for friends servers containing key fragments</h3>
<div class="outline-text-3" id="text-org7fee2fd">
<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-org4972be7" class="outline-2">
<h2 id="org4972be7">Final Setup</h2>
<div class="outline-text-2" id="text-org4972be7">
<div id="outline-container-orgc5a4a1b" class="outline-2">
<h2 id="orgc5a4a1b">Final Setup</h2>
<div class="outline-text-2" id="text-orgc5a4a1b">
<p>
Any manual post-installation setup instructions or passwords can be found in /home/username/README.
</p>
@ -670,16 +670,16 @@ On your internet router, typically under firewall settings, open the following p
</div>
</div>
<div id="outline-container-org4d05e8a" class="outline-2">
<h2 id="org4d05e8a">Keydrives</h2>
<div class="outline-text-2" id="text-org4d05e8a">
<div id="outline-container-org39a9487" class="outline-2">
<h2 id="org39a9487">Keydrives</h2>
<div class="outline-text-2" id="text-org39a9487">
<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-orgb0f3640" class="outline-3">
<h3 id="orgb0f3640">Master Keydrive</h3>
<div class="outline-text-3" id="text-orgb0f3640">
<div id="outline-container-org9168e0e" class="outline-3">
<h3 id="org9168e0e">Master Keydrive</h3>
<div class="outline-text-3" id="text-org9168e0e">
<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>
@ -694,9 +694,9 @@ Select <i>Administrator controls</i> then <i>Backup and Restore</i> then <i>Back
</p>
</div>
</div>
<div id="outline-container-orgf3d73dc" class="outline-3">
<h3 id="orgf3d73dc">Fragment keydrives</h3>
<div class="outline-text-3" id="text-orgf3d73dc">
<div id="outline-container-org6b684d8" class="outline-3">
<h3 id="org6b684d8">Fragment keydrives</h3>
<div class="outline-text-3" id="text-org6b684d8">
<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>
@ -716,9 +716,9 @@ Fragments are randomly assigned and so you will need at least three or four keyd
</div>
</div>
</div>
<div id="outline-container-org98d9c42" class="outline-2">
<h2 id="org98d9c42">On Client Machines</h2>
<div class="outline-text-2" id="text-org98d9c42">
<div id="outline-container-orgfe68233" class="outline-2">
<h2 id="orgfe68233">On Client Machines</h2>
<div class="outline-text-2" id="text-orgfe68233">
<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>
@ -736,9 +736,9 @@ freedombone-client
</div>
</div>
<div id="outline-container-orga8b9ab1" class="outline-2">
<h2 id="orga8b9ab1">Administering the system</h2>
<div class="outline-text-2" id="text-orga8b9ab1">
<div id="outline-container-org00cf2bc" class="outline-2">
<h2 id="org00cf2bc">Administering the system</h2>
<div class="outline-text-2" id="text-org00cf2bc">
<p>
To administer the system after installation log in via ssh, become the root user and then launch the control panel.
</p>

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>
<!-- 2018-05-10 Thu 11:42 -->
<!-- 2018-05-10 Thu 11:48 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>&lrm;</title>
@ -242,17 +242,17 @@ for the JavaScript code in this tag.
</p>
</div>
<div id="outline-container-org88941bb" class="outline-2">
<h2 id="org88941bb">Mesh Network: Images</h2>
<div id="outline-container-org4a6d63d" class="outline-2">
<h2 id="org4a6d63d">Mesh Network: Images</h2>
</div>
<div id="outline-container-org34ed0e9" class="outline-2">
<h2 id="org34ed0e9">Pre-built Disk Images</h2>
<div class="outline-text-2" id="text-org34ed0e9">
<div id="outline-container-org0b5ce82" class="outline-2">
<h2 id="org0b5ce82">Pre-built Disk Images</h2>
<div class="outline-text-2" id="text-org0b5ce82">
</div>
<div id="outline-container-orga324d59" class="outline-3">
<h3 id="orga324d59">Writing many images quickly</h3>
<div class="outline-text-3" id="text-orga324d59">
<div id="outline-container-org3c967ad" class="outline-3">
<h3 id="org3c967ad">Writing many images quickly</h3>
<div class="outline-text-3" id="text-org3c967ad">
<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>
@ -280,9 +280,9 @@ The MultiWriter tool is also available within mesh client images, so that you ca
</p>
</div>
</div>
<div id="outline-container-org9b92baa" class="outline-3">
<h3 id="org9b92baa">Client images</h3>
<div class="outline-text-3" id="text-org9b92baa">
<div id="outline-container-orge9f8bf4" class="outline-3">
<h3 id="orge9f8bf4">Client images</h3>
<div class="outline-text-3" id="text-orge9f8bf4">
<div class="figure">
<p><img src="images/mesh_netbook.jpg" alt="mesh_netbook.jpg" width="100%" align="center" />
@ -300,7 +300,7 @@ wget https://freedombone.net/downloads/v31/freedombone-meshclient-i386.img.xz.si
gpg --verify freedombone-meshclient-i386.img.xz.sig
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>=32M <span class="org-variable-name">count</span>=8
sudo dd <span class="org-variable-name">bs</span>=32M <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,noerror
sudo dd <span class="org-variable-name">bs</span>=32M <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,sync,noerror
</pre>
</div>
@ -319,22 +319,22 @@ wget https://freedombone.net/downloads/v31/freedombone-meshclient-insecure-i386.
gpg --verify freedombone-meshclient-insecure-i386.img.xz.sig
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>=32M <span class="org-variable-name">count</span>=8
sudo dd <span class="org-variable-name">bs</span>=32M <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,noerror
sudo dd <span class="org-variable-name">bs</span>=32M <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,sync,noerror
</pre>
</div>
</div>
</div>
<div id="outline-container-org792d65a" class="outline-3">
<h3 id="org792d65a">Router images</h3>
<div class="outline-text-3" id="text-org792d65a">
<div id="outline-container-org82896b1" class="outline-3">
<h3 id="org82896b1">Router images</h3>
<div class="outline-text-3" id="text-org82896b1">
<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-orgf97e65d" class="outline-4">
<h4 id="orgf97e65d">Beaglebone Black</h4>
<div class="outline-text-4" id="text-orgf97e65d">
<div id="outline-container-org874f9bb" class="outline-4">
<h4 id="org874f9bb">Beaglebone Black</h4>
<div class="outline-text-4" id="text-org874f9bb">
<div class="figure">
<p><img src="images/mesh_router.jpg" alt="mesh_router.jpg" width="50%" align="center" />
@ -353,7 +353,7 @@ gpg --verify freedombone-mesh_beaglebone-armhf.img.xz.sig
sha256sum freedombone-mesh_beaglebone-armhf.img.xz
ad8f22c0d46c98a80aa47b5809402971cf5cf26ebf587c59a667307b2386c3d2
unxz freedombone-mesh_beaglebone-armhf.img.xz
sudo dd <span class="org-variable-name">bs</span>=32M <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,noerror
sudo dd <span class="org-variable-name">bs</span>=32M <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,sync,noerror
</pre>
</div>
@ -369,9 +369,9 @@ There is still a software freedom issue with the Beaglebone Black, but it doesn'
</div>
</div>
<div id="outline-container-org6e61f7f" class="outline-2">
<h2 id="org6e61f7f">Building Disk Images</h2>
<div class="outline-text-2" id="text-org6e61f7f">
<div id="outline-container-orgda68996" class="outline-2">
<h2 id="orgda68996">Building Disk Images</h2>
<div class="outline-text-2" id="text-orgda68996">
<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>
@ -426,7 +426,7 @@ You can now copy the image to the USB thumb drive, replacing <b>sdX</b> with the
<div class="org-src-container">
<pre class="src src-bash">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>=32M <span class="org-variable-name">count</span>=8
sudo dd <span class="org-variable-name">bs</span>=32M <span class="org-variable-name">if</span>=myimagefile.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync,noerror
sudo dd <span class="org-variable-name">bs</span>=32M <span class="org-variable-name">if</span>=myimagefile.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync,sync,noerror
</pre>
</div>

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>
<!-- 2018-05-10 Thu 11:42 -->
<!-- 2018-05-10 Thu 11:49 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>&lrm;</title>
@ -242,9 +242,9 @@ for the JavaScript code in this tag.
</p>
</div>
<div id="outline-container-orgfdfb344" class="outline-2">
<h2 id="orgfdfb344"><b>Version 3.1, 2018-04-15</b></h2>
<div class="outline-text-2" id="text-orgfdfb344">
<div id="outline-container-org91557ca" class="outline-2">
<h2 id="org91557ca"><b>Version 3.1, 2018-04-15</b></h2>
<div class="outline-text-2" id="text-org91557ca">
<p>
Newer and shinier than before, <a href="./index.html">Freedombone</a> 3.1 rests upon the solid foundation of Debian stable and delivers major new self-hosted apps, improved mesh networking and a new logo. It supports version 3 onion addresses and the ability to use <a href="./usage_email.html">email with onion and I2P addresses</a>. New apps are:
</p>
@ -281,9 +281,9 @@ The future is decentralized.
</div>
</div>
<div id="outline-container-orgeaa6884" class="outline-2">
<h2 id="orgeaa6884">Installation</h2>
<div class="outline-text-2" id="text-orgeaa6884">
<div id="outline-container-org8bab5d6" class="outline-2">
<h2 id="org8bab5d6">Installation</h2>
<div class="outline-text-2" id="text-org8bab5d6">
<p>
The simplest way to install is from a pre-made disk image. Images can be <a href="https://freedombone.net/downloads/v31">downloaded here</a>. You will need to have previously obtained a domain name and have a dynamic DNS account somewhere. Or if you don't need clearnet domains and will be using Tor compatible browsers then you can use the "onion only" images where apps will be accessible via an onion address.
</p>
@ -294,7 +294,7 @@ Copy the image to a microSD card or USB thumb drive, replacing sdX with the iden
<div class="org-src-container">
<pre class="src src-bash">unxz downloadedimagefile.img.xz
dd <span class="org-variable-name">bs</span>=32M <span class="org-variable-name">if</span>=downloadedimagefile.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync,noerror
dd <span class="org-variable-name">bs</span>=32M <span class="org-variable-name">if</span>=downloadedimagefile.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync,sync,noerror
</pre>
</div>
@ -339,9 +339,9 @@ More detailed installation instructions are linked from <a href="./installmethod
</div>
</div>
<div id="outline-container-org8101180" class="outline-2">
<h2 id="org8101180">Upgrading from a previous install</h2>
<div class="outline-text-2" id="text-org8101180">
<div id="outline-container-org2293b57" class="outline-2">
<h2 id="org2293b57">Upgrading from a previous install</h2>
<div class="outline-text-2" id="text-org2293b57">
<p>
To upgrade from version 3 just go to the <b>administrator control panel</b> and select <b>check for updates</b>.
</p>

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>
<!-- 2018-05-10 Thu 11:43 -->
<!-- 2018-05-10 Thu 11:49 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>&lrm;</title>
@ -242,9 +242,9 @@ for the JavaScript code in this tag.
</p>
</div>
<div id="outline-container-org3ecaca9" class="outline-2">
<h2 id="org3ecaca9">Social Instance</h2>
<div class="outline-text-2" id="text-org3ecaca9">
<div id="outline-container-org1c80367" class="outline-2">
<h2 id="org1c80367">Social Instance</h2>
<div class="outline-text-2" id="text-org1c80367">
<p>
A social instance image allows you to easily set up a fediverse server, which federates using the OStatus or ActivityPub protocol. You will need:
</p>
@ -263,9 +263,9 @@ The installation process is the same as usual, with the only difference being th
</div>
</div>
<div id="outline-container-org9802263" class="outline-2">
<h2 id="org9802263">Copy the image to the USB drive</h2>
<div class="outline-text-2" id="text-org9802263">
<div id="outline-container-org2c69e3d" class="outline-2">
<h2 id="org2c69e3d">Copy the image to the USB drive</h2>
<div class="outline-text-2" id="text-org2c69e3d">
<p>
Substitute <b>sdX</b> with the device name for your USB drive.
</p>
@ -277,7 +277,7 @@ wget https://freedombone.net/downloads/v31/freedombone-pleroma-amd64.img.xz.sig
gpg --verify freedombone-pleroma-amd64.img.xz.sig
unxz freedombone-pleroma-amd64.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>=32M <span class="org-variable-name">count</span>=8
sudo dd <span class="org-variable-name">bs</span>=32M <span class="org-variable-name">if</span>=freedombone-pleroma-amd64.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync,noerror
sudo dd <span class="org-variable-name">bs</span>=32M <span class="org-variable-name">if</span>=freedombone-pleroma-amd64.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync,sync,noerror
</pre>
</div>
@ -287,9 +287,9 @@ Also note that if the laptop has a removable SSD drive it's possible to copy the
</div>
</div>
<div id="outline-container-org20b941f" class="outline-2">
<h2 id="org20b941f">Connect the laptop to your internet router</h2>
<div class="outline-text-2" id="text-org20b941f">
<div id="outline-container-org94c2081" class="outline-2">
<h2 id="org94c2081">Connect the laptop to your internet router</h2>
<div class="outline-text-2" id="text-org94c2081">
<p>
Plug the USB drive into the laptop and connect it to your internet router with the ethernet cable.
</p>
@ -302,9 +302,9 @@ Plug the USB drive into the laptop and connect it to your internet router with t
</div>
</div>
<div id="outline-container-org7d0a8a8" class="outline-2">
<h2 id="org7d0a8a8">Boot the laptop from the USB drive</h2>
<div class="outline-text-2" id="text-org7d0a8a8">
<div id="outline-container-orgfdae149" class="outline-2">
<h2 id="orgfdae149">Boot the laptop from the USB drive</h2>
<div class="outline-text-2" id="text-orgfdae149">
<p>
You may need to alter the BIOS settings to get this to work reliably.
</p>
@ -317,9 +317,9 @@ You may need to alter the BIOS settings to get this to work reliably.
</div>
</div>
<div id="outline-container-org0fcdf4a" class="outline-2">
<h2 id="org0fcdf4a">Forward ports 80 (HTTP) and 443 (HTTPS) from your internet router to the laptop</h2>
<div class="outline-text-2" id="text-org0fcdf4a">
<div id="outline-container-org6226cc3" class="outline-2">
<h2 id="org6226cc3">Forward ports 80 (HTTP) and 443 (HTTPS) from your internet router to the laptop</h2>
<div class="outline-text-2" id="text-org6226cc3">
<p>
Log into your internet router using a non-Tor browser (usually it's on an address like 192.168.1.1 or 192.168.1.254). Often port forwarding settings are together with firewall settings.
</p>
@ -332,9 +332,9 @@ Log into your internet router using a non-Tor browser (usually it's on an addres
</div>
</div>
<div id="outline-container-org8e6697d" class="outline-2">
<h2 id="org8e6697d">From another machine ssh into the laptop</h2>
<div class="outline-text-2" id="text-org8e6697d">
<div id="outline-container-org66f3f3c" class="outline-2">
<h2 id="org66f3f3c">From another machine ssh into the laptop</h2>
<div class="outline-text-2" id="text-org66f3f3c">
<div class="org-src-container">
<pre class="src src-bash">ssh fbone@freedombone.local -p 2222
</pre>
@ -346,18 +346,18 @@ Or alternatively you can log in directly on the laptop. The initial username is
</div>
</div>
<div id="outline-container-org887dcc4" class="outline-2">
<h2 id="org887dcc4">Follow the setup procedure</h2>
<div class="outline-text-2" id="text-org887dcc4">
<div id="outline-container-org1e1acec" class="outline-2">
<h2 id="org1e1acec">Follow the setup procedure</h2>
<div class="outline-text-2" id="text-org1e1acec">
<p>
Enter your user details, domain name and dynamic DNS settings.
</p>
</div>
</div>
<div id="outline-container-org757ee3e" class="outline-2">
<h2 id="org757ee3e">When installation is complete</h2>
<div class="outline-text-2" id="text-org757ee3e">
<div id="outline-container-org95d2fea" class="outline-2">
<h2 id="org95d2fea">When installation is complete</h2>
<div class="outline-text-2" id="text-org95d2fea">
<p>
Navigate to your domain and register a new user.
</p>