Increase to 32M block writes
This commit is contained in:
parent
f0186a7aa4
commit
da6909b3b5
|
@ -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=1M if=[Armbian .img file] of=/dev/sdX conv=fdatasync
|
||||
sudo dd bs=32M if=[Armbian .img file] of=/dev/sdX conv=fdatasync
|
||||
#+end_src
|
||||
|
||||
Where */dev/sdX* is the path for the microSD drive on your system.
|
||||
|
|
|
@ -69,8 +69,8 @@ Now plug in the USB thumb drive, and do the same again. Notice which drive lette
|
|||
You can now copy the image to the USB thumb drive, replacing *sdX* with the identifier of the USB thumb drive. Don't include any numbers (so for example use *sdc* instead of *sdc1*).
|
||||
|
||||
#+begin_src bash
|
||||
dd if=/dev/zero of=/dev/sdX bs=1M count=8
|
||||
dd bs=1M if=myimagefile.img of=/dev/sdX conv=fdatasync
|
||||
dd if=/dev/zero of=/dev/sdX bs=32M count=8
|
||||
dd bs=32M if=myimagefile.img of=/dev/sdX conv=fdatasync
|
||||
#+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.
|
||||
|
|
|
@ -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=1M if=filename.img of=/dev/sdX conv=fdatasync
|
||||
sudo dd bs=32M if=filename.img of=/dev/sdX conv=fdatasync
|
||||
#+END_SRC
|
||||
|
||||
Where *sdX* is the microSD drive. You can check which drive is the microSD drive using:
|
||||
|
|
|
@ -41,8 +41,8 @@ wget https://freedombone.net/downloads/v31/freedombone-meshclient-i386.img.xz
|
|||
wget https://freedombone.net/downloads/v31/freedombone-meshclient-i386.img.xz.sig
|
||||
gpg --verify freedombone-meshclient-i386.img.xz.sig
|
||||
unxz freedombone-meshclient-i386.img.xz
|
||||
sudo dd if=/dev/zero of=/dev/sdX bs=1M count=8
|
||||
sudo dd bs=1M if=freedombone-meshclient-i386.img of=/dev/sdX conv=fdatasync
|
||||
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
|
||||
#+end_src
|
||||
|
||||
To get a number of systems onto the mesh repeat the /dd/ command to create however many bootable USB drives you need.
|
||||
|
@ -55,8 +55,8 @@ wget https://freedombone.net/downloads/v31/freedombone-meshclient-insecure-i386.
|
|||
wget https://freedombone.net/downloads/v31/freedombone-meshclient-insecure-i386.img.xz.sig
|
||||
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=1M count=8
|
||||
sudo dd bs=1M if=freedombone-meshclient-insecure-i386.img of=/dev/sdX conv=fdatasync
|
||||
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
|
||||
#+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=1M if=freedombone-mesh_beaglebone-armhf.img of=/dev/sdX conv=fdatasync
|
||||
sudo dd bs=32M if=freedombone-mesh_beaglebone-armhf.img of=/dev/sdX conv=fdatasync
|
||||
#+end_src
|
||||
|
||||
If you have a few Beaglebone Blacks to use as routers then repeat the /dd/ command to create however many microSD cards you need.
|
||||
|
@ -119,8 +119,8 @@ Now plug in the USB thumb drive, and do the same again. Notice which drive lette
|
|||
You can now copy the image to the USB thumb drive, replacing *sdX* with the identifier of the USB thumb drive. Don't include any numbers (so for example use *sdc* instead of *sdc1*).
|
||||
|
||||
#+begin_src bash
|
||||
sudo dd if=/dev/zero of=/dev/sdX bs=1M count=8
|
||||
sudo dd bs=1M if=myimagefile.img of=/dev/sdX conv=fdatasync
|
||||
sudo dd if=/dev/zero of=/dev/sdX bs=32M count=8
|
||||
sudo dd bs=32M if=myimagefile.img of=/dev/sdX conv=fdatasync
|
||||
#+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.
|
||||
|
|
|
@ -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=1M if=downloadedimagefile.img of=/dev/sdX conv=fdatasync
|
||||
dd bs=32M if=downloadedimagefile.img of=/dev/sdX conv=fdatasync
|
||||
#+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.
|
||||
|
|
|
@ -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=1M if=downloadedimagefile.img of=/dev/sdX conv=fdatasync
|
||||
dd bs=32M if=downloadedimagefile.img of=/dev/sdX conv=fdatasync
|
||||
#+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.
|
||||
|
|
|
@ -31,8 +31,8 @@ wget https://freedombone.net/downloads/v31/freedombone-pleroma-amd64.img.xz
|
|||
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=1M count=8
|
||||
sudo dd bs=1M if=freedombone-pleroma-amd64.img of=/dev/sdX conv=fdatasync
|
||||
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
|
||||
#+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.
|
||||
|
|
|
@ -698,8 +698,8 @@ if [[ $IMAGE_TYPE != "qemu"* ]]; then
|
|||
fi
|
||||
echo ''
|
||||
echo " unxz -k ${PROJECT_NAME}*.img.xz"
|
||||
echo ' sudo dd if=/dev/zero of=/dev/sdX bs=1M count=8'
|
||||
echo " sudo dd bs=1M if=${PROJECT_NAME}*.img of=/dev/sdX conv=fdatasync"
|
||||
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"
|
||||
echo ''
|
||||
fi
|
||||
|
||||
|
|
|
@ -3,26 +3,33 @@
|
|||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<title></title>
|
||||
<!-- 2018-04-12 Thu 14:28 -->
|
||||
<!-- 2018-04-21 Sat 14:58 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="generator" content="Org-mode" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>‎</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
<meta name="author" content="Bob Mottram" />
|
||||
<meta name="description" content="Installing Freedombone on Armbian"
|
||||
/>
|
||||
<meta name="keywords" content="freedombone, debian, armbian, sbc" />
|
||||
<style type="text/css">
|
||||
<!--/*--><![CDATA[/*><!--*/
|
||||
.title { text-align: center; }
|
||||
.title { text-align: center;
|
||||
margin-bottom: .2em; }
|
||||
.subtitle { text-align: center;
|
||||
font-size: medium;
|
||||
font-weight: bold;
|
||||
margin-top:0; }
|
||||
.todo { font-family: monospace; color: red; }
|
||||
.done { color: green; }
|
||||
.done { font-family: monospace; color: green; }
|
||||
.priority { font-family: monospace; color: orange; }
|
||||
.tag { background-color: #eee; font-family: monospace;
|
||||
padding: 2px; font-size: 80%; font-weight: normal; }
|
||||
.timestamp { color: #bebebe; }
|
||||
.timestamp-kwd { color: #5f9ea0; }
|
||||
.right { margin-left: auto; margin-right: 0px; text-align: right; }
|
||||
.left { margin-left: 0px; margin-right: auto; text-align: left; }
|
||||
.center { margin-left: auto; margin-right: auto; text-align: center; }
|
||||
.org-right { margin-left: auto; margin-right: 0px; text-align: right; }
|
||||
.org-left { margin-left: 0px; margin-right: auto; text-align: left; }
|
||||
.org-center { margin-left: auto; margin-right: auto; text-align: center; }
|
||||
.underline { text-decoration: underline; }
|
||||
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
|
||||
p.verse { margin-left: 3%; }
|
||||
|
@ -49,27 +56,111 @@
|
|||
border: 1px solid black;
|
||||
}
|
||||
pre.src:hover:before { display: inline;}
|
||||
pre.src-sh:before { content: 'sh'; }
|
||||
pre.src-bash:before { content: 'sh'; }
|
||||
/* Languages per Org manual */
|
||||
pre.src-asymptote:before { content: 'Asymptote'; }
|
||||
pre.src-awk:before { content: 'Awk'; }
|
||||
pre.src-C:before { content: 'C'; }
|
||||
/* pre.src-C++ doesn't work in CSS */
|
||||
pre.src-clojure:before { content: 'Clojure'; }
|
||||
pre.src-css:before { content: 'CSS'; }
|
||||
pre.src-D:before { content: 'D'; }
|
||||
pre.src-ditaa:before { content: 'ditaa'; }
|
||||
pre.src-dot:before { content: 'Graphviz'; }
|
||||
pre.src-calc:before { content: 'Emacs Calc'; }
|
||||
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
|
||||
pre.src-R:before { content: 'R'; }
|
||||
pre.src-perl:before { content: 'Perl'; }
|
||||
pre.src-fortran:before { content: 'Fortran'; }
|
||||
pre.src-gnuplot:before { content: 'gnuplot'; }
|
||||
pre.src-haskell:before { content: 'Haskell'; }
|
||||
pre.src-hledger:before { content: 'hledger'; }
|
||||
pre.src-java:before { content: 'Java'; }
|
||||
pre.src-js:before { content: 'Javascript'; }
|
||||
pre.src-latex:before { content: 'LaTeX'; }
|
||||
pre.src-ledger:before { content: 'Ledger'; }
|
||||
pre.src-lisp:before { content: 'Lisp'; }
|
||||
pre.src-lilypond:before { content: 'Lilypond'; }
|
||||
pre.src-lua:before { content: 'Lua'; }
|
||||
pre.src-matlab:before { content: 'MATLAB'; }
|
||||
pre.src-mscgen:before { content: 'Mscgen'; }
|
||||
pre.src-ocaml:before { content: 'Objective Caml'; }
|
||||
pre.src-octave:before { content: 'Octave'; }
|
||||
pre.src-org:before { content: 'Org mode'; }
|
||||
pre.src-oz:before { content: 'OZ'; }
|
||||
pre.src-plantuml:before { content: 'Plantuml'; }
|
||||
pre.src-processing:before { content: 'Processing.js'; }
|
||||
pre.src-python:before { content: 'Python'; }
|
||||
pre.src-R:before { content: 'R'; }
|
||||
pre.src-ruby:before { content: 'Ruby'; }
|
||||
pre.src-sass:before { content: 'Sass'; }
|
||||
pre.src-scheme:before { content: 'Scheme'; }
|
||||
pre.src-screen:before { content: 'Gnu Screen'; }
|
||||
pre.src-sed:before { content: 'Sed'; }
|
||||
pre.src-sh:before { content: 'shell'; }
|
||||
pre.src-sql:before { content: 'SQL'; }
|
||||
pre.src-sqlite:before { content: 'SQLite'; }
|
||||
/* additional languages in org.el's org-babel-load-languages alist */
|
||||
pre.src-forth:before { content: 'Forth'; }
|
||||
pre.src-io:before { content: 'IO'; }
|
||||
pre.src-J:before { content: 'J'; }
|
||||
pre.src-makefile:before { content: 'Makefile'; }
|
||||
pre.src-maxima:before { content: 'Maxima'; }
|
||||
pre.src-perl:before { content: 'Perl'; }
|
||||
pre.src-picolisp:before { content: 'Pico Lisp'; }
|
||||
pre.src-scala:before { content: 'Scala'; }
|
||||
pre.src-shell:before { content: 'Shell Script'; }
|
||||
pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
|
||||
/* additional language identifiers per "defun org-babel-execute"
|
||||
in ob-*.el */
|
||||
pre.src-cpp:before { content: 'C++'; }
|
||||
pre.src-abc:before { content: 'ABC'; }
|
||||
pre.src-coq:before { content: 'Coq'; }
|
||||
pre.src-groovy:before { content: 'Groovy'; }
|
||||
/* additional language identifiers from org-babel-shell-names in
|
||||
ob-shell.el: ob-shell is the only babel language using a lambda to put
|
||||
the execution function name together. */
|
||||
pre.src-bash:before { content: 'bash'; }
|
||||
pre.src-csh:before { content: 'csh'; }
|
||||
pre.src-ash:before { content: 'ash'; }
|
||||
pre.src-dash:before { content: 'dash'; }
|
||||
pre.src-ksh:before { content: 'ksh'; }
|
||||
pre.src-mksh:before { content: 'mksh'; }
|
||||
pre.src-posh:before { content: 'posh'; }
|
||||
/* Additional Emacs modes also supported by the LaTeX listings package */
|
||||
pre.src-ada:before { content: 'Ada'; }
|
||||
pre.src-asm:before { content: 'Assembler'; }
|
||||
pre.src-caml:before { content: 'Caml'; }
|
||||
pre.src-delphi:before { content: 'Delphi'; }
|
||||
pre.src-html:before { content: 'HTML'; }
|
||||
pre.src-idl:before { content: 'IDL'; }
|
||||
pre.src-mercury:before { content: 'Mercury'; }
|
||||
pre.src-metapost:before { content: 'MetaPost'; }
|
||||
pre.src-modula-2:before { content: 'Modula-2'; }
|
||||
pre.src-pascal:before { content: 'Pascal'; }
|
||||
pre.src-ps:before { content: 'PostScript'; }
|
||||
pre.src-prolog:before { content: 'Prolog'; }
|
||||
pre.src-simula:before { content: 'Simula'; }
|
||||
pre.src-tcl:before { content: 'tcl'; }
|
||||
pre.src-tex:before { content: 'TeX'; }
|
||||
pre.src-plain-tex:before { content: 'Plain TeX'; }
|
||||
pre.src-verilog:before { content: 'Verilog'; }
|
||||
pre.src-vhdl:before { content: 'VHDL'; }
|
||||
pre.src-xml:before { content: 'XML'; }
|
||||
pre.src-nxml:before { content: 'XML'; }
|
||||
/* add a generic configuration mode; LaTeX export needs an additional
|
||||
(add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
|
||||
pre.src-conf:before { content: 'Configuration File'; }
|
||||
|
||||
table { border-collapse:collapse; }
|
||||
caption.t-above { caption-side: top; }
|
||||
caption.t-bottom { caption-side: bottom; }
|
||||
td, th { vertical-align:top; }
|
||||
th.right { text-align: center; }
|
||||
th.left { text-align: center; }
|
||||
th.center { text-align: center; }
|
||||
td.right { text-align: right; }
|
||||
td.left { text-align: left; }
|
||||
td.center { text-align: center; }
|
||||
th.org-right { text-align: center; }
|
||||
th.org-left { text-align: center; }
|
||||
th.org-center { text-align: center; }
|
||||
td.org-right { text-align: right; }
|
||||
td.org-left { text-align: left; }
|
||||
td.org-center { text-align: center; }
|
||||
dt { font-weight: bold; }
|
||||
.footpara:nth-child(2) { display: inline; }
|
||||
.footpara { display: block; }
|
||||
.footpara { display: inline; }
|
||||
.footdef { margin-bottom: 1em; }
|
||||
.figure { padding: 1em; }
|
||||
.figure p { text-align: center; }
|
||||
|
@ -89,6 +180,7 @@
|
|||
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
|
||||
.org-info-js_search-highlight
|
||||
{ background-color: #ffff00; color: #000000; font-weight: bold; }
|
||||
.org-svg { width: 90%; }
|
||||
/*]]>*/-->
|
||||
</style>
|
||||
<link rel="stylesheet" type="text/css" href="freedombone.css" />
|
||||
|
@ -97,7 +189,7 @@
|
|||
@licstart The following is the entire license notice for the
|
||||
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
|
||||
redistribute it and/or modify it under the terms of the GNU
|
||||
|
@ -144,7 +236,6 @@ for the JavaScript code in this tag.
|
|||
<a name="top" id="top"></a>
|
||||
</div>
|
||||
<div id="content">
|
||||
<h1 class="title"></h1>
|
||||
|
||||
<div class="figure">
|
||||
<p><img src="images/logo.png" alt="logo.png" width="80%" height="10%" align="center" />
|
||||
|
@ -152,12 +243,7 @@ for the JavaScript code in this tag.
|
|||
</div>
|
||||
|
||||
|
||||
<div class="export">
|
||||
<p>
|
||||
<center><h1>Installing on Armbian</h1></center>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
<center><h1>Installing on Armbian</h1></center>
|
||||
|
||||
<blockquote>
|
||||
<p>
|
||||
|
@ -174,8 +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 bs=1M if=[Armbian .img file] of=/dev/sdX conv=fdatasync
|
||||
<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
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
|
@ -200,7 +285,6 @@ Once you know the local IP address of your ARM board then you can log into it wi
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">ssh root@[local IP address]
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -220,7 +304,6 @@ When the user account is created type <b>exit</b> to leave the ssh session then
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">ssh myusername@[local IP address]
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -230,7 +313,6 @@ Become the root user:
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">sudo su
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -240,10 +322,9 @@ Then clone the Freedombone repository and checkout the stretch development branc
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">apt-get -y install git dialog build-essential
|
||||
git clone https://github.com/bashrc/freedombone
|
||||
cd freedombone
|
||||
<span class="org-builtin">cd</span> freedombone
|
||||
git checkout stretch
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -253,7 +334,6 @@ Install the Freedombone commands:
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">make install
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -263,7 +343,6 @@ And now you can begin installing the Freedombone system. There are two ways of d
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">freedombone menuconfig
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -273,7 +352,6 @@ Alternatively, if you don't own a domain name, don't have administrator access t
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">freedombone menuconfig-onion
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -283,7 +361,6 @@ You will then be taken through a few questions and the system will install. Afte
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">ssh myusername@freedombone.local -p 2222
|
||||
</pre>
|
||||
</div>
|
||||
|
|
|
@ -3,26 +3,33 @@
|
|||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<title></title>
|
||||
<!-- 2018-04-12 Thu 18:24 -->
|
||||
<!-- 2018-04-21 Sat 14:58 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="generator" content="Org-mode" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>‎</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
<meta name="author" content="Bob Mottram" />
|
||||
<meta name="description" content="Freedombone home server setup"
|
||||
/>
|
||||
<meta name="keywords" content="freedombone, home server" />
|
||||
<style type="text/css">
|
||||
<!--/*--><![CDATA[/*><!--*/
|
||||
.title { text-align: center; }
|
||||
.title { text-align: center;
|
||||
margin-bottom: .2em; }
|
||||
.subtitle { text-align: center;
|
||||
font-size: medium;
|
||||
font-weight: bold;
|
||||
margin-top:0; }
|
||||
.todo { font-family: monospace; color: red; }
|
||||
.done { color: green; }
|
||||
.done { font-family: monospace; color: green; }
|
||||
.priority { font-family: monospace; color: orange; }
|
||||
.tag { background-color: #eee; font-family: monospace;
|
||||
padding: 2px; font-size: 80%; font-weight: normal; }
|
||||
.timestamp { color: #bebebe; }
|
||||
.timestamp-kwd { color: #5f9ea0; }
|
||||
.right { margin-left: auto; margin-right: 0px; text-align: right; }
|
||||
.left { margin-left: 0px; margin-right: auto; text-align: left; }
|
||||
.center { margin-left: auto; margin-right: auto; text-align: center; }
|
||||
.org-right { margin-left: auto; margin-right: 0px; text-align: right; }
|
||||
.org-left { margin-left: 0px; margin-right: auto; text-align: left; }
|
||||
.org-center { margin-left: auto; margin-right: auto; text-align: center; }
|
||||
.underline { text-decoration: underline; }
|
||||
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
|
||||
p.verse { margin-left: 3%; }
|
||||
|
@ -49,27 +56,111 @@
|
|||
border: 1px solid black;
|
||||
}
|
||||
pre.src:hover:before { display: inline;}
|
||||
pre.src-sh:before { content: 'sh'; }
|
||||
pre.src-bash:before { content: 'sh'; }
|
||||
/* Languages per Org manual */
|
||||
pre.src-asymptote:before { content: 'Asymptote'; }
|
||||
pre.src-awk:before { content: 'Awk'; }
|
||||
pre.src-C:before { content: 'C'; }
|
||||
/* pre.src-C++ doesn't work in CSS */
|
||||
pre.src-clojure:before { content: 'Clojure'; }
|
||||
pre.src-css:before { content: 'CSS'; }
|
||||
pre.src-D:before { content: 'D'; }
|
||||
pre.src-ditaa:before { content: 'ditaa'; }
|
||||
pre.src-dot:before { content: 'Graphviz'; }
|
||||
pre.src-calc:before { content: 'Emacs Calc'; }
|
||||
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
|
||||
pre.src-R:before { content: 'R'; }
|
||||
pre.src-perl:before { content: 'Perl'; }
|
||||
pre.src-fortran:before { content: 'Fortran'; }
|
||||
pre.src-gnuplot:before { content: 'gnuplot'; }
|
||||
pre.src-haskell:before { content: 'Haskell'; }
|
||||
pre.src-hledger:before { content: 'hledger'; }
|
||||
pre.src-java:before { content: 'Java'; }
|
||||
pre.src-js:before { content: 'Javascript'; }
|
||||
pre.src-latex:before { content: 'LaTeX'; }
|
||||
pre.src-ledger:before { content: 'Ledger'; }
|
||||
pre.src-lisp:before { content: 'Lisp'; }
|
||||
pre.src-lilypond:before { content: 'Lilypond'; }
|
||||
pre.src-lua:before { content: 'Lua'; }
|
||||
pre.src-matlab:before { content: 'MATLAB'; }
|
||||
pre.src-mscgen:before { content: 'Mscgen'; }
|
||||
pre.src-ocaml:before { content: 'Objective Caml'; }
|
||||
pre.src-octave:before { content: 'Octave'; }
|
||||
pre.src-org:before { content: 'Org mode'; }
|
||||
pre.src-oz:before { content: 'OZ'; }
|
||||
pre.src-plantuml:before { content: 'Plantuml'; }
|
||||
pre.src-processing:before { content: 'Processing.js'; }
|
||||
pre.src-python:before { content: 'Python'; }
|
||||
pre.src-R:before { content: 'R'; }
|
||||
pre.src-ruby:before { content: 'Ruby'; }
|
||||
pre.src-sass:before { content: 'Sass'; }
|
||||
pre.src-scheme:before { content: 'Scheme'; }
|
||||
pre.src-screen:before { content: 'Gnu Screen'; }
|
||||
pre.src-sed:before { content: 'Sed'; }
|
||||
pre.src-sh:before { content: 'shell'; }
|
||||
pre.src-sql:before { content: 'SQL'; }
|
||||
pre.src-sqlite:before { content: 'SQLite'; }
|
||||
/* additional languages in org.el's org-babel-load-languages alist */
|
||||
pre.src-forth:before { content: 'Forth'; }
|
||||
pre.src-io:before { content: 'IO'; }
|
||||
pre.src-J:before { content: 'J'; }
|
||||
pre.src-makefile:before { content: 'Makefile'; }
|
||||
pre.src-maxima:before { content: 'Maxima'; }
|
||||
pre.src-perl:before { content: 'Perl'; }
|
||||
pre.src-picolisp:before { content: 'Pico Lisp'; }
|
||||
pre.src-scala:before { content: 'Scala'; }
|
||||
pre.src-shell:before { content: 'Shell Script'; }
|
||||
pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
|
||||
/* additional language identifiers per "defun org-babel-execute"
|
||||
in ob-*.el */
|
||||
pre.src-cpp:before { content: 'C++'; }
|
||||
pre.src-abc:before { content: 'ABC'; }
|
||||
pre.src-coq:before { content: 'Coq'; }
|
||||
pre.src-groovy:before { content: 'Groovy'; }
|
||||
/* additional language identifiers from org-babel-shell-names in
|
||||
ob-shell.el: ob-shell is the only babel language using a lambda to put
|
||||
the execution function name together. */
|
||||
pre.src-bash:before { content: 'bash'; }
|
||||
pre.src-csh:before { content: 'csh'; }
|
||||
pre.src-ash:before { content: 'ash'; }
|
||||
pre.src-dash:before { content: 'dash'; }
|
||||
pre.src-ksh:before { content: 'ksh'; }
|
||||
pre.src-mksh:before { content: 'mksh'; }
|
||||
pre.src-posh:before { content: 'posh'; }
|
||||
/* Additional Emacs modes also supported by the LaTeX listings package */
|
||||
pre.src-ada:before { content: 'Ada'; }
|
||||
pre.src-asm:before { content: 'Assembler'; }
|
||||
pre.src-caml:before { content: 'Caml'; }
|
||||
pre.src-delphi:before { content: 'Delphi'; }
|
||||
pre.src-html:before { content: 'HTML'; }
|
||||
pre.src-idl:before { content: 'IDL'; }
|
||||
pre.src-mercury:before { content: 'Mercury'; }
|
||||
pre.src-metapost:before { content: 'MetaPost'; }
|
||||
pre.src-modula-2:before { content: 'Modula-2'; }
|
||||
pre.src-pascal:before { content: 'Pascal'; }
|
||||
pre.src-ps:before { content: 'PostScript'; }
|
||||
pre.src-prolog:before { content: 'Prolog'; }
|
||||
pre.src-simula:before { content: 'Simula'; }
|
||||
pre.src-tcl:before { content: 'tcl'; }
|
||||
pre.src-tex:before { content: 'TeX'; }
|
||||
pre.src-plain-tex:before { content: 'Plain TeX'; }
|
||||
pre.src-verilog:before { content: 'Verilog'; }
|
||||
pre.src-vhdl:before { content: 'VHDL'; }
|
||||
pre.src-xml:before { content: 'XML'; }
|
||||
pre.src-nxml:before { content: 'XML'; }
|
||||
/* add a generic configuration mode; LaTeX export needs an additional
|
||||
(add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
|
||||
pre.src-conf:before { content: 'Configuration File'; }
|
||||
|
||||
table { border-collapse:collapse; }
|
||||
caption.t-above { caption-side: top; }
|
||||
caption.t-bottom { caption-side: bottom; }
|
||||
td, th { vertical-align:top; }
|
||||
th.right { text-align: center; }
|
||||
th.left { text-align: center; }
|
||||
th.center { text-align: center; }
|
||||
td.right { text-align: right; }
|
||||
td.left { text-align: left; }
|
||||
td.center { text-align: center; }
|
||||
th.org-right { text-align: center; }
|
||||
th.org-left { text-align: center; }
|
||||
th.org-center { text-align: center; }
|
||||
td.org-right { text-align: right; }
|
||||
td.org-left { text-align: left; }
|
||||
td.org-center { text-align: center; }
|
||||
dt { font-weight: bold; }
|
||||
.footpara:nth-child(2) { display: inline; }
|
||||
.footpara { display: block; }
|
||||
.footpara { display: inline; }
|
||||
.footdef { margin-bottom: 1em; }
|
||||
.figure { padding: 1em; }
|
||||
.figure p { text-align: center; }
|
||||
|
@ -89,6 +180,7 @@
|
|||
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
|
||||
.org-info-js_search-highlight
|
||||
{ background-color: #ffff00; color: #000000; font-weight: bold; }
|
||||
.org-svg { width: 90%; }
|
||||
/*]]>*/-->
|
||||
</style>
|
||||
<link rel="stylesheet" type="text/css" href="freedombone.css" />
|
||||
|
@ -97,7 +189,7 @@
|
|||
@licstart The following is the entire license notice for the
|
||||
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
|
||||
redistribute it and/or modify it under the terms of the GNU
|
||||
|
@ -144,7 +236,6 @@ for the JavaScript code in this tag.
|
|||
<a name="top" id="top"></a>
|
||||
</div>
|
||||
<div id="content">
|
||||
<h1 class="title"></h1>
|
||||
|
||||
<div class="figure">
|
||||
<p><img src="images/logo.png" alt="logo.png" width="80%" height="10%" align="center" />
|
||||
|
@ -152,9 +243,9 @@ for the JavaScript code in this tag.
|
|||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-sec-1" class="outline-2">
|
||||
<h2 id="sec-1">Home Server</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<div id="outline-container-org920b3b6" class="outline-2">
|
||||
<h2 id="org920b3b6">Home Server</h2>
|
||||
<div class="outline-text-2" id="text-org920b3b6">
|
||||
<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>
|
||||
|
@ -164,10 +255,9 @@ First install freedombone onto your local system (not the target hardware that y
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">sudo apt-get install git dialog build-essential
|
||||
git clone https://github.com/bashrc/freedombone
|
||||
cd freedombone
|
||||
<span class="org-builtin">cd</span> freedombone
|
||||
git checkout stretch
|
||||
sudo make install
|
||||
freedombone-image --setup debian
|
||||
|
@ -180,10 +270,9 @@ Or on Arch/Parabola:
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">sudo pacman -S git dialog
|
||||
git clone https://github.com/bashrc/freedombone
|
||||
cd freedombone
|
||||
<span class="org-builtin">cd</span> freedombone
|
||||
git checkout stretch
|
||||
sudo make install
|
||||
freedombone-image --setup parabola
|
||||
|
@ -196,7 +285,6 @@ Now prepare your local system to talk to the freedombone by running the followin
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">freedombone-client
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -234,7 +322,6 @@ List what drives are on your system with:
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">ls /dev/sd*
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -248,9 +335,8 @@ You can now copy the image to the USB thumb drive, replacing <b>sdX</b> with the
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">dd if=/dev/zero of=/dev/sdX bs=1M count=8
|
||||
dd bs=1M if=myimagefile.img of=/dev/sdX conv=fdatasync
|
||||
<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
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
|
@ -263,7 +349,6 @@ As the system boots for the first time the login is:
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">username: fbone
|
||||
password: freedombone
|
||||
</pre>
|
||||
|
@ -274,7 +359,6 @@ If you're installing from a microSD card on a single board computer without a sc
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">ssh fbone@freedombone.local -p 2222
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -296,7 +380,6 @@ When it's installed on your local system open a terminal and verify the ssh serv
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">freedombone-client --verify
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -316,7 +399,6 @@ Open another terminal window then run:
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">freedombone-client
|
||||
ssh myusername@freedombone.local -p 2222
|
||||
</pre>
|
||||
|
@ -377,7 +459,6 @@ Of course, this is just one way in which you can install the Freedombone system.
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">man freedombone-image
|
||||
</pre>
|
||||
</div>
|
||||
|
|
|
@ -3,26 +3,33 @@
|
|||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<title></title>
|
||||
<!-- 2018-04-12 Thu 13:09 -->
|
||||
<!-- 2018-04-21 Sat 14:58 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="generator" content="Org-mode" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>‎</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
<meta name="author" content="Bob Mottram" />
|
||||
<meta name="description" content="Freedombone installation"
|
||||
/>
|
||||
<meta name="keywords" content="freedombone, installation" />
|
||||
<style type="text/css">
|
||||
<!--/*--><![CDATA[/*><!--*/
|
||||
.title { text-align: center; }
|
||||
.title { text-align: center;
|
||||
margin-bottom: .2em; }
|
||||
.subtitle { text-align: center;
|
||||
font-size: medium;
|
||||
font-weight: bold;
|
||||
margin-top:0; }
|
||||
.todo { font-family: monospace; color: red; }
|
||||
.done { color: green; }
|
||||
.done { font-family: monospace; color: green; }
|
||||
.priority { font-family: monospace; color: orange; }
|
||||
.tag { background-color: #eee; font-family: monospace;
|
||||
padding: 2px; font-size: 80%; font-weight: normal; }
|
||||
.timestamp { color: #bebebe; }
|
||||
.timestamp-kwd { color: #5f9ea0; }
|
||||
.right { margin-left: auto; margin-right: 0px; text-align: right; }
|
||||
.left { margin-left: 0px; margin-right: auto; text-align: left; }
|
||||
.center { margin-left: auto; margin-right: auto; text-align: center; }
|
||||
.org-right { margin-left: auto; margin-right: 0px; text-align: right; }
|
||||
.org-left { margin-left: 0px; margin-right: auto; text-align: left; }
|
||||
.org-center { margin-left: auto; margin-right: auto; text-align: center; }
|
||||
.underline { text-decoration: underline; }
|
||||
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
|
||||
p.verse { margin-left: 3%; }
|
||||
|
@ -49,27 +56,111 @@
|
|||
border: 1px solid black;
|
||||
}
|
||||
pre.src:hover:before { display: inline;}
|
||||
pre.src-sh:before { content: 'sh'; }
|
||||
pre.src-bash:before { content: 'sh'; }
|
||||
/* Languages per Org manual */
|
||||
pre.src-asymptote:before { content: 'Asymptote'; }
|
||||
pre.src-awk:before { content: 'Awk'; }
|
||||
pre.src-C:before { content: 'C'; }
|
||||
/* pre.src-C++ doesn't work in CSS */
|
||||
pre.src-clojure:before { content: 'Clojure'; }
|
||||
pre.src-css:before { content: 'CSS'; }
|
||||
pre.src-D:before { content: 'D'; }
|
||||
pre.src-ditaa:before { content: 'ditaa'; }
|
||||
pre.src-dot:before { content: 'Graphviz'; }
|
||||
pre.src-calc:before { content: 'Emacs Calc'; }
|
||||
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
|
||||
pre.src-R:before { content: 'R'; }
|
||||
pre.src-perl:before { content: 'Perl'; }
|
||||
pre.src-fortran:before { content: 'Fortran'; }
|
||||
pre.src-gnuplot:before { content: 'gnuplot'; }
|
||||
pre.src-haskell:before { content: 'Haskell'; }
|
||||
pre.src-hledger:before { content: 'hledger'; }
|
||||
pre.src-java:before { content: 'Java'; }
|
||||
pre.src-js:before { content: 'Javascript'; }
|
||||
pre.src-latex:before { content: 'LaTeX'; }
|
||||
pre.src-ledger:before { content: 'Ledger'; }
|
||||
pre.src-lisp:before { content: 'Lisp'; }
|
||||
pre.src-lilypond:before { content: 'Lilypond'; }
|
||||
pre.src-lua:before { content: 'Lua'; }
|
||||
pre.src-matlab:before { content: 'MATLAB'; }
|
||||
pre.src-mscgen:before { content: 'Mscgen'; }
|
||||
pre.src-ocaml:before { content: 'Objective Caml'; }
|
||||
pre.src-octave:before { content: 'Octave'; }
|
||||
pre.src-org:before { content: 'Org mode'; }
|
||||
pre.src-oz:before { content: 'OZ'; }
|
||||
pre.src-plantuml:before { content: 'Plantuml'; }
|
||||
pre.src-processing:before { content: 'Processing.js'; }
|
||||
pre.src-python:before { content: 'Python'; }
|
||||
pre.src-R:before { content: 'R'; }
|
||||
pre.src-ruby:before { content: 'Ruby'; }
|
||||
pre.src-sass:before { content: 'Sass'; }
|
||||
pre.src-scheme:before { content: 'Scheme'; }
|
||||
pre.src-screen:before { content: 'Gnu Screen'; }
|
||||
pre.src-sed:before { content: 'Sed'; }
|
||||
pre.src-sh:before { content: 'shell'; }
|
||||
pre.src-sql:before { content: 'SQL'; }
|
||||
pre.src-sqlite:before { content: 'SQLite'; }
|
||||
/* additional languages in org.el's org-babel-load-languages alist */
|
||||
pre.src-forth:before { content: 'Forth'; }
|
||||
pre.src-io:before { content: 'IO'; }
|
||||
pre.src-J:before { content: 'J'; }
|
||||
pre.src-makefile:before { content: 'Makefile'; }
|
||||
pre.src-maxima:before { content: 'Maxima'; }
|
||||
pre.src-perl:before { content: 'Perl'; }
|
||||
pre.src-picolisp:before { content: 'Pico Lisp'; }
|
||||
pre.src-scala:before { content: 'Scala'; }
|
||||
pre.src-shell:before { content: 'Shell Script'; }
|
||||
pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
|
||||
/* additional language identifiers per "defun org-babel-execute"
|
||||
in ob-*.el */
|
||||
pre.src-cpp:before { content: 'C++'; }
|
||||
pre.src-abc:before { content: 'ABC'; }
|
||||
pre.src-coq:before { content: 'Coq'; }
|
||||
pre.src-groovy:before { content: 'Groovy'; }
|
||||
/* additional language identifiers from org-babel-shell-names in
|
||||
ob-shell.el: ob-shell is the only babel language using a lambda to put
|
||||
the execution function name together. */
|
||||
pre.src-bash:before { content: 'bash'; }
|
||||
pre.src-csh:before { content: 'csh'; }
|
||||
pre.src-ash:before { content: 'ash'; }
|
||||
pre.src-dash:before { content: 'dash'; }
|
||||
pre.src-ksh:before { content: 'ksh'; }
|
||||
pre.src-mksh:before { content: 'mksh'; }
|
||||
pre.src-posh:before { content: 'posh'; }
|
||||
/* Additional Emacs modes also supported by the LaTeX listings package */
|
||||
pre.src-ada:before { content: 'Ada'; }
|
||||
pre.src-asm:before { content: 'Assembler'; }
|
||||
pre.src-caml:before { content: 'Caml'; }
|
||||
pre.src-delphi:before { content: 'Delphi'; }
|
||||
pre.src-html:before { content: 'HTML'; }
|
||||
pre.src-idl:before { content: 'IDL'; }
|
||||
pre.src-mercury:before { content: 'Mercury'; }
|
||||
pre.src-metapost:before { content: 'MetaPost'; }
|
||||
pre.src-modula-2:before { content: 'Modula-2'; }
|
||||
pre.src-pascal:before { content: 'Pascal'; }
|
||||
pre.src-ps:before { content: 'PostScript'; }
|
||||
pre.src-prolog:before { content: 'Prolog'; }
|
||||
pre.src-simula:before { content: 'Simula'; }
|
||||
pre.src-tcl:before { content: 'tcl'; }
|
||||
pre.src-tex:before { content: 'TeX'; }
|
||||
pre.src-plain-tex:before { content: 'Plain TeX'; }
|
||||
pre.src-verilog:before { content: 'Verilog'; }
|
||||
pre.src-vhdl:before { content: 'VHDL'; }
|
||||
pre.src-xml:before { content: 'XML'; }
|
||||
pre.src-nxml:before { content: 'XML'; }
|
||||
/* add a generic configuration mode; LaTeX export needs an additional
|
||||
(add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
|
||||
pre.src-conf:before { content: 'Configuration File'; }
|
||||
|
||||
table { border-collapse:collapse; }
|
||||
caption.t-above { caption-side: top; }
|
||||
caption.t-bottom { caption-side: bottom; }
|
||||
td, th { vertical-align:top; }
|
||||
th.right { text-align: center; }
|
||||
th.left { text-align: center; }
|
||||
th.center { text-align: center; }
|
||||
td.right { text-align: right; }
|
||||
td.left { text-align: left; }
|
||||
td.center { text-align: center; }
|
||||
th.org-right { text-align: center; }
|
||||
th.org-left { text-align: center; }
|
||||
th.org-center { text-align: center; }
|
||||
td.org-right { text-align: right; }
|
||||
td.org-left { text-align: left; }
|
||||
td.org-center { text-align: center; }
|
||||
dt { font-weight: bold; }
|
||||
.footpara:nth-child(2) { display: inline; }
|
||||
.footpara { display: block; }
|
||||
.footpara { display: inline; }
|
||||
.footdef { margin-bottom: 1em; }
|
||||
.figure { padding: 1em; }
|
||||
.figure p { text-align: center; }
|
||||
|
@ -89,6 +180,7 @@
|
|||
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
|
||||
.org-info-js_search-highlight
|
||||
{ background-color: #ffff00; color: #000000; font-weight: bold; }
|
||||
.org-svg { width: 90%; }
|
||||
/*]]>*/-->
|
||||
</style>
|
||||
<link rel="stylesheet" type="text/css" href="freedombone.css" />
|
||||
|
@ -97,7 +189,7 @@
|
|||
@licstart The following is the entire license notice for the
|
||||
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
|
||||
redistribute it and/or modify it under the terms of the GNU
|
||||
|
@ -144,66 +236,65 @@ for the JavaScript code in this tag.
|
|||
<a name="top" id="top"></a>
|
||||
</div>
|
||||
<div id="content">
|
||||
<h1 class="title"></h1>
|
||||
|
||||
<div class="figure">
|
||||
<p><img src="images/logo.png" alt="logo.png" width="80%" height="10%" align="center" />
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-sec-1" class="outline-2">
|
||||
<h2 id="sec-1">Installation</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<div id="outline-container-orgaaffe7e" class="outline-2">
|
||||
<h2 id="orgaaffe7e">Installation</h2>
|
||||
<div class="outline-text-2" id="text-orgaaffe7e">
|
||||
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
|
||||
<colgroup>
|
||||
<col class="left" />
|
||||
<col class="org-left" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="left"><a href="#sec-2">Building an image for a Single Board Computer or Virtual Machine</a></td>
|
||||
<td class="org-left"><a href="#org85992f0">Building an image for a Single Board Computer or Virtual Machine</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="left"><a href="#sec-3">Checklist</a></td>
|
||||
<td class="org-left"><a href="#orga435974">Checklist</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="left"><a href="./mesh.html">Mesh network</a></td>
|
||||
<td class="org-left"><a href="./mesh.html">Mesh network</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="left"><a href="#sec-1">Installation</a></td>
|
||||
<td class="org-left"><a href="#orgaaffe7e">Installation</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="left"><a href="#sec-5">Social Key Management - the 'Unforgettable Key'</a></td>
|
||||
<td class="org-left"><a href="#orgdbb804d">Social Key Management - the 'Unforgettable Key'</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="left"><a href="#sec-6">Final Setup</a></td>
|
||||
<td class="org-left"><a href="#orgc7f7e79">Final Setup</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="left"><a href="#sec-7">Keydrives</a></td>
|
||||
<td class="org-left"><a href="#org5c56524">Keydrives</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="left"><a href="#sec-8">On Client Machines</a></td>
|
||||
<td class="org-left"><a href="#org27e42b6">On Client Machines</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="left"><a href="#sec-9">Administering the system</a></td>
|
||||
<td class="org-left"><a href="#org24fb926">Administering the system</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-sec-2" class="outline-2">
|
||||
<h2 id="sec-2">Building an image for a Single Board Computer or Virtual Machine</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
<div id="outline-container-org85992f0" class="outline-2">
|
||||
<h2 id="org85992f0">Building an image for a Single Board Computer or Virtual Machine</h2>
|
||||
<div class="outline-text-2" id="text-org85992f0">
|
||||
<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>
|
||||
|
@ -213,10 +304,9 @@ Install the freedombone commands onto your laptop/desktop:
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">sudo apt-get install git build-essential dialog
|
||||
git clone https://github.com/bashrc/freedombone
|
||||
cd freedombone
|
||||
<span class="org-builtin">cd</span> freedombone
|
||||
git checkout stretch
|
||||
sudo make install
|
||||
</pre>
|
||||
|
@ -227,7 +317,6 @@ Then install packages needed for building images:
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">freedombone-image --setup debian
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -237,7 +326,6 @@ or on an Arch/Parabola system:
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">freedombone-image --setup parabola
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -247,7 +335,6 @@ A typical use case to build an 8GB image for a Beaglebone Black is as follows. Y
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">freedombone-image -t beaglebone -s 8G
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -257,7 +344,6 @@ If you prefer an advanced installation with all of the options available then us
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">freedombone-image -t beaglebone -s 8G --minimal no
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -267,7 +353,6 @@ To build a 64bit Qemu image:
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">freedombone-image -t qemu-x86_64 -s 8G
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -281,56 +366,49 @@ If the image build fails with an error such as "<i>Error reading from server. Re
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">freedombone-image -t beaglebone -s 8G -m http://ftp.de.debian.org/debian
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-sec-3" class="outline-2">
|
||||
<h2 id="sec-3">Checklist</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
<div id="outline-container-orga435974" class="outline-2">
|
||||
<h2 id="orga435974">Checklist</h2>
|
||||
<div class="outline-text-2" id="text-orga435974">
|
||||
<p>
|
||||
Before installing Freedombone you will need a few things.
|
||||
</p>
|
||||
|
||||
<ul class="org-ul">
|
||||
<li>Have some domains, or subdomains, registered with a dynamic DNS service. For the full install you may need two "official" purchased domains or be using a subdomain provider which is supported by Let's Encrypt.
|
||||
</li>
|
||||
<li>System with a new installation of Debian Stretch or a downloaded/prepared disk image
|
||||
</li>
|
||||
<li>Ethernet connection between the system and your internet router
|
||||
</li>
|
||||
<li>That it is possible to forward ports from the internet router to the system, typically via firewall settings
|
||||
</li>
|
||||
<li>Have ssh access to the system, typically via fbone@freedombone.local on port 2222
|
||||
</li>
|
||||
<li>Have some domains, or subdomains, registered with a dynamic DNS service. For the full install you may need two "official" purchased domains or be using a subdomain provider which is supported by Let's Encrypt.</li>
|
||||
<li>System with a new installation of Debian Stretch or a downloaded/prepared disk image</li>
|
||||
<li>Ethernet connection between the system and your internet router</li>
|
||||
<li>That it is possible to forward ports from the internet router to the system, typically via firewall settings</li>
|
||||
<li>Have ssh access to the system, typically via fbone@freedombone.local on port 2222</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-sec-4" class="outline-2">
|
||||
<h2 id="sec-4">Installation</h2>
|
||||
<div class="outline-text-2" id="text-4">
|
||||
<div id="outline-container-org81afcd3" class="outline-2">
|
||||
<h2 id="org81afcd3">Installation</h2>
|
||||
<div class="outline-text-2" id="text-org81afcd3">
|
||||
<p>
|
||||
There are three install options: Laptop/Desktop/Netbook, SBC and Virtual Machine.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-sec-4-1" class="outline-3">
|
||||
<h3 id="sec-4-1">On a Laptop, Netbook or Desktop machine</h3>
|
||||
<div class="outline-text-3" id="text-4-1">
|
||||
<div id="outline-container-org8cf2237" class="outline-3">
|
||||
<h3 id="org8cf2237">On a Laptop, Netbook or Desktop machine</h3>
|
||||
<div class="outline-text-3" id="text-org8cf2237">
|
||||
<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>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">su
|
||||
apt-get update
|
||||
apt-get -y install git dialog build-essential
|
||||
git clone https://github.com/bashrc/freedombone
|
||||
cd freedombone
|
||||
<span class="org-builtin">cd</span> freedombone
|
||||
git checkout stretch
|
||||
make install
|
||||
freedombone menuconfig
|
||||
|
@ -339,28 +417,21 @@ freedombone menuconfig
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-sec-4-2" class="outline-3">
|
||||
<h3 id="sec-4-2">On a single board computer (SBC)</h3>
|
||||
<div class="outline-text-3" id="text-4-2">
|
||||
<div id="outline-container-orge5e5408" class="outline-3">
|
||||
<h3 id="orge5e5408">On a single board computer (SBC)</h3>
|
||||
<div class="outline-text-3" id="text-orge5e5408">
|
||||
<p>
|
||||
Currently the following boards are supported:
|
||||
</p>
|
||||
|
||||
<ul class="org-ul">
|
||||
<li><a href="https://beagleboard.org/BLACK">Beaglebone Black</a>
|
||||
</li>
|
||||
<li><a href="https://linux-sunxi.org/Cubietech_Cubieboard2">Cubieboard 2</a>
|
||||
</li>
|
||||
<li><a href="https://linux-sunxi.org/Cubietruck">Cubietruck (Cubieboard 3)</a>
|
||||
</li>
|
||||
<li><a href="https://www.sparkfun.com/products/retired/12856">PCDuino3</a>
|
||||
</li>
|
||||
<li><a href="https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXIno-LIME/open-source-hardware">olinuxino Lime</a>
|
||||
</li>
|
||||
<li><a href="https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXIno-LIME2/open-source-hardware">olinuxino Lime2</a>
|
||||
</li>
|
||||
<li><a href="https://www.olimex.com/Products/OlinuXino/A20/A20-OlinuXino-MICRO/open-source-hardware">olinuxino Micro</a>
|
||||
</li>
|
||||
<li><a href="https://beagleboard.org/BLACK">Beaglebone Black</a></li>
|
||||
<li><a href="https://linux-sunxi.org/Cubietech_Cubieboard2">Cubieboard 2</a></li>
|
||||
<li><a href="https://linux-sunxi.org/Cubietruck">Cubietruck (Cubieboard 3)</a></li>
|
||||
<li><a href="https://www.sparkfun.com/products/retired/12856">PCDuino3</a></li>
|
||||
<li><a href="https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXIno-LIME/open-source-hardware">olinuxino Lime</a></li>
|
||||
<li><a href="https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXIno-LIME2/open-source-hardware">olinuxino Lime2</a></li>
|
||||
<li><a href="https://www.olimex.com/Products/OlinuXino/A20/A20-OlinuXino-MICRO/open-source-hardware">olinuxino Micro</a></li>
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
|
@ -368,7 +439,6 @@ If there is no existing image available then you can build one from scratch. See
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">gpg --verify filename.img.asc
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -378,7 +448,6 @@ And the hash with:
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">sha256sum filename.img
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -388,7 +457,6 @@ If the image is compressed then decompress it with:
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">unxz filename.img.xz
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -398,8 +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 bs=1M if=filename.img of=/dev/sdX conv=fdatasync
|
||||
<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
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
|
@ -408,7 +475,6 @@ Where <b>sdX</b> is the microSD drive. You can check which drive is the microSD
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">ls /dev/sd*
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -422,7 +488,6 @@ With the board connected and running you can ssh into the system with:
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">ssh fbone@freedombone.local -p 2222
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -433,15 +498,14 @@ Using the password 'freedombone'. Take a note of the new login password and then
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-sec-4-3" class="outline-3">
|
||||
<h3 id="sec-4-3">As a Virtual Machine</h3>
|
||||
<div class="outline-text-3" id="text-4-3">
|
||||
<div id="outline-container-org9ae9946" class="outline-3">
|
||||
<h3 id="org9ae9946">As a Virtual Machine</h3>
|
||||
<div class="outline-text-3" id="text-org9ae9946">
|
||||
<p>
|
||||
Qemu is currently supported, since it's s fully free software system. You can run a 64 bit Qemu image with:
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">qemu-system-x86_64 -m 1G filename.img
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -453,42 +517,42 @@ The default login will be username 'fbone' and password 'freedombone'. Take a no
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-sec-5" class="outline-2">
|
||||
<h2 id="sec-5">Social Key Management - the 'Unforgettable Key'</h2>
|
||||
<div class="outline-text-2" id="text-5">
|
||||
<div id="outline-container-orgdbb804d" class="outline-2">
|
||||
<h2 id="orgdbb804d">Social Key Management - the 'Unforgettable Key'</h2>
|
||||
<div class="outline-text-2" id="text-orgdbb804d">
|
||||
<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-sec-5-1" class="outline-3">
|
||||
<h3 id="sec-5-1">You have the gnupg keyring on an encrypted USB drive</h3>
|
||||
<div class="outline-text-3" id="text-5-1">
|
||||
<div id="outline-container-orgea070ec" class="outline-3">
|
||||
<h3 id="orgea070ec">You have the gnupg keyring on an encrypted USB drive</h3>
|
||||
<div class="outline-text-3" id="text-orgea070ec">
|
||||
<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-sec-5-2" class="outline-3">
|
||||
<h3 id="sec-5-2">You have a number of key fragments on USB drives retrieved from friends</h3>
|
||||
<div class="outline-text-3" id="text-5-2">
|
||||
<div id="outline-container-org08d572c" class="outline-3">
|
||||
<h3 id="org08d572c">You have a number of key fragments on USB drives retrieved from friends</h3>
|
||||
<div class="outline-text-3" id="text-org08d572c">
|
||||
<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="#sec-7">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="#org5c56524">Keydrives</a>.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-sec-5-3" class="outline-3">
|
||||
<h3 id="sec-5-3">You can specify some ssh login details for friends servers containing key fragments</h3>
|
||||
<div class="outline-text-3" id="text-5-3">
|
||||
<div id="outline-container-orgf13618c" class="outline-3">
|
||||
<h3 id="orgf13618c">You can specify some ssh login details for friends servers containing key fragments</h3>
|
||||
<div class="outline-text-3" id="text-orgf13618c">
|
||||
<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-sec-6" class="outline-2">
|
||||
<h2 id="sec-6">Final Setup</h2>
|
||||
<div class="outline-text-2" id="text-6">
|
||||
<div id="outline-container-orgc7f7e79" class="outline-2">
|
||||
<h2 id="orgc7f7e79">Final Setup</h2>
|
||||
<div class="outline-text-2" id="text-orgc7f7e79">
|
||||
<p>
|
||||
Any manual post-installation setup instructions or passwords can be found in /home/username/README.
|
||||
</p>
|
||||
|
@ -501,127 +565,126 @@ On your internet router, typically under firewall settings, open the following p
|
|||
|
||||
|
||||
<colgroup>
|
||||
<col class="left" />
|
||||
<col class="org-left" />
|
||||
|
||||
<col class="right" />
|
||||
<col class="org-right" />
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" class="left">Service</th>
|
||||
<th scope="col" class="right">Ports</th>
|
||||
<th scope="col" class="org-left">Service</th>
|
||||
<th scope="col" class="org-right">Ports</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="left">HTTP</td>
|
||||
<td class="right">80</td>
|
||||
<td class="org-left">HTTP</td>
|
||||
<td class="org-right">80</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="left">HTTPS</td>
|
||||
<td class="right">443</td>
|
||||
<td class="org-left">HTTPS</td>
|
||||
<td class="org-right">443</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="left">SSH</td>
|
||||
<td class="right">2222</td>
|
||||
<td class="org-left">SSH</td>
|
||||
<td class="org-right">2222</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="left">DLNA</td>
|
||||
<td class="right">1900</td>
|
||||
<td class="org-left">DLNA</td>
|
||||
<td class="org-right">1900</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="left">DLNA</td>
|
||||
<td class="right">8200</td>
|
||||
<td class="org-left">DLNA</td>
|
||||
<td class="org-right">8200</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="left">XMPP</td>
|
||||
<td class="right">5222..5223</td>
|
||||
<td class="org-left">XMPP</td>
|
||||
<td class="org-right">5222..5223</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="left">XMPP</td>
|
||||
<td class="right">5269</td>
|
||||
<td class="org-left">XMPP</td>
|
||||
<td class="org-right">5269</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="left">XMPP</td>
|
||||
<td class="right">5280..5281</td>
|
||||
<td class="org-left">XMPP</td>
|
||||
<td class="org-right">5280..5281</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="left">IRC</td>
|
||||
<td class="right">6697</td>
|
||||
<td class="org-left">IRC</td>
|
||||
<td class="org-right">6697</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="left">Git</td>
|
||||
<td class="right">9418</td>
|
||||
<td class="org-left">Git</td>
|
||||
<td class="org-right">9418</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="left">Email</td>
|
||||
<td class="right">25</td>
|
||||
<td class="org-left">Email</td>
|
||||
<td class="org-right">25</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="left">Email</td>
|
||||
<td class="right">587</td>
|
||||
<td class="org-left">Email</td>
|
||||
<td class="org-right">587</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="left">Email</td>
|
||||
<td class="right">465</td>
|
||||
<td class="org-left">Email</td>
|
||||
<td class="org-right">465</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="left">Email</td>
|
||||
<td class="right">993</td>
|
||||
<td class="org-left">Email</td>
|
||||
<td class="org-right">993</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="left">VoIP</td>
|
||||
<td class="right">64738</td>
|
||||
<td class="org-left">VoIP</td>
|
||||
<td class="org-right">64738</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="left">VoIP</td>
|
||||
<td class="right">5060</td>
|
||||
<td class="org-left">VoIP</td>
|
||||
<td class="org-right">5060</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="left">Tox</td>
|
||||
<td class="right">33445</td>
|
||||
<td class="org-left">Tox</td>
|
||||
<td class="org-right">33445</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="left">Syncthing</td>
|
||||
<td class="right">22000</td>
|
||||
<td class="org-left">Syncthing</td>
|
||||
<td class="org-right">22000</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-sec-7" class="outline-2">
|
||||
<h2 id="sec-7">Keydrives</h2>
|
||||
<div class="outline-text-2" id="text-7">
|
||||
<div id="outline-container-org5c56524" class="outline-2">
|
||||
<h2 id="org5c56524">Keydrives</h2>
|
||||
<div class="outline-text-2" id="text-org5c56524">
|
||||
<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-sec-7-1" class="outline-3">
|
||||
<h3 id="sec-7-1">Master Keydrive</h3>
|
||||
<div class="outline-text-3" id="text-7-1">
|
||||
<div id="outline-container-orga8df9a9" class="outline-3">
|
||||
<h3 id="orga8df9a9">Master Keydrive</h3>
|
||||
<div class="outline-text-3" id="text-orga8df9a9">
|
||||
<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>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">ssh myusername@mydomainname -p 2222
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -631,15 +694,14 @@ Select <i>Administrator controls</i> then <i>Backup and Restore</i> then <i>Back
|
|||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-sec-7-2" class="outline-3">
|
||||
<h3 id="sec-7-2">Fragment keydrives</h3>
|
||||
<div class="outline-text-3" id="text-7-2">
|
||||
<div id="outline-container-orgfbd6e5b" class="outline-3">
|
||||
<h3 id="orgfbd6e5b">Fragment keydrives</h3>
|
||||
<div class="outline-text-3" id="text-orgfbd6e5b">
|
||||
<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>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">ssh myusername@mydomainname -p 2222
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -654,19 +716,18 @@ Fragments are randomly assigned and so you will need at least three or four keyd
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-sec-8" class="outline-2">
|
||||
<h2 id="sec-8">On Client Machines</h2>
|
||||
<div class="outline-text-2" id="text-8">
|
||||
<div id="outline-container-org27e42b6" class="outline-2">
|
||||
<h2 id="org27e42b6">On Client Machines</h2>
|
||||
<div class="outline-text-2" id="text-org27e42b6">
|
||||
<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>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">sudo apt-get update
|
||||
sudo apt-get install git dialog haveged build-essential
|
||||
git clone https://github.com/bashrc/freedombone
|
||||
cd freedombone
|
||||
<span class="org-builtin">cd</span> freedombone
|
||||
git checkout stretch
|
||||
sudo make install
|
||||
freedombone-client
|
||||
|
@ -675,15 +736,14 @@ freedombone-client
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-sec-9" class="outline-2">
|
||||
<h2 id="sec-9">Administering the system</h2>
|
||||
<div class="outline-text-2" id="text-9">
|
||||
<div id="outline-container-org24fb926" class="outline-2">
|
||||
<h2 id="org24fb926">Administering the system</h2>
|
||||
<div class="outline-text-2" id="text-org24fb926">
|
||||
<p>
|
||||
To administer the system after installation log in via ssh, become the root user and then launch the control panel.
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">ssh myusername@freedombone.local -p 2222
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -692,14 +752,9 @@ To administer the system after installation log in via ssh, become the root user
|
|||
Select <i>Administrator controls</i> then from there you will be able to perform various tasks, such as backups, adding and removing users and so on. You can also do this via commands, which are typically installed as /usr/local/bin/freedombone* and the corresponding manpages.
|
||||
</p>
|
||||
|
||||
<div class="export">
|
||||
<p>
|
||||
<center>
|
||||
Return to the <a href="index.html">home page</a>
|
||||
</center>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
<center>
|
||||
Return to the <a href="index.html">home page</a>
|
||||
</center>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -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-04-15 Sun 18:25 -->
|
||||
<!-- 2018-04-21 Sat 14:59 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>‎</title>
|
||||
|
@ -242,17 +242,17 @@ for the JavaScript code in this tag.
|
|||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd03cecc" class="outline-2">
|
||||
<h2 id="orgd03cecc">Mesh Network: Images</h2>
|
||||
<div id="outline-container-org86cebe1" class="outline-2">
|
||||
<h2 id="org86cebe1">Mesh Network: Images</h2>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2613bbd" class="outline-2">
|
||||
<h2 id="org2613bbd">Pre-built Disk Images</h2>
|
||||
<div class="outline-text-2" id="text-org2613bbd">
|
||||
<div id="outline-container-org144a10d" class="outline-2">
|
||||
<h2 id="org144a10d">Pre-built Disk Images</h2>
|
||||
<div class="outline-text-2" id="text-org144a10d">
|
||||
</div>
|
||||
<div id="outline-container-org3cdda6d" class="outline-3">
|
||||
<h3 id="org3cdda6d">Writing many images quickly</h3>
|
||||
<div class="outline-text-3" id="text-org3cdda6d">
|
||||
<div id="outline-container-org4231464" class="outline-3">
|
||||
<h3 id="org4231464">Writing many images quickly</h3>
|
||||
<div class="outline-text-3" id="text-org4231464">
|
||||
<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-org41f717a" class="outline-3">
|
||||
<h3 id="org41f717a">Client images</h3>
|
||||
<div class="outline-text-3" id="text-org41f717a">
|
||||
<div id="outline-container-org47d0e94" class="outline-3">
|
||||
<h3 id="org47d0e94">Client images</h3>
|
||||
<div class="outline-text-3" id="text-org47d0e94">
|
||||
|
||||
<div class="figure">
|
||||
<p><img src="images/mesh_netbook.jpg" alt="mesh_netbook.jpg" width="100%" align="center" />
|
||||
|
@ -299,8 +299,8 @@ wget https://freedombone.net/downloads/v31/freedombone-meshclient-i386.img.xz
|
|||
wget https://freedombone.net/downloads/v31/freedombone-meshclient-i386.img.xz.sig
|
||||
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>=1M <span class="org-variable-name">count</span>=8
|
||||
sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">if</span>=freedombone-meshclient-i386.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync
|
||||
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
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
|
@ -318,23 +318,23 @@ wget https://freedombone.net/downloads/v31/freedombone-meshclient-insecure-i386.
|
|||
wget https://freedombone.net/downloads/v31/freedombone-meshclient-insecure-i386.img.xz.sig
|
||||
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>=1M <span class="org-variable-name">count</span>=8
|
||||
sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">if</span>=freedombone-meshclient-insecure-i386.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync
|
||||
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
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbe3f97e" class="outline-3">
|
||||
<h3 id="orgbe3f97e">Router images</h3>
|
||||
<div class="outline-text-3" id="text-orgbe3f97e">
|
||||
<div id="outline-container-orge2c765f" class="outline-3">
|
||||
<h3 id="orge2c765f">Router images</h3>
|
||||
<div class="outline-text-3" id="text-orge2c765f">
|
||||
<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-org1859392" class="outline-4">
|
||||
<h4 id="org1859392">Beaglebone Black</h4>
|
||||
<div class="outline-text-4" id="text-org1859392">
|
||||
<div id="outline-container-org0194fde" class="outline-4">
|
||||
<h4 id="org0194fde">Beaglebone Black</h4>
|
||||
<div class="outline-text-4" id="text-org0194fde">
|
||||
|
||||
<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>=1M <span class="org-variable-name">if</span>=freedombone-mesh_beaglebone-armhf.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync
|
||||
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
|
||||
</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-orgf16e84d" class="outline-2">
|
||||
<h2 id="orgf16e84d">Building Disk Images</h2>
|
||||
<div class="outline-text-2" id="text-orgf16e84d">
|
||||
<div id="outline-container-orgfcd1440" class="outline-2">
|
||||
<h2 id="orgfcd1440">Building Disk Images</h2>
|
||||
<div class="outline-text-2" id="text-orgfcd1440">
|
||||
<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>
|
||||
|
@ -425,8 +425,8 @@ You can now copy the image to the USB thumb drive, replacing <b>sdX</b> with the
|
|||
</p>
|
||||
|
||||
<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>=1M <span class="org-variable-name">count</span>=8
|
||||
sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">if</span>=myimagefile.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync
|
||||
<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
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -3,26 +3,33 @@
|
|||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<title></title>
|
||||
<!-- 2018-04-12 Thu 13:25 -->
|
||||
<!-- 2018-04-21 Sat 14:59 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="generator" content="Org-mode" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>‎</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
<meta name="author" content="Bob Mottram" />
|
||||
<meta name="description" content="Version 3"
|
||||
/>
|
||||
<meta name="keywords" content="freedombone" />
|
||||
<style type="text/css">
|
||||
<!--/*--><![CDATA[/*><!--*/
|
||||
.title { text-align: center; }
|
||||
.title { text-align: center;
|
||||
margin-bottom: .2em; }
|
||||
.subtitle { text-align: center;
|
||||
font-size: medium;
|
||||
font-weight: bold;
|
||||
margin-top:0; }
|
||||
.todo { font-family: monospace; color: red; }
|
||||
.done { color: green; }
|
||||
.done { font-family: monospace; color: green; }
|
||||
.priority { font-family: monospace; color: orange; }
|
||||
.tag { background-color: #eee; font-family: monospace;
|
||||
padding: 2px; font-size: 80%; font-weight: normal; }
|
||||
.timestamp { color: #bebebe; }
|
||||
.timestamp-kwd { color: #5f9ea0; }
|
||||
.right { margin-left: auto; margin-right: 0px; text-align: right; }
|
||||
.left { margin-left: 0px; margin-right: auto; text-align: left; }
|
||||
.center { margin-left: auto; margin-right: auto; text-align: center; }
|
||||
.org-right { margin-left: auto; margin-right: 0px; text-align: right; }
|
||||
.org-left { margin-left: 0px; margin-right: auto; text-align: left; }
|
||||
.org-center { margin-left: auto; margin-right: auto; text-align: center; }
|
||||
.underline { text-decoration: underline; }
|
||||
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
|
||||
p.verse { margin-left: 3%; }
|
||||
|
@ -49,27 +56,111 @@
|
|||
border: 1px solid black;
|
||||
}
|
||||
pre.src:hover:before { display: inline;}
|
||||
pre.src-sh:before { content: 'sh'; }
|
||||
pre.src-bash:before { content: 'sh'; }
|
||||
/* Languages per Org manual */
|
||||
pre.src-asymptote:before { content: 'Asymptote'; }
|
||||
pre.src-awk:before { content: 'Awk'; }
|
||||
pre.src-C:before { content: 'C'; }
|
||||
/* pre.src-C++ doesn't work in CSS */
|
||||
pre.src-clojure:before { content: 'Clojure'; }
|
||||
pre.src-css:before { content: 'CSS'; }
|
||||
pre.src-D:before { content: 'D'; }
|
||||
pre.src-ditaa:before { content: 'ditaa'; }
|
||||
pre.src-dot:before { content: 'Graphviz'; }
|
||||
pre.src-calc:before { content: 'Emacs Calc'; }
|
||||
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
|
||||
pre.src-R:before { content: 'R'; }
|
||||
pre.src-perl:before { content: 'Perl'; }
|
||||
pre.src-fortran:before { content: 'Fortran'; }
|
||||
pre.src-gnuplot:before { content: 'gnuplot'; }
|
||||
pre.src-haskell:before { content: 'Haskell'; }
|
||||
pre.src-hledger:before { content: 'hledger'; }
|
||||
pre.src-java:before { content: 'Java'; }
|
||||
pre.src-js:before { content: 'Javascript'; }
|
||||
pre.src-latex:before { content: 'LaTeX'; }
|
||||
pre.src-ledger:before { content: 'Ledger'; }
|
||||
pre.src-lisp:before { content: 'Lisp'; }
|
||||
pre.src-lilypond:before { content: 'Lilypond'; }
|
||||
pre.src-lua:before { content: 'Lua'; }
|
||||
pre.src-matlab:before { content: 'MATLAB'; }
|
||||
pre.src-mscgen:before { content: 'Mscgen'; }
|
||||
pre.src-ocaml:before { content: 'Objective Caml'; }
|
||||
pre.src-octave:before { content: 'Octave'; }
|
||||
pre.src-org:before { content: 'Org mode'; }
|
||||
pre.src-oz:before { content: 'OZ'; }
|
||||
pre.src-plantuml:before { content: 'Plantuml'; }
|
||||
pre.src-processing:before { content: 'Processing.js'; }
|
||||
pre.src-python:before { content: 'Python'; }
|
||||
pre.src-R:before { content: 'R'; }
|
||||
pre.src-ruby:before { content: 'Ruby'; }
|
||||
pre.src-sass:before { content: 'Sass'; }
|
||||
pre.src-scheme:before { content: 'Scheme'; }
|
||||
pre.src-screen:before { content: 'Gnu Screen'; }
|
||||
pre.src-sed:before { content: 'Sed'; }
|
||||
pre.src-sh:before { content: 'shell'; }
|
||||
pre.src-sql:before { content: 'SQL'; }
|
||||
pre.src-sqlite:before { content: 'SQLite'; }
|
||||
/* additional languages in org.el's org-babel-load-languages alist */
|
||||
pre.src-forth:before { content: 'Forth'; }
|
||||
pre.src-io:before { content: 'IO'; }
|
||||
pre.src-J:before { content: 'J'; }
|
||||
pre.src-makefile:before { content: 'Makefile'; }
|
||||
pre.src-maxima:before { content: 'Maxima'; }
|
||||
pre.src-perl:before { content: 'Perl'; }
|
||||
pre.src-picolisp:before { content: 'Pico Lisp'; }
|
||||
pre.src-scala:before { content: 'Scala'; }
|
||||
pre.src-shell:before { content: 'Shell Script'; }
|
||||
pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
|
||||
/* additional language identifiers per "defun org-babel-execute"
|
||||
in ob-*.el */
|
||||
pre.src-cpp:before { content: 'C++'; }
|
||||
pre.src-abc:before { content: 'ABC'; }
|
||||
pre.src-coq:before { content: 'Coq'; }
|
||||
pre.src-groovy:before { content: 'Groovy'; }
|
||||
/* additional language identifiers from org-babel-shell-names in
|
||||
ob-shell.el: ob-shell is the only babel language using a lambda to put
|
||||
the execution function name together. */
|
||||
pre.src-bash:before { content: 'bash'; }
|
||||
pre.src-csh:before { content: 'csh'; }
|
||||
pre.src-ash:before { content: 'ash'; }
|
||||
pre.src-dash:before { content: 'dash'; }
|
||||
pre.src-ksh:before { content: 'ksh'; }
|
||||
pre.src-mksh:before { content: 'mksh'; }
|
||||
pre.src-posh:before { content: 'posh'; }
|
||||
/* Additional Emacs modes also supported by the LaTeX listings package */
|
||||
pre.src-ada:before { content: 'Ada'; }
|
||||
pre.src-asm:before { content: 'Assembler'; }
|
||||
pre.src-caml:before { content: 'Caml'; }
|
||||
pre.src-delphi:before { content: 'Delphi'; }
|
||||
pre.src-html:before { content: 'HTML'; }
|
||||
pre.src-idl:before { content: 'IDL'; }
|
||||
pre.src-mercury:before { content: 'Mercury'; }
|
||||
pre.src-metapost:before { content: 'MetaPost'; }
|
||||
pre.src-modula-2:before { content: 'Modula-2'; }
|
||||
pre.src-pascal:before { content: 'Pascal'; }
|
||||
pre.src-ps:before { content: 'PostScript'; }
|
||||
pre.src-prolog:before { content: 'Prolog'; }
|
||||
pre.src-simula:before { content: 'Simula'; }
|
||||
pre.src-tcl:before { content: 'tcl'; }
|
||||
pre.src-tex:before { content: 'TeX'; }
|
||||
pre.src-plain-tex:before { content: 'Plain TeX'; }
|
||||
pre.src-verilog:before { content: 'Verilog'; }
|
||||
pre.src-vhdl:before { content: 'VHDL'; }
|
||||
pre.src-xml:before { content: 'XML'; }
|
||||
pre.src-nxml:before { content: 'XML'; }
|
||||
/* add a generic configuration mode; LaTeX export needs an additional
|
||||
(add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
|
||||
pre.src-conf:before { content: 'Configuration File'; }
|
||||
|
||||
table { border-collapse:collapse; }
|
||||
caption.t-above { caption-side: top; }
|
||||
caption.t-bottom { caption-side: bottom; }
|
||||
td, th { vertical-align:top; }
|
||||
th.right { text-align: center; }
|
||||
th.left { text-align: center; }
|
||||
th.center { text-align: center; }
|
||||
td.right { text-align: right; }
|
||||
td.left { text-align: left; }
|
||||
td.center { text-align: center; }
|
||||
th.org-right { text-align: center; }
|
||||
th.org-left { text-align: center; }
|
||||
th.org-center { text-align: center; }
|
||||
td.org-right { text-align: right; }
|
||||
td.org-left { text-align: left; }
|
||||
td.org-center { text-align: center; }
|
||||
dt { font-weight: bold; }
|
||||
.footpara:nth-child(2) { display: inline; }
|
||||
.footpara { display: block; }
|
||||
.footpara { display: inline; }
|
||||
.footdef { margin-bottom: 1em; }
|
||||
.figure { padding: 1em; }
|
||||
.figure p { text-align: center; }
|
||||
|
@ -89,6 +180,7 @@
|
|||
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
|
||||
.org-info-js_search-highlight
|
||||
{ background-color: #ffff00; color: #000000; font-weight: bold; }
|
||||
.org-svg { width: 90%; }
|
||||
/*]]>*/-->
|
||||
</style>
|
||||
<link rel="stylesheet" type="text/css" href="freedombone.css" />
|
||||
|
@ -97,7 +189,7 @@
|
|||
@licstart The following is the entire license notice for the
|
||||
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
|
||||
redistribute it and/or modify it under the terms of the GNU
|
||||
|
@ -144,16 +236,15 @@ for the JavaScript code in this tag.
|
|||
<a name="top" id="top"></a>
|
||||
</div>
|
||||
<div id="content">
|
||||
<h1 class="title"></h1>
|
||||
|
||||
<div class="figure">
|
||||
<p><img src="images/release3.jpg" alt="release3.jpg" width="100%" align="center" />
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-sec-1" class="outline-2">
|
||||
<h2 id="sec-1">Building an internet run by the users, for the users</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<div id="outline-container-org9121f8f" class="outline-2">
|
||||
<h2 id="org9121f8f">Building an internet run by the users, for the users</h2>
|
||||
<div class="outline-text-2" id="text-org9121f8f">
|
||||
<p>
|
||||
The internet may still be mostly in the clutches of a few giant megacorporations and dubious governments with sketchy agendas, but it doesn't have to remain that way. With the third version of the Freedombone system there is now more scope than before to take back your privacy, have ownership of personal data and run your own online communities without undesirable intermediaries.
|
||||
</p>
|
||||
|
@ -163,27 +254,20 @@ Freedombone version 3 is based on Debian 9 (Stretch). It was released in July 20
|
|||
</p>
|
||||
|
||||
<ul class="org-ul">
|
||||
<li>Faster initial setup
|
||||
</li>
|
||||
<li>More <a href="./apps.html">installable apps</a>, including CryptPad, Koel, NextCloud, PostActiv, Friendica and Matrix/RiotWeb
|
||||
</li>
|
||||
<li>Automated <a href="https://github.com/hardenedlinux/STIG-4-Debian">security tests</a>
|
||||
</li>
|
||||
<li>Improved XMPP configuration for support of the <a href="https://conversations.im">Conversations</a> app features
|
||||
</li>
|
||||
<li>Improved blocking controls for a better federated network experience
|
||||
</li>
|
||||
<li>Uses <a href="https://en.wikipedia.org/wiki/EdDSA">elliptic curve</a> based GPG keys for better performance on low power single board computers
|
||||
</li>
|
||||
<li>Pre-downloaded repos distributed within images for faster and more autonomous app installs
|
||||
</li>
|
||||
<li>Faster initial setup</li>
|
||||
<li>More <a href="./apps.html">installable apps</a>, including CryptPad, Koel, NextCloud, PostActiv, Friendica and Matrix/RiotWeb</li>
|
||||
<li>Automated <a href="https://github.com/hardenedlinux/STIG-4-Debian">security tests</a></li>
|
||||
<li>Improved XMPP configuration for support of the <a href="https://conversations.im">Conversations</a> app features</li>
|
||||
<li>Improved blocking controls for a better federated network experience</li>
|
||||
<li>Uses <a href="https://en.wikipedia.org/wiki/EdDSA">elliptic curve</a> based GPG keys for better performance on low power single board computers</li>
|
||||
<li>Pre-downloaded repos distributed within images for faster and more autonomous app installs</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-sec-2" class="outline-2">
|
||||
<h2 id="sec-2">Installation</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
<div id="outline-container-org68d06a3" class="outline-2">
|
||||
<h2 id="org68d06a3">Installation</h2>
|
||||
<div class="outline-text-2" id="text-org68d06a3">
|
||||
<p>
|
||||
The simplest way to install is from a pre-made disk image. Images can be <a href="https://freedombone.net/downloads/v3">downloaded here</a>. You will need to have previously obtained a domain name and have a dynamic DNS account somewhere.
|
||||
</p>
|
||||
|
@ -193,9 +277,8 @@ Copy the image to a microSD card or USB thumb drive, replacing sdX with the iden
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">unxz downloadedimagefile.img.xz
|
||||
dd bs=1M if=downloadedimagefile.img of=/dev/sdX conv=fdatasync
|
||||
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
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
|
@ -212,7 +295,6 @@ As the system boots for the first time the login is:
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">username: fbone
|
||||
password: freedombone
|
||||
</pre>
|
||||
|
@ -223,7 +305,6 @@ If you're installing from a microSD card on a single board computer without a sc
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">ssh fbone@freedombone.local -p 2222
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -242,9 +323,9 @@ More detailed installation instructions are linked from <a href="./index.html">t
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-sec-3" class="outline-2">
|
||||
<h2 id="sec-3">Upgrading from a previous install</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
<div id="outline-container-org976059e" class="outline-2">
|
||||
<h2 id="org976059e">Upgrading from a previous install</h2>
|
||||
<div class="outline-text-2" id="text-org976059e">
|
||||
<p>
|
||||
To upgrade from the Debian Jessie version first create a master keydrive. Go to the <b>Administrator control panel</b> and select <b>Backup and restore</b> then <b>Backup GPG key to USB (master keydrive)</b>. Insert a LUKS encrypted USB drive. When that is done Create a full backup by selecting <b>Backup data to USB drive</b> and using another LUKS encrypted USB drive.
|
||||
</p>
|
||||
|
|
|
@ -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-04-15 Sun 19:01 -->
|
||||
<!-- 2018-04-21 Sat 15:00 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>‎</title>
|
||||
|
@ -242,9 +242,9 @@ for the JavaScript code in this tag.
|
|||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org996a8d0" class="outline-2">
|
||||
<h2 id="org996a8d0"><b>Version 3.1, 2018-04-15</b></h2>
|
||||
<div class="outline-text-2" id="text-org996a8d0">
|
||||
<div id="outline-container-org562f1b2" class="outline-2">
|
||||
<h2 id="org562f1b2"><b>Version 3.1, 2018-04-15</b></h2>
|
||||
<div class="outline-text-2" id="text-org562f1b2">
|
||||
<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-org811872a" class="outline-2">
|
||||
<h2 id="org811872a">Installation</h2>
|
||||
<div class="outline-text-2" id="text-org811872a">
|
||||
<div id="outline-container-org0f2b77a" class="outline-2">
|
||||
<h2 id="org0f2b77a">Installation</h2>
|
||||
<div class="outline-text-2" id="text-org0f2b77a">
|
||||
<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>=1M <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
|
||||
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
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
|
@ -339,9 +339,9 @@ More detailed installation instructions are linked from <a href="./installmethod
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgba24030" class="outline-2">
|
||||
<h2 id="orgba24030">Upgrading from a previous install</h2>
|
||||
<div class="outline-text-2" id="text-orgba24030">
|
||||
<div id="outline-container-orgf8d3f00" class="outline-2">
|
||||
<h2 id="orgf8d3f00">Upgrading from a previous install</h2>
|
||||
<div class="outline-text-2" id="text-orgf8d3f00">
|
||||
<p>
|
||||
To upgrade from version 3 just go to the <b>administrator control panel</b> and select <b>check for updates</b>.
|
||||
</p>
|
||||
|
|
|
@ -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-04-15 Sun 18:26 -->
|
||||
<!-- 2018-04-21 Sat 15:00 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>‎</title>
|
||||
|
@ -242,9 +242,9 @@ for the JavaScript code in this tag.
|
|||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3a57e54" class="outline-2">
|
||||
<h2 id="org3a57e54">Social Instance</h2>
|
||||
<div class="outline-text-2" id="text-org3a57e54">
|
||||
<div id="outline-container-org7227583" class="outline-2">
|
||||
<h2 id="org7227583">Social Instance</h2>
|
||||
<div class="outline-text-2" id="text-org7227583">
|
||||
<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-orgb2f2066" class="outline-2">
|
||||
<h2 id="orgb2f2066">Copy the image to the USB drive</h2>
|
||||
<div class="outline-text-2" id="text-orgb2f2066">
|
||||
<div id="outline-container-org1d12ef2" class="outline-2">
|
||||
<h2 id="org1d12ef2">Copy the image to the USB drive</h2>
|
||||
<div class="outline-text-2" id="text-org1d12ef2">
|
||||
<p>
|
||||
Substitute <b>sdX</b> with the device name for your USB drive.
|
||||
</p>
|
||||
|
@ -276,8 +276,8 @@ wget https://freedombone.net/downloads/v31/freedombone-pleroma-amd64.img.xz
|
|||
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>=1M <span class="org-variable-name">count</span>=8
|
||||
sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">if</span>=freedombone-pleroma-amd64.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync
|
||||
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
|
||||
</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-orgb12b5ef" class="outline-2">
|
||||
<h2 id="orgb12b5ef">Connect the laptop to your internet router</h2>
|
||||
<div class="outline-text-2" id="text-orgb12b5ef">
|
||||
<div id="outline-container-org1acc3f8" class="outline-2">
|
||||
<h2 id="org1acc3f8">Connect the laptop to your internet router</h2>
|
||||
<div class="outline-text-2" id="text-org1acc3f8">
|
||||
<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-org32addf2" class="outline-2">
|
||||
<h2 id="org32addf2">Boot the laptop from the USB drive</h2>
|
||||
<div class="outline-text-2" id="text-org32addf2">
|
||||
<div id="outline-container-orgc06c32b" class="outline-2">
|
||||
<h2 id="orgc06c32b">Boot the laptop from the USB drive</h2>
|
||||
<div class="outline-text-2" id="text-orgc06c32b">
|
||||
<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-org6417b90" class="outline-2">
|
||||
<h2 id="org6417b90">Forward ports 80 (HTTP) and 443 (HTTPS) from your internet router to the laptop</h2>
|
||||
<div class="outline-text-2" id="text-org6417b90">
|
||||
<div id="outline-container-orgbe57b0d" class="outline-2">
|
||||
<h2 id="orgbe57b0d">Forward ports 80 (HTTP) and 443 (HTTPS) from your internet router to the laptop</h2>
|
||||
<div class="outline-text-2" id="text-orgbe57b0d">
|
||||
<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-orga1248fc" class="outline-2">
|
||||
<h2 id="orga1248fc">From another machine ssh into the laptop</h2>
|
||||
<div class="outline-text-2" id="text-orga1248fc">
|
||||
<div id="outline-container-org61c8baa" class="outline-2">
|
||||
<h2 id="org61c8baa">From another machine ssh into the laptop</h2>
|
||||
<div class="outline-text-2" id="text-org61c8baa">
|
||||
<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-orge7dea9e" class="outline-2">
|
||||
<h2 id="orge7dea9e">Follow the setup procedure</h2>
|
||||
<div class="outline-text-2" id="text-orge7dea9e">
|
||||
<div id="outline-container-orgaaaf930" class="outline-2">
|
||||
<h2 id="orgaaaf930">Follow the setup procedure</h2>
|
||||
<div class="outline-text-2" id="text-orgaaaf930">
|
||||
<p>
|
||||
Enter your user details, domain name and dynamic DNS settings.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgde5ef18" class="outline-2">
|
||||
<h2 id="orgde5ef18">When installation is complete</h2>
|
||||
<div class="outline-text-2" id="text-orgde5ef18">
|
||||
<div id="outline-container-orgbd9fe95" class="outline-2">
|
||||
<h2 id="orgbd9fe95">When installation is complete</h2>
|
||||
<div class="outline-text-2" id="text-orgbd9fe95">
|
||||
<p>
|
||||
Navigate to your domain and register a new user.
|
||||
</p>
|
||||
|
|
Loading…
Reference in New Issue