Browse Source

Separate document for syncthing

stockholm
Bob Mottram 4 years ago
parent
commit
b214aaab10
7 changed files with 703 additions and 378 deletions
  1. + 78
    - 0
      doc/EN/app_syncthing.org
  2. + 1
    - 0
      doc/EN/apps.org
  3. + 1
    - 49
      doc/EN/usage.org
  4. BIN
      img/syncthing_browser.jpg
  5. + 391
    - 0
      website/EN/app_syncthing.html
  6. + 71
    - 68
      website/EN/apps.html
  7. + 161
    - 261
      website/EN/usage.html

+ 78
- 0
doc/EN/app_syncthing.org

@ -0,0 +1,78 @@
#+TITLE:
#+AUTHOR: Bob Mottram
#+EMAIL: bob@freedombone.net
#+KEYWORDS: freedombone, file sync
#+DESCRIPTION: How to use Syncthing
#+OPTIONS: ^:nil toc:nil
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="freedombone.css" />
#+BEGIN_CENTER
[[file:images/logo.png]]
#+END_CENTER
#+BEGIN_EXPORT html
<center>
<h1>Syncthing</h1>
</center>
#+END_EXPORT
Syncthing provides a similar capability to proprietary systems such as Dropbox, and also is well suited for use with low power single board computers. You can have one or more directories which are synchronized across your various laptops/desktops/devices, and this makes it hard for you to ever lose important files. The manner in which the synchronization is done is pretty secure, such that it would be difficult for passive adversaries (mass surveillance, "/men in the middle/", etc) to know what files you're sharing. Of course, you don't necessarily need to be running a server in order to use Syncthing, but if you do have a server which is always running then there's always at least one place to synchronize your files to or from.
Freedombone provides Syncthing shared directories for each user on the system, plus a single shared directory for all users. The expected most common scenario here is that of a family in which members may not want to share /all of their files/ with each other, but might want to share some in a common pool (eg. birthday photos). You can also easily share between different servers.
* On a laptop
Install syncthing on a Debian based distro:
#+BEGIN_SRC bash
curl -s https://syncthing.net/release-key.txt | sudo apt-key add -
echo "deb http://apt.syncthing.net/ syncthing release" | sudo tee /etc/apt/sources.list.d/syncthing.list
sudo apt-get update
sudo apt-get install syncthing
#+END_SRC
Or on Arch/Parabola:
#+begin_src bash
sudo pacman -S syncthing
#+end_src
Add syncthing to your startup applications, so that it begins running when your system starts. Then either restart your system or run the command "syncthing" from a terminal.
In another terminal log into Freedombone:
#+BEGIN_SRC bash
ssh username@domainname -p 2222
#+END_SRC
Then select *File Synchronization*.
#+BEGIN_CENTER
[[file:images/controlpanel/control_panel_file_sync.jpg]]
#+END_CENTER
Select *Show device ID* and copy the long string of letters and numbers shown, using the shift key then select the text followed by right click then select copy.
Open a non-Tor browser and enter *http://127.0.0.1:8384* as the URL. You should now see the minimalistic user interface. Under *Remote Devices* select *Add Remote Device*. In the *Device ID* field paste the string you just copied (CTRL+v). The Device name can be anything. Under *Share Folders with Device* check *default* (or whatever folder you created on your local machine), then save.
#+BEGIN_CENTER
[[file:images/syncthing_browser.jpg]]
#+END_CENTER
From the top menu select *Actions* and then *Show ID*, then copy the ID string (usually select then CTRL+c). Go back to the terminal control panel menu and select *Add an ID* then paste what you just copied (CTRL+v). Optionally you can also provide a description so that you later can know what that string corresponds to.
Now wait for a few minutes. Eventually you will see two messages appear within the browser asking if you want to add two new folders from the Freedombone server. Say yes to both, and specify *~/Sync* as the directory with your username and *~/SyncShared* as the shared directory. You can now copy files into your *~/Sync* directory and they will automatically be synced to the server. Those will be files which only you can access. If you copy files into *~/SyncShared* then they will also be available to any other users on the system.
* On Android
Install Syncthing and Connectbot from F-droid.
Set up Connectbot to log into Freedombone.
Select *File Synchronization*.
Select *Show device ID* and copy the long string of letters by pressing anywhere on the screen, selecting the *menu* then *copy* and then selecting the ID string. This is very tricky on a small screen, so expect to fail multiple times before you succeed in copying the text.
Open Syncthing and select the devices tab. Press on *+* and then paste the device ID with a long press followed by *Paste*. You may need to remove any stray characters which were copied during the previous haphazard selection process. Add a name, which can be anything.
Now select the menu (top left or menu button) and then press on *Device ID*. It will be copied to the clipboard. Go back to Connectbot and from the control panel select *File Synchronization* followed by *Add an ID*. You can then paste in the ID with a long press, and optionally add a description for the device. When that's done you can disconnect from Connectbot.
Now wait for a few minutes or more. Eventually you should receive two notifications (swipe down from the top to see them) which will allow you to confirm the connection to the server. Say yes to both, and specify appropriate directories for your files and the shared files. To reduce battery and data usage via the settings you can also set Syncthing to only sync while it's charging and only while it's connected to wifi.

+ 1
- 0
doc/EN/apps.org

@ -77,6 +77,7 @@ Private RSS reader. Pulls in RSS/Atom feeds via Tor and is only accessible via a
* Syncthing
Possibly the best way to synchronise files across all of your devices. Once it has been set up it "just works" with no user intervention needed.
[[./app_syncthing.html][How to use it]]
* Tox
Client and bootstrap node for the Tox chat/VoIP system.

+ 1
- 49
doc/EN/usage.org

@ -21,7 +21,7 @@
| [[Administrating the system via an onion address (Tor)]] |
| [[./mobile.html][Mobile advice]] |
| [[./usage_email.html][Using Email]] |
| [[Syncing to the Cloud]] |
| [[./app_syncthing.html][Syncing to the Cloud]] |
| [[Play Music]] |
| [[Microblogging (GNU Social)]] |
| [[Sharing things]] |
@ -98,54 +98,6 @@ ssh username@address.onion -p 2222
#+END_SRC
Subsequently even if dynamic DNS isn't working you may still be able to administer your system. Using the onion address also gives you some degree of protection against corporate or government metadata analysis, since it becomes more difficult to passively detect which systems are communicating.
* Syncing to the Cloud
[[https://syncthing.net][Syncthing]] provides a similar capability to proprietary systems such as Dropbox, and also is well suited for use with low power single board computers. You can have one or more directories which are synchronized across your various laptops/desktops/devices, and this makes it hard for you to ever lose important files. The manner in which the synchronization is done is pretty secure, such that it would be difficult for passive adversaries (mass surveillance, "/men in the middle/", etc) to know what files you're sharing. Of course, you don't necessarily need to be running a server in order to use Syncthing, but if you do have a server which is always running then there's always at least one place to synchronize your files to or from.
Freedombone provides Syncthing shared directories for each user on the system, plus a single shared directory for all users. The expected most common scenario here is that of a family in which members may not want to share /all of their files/ with each other, but might want to share some in a common pool (eg. birthday photos). You can also easily share between different servers.
** On a laptop
Install syncthing:
#+BEGIN_SRC bash
curl -s https://syncthing.net/release-key.txt | sudo apt-key add -
echo "deb http://apt.syncthing.net/ syncthing release" | sudo tee /etc/apt/sources.list.d/syncthing.list
sudo apt-get update
sudo apt-get install syncthing
#+END_SRC
Add syncthing to your startup applications, so that it begins running when your system starts. Then either restart your system or run the command "syncthing" from a terminal.
In another terminal log into Freedombone:
#+BEGIN_SRC bash
ssh username@domainname -p 2222
#+END_SRC
Then select *File Synchronization*.
[[file:images/controlpanel/control_panel_file_sync.jpg]]
Select *Show device ID* and copy the long string of letters and numbers shown, using the shift key then select the text followed by right click then select copy.
Open a non-Tor browser and enter *http://127.0.0.1:8384* as the URL. You should now see the minimalistic user interface. Under *Remote Devices* select *Add Remote Device*. In the *Device ID* field paste the string you just copied (CTRL+v). The Device name can be anything. Under *Share Folders with Device* check *default* (or whatever folder you created on your local machine), then save.
From the top menu select *Actions* and then *Show ID*, then copy the ID string (usually select then CTRL+c). Go back to the terminal control panel menu and select *Add an ID* then paste what you just copied (CTRL+v). Optionally you can also provide a description so that you later can know what that string corresponds to.
Now wait for a few minutes. Eventually you will see two messages appear within the browser asking if you want to add two new folders from the Freedombone server. Say yes to both, and specify *~/Sync* as the directory with your username and *~/SyncShared* as the shared directory. You can now copy files into your *~/Sync* directory and they will automatically be synced to the server. Those will be files which only you can access. If you copy files into *~/SyncShared* then they will also be available to any other users on the system.
** On Android
Install Syncthing and Connectbot from F-droid.
Set up Connectbot to log into Freedombone.
Select *File Synchronization*.
Select *Show device ID* and copy the long string of letters by pressing anywhere on the screen, selecting the *menu* then *copy* and then selecting the ID string. This is very tricky on a small screen, so expect to fail multiple times before you succeed in copying the text.
Open Syncthing and select the devices tab. Press on *+* and then paste the device ID with a long press followed by *Paste*. You may need to remove any stray characters which were copied during the previous haphazard selection process. Add a name, which can be anything.
Now select the menu (top left or menu button) and then press on *Device ID*. It will be copied to the clipboard. Go back to Connectbot and from the control panel select *File Synchronization* followed by *Add an ID*. You can then paste in the ID with a long press, and optionally add a description for the device. When that's done you can disconnect from Connectbot.
Now wait for a few minutes or more. Eventually you should receive two notifications (swipe down from the top to see them) which will allow you to confirm the connection to the server. Say yes to both, and specify appropriate directories for your files and the shared files. To reduce battery and data usage via the settings you can also set Syncthing to only sync while it's charging and only while it's connected to wifi.
* Play Music
** With the DLNA service
An easy way to play music on any mobile device in your home is to use the DLNA service. Copy your music into a directory called "/Music/" on a USB thumb drive and then insert it into from socket on the Beaglebone.

BIN
img/syncthing_browser.jpg

Before After
Width: 519  |  Height: 234  |  Size: 9.3 KiB

+ 391
- 0
website/EN/app_syncthing.html

@ -0,0 +1,391 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2016-11-12 Sat 17:55 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<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="How to use Syncthing"
/>
<meta name="keywords" content="freedombone, file sync" />
<style type="text/css">
<!--/*--><![CDATA[/*><!--*/
.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 { 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; }
.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%; }
pre {
border: 1px solid #ccc;
box-shadow: 3px 3px 3px #eee;
padding: 8pt;
font-family: monospace;
overflow: auto;
margin: 1.2em;
}
pre.src {
position: relative;
overflow: visible;
padding-top: 1.2em;
}
pre.src:before {
display: none;
position: absolute;
background-color: white;
top: -10px;
right: 10px;
padding: 3px;
border: 1px solid black;
}
pre.src:hover:before { display: inline;}
/* 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-fortran:before { content: 'Fortran'; }
pre.src-gnuplot:before { content: 'gnuplot'; }
pre.src-haskell:before { content: 'Haskell'; }
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.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 { display: inline; }
.footdef { margin-bottom: 1em; }
.figure { padding: 1em; }
.figure p { text-align: center; }
.inlinetask {
padding: 10px;
border: 2px solid gray;
margin: 10px;
background: #ffffcc;
}
#org-div-home-and-up
{ text-align: right; font-size: 70%; white-space: nowrap; }
textarea { overflow-x: auto; }
.linenr { font-size: smaller }
.code-highlighted { background-color: #ffff00; }
.org-info-js_info-navigation { border-style: none; }
#org-info-js_console-label
{ 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" />
<script type="text/javascript">
/*
@licstart The following is the entire license notice for the
JavaScript code in this tag.
Copyright (C) 2012-2013 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
General Public License (GNU GPL) as published by the Free Software
Foundation, either version 3 of the License, or (at your option)
any later version. The code is distributed WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
As additional permission under GNU GPL version 3 section 7, you
may distribute non-source (e.g., minimized or compacted) forms of
that code without the copy of the GNU GPL normally required by
section 4, provided you include this license notice and a URL
through which recipients can access the Corresponding Source.
@licend The above is the entire license notice
for the JavaScript code in this tag.
*/
<!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id)
{
var target = document.getElementById(id);
if(null != target) {
elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className;
target.className = "code-highlighted";
elem.className = "code-highlighted";
}
}
function CodeHighlightOff(elem, id)
{
var target = document.getElementById(id);
if(elem.cacheClassElem)
elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget;
}
/*]]>*///-->
</script>
</head>
<body>
<div id="preamble" class="status">
<a name="top" id="top"></a>
</div>
<div id="content">
<div class="org-center">
<div class="figure">
<p><img src="images/logo.png" alt="logo.png" />
</p>
</div>
</div>
<center>
<h1>Syncthing</h1>
</center>
<p>
Syncthing provides a similar capability to proprietary systems such as Dropbox, and also is well suited for use with low power single board computers. You can have one or more directories which are synchronized across your various laptops/desktops/devices, and this makes it hard for you to ever lose important files. The manner in which the synchronization is done is pretty secure, such that it would be difficult for passive adversaries (mass surveillance, "<i>men in the middle</i>", etc) to know what files you're sharing. Of course, you don't necessarily need to be running a server in order to use Syncthing, but if you do have a server which is always running then there's always at least one place to synchronize your files to or from.
</p>
<p>
Freedombone provides Syncthing shared directories for each user on the system, plus a single shared directory for all users. The expected most common scenario here is that of a family in which members may not want to share <i>all of their files</i> with each other, but might want to share some in a common pool (eg. birthday photos). You can also easily share between different servers.
</p>
<div id="outline-container-org7c7b02f" class="outline-2">
<h2 id="org7c7b02f">On a laptop</h2>
<div class="outline-text-2" id="text-org7c7b02f">
<p>
Install syncthing on a Debian based distro:
</p>
<div class="org-src-container">
<pre class="src src-bash">curl -s https://syncthing.net/release-key.txt | sudo apt-key add -
<span class="org-builtin">echo</span> <span class="org-string">"deb http://apt.syncthing.net/ syncthing release"</span> | sudo tee /etc/apt/sources.list.d/syncthing.list
sudo apt-get update
sudo apt-get install syncthing
</pre>
</div>
<p>
Or on Arch/Parabola:
</p>
<div class="org-src-container">
<pre class="src src-bash">sudo pacman -S syncthing
</pre>
</div>
<p>
Add syncthing to your startup applications, so that it begins running when your system starts. Then either restart your system or run the command "syncthing" from a terminal.
</p>
<p>
In another terminal log into Freedombone:
</p>
<div class="org-src-container">
<pre class="src src-bash">ssh username@domainname -p 2222
</pre>
</div>
<p>
Then select <b>File Synchronization</b>.
</p>
<div class="org-center">
<div class="figure">
<p><img src="images/controlpanel/control_panel_file_sync.jpg" alt="control_panel_file_sync.jpg" />
</p>
</div>
</div>
<p>
Select <b>Show device ID</b> and copy the long string of letters and numbers shown, using the shift key then select the text followed by right click then select copy.
</p>
<p>
Open a non-Tor browser and enter <b><a href="http://127.0.0.1:8384">http://127.0.0.1:8384</a></b> as the URL. You should now see the minimalistic user interface. Under <b>Remote Devices</b> select <b>Add Remote Device</b>. In the <b>Device ID</b> field paste the string you just copied (CTRL+v). The Device name can be anything. Under <b>Share Folders with Device</b> check <b>default</b> (or whatever folder you created on your local machine), then save.
</p>
<div class="org-center">
<div class="figure">
<p><img src="images/syncthing_browser.jpg" alt="syncthing_browser.jpg" />
</p>
</div>
</div>
<p>
From the top menu select <b>Actions</b> and then <b>Show ID</b>, then copy the ID string (usually select then CTRL+c). Go back to the terminal control panel menu and select <b>Add an ID</b> then paste what you just copied (CTRL+v). Optionally you can also provide a description so that you later can know what that string corresponds to.
</p>
<p>
Now wait for a few minutes. Eventually you will see two messages appear within the browser asking if you want to add two new folders from the Freedombone server. Say yes to both, and specify <b>~/Sync</b> as the directory with your username and <b>~/SyncShared</b> as the shared directory. You can now copy files into your <b>~/Sync</b> directory and they will automatically be synced to the server. Those will be files which only you can access. If you copy files into <b>~/SyncShared</b> then they will also be available to any other users on the system.
</p>
</div>
</div>
<div id="outline-container-org10a2929" class="outline-2">
<h2 id="org10a2929">On Android</h2>
<div class="outline-text-2" id="text-org10a2929">
<p>
Install Syncthing and Connectbot from F-droid.
</p>
<p>
Set up Connectbot to log into Freedombone.
</p>
<p>
Select <b>File Synchronization</b>.
</p>
<p>
Select <b>Show device ID</b> and copy the long string of letters by pressing anywhere on the screen, selecting the <b>menu</b> then <b>copy</b> and then selecting the ID string. This is very tricky on a small screen, so expect to fail multiple times before you succeed in copying the text.
</p>
<p>
Open Syncthing and select the devices tab. Press on <b>+</b> and then paste the device ID with a long press followed by <b>Paste</b>. You may need to remove any stray characters which were copied during the previous haphazard selection process. Add a name, which can be anything.
</p>
<p>
Now select the menu (top left or menu button) and then press on <b>Device ID</b>. It will be copied to the clipboard. Go back to Connectbot and from the control panel select <b>File Synchronization</b> followed by <b>Add an ID</b>. You can then paste in the ID with a long press, and optionally add a description for the device. When that's done you can disconnect from Connectbot.
</p>
<p>
Now wait for a few minutes or more. Eventually you should receive two notifications (swipe down from the top to see them) which will allow you to confirm the connection to the server. Say yes to both, and specify appropriate directories for your files and the shared files. To reduce battery and data usage via the settings you can also set Syncthing to only sync while it's charging and only while it's connected to wifi.
</p>
</div>
</div>
</div>
<div id="postamble" class="status">
<style type="text/css">
.back-to-top {
position: fixed;
bottom: 2em;
right: 0px;
text-decoration: none;
color: #000000;
background-color: rgba(235, 235, 235, 0.80);
font-size: 12px;
padding: 1em;
display: none;
}
.back-to-top:hover {
background-color: rgba(135, 135, 135, 0.50);
}
</style>
<div class="back-to-top">
<a href="#top">Back to top</a> | <a href="mailto:bob@freedombone.net">E-mail me</a>
</div>
</div>
</body>
</html>

+ 71
- 68
website/EN/apps.html

@ -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>
<!-- 2016-11-12 Sat 14:11 -->
<!-- 2016-11-12 Sat 17:58 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title></title>
@ -257,198 +257,201 @@ The base install of the system just contains an email server and Mutt client, bu
</div>
</div>
<div id="outline-container-org5001e42" class="outline-2">
<h2 id="org5001e42">DLNA</h2>
<div class="outline-text-2" id="text-org5001e42">
<div id="outline-container-org63ad202" class="outline-2">
<h2 id="org63ad202">DLNA</h2>
<div class="outline-text-2" id="text-org63ad202">
<p>
Enables you to use the system as a music server which any DLNA compatible devices can connect to within your home network.
</p>
</div>
</div>
<div id="outline-container-org9512a00" class="outline-2">
<h2 id="org9512a00">Dokuwiki</h2>
<div class="outline-text-2" id="text-org9512a00">
<div id="outline-container-orgfe64f77" class="outline-2">
<h2 id="orgfe64f77">Dokuwiki</h2>
<div class="outline-text-2" id="text-orgfe64f77">
<p>
A databaseless wiki system.
</p>
</div>
</div>
<div id="outline-container-org56df031" class="outline-2">
<h2 id="org56df031">Emacs</h2>
<div class="outline-text-2" id="text-org56df031">
<div id="outline-container-org261e788" class="outline-2">
<h2 id="org261e788">Emacs</h2>
<div class="outline-text-2" id="text-org261e788">
<p>
If you use the Mutt client to read your email then this will set it up to use emacs for composing new mail.
</p>
</div>
</div>
<div id="outline-container-org528b01f" class="outline-2">
<h2 id="org528b01f">Etherpad</h2>
<div class="outline-text-2" id="text-org528b01f">
<div id="outline-container-org8ddfb19" class="outline-2">
<h2 id="org8ddfb19">Etherpad</h2>
<div class="outline-text-2" id="text-org8ddfb19">
<p>
Collaborate on creating documents in real time. Maybe you're planning a holiday with other family members or creating documentation for a Free Software project along with other volunteers. Etherpad is hard to beat for simplicity and speed. Only users of the system will be able to access it.
</p>
</div>
</div>
<div id="outline-container-org78ef71f" class="outline-2">
<h2 id="org78ef71f">Ghost</h2>
<div class="outline-text-2" id="text-org78ef71f">
<div id="outline-container-orgacd7dc6" class="outline-2">
<h2 id="orgacd7dc6">Ghost</h2>
<div class="outline-text-2" id="text-orgacd7dc6">
<p>
Modern looking blogging system.
</p>
</div>
</div>
<div id="outline-container-org7fd7a68" class="outline-2">
<h2 id="org7fd7a68">GNU Social</h2>
<div class="outline-text-2" id="text-org7fd7a68">
<div id="outline-container-org8d1cb63" class="outline-2">
<h2 id="org8d1cb63">GNU Social</h2>
<div class="outline-text-2" id="text-org8d1cb63">
<p>
Federated social network. You can "<i>remote follow</i>" other users within the GNU Social federation.
</p>
</div>
</div>
<div id="outline-container-org3773546" class="outline-2">
<h2 id="org3773546">Gogs</h2>
<div class="outline-text-2" id="text-org3773546">
<div id="outline-container-orgb520ae3" class="outline-2">
<h2 id="orgb520ae3">Gogs</h2>
<div class="outline-text-2" id="text-orgb520ae3">
<p>
Lightweight git project hosting system. You can mirror projects from Github, or if Github turns evil then just host your own projects while retaining the familiar <i>fork-and-pull</i> workflow. If you can use Github then you can also use Gogs.
</p>
</div>
</div>
<div id="outline-container-orgca0c976" class="outline-2">
<h2 id="orgca0c976">HTMLy</h2>
<div class="outline-text-2" id="text-orgca0c976">
<div id="outline-container-orgcf2d864" class="outline-2">
<h2 id="orgcf2d864">HTMLy</h2>
<div class="outline-text-2" id="text-orgcf2d864">
<p>
Databaseless blogging system. Quite simple and with a markdown-like format.
</p>
</div>
</div>
<div id="outline-container-org579a4ea" class="outline-2">
<h2 id="org579a4ea">Hubzilla</h2>
<div class="outline-text-2" id="text-org579a4ea">
<div id="outline-container-org8301047" class="outline-2">
<h2 id="org8301047">Hubzilla</h2>
<div class="outline-text-2" id="text-org8301047">
<p>
Web publishing platform with social network like features and good privacy controls so that it's possible to specify who can see which content. Includes photo albums, calendar, wiki and file storage.
</p>
</div>
</div>
<div id="outline-container-orgd2c09e5" class="outline-2">
<h2 id="orgd2c09e5">IRC Server (ngirc)</h2>
<div class="outline-text-2" id="text-orgd2c09e5">
<div id="outline-container-org602d5a8" class="outline-2">
<h2 id="org602d5a8">IRC Server (ngirc)</h2>
<div class="outline-text-2" id="text-org602d5a8">
<p>
Run your own IRC chat channel which can be secured with a password and accessible via an onion address. A bouncer is included so that you can receive messages sent while you were offline. Works with Hexchat and other popular clients.
</p>
</div>
</div>
<div id="outline-container-orgd937d46" class="outline-2">
<h2 id="orgd937d46">Jitsi Meet</h2>
<div class="outline-text-2" id="text-orgd937d46">
<div id="outline-container-orgf40102e" class="outline-2">
<h2 id="orgf40102e">Jitsi Meet</h2>
<div class="outline-text-2" id="text-orgf40102e">
<p>
Experimental WebRTC video conferencing system, similar to Google Hangouts. This may not be fully functional, but is hoped to be in the near future.
</p>
</div>
</div>
<div id="outline-container-orgb42ef84" class="outline-2">
<h2 id="orgb42ef84">Lychee</h2>
<div class="outline-text-2" id="text-orgb42ef84">
<div id="outline-container-org04c6a4a" class="outline-2">
<h2 id="org04c6a4a">Lychee</h2>
<div class="outline-text-2" id="text-org04c6a4a">
<p>
Make your photo albums available on the web.
</p>
</div>
</div>
<div id="outline-container-org737178c" class="outline-2">
<h2 id="org737178c">Mailpile</h2>
<div class="outline-text-2" id="text-org737178c">
<div id="outline-container-org38f7832" class="outline-2">
<h2 id="org38f7832">Mailpile</h2>
<div class="outline-text-2" id="text-org38f7832">
<p>
Modern email client which supports GPG encryption.
</p>
</div>
</div>
<div id="outline-container-org3ff5ec9" class="outline-2">
<h2 id="org3ff5ec9">Mumble</h2>
<div class="outline-text-2" id="text-org3ff5ec9">
<div id="outline-container-orgb083746" class="outline-2">
<h2 id="orgb083746">Mumble</h2>
<div class="outline-text-2" id="text-orgb083746">
<p>
The popular VoIP and text chat system. Say goodbye to old-fashioned telephony conferences with silly dial codes. Also works well on mobile.
</p>
</div>
</div>
<div id="outline-container-org3a963c5" class="outline-2">
<h2 id="org3a963c5">PI-Hole</h2>
<div class="outline-text-2" id="text-org3a963c5">
<div id="outline-container-org8894411" class="outline-2">
<h2 id="org8894411">PI-Hole</h2>
<div class="outline-text-2" id="text-org8894411">
<p>
The black hole for web adverts. Block adverts at the domain name level within your local network. It can significantly reduce bandwidth, speed up page load times and protect your systems from being tracked by spyware.
</p>
</div>
</div>
<div id="outline-container-org028db52" class="outline-2">
<h2 id="org028db52">PostActiv</h2>
<div class="outline-text-2" id="text-org028db52">
<div id="outline-container-orgf2c362c" class="outline-2">
<h2 id="orgf2c362c">PostActiv</h2>
<div class="outline-text-2" id="text-orgf2c362c">
<p>
An alternative federated social networking system compatible with GNU Social. It includes some optimisations and fixes currently not available within the main GNU Social project.
</p>
</div>
</div>
<div id="outline-container-orgfa34cf8" class="outline-2">
<h2 id="orgfa34cf8">Radicale</h2>
<div class="outline-text-2" id="text-orgfa34cf8">
<div id="outline-container-org40c94f8" class="outline-2">
<h2 id="org40c94f8">Radicale</h2>
<div class="outline-text-2" id="text-org40c94f8">
<p>
Calendar system compatible with CalDAV and CardDAV. Manage your calendar events easily across all your devices.
</p>
</div>
</div>
<div id="outline-container-orgc1784dc" class="outline-2">
<h2 id="orgc1784dc">tt-rss</h2>
<div class="outline-text-2" id="text-orgc1784dc">
<div id="outline-container-orgaf305f3" class="outline-2">
<h2 id="orgaf305f3">tt-rss</h2>
<div class="outline-text-2" id="text-orgaf305f3">
<p>
Private RSS reader. Pulls in RSS/Atom feeds via Tor and is only accessible via an onion address. Have "<i>the right to read</i>" without the Surveillance State knowing what you're reading. Also available with a user interface suitable for viewing on mobile devices via a browser such as OrFox.
</p>
</div>
</div>
<div id="outline-container-org39a203f" class="outline-2">
<h2 id="org39a203f">Syncthing</h2>
<div class="outline-text-2" id="text-org39a203f">
<div id="outline-container-orgb6c4796" class="outline-2">
<h2 id="orgb6c4796">Syncthing</h2>
<div class="outline-text-2" id="text-orgb6c4796">
<p>
Possibly the best way to synchronise files across all of your devices. Once it has been set up it "just works" with no user intervention needed.
</p>
<p>
<a href="./app_syncthing.html">How to use it</a>
</p>
</div>
</div>
<div id="outline-container-org2aa00f5" class="outline-2">
<h2 id="org2aa00f5">Tox</h2>
<div class="outline-text-2" id="text-org2aa00f5">
<div id="outline-container-org7783a5a" class="outline-2">
<h2 id="org7783a5a">Tox</h2>
<div class="outline-text-2" id="text-org7783a5a">
<p>
Client and bootstrap node for the Tox chat/VoIP system.
</p>
</div>
</div>
<div id="outline-container-org497c15e" class="outline-2">
<h2 id="org497c15e">Vim</h2>
<div class="outline-text-2" id="text-org497c15e">
<div id="outline-container-orgbb00daf" class="outline-2">
<h2 id="orgbb00daf">Vim</h2>
<div class="outline-text-2" id="text-orgbb00daf">
<p>
If you use the Mutt client to read your email then this will set it up to use vim for composing new mail.
</p>
</div>
</div>
<div id="outline-container-org4f9fe95" class="outline-2">
<h2 id="org4f9fe95">XMPP</h2>
<div class="outline-text-2" id="text-org4f9fe95">
<div id="outline-container-org2d46f0c" class="outline-2">
<h2 id="org2d46f0c">XMPP</h2>
<div class="outline-text-2" id="text-org2d46f0c">
<p>
Chat server which can be used together with client such as Gajim or Conversations to provide end-to-end content security and also onion routed metadata security. Includes advanced features such as <i>client state notification</i> to save battery power on your mobile devices, support for seamless roaming between networks and <i>message carbons</i> so that you can receive the same messages while being simultaneously logged in to your account on more than one device.
</p>

+ 161
- 261
website/EN/usage.html

@ -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>
<!-- 2016-11-02 Wed 21:32 -->
<!-- 2016-11-12 Sat 17:59 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title></title>
@ -255,15 +255,15 @@ for the JavaScript code in this tag.
</colgroup>
<tbody>
<tr>
<td class="org-left"><a href="#org9936ac7">Readme</a></td>
<td class="org-left"><a href="#org8f26a4a">Readme</a></td>
</tr>
<tr>
<td class="org-left"><a href="#org1be5b19">Improving ssh security</a></td>
<td class="org-left"><a href="#orgb27cb32">Improving ssh security</a></td>
</tr>
<tr>
<td class="org-left"><a href="#org1887899">Administrating the system via an onion address (Tor)</a></td>
<td class="org-left"><a href="#org28dd407">Administrating the system via an onion address (Tor)</a></td>
</tr>
<tr>
@ -275,50 +275,50 @@ for the JavaScript code in this tag.
</tr>
<tr>
<td class="org-left"><a href="#org5df7a45">Syncing to the Cloud</a></td>
<td class="org-left"><a href="./app_syncthing.html">Syncing to the Cloud</a></td>
</tr>
<tr>
<td class="org-left"><a href="#orgabfedc7">Play Music</a></td>
<td class="org-left"><a href="#org155fabc">Play Music</a></td>
</tr>
<tr>
<td class="org-left"><a href="#orge846bd9">Microblogging (GNU Social)</a></td>
<td class="org-left"><a href="#org61a8cd6">Microblogging (GNU Social)</a></td>
</tr>
<tr>
<td class="org-left"><a href="#org7aedc1c">Sharing things</a></td>
<td class="org-left"><a href="#org0e52735">Sharing things</a></td>
</tr>
<tr>
<td class="org-left"><a href="#orgfbce202">Social Network</a></td>
<td class="org-left"><a href="#org6aabd2f">Social Network</a></td>
</tr>
<tr>
<td class="org-left"><a href="#org94d3f4d">Chat Services</a></td>
<td class="org-left"><a href="#orgcdd49c0">Chat Services</a></td>
</tr>
<tr>
<td class="org-left"><a href="#org9966fa0">RSS Reader</a></td>
<td class="org-left"><a href="#org4da85a9">RSS Reader</a></td>
</tr>
<tr>
<td class="org-left"><a href="#org64324e4">Git Projects</a></td>
<td class="org-left"><a href="#orgd680579">Git Projects</a></td>
</tr>
<tr>
<td class="org-left"><a href="#org1aff88d">Adding or removing users</a></td>
<td class="org-left"><a href="#orgdaac5cc">Adding or removing users</a></td>
</tr>
<tr>
<td class="org-left"><a href="#orgc499586">Blocking Ads</a></td>
<td class="org-left"><a href="#org4347af5">Blocking Ads</a></td>
</tr>
</tbody>
</table>
<div id="outline-container-org9936ac7" class="outline-2">
<h2 id="org9936ac7">Readme</h2>
<div class="outline-text-2" id="text-org9936ac7">
<div id="outline-container-org8f26a4a" class="outline-2">
<h2 id="org8f26a4a">Readme</h2>
<div class="outline-text-2" id="text-org8f26a4a">
<p>
After the system has installed a README file will be generated which contains passwords and some brief advice on using the installed systems. You can read this with the following commands:
</p>
@ -338,9 +338,9 @@ To exit you can either just close the terminal or use CTRL-x CTRL-c follo
</p>
</div>
</div>
<div id="outline-container-org1be5b19" class="outline-2">
<h2 id="org1be5b19">Improving ssh security</h2>
<div class="outline-text-2" id="text-org1be5b19">
<div id="outline-container-orgb27cb32" class="outline-2">
<h2 id="orgb27cb32">Improving ssh security</h2>
<div class="outline-text-2" id="text-orgb27cb32">
<p>
To improve ssh security you can generate an ssh key pair on your system and then upload the public key to the Freedombone.
</p>
@ -390,9 +390,9 @@ If you wish to only use ssh keys then log in to the Freedombone, become the root
</div>
</div>
<div id="outline-container-org1887899" class="outline-2">
<h2 id="org1887899">Administrating the system via an onion address (Tor)</h2>
<div class="outline-text-2" id="text-org1887899">
<div id="outline-container-org28dd407" class="outline-2">
<h2 id="org28dd407">Administrating the system via an onion address (Tor)</h2>
<div class="outline-text-2" id="text-org28dd407">
<p>
You can also access your system via the Tor system using an onion address. To find out what the onion address for ssh access is you can do the following:
</p>
@ -434,112 +434,12 @@ Subsequently even if dynamic DNS isn't working you may still be able to administ
</p>
</div>
</div>
<div id="outline-container-org5df7a45" class="outline-2">
<h2 id="org5df7a45">Syncing to the Cloud</h2>
<div class="outline-text-2" id="text-org5df7a45">
<p>
<a href="https://syncthing.net">Syncthing</a> provides a similar capability to proprietary systems such as Dropbox, and also is well suited for use with low power single board computers. You can have one or more directories which are synchronized across your various laptops/desktops/devices, and this makes it hard for you to ever lose important files. The manner in which the synchronization is done is pretty secure, such that it would be difficult for passive adversaries (mass surveillance, "<i>men in the middle</i>", etc) to know what files you're sharing. Of course, you don't necessarily need to be running a server in order to use Syncthing, but if you do have a server which is always running then there's always at least one place to synchronize your files to or from.
</p>
<p>
Freedombone provides Syncthing shared directories for each user on the system, plus a single shared directory for all users. The expected most common scenario here is that of a family in which members may not want to share <i>all of their files</i> with each other, but might want to share some in a common pool (eg. birthday photos). You can also easily share between different servers.
</p>
</div>
<div id="outline-container-org19bebc8" class="outline-3">
<h3 id="org19bebc8">On a laptop</h3>
<div class="outline-text-3" id="text-org19bebc8">
<p>
Install syncthing:
</p>
<div class="org-src-container">
<pre class="src src-bash">curl -s https://syncthing.net/release-key.txt | sudo apt-key add -
<span class="org-builtin">echo</span> <span class="org-string">"deb http://apt.syncthing.net/ syncthing release"</span> | sudo tee /etc/apt/sources.list.d/syncthing.list
sudo apt-get update
sudo apt-get install syncthing
</pre>
</div>
<p>
Add syncthing to your startup applications, so that it begins running when your system starts. Then either restart your system or run the command "syncthing" from a terminal.
</p>
<p>
In another terminal log into Freedombone:
</p>
<div class="org-src-container">
<pre class="src src-bash">ssh username@domainname -p 2222
</pre>
</div>
<p>
Then select <b>File Synchronization</b>.
</p>
<div class="figure">
<p><img src="images/controlpanel/control_panel_file_sync.jpg" alt="control_panel_file_sync.jpg" />
</p>
</div>
<p>
Select <b>Show device ID</b> and copy the long string of letters and numbers shown, using the shift key then select the text followed by right click then select copy.
</p>
<p>
Open a non-Tor browser and enter <b><a href="http://127.0.0.1:8384">http://127.0.0.1:8384</a></b> as the URL. You should now see the minimalistic user interface. Under <b>Remote Devices</b> select <b>Add Remote Device</b>. In the <b>Device ID</b> field paste the string you just copied (CTRL+v). The Device name can be anything. Under <b>Share Folders with Device</b> check <b>default</b> (or whatever folder you created on your local machine), then save.
</p>
<p>
From the top menu select <b>Actions</b> and then <b>Show ID</b>, then copy the ID string (usually select then CTRL+c). Go back to the terminal control panel menu and select <b>Add an ID</b> then paste what you just copied (CTRL+v). Optionally you can also provide a description so that you later can know what that string corresponds to.
</p>
<p>
Now wait for a few minutes. Eventually you will see two messages appear within the browser asking if you want to add two new folders from the Freedombone server. Say yes to both, and specify <b>~/Sync</b> as the directory with your username and <b>~/SyncShared</b> as the shared directory. You can now copy files into your <b>~/Sync</b> directory and they will automatically be synced to the server. Those will be files which only you can access. If you copy files into <b>~/SyncShared</b> then they will also be available to any other users on the system.
</p>
</div>
</div>
<div id="outline-container-orgbc229a3" class="outline-3">
<h3 id="orgbc229a3">On Android</h3>
<div class="outline-text-3" id="text-orgbc229a3">
<p>
Install Syncthing and Connectbot from F-droid.
</p>
<p>
Set up Connectbot to log into Freedombone.
</p>
<p>
Select <b>File Synchronization</b>.
</p>
<p>
Select <b>Show device ID</b> and copy the long string of letters by pressing anywhere on the screen, selecting the <b>menu</b> then <b>copy</b> and then selecting the ID string. This is very tricky on a small screen, so expect to fail multiple times before you succeed in copying the text.
</p>
<p>
Open Syncthing and select the devices tab. Press on <b>+</b> and then paste the device ID with a long press followed by <b>Paste</b>. You may need to remove any stray characters which were copied during the previous haphazard selection process. Add a name, which can be anything.
</p>
<p>
Now select the menu (top left or menu button) and then press on <b>Device ID</b>. It will be copied to the clipboard. Go back to Connectbot and from the control panel select <b>File Synchronization</b> followed by <b>Add an ID</b>. You can then paste in the ID with a long press, and optionally add a description for the device. When that's done you can disconnect from Connectbot.
</p>
<p>
Now wait for a few minutes or more. Eventually you should receive two notifications (swipe down from the top to see them) which will allow you to confirm the connection to the server. Say yes to both, and specify appropriate directories for your files and the shared files. To reduce battery and data usage via the settings you can also set Syncthing to only sync while it's charging and only while it's connected to wifi.
</p>
</div>
</div>
</div>
<div id="outline-container-orgabfedc7" class="outline-2">
<h2 id="orgabfedc7">Play Music</h2>
<div class="outline-text-2" id="text-orgabfedc7">
</div><div id="outline-container-orgcfbb879" class="outline-3">
<h3 id="orgcfbb879">With the DLNA service</h3>
<div class="outline-text-3" id="text-orgcfbb879">
<div id="outline-container-org155fabc" class="outline-2">
<h2 id="org155fabc">Play Music</h2>
<div class="outline-text-2" id="text-org155fabc">
</div><div id="outline-container-org0b87a9e" class="outline-3">
<h3 id="org0b87a9e">With the DLNA service</h3>
<div class="outline-text-3" id="text-org0b87a9e">
<p>
An easy way to play music on any mobile device in your home is to use the DLNA service. Copy your music into a directory called "<i>Music</i>" on a USB thumb drive and then insert it into from socket on the Beaglebone.
</p>
@ -578,12 +478,12 @@ The DLNA service will only work within your local home network, and isn't remote
</div>
</div>
<div id="outline-container-orge846bd9" class="outline-2">
<h2 id="orge846bd9">Microblogging (GNU Social)</h2>
<div class="outline-text-2" id="text-orge846bd9">
</div><div id="outline-container-org0cf79d4" class="outline-3">
<h3 id="org0cf79d4">Initial setup</h3>
<div class="outline-text-3" id="text-org0cf79d4">
<div id="outline-container-org61a8cd6" class="outline-2">
<h2 id="org61a8cd6">Microblogging (GNU Social)</h2>
<div class="outline-text-2" id="text-org61a8cd6">
</div><div id="outline-container-org032847f" class="outline-3">
<h3 id="org032847f">Initial setup</h3>
<div class="outline-text-3" id="text-org032847f">
<p>
To log into your GNU Social site first obtain your username and password from the "microblogging" section of the readme file.
</p>
@ -611,17 +511,17 @@ GNU Social has a clutter-free mobile user interface which can be accessed via a
</div>
</div>
<div id="outline-container-org78c846b" class="outline-3">
<h3 id="org78c846b">Direct Messages (DMs) and privacy</h3>
<div class="outline-text-3" id="text-org78c846b">
<div id="outline-container-orgbcbd947" class="outline-3">
<h3 id="orgbcbd947">Direct Messages (DMs) and privacy</h3>
<div class="outline-text-3" id="text-orgbcbd947">
<p>
One important point about GNU Social is that although direct messages (DMs) are treated as being private their security is quite poor. If you want real communications privacy then use other systems such as XMPP+OMEMO/OTR, Tox or email with GPG. GNU Social is primarily about <i>fully public communications</i>.
</p>
</div>
</div>
<div id="outline-container-org15ccd6e" class="outline-3">
<h3 id="org15ccd6e">Using with Emacs</h3>
<div class="outline-text-3" id="text-org15ccd6e">
<div id="outline-container-orgd456430" class="outline-3">
<h3 id="orgd456430">Using with Emacs</h3>
<div class="outline-text-3" id="text-orgd456430">
<p>
If you are an Emacs user it's also possible to set up GNU Social mode as follows:
</p>
@ -705,9 +605,9 @@ And as a quick reference the main keys are:
</div>
</div>
<div id="outline-container-org7aedc1c" class="outline-2">
<h2 id="org7aedc1c">Sharing things</h2>
<div class="outline-text-2" id="text-org7aedc1c">
<div id="outline-container-org0e52735" class="outline-2">
<h2 id="org0e52735">Sharing things</h2>
<div class="outline-text-2" id="text-org0e52735">
<p>
If you have the GNU Social microblogging system installed then it's also possible to share things or services between groups or with particular users. This can be useful for sharing items within a family, club or in a local sharing economy. Sharing things freely, without money, reveals the social basis at the root of all economics which money normally conceals or obscures.
</p>
@ -734,20 +634,20 @@ The "catalog" button then allows you to search for shared things within t
</div>
</div>
<div id="outline-container-orgfbce202" class="outline-2">
<h2 id="orgfbce202">Social Network</h2>
<div class="outline-text-2" id="text-orgfbce202">
</div><div id="outline-container-org5ab439d" class="outline-3">
<h3 id="org5ab439d">Domains</h3>
<div class="outline-text-3" id="text-org5ab439d">
<div id="outline-container-org6aabd2f" class="outline-2">
<h2 id="org6aabd2f">Social Network</h2>
<div class="outline-text-2" id="text-org6aabd2f">
</div><div id="outline-container-org5c4d7d0" class="outline-3">
<h3 id="org5c4d7d0">Domains</h3>
<div class="outline-text-3" id="text-org5c4d7d0">
<p>
Both Hubzilla and GNU Social try to obtain certificates automatically at the time of installation via Let's Encrypt. This will likely mean that in order for this to work you'll need to have obtained at least one "official" domain via a domain selling service, since Let's Encrypt mostly doesn't seem to work with free subdomains from sites such as freeDNS.
</p>
</div>
</div>
<div id="outline-container-orgecbd03f" class="outline-3">
<h3 id="orgecbd03f">Initial install</h3>
<div class="outline-text-3" id="text-orgecbd03f">
<div id="outline-container-org275bceb" class="outline-3">
<h3 id="org275bceb">Initial install</h3>
<div class="outline-text-3" id="text-org275bceb">
<p>
On first visiting your Hubzilla site you'll see the login screen. The first thing you need to do is <b>register</b> a new user. The first user on the system then becomes its administrator.
</p>
@ -761,19 +661,19 @@ On first visiting your Hubzilla site you'll see the login screen. The first thin
</div>
</div>
<div id="outline-container-org94d3f4d" class="outline-2">
<h2 id="org94d3f4d">Chat Services</h2>
<div class="outline-text-2" id="text-org94d3f4d">
</div><div id="outline-container-org85c70b1" class="outline-3">
<h3 id="org85c70b1">IRC</h3>
<div class="outline-text-3" id="text-org85c70b1">
<div id="outline-container-orgcdd49c0" class="outline-2">
<h2 id="orgcdd49c0">Chat Services</h2>
<div class="outline-text-2" id="text-orgcdd49c0">
</div><div id="outline-container-org2e941c8" class="outline-3">
<h3 id="org2e941c8">IRC</h3>
<div class="outline-text-3" id="text-org2e941c8">
<p>
IRC is useful for multi-user chat. The classic use case is for software development where many engineers might need to coordinate their activities, but it's also useful for meetings, parties and general socialising.
</p>
</div>
<div id="outline-container-orgaef368e" class="outline-4">
<h4 id="orgaef368e">Irssi</h4>
<div class="outline-text-4" id="text-orgaef368e">
<div id="outline-container-org4d790e3" class="outline-4">
<h4 id="org4d790e3">Irssi</h4>
<div class="outline-text-4" id="text-org4d790e3">
<p>
The easiest way to use irssi is to connect to your system, like this:
</p>
@ -788,9 +688,9 @@ Then select IRC from the menu. However, other than via this method using
</p>
</div>
</div>
<div id="outline-container-org7bc89f2" class="outline-4">
<h4 id="org7bc89f2">HexChat</h4>
<div class="outline-text-4" id="text-org7bc89f2">
<div id="outline-container-orgd0403ac" class="outline-4">
<h4 id="orgd0403ac">HexChat</h4>
<div class="outline-text-4" id="text-orgd0403ac">
<p>
HexChat (formerly XChat) is compatible with proxying via Tor and so provides the best security when connecting to your IRC server. It will allow you to connect to your IRC server's onion address.
</p>
@ -871,9 +771,9 @@ Click close and then connect.
</div>
</div>
<div id="outline-container-org2891aca" class="outline-4">
<h4 id="org2891aca">Emacs</h4>
<div class="outline-text-4" id="text-org2891aca">
<div id="outline-container-org8874369" class="outline-4">
<h4 id="org8874369">Emacs</h4>
<div class="outline-text-4" id="text-org8874369">
<p>
If you are an Emacs user then you can also connect to your IRC server via Emacs.
</p>
@ -904,9 +804,9 @@ Add the following to your Emacs configuration file:
</div>
</div>
</div>
<div id="outline-container-org5e9c3bd" class="outline-4">
<h4 id="org5e9c3bd">Changing or removing the IRC password</h4>
<div class="outline-text-4" id="text-org5e9c3bd">
<div id="outline-container-org0cb97f8" class="outline-4">
<h4 id="org0cb97f8">Changing or removing the IRC password</h4>
<div class="outline-text-4" id="text-org0cb97f8">
<p>
By default the IRC server is set up to require a password for users to log in. The password is the same for all users. If you want to change or remove the password:
</p>
@ -923,20 +823,20 @@ Select Administrator controls then IRC Menu and then change the pa
</div>
</div>
<div id="outline-container-org6440024" class="outline-3">
<h3 id="org6440024">XMPP/Jabber</h3>
<div class="outline-text-3" id="text-org6440024">
</div><div id="outline-container-orgeb8020e" class="outline-4">
<h4 id="orgeb8020e">About XMPP</h4>
<div class="outline-text-4" id="text-orgeb8020e">
<div id="outline-container-orgc00d9cb" class="outline-3">
<h3 id="orgc00d9cb">XMPP/Jabber</h3>
<div class="outline-text-3" id="text-orgc00d9cb">
</div><div id="outline-container-orgc428939" class="outline-4">
<h4 id="orgc428939">About XMPP</h4>
<div class="outline-text-4" id="text-orgc428939">
<p>
A well written article on the state of XMPP and how it compares to other chat protocols <a href="https://gultsch.de/xmpp_2016.html">can be found here</a>.
</p>
</div>
</div>
<div id="outline-container-orge19dfac" class="outline-4">
<h4 id="orge19dfac">Using with Gajim</h4>
<div class="outline-text-4" id="text-orge19dfac">
<div id="outline-container-org9c40bca" class="outline-4">
<h4 id="org9c40bca">Using with Gajim</h4>
<div class="outline-text-4" id="text-org9c40bca">
<p>
In mid 2016 <a href="https://gajim.org/">Gajim</a> became the first desktop XMPP client to support the <a href="https://en.wikipedia.org/wiki/OMEMO">OMEMO end-to-end security standard</a>, which is superior to the more traditional <a href="https://en.wikipedia.org/wiki/Off-the-Record_Messaging">OTR</a> since it also includes multi-user chat and the ratcheting mechanism pioneered by Open Whisper Systems. To install it:
</p>
@ -980,9 +880,9 @@ If you wish to use OpenPGP to encrypt your messages then go to Edit/Accounts<
</div>
</div>
<div id="outline-container-org0a0a7a2" class="outline-4">
<h4 id="org0a0a7a2">Using with Profanity</h4>
<div class="outline-text-4" id="text-org0a0a7a2">
<div id="outline-container-orge5eb75d" class="outline-4">
<h4 id="orge5eb75d">Using with Profanity</h4>
<div class="outline-text-4" id="text-orge5eb75d">
<p>
The <a href="https://profanity.im">Profanity</a> shell based user interface and is perhaps the simplest way to use XMPP from a laptop. It's also a good way to ensure that your OTR keys are the same even when logging in from different laptops or devices, and it also means that if those devices later become compomised then there are no locally stored OTR keys to be found.
</p>
@ -1064,9 +964,9 @@ When accessed via the user control panel the client is automatically routed thro
</p>
</div>
</div>
<div id="outline-container-org25db5f0" class="outline-4">
<h4 id="org25db5f0">Using with Jitsi</h4>
<div class="outline-text-4" id="text-org25db5f0">
<div id="outline-container-orga01801d" class="outline-4">
<h4 id="orga01801d">Using with Jitsi</h4>
<div class="outline-text-4" id="text-orga01801d">
<p>
Jitsi is the recommended communications client for desktop or laptop systems, since it includes the <i>off the record</i> (OTR) feature which provides some additional security beyond the usual SSL certificates.
</p>
@ -1096,9 +996,9 @@ You can also see this vide
</p>
</div>
</div>
<div id="outline-container-org9ce1de0" class="outline-4">
<h4 id="org9ce1de0">Using with Ubuntu</h4>
<div class="outline-text-4" id="text-org9ce1de0">
<div id="outline-container-org3657e2e" class="outline-4">
<h4 id="org3657e2e">Using with Ubuntu</h4>
<div class="outline-text-4" id="text-org3657e2e">
<p>
The default XMPP client in Ubuntu is Empathy. Using Empathy isn't as secure as using Jitsi, since it doesn't include the <i>off the record</i> feature, but since it's the default it's what many users will have easy access to.
</p>
@ -1116,17 +1016,17 @@ Click on Advanced and make sure that Encryption required and Ig
</p>
</div>
</div>
<div id="outline-container-orgb0c614f" class="outline-4">
<h4 id="orgb0c614f">Using Tor Messenger</h4>
<div class="outline-text-4" id="text-orgb0c614f">
<div id="outline-container-orga4c3fc9" class="outline-4">
<h4 id="orga4c3fc9">Using Tor Messenger</h4>
<div class="outline-text-4" id="text-orga4c3fc9">
<p>
Tor Messenger is a messaging client which supports XMPP, and its onion routing enables you to protect the metadata of chat interactions to some extent by making it difficult for an adversary to know which server is talking to which. You can download Tor Messenger from <a href="https://torproject.org">torproject.org</a> and the setup is pretty simple.
</p>
</div>
</div>
<div id="outline-container-orgde2d4de" class="outline-4">
<h4 id="orgde2d4de">Using with Android/Conversations</h4>
<div class="outline-text-4" id="text-orgde2d4de">
<div id="outline-container-orgba505ef" class="outline-4">
<h4 id="orgba505ef">Using with Android/Conversations</h4>
<div class="outline-text-4" id="text-orgba505ef">
<p>
Install <a href="https://f-droid.org/">F-Droid</a>
</p>
@ -1161,16 +1061,16 @@ Then select Next. When chatting you can use the lock icon to encrypt your
</div>
</div>
</div>
<div id="outline-container-org8575119" class="outline-3">
<h3 id="org8575119">Tox</h3>
<div class="outline-text-3" id="text-org8575119">
<div id="outline-container-org1f3c3e7" class="outline-3">
<h3 id="org1f3c3e7">Tox</h3>
<div class="outline-text-3" id="text-org1f3c3e7">
<p>
Tox is an encrypted peer-to-peer messaging system and so should work without Freedombone. It uses a system of nodes which act as a sort of directory service allowing users to find and connect to each other. The Tox node ID on the Freedombone can be found within the README within your home directory. If you have other users connect to your node then you will be able to continue chatting even when no other nodes are available.
</p>
</div>
<div id="outline-container-org2becdd8" class="outline-4">
<h4 id="org2becdd8">Using the Toxic client</h4>
<div class="outline-text-4" id="text-org2becdd8">
<div id="outline-container-org22c6b6f" class="outline-4">
<h4 id="org22c6b6f">Using the Toxic client</h4>
<div class="outline-text-4" id="text-org22c6b6f">
<p>
Log into your system with:
</p>
@ -1193,20 +1093,20 @@ Then from the menu select Tox Chat. Tox is encrypted by default and also
</div>
</div>
<div id="outline-container-orgae98107" class="outline-3">
<h3 id="orgae98107">VoIP (Voice and text chat)</h3>
<div class="outline-text-3" id="text-orgae98107">
</div><div id="outline-container-orgbb17aff" class="outline-4">
<h4 id="orgbb17aff">Text chat</h4>
<div class="outline-text-4" id="text-orgbb17aff">
<div id="outline-container-org8afe5cb" class="outline-3">
<h3 id="org8afe5cb">VoIP (Voice and text chat)</h3>
<div class="outline-text-3" id="text-org8afe5cb">
</div><div id="outline-container-orga7a851f" class="outline-4">
<h4 id="orga7a851f">Text chat</h4>
<div class="outline-text-4" id="text-orga7a851f">
<p>
In addition to voice it is also possible to do text chat via mumble. The security of this is pretty good provided that you do it via Plumble and Orbot on mobile, but compared to other options such as XMPP/Conversations or Tox the security is not as good, since the mumble server currently doesn't support forward secrecy.
</p>
</div>
</div>
<div id="outline-container-orga7c1ba7" class="outline-4">
<h4 id="orga7c1ba7">Using with Ubuntu</h4>
<div class="outline-text-4" id="text-orga7c1ba7">
<div id="outline-container-org6cd381e" class="outline-4">
<h4 id="org6cd381e">Using with Ubuntu</h4>
<div class="outline-text-4" id="text-org6cd381e">
<p>
Within the software center search for "mumble" and install the client then run it. Skip through the audio setup wizard.
</p>
@ -1216,9 +1116,9 @@ Click on "add new" to add a new server and enter the default domain name for the
</p>
</div>
</div>
<div id="outline-container-org420666c" class="outline-4">
<h4 id="org420666c">Using with Android</h4>
<div class="outline-text-4" id="text-org420666c">
<div id="outline-container-org3fcb575" class="outline-4">
<h4 id="org3fcb575">Using with Android</h4>
<div class="outline-text-4" id="text-org3fcb575">
<p>
Install <a href="https://f-droid.org/">F-Droid</a>
</p>
@ -1253,24 +1153,24 @@ Selecting the server by pressing on it then connects you to the server so that y
</div>
</div>
</div>
<div id="outline-container-orgbbd2d75" class="outline-3">
<h3 id="orgbbd2d75">SIP phones</h3>
<div class="outline-text-3" id="text-orgbbd2d75">
<div id="outline-container-org69c3a39" class="outline-3">
<h3 id="org69c3a39">SIP phones</h3>
<div class="outline-text-3" id="text-org69c3a39">
<p>
Freedombone also supports SIP phones The username and domain is the same as for your email address, and the SIP password and extension number will appear within the README file in your home directory. Various SIP client options are available, such as CSipSimple on Android and Jitsi on desktop or laptop machines. Ideally use clients which support ZRTP, which will provide the best level of security.
</p>
</div>
<div id="outline-container-org925dbec" class="outline-4">
<h4 id="org925dbec">About ZRTP</h4>
<div class="outline-text-4" id="text-org925dbec">
<div id="outline-container-orge7963d1" class="outline-4">
<h4 id="orge7963d1">About ZRTP</h4>
<div class="outline-text-4" id="text-orge7963d1">
<p>
<a href="https://jitsi.org/Documentation/ZrtpFAQ">ZRTP</a> appears to be the current best standard to end-to-end encrypted voice calls, combining good security with simplicity of use. When the initial cryptographic negotiation between phones is done at the start of a call a short authentication string (SAS) is calculated and displayed at both ends. To check that there isn't anyone intercepting the call and acting as a <i>man in the middle</i> - as <a href="https://en.wikipedia.org/wiki/Stingray_phone_tracker">stingray type devices</a> try to do - the short authentication string can be read out and verbally confirmed between the callers. If it's the same then you can be pretty confident that the call is secure.
</p>
</div>
</div>
<div id="outline-container-org6bc8f17" class="outline-4">
<h4 id="org6bc8f17">Using with CSIPSimple</h4>
<div class="outline-text-4" id="text-org6bc8f17">
<div id="outline-container-org89b01db" class="outline-4">
<h4 id="org89b01db">Using with CSIPSimple</h4>
<div class="outline-text-4" id="text-org89b01db">
<p>
Add an account. Under <b>General Wizards</b> choose <b>Expert</b> and enter the following details:
</p>
@ -1326,9 +1226,9 @@ If everything is working the account should appear in green with a status of
</p>
</div>
</div>
<div id="outline-container-org06cff5b" class="outline-4">
<h4 id="org06cff5b">Using with Ring</h4>
<div class="outline-text-4" id="text-org06cff5b">
<div id="outline-container-org6ae15ee" class="outline-4">
<h4 id="org6ae15ee">Using with Ring</h4>
<div class="outline-text-4" id="text-org6ae15ee">
<p>
From the menu select <b>Manage accounts</b>.
</p>
@ -1381,9 +1281,9 @@ Select the Security tab. Under SRTP Key Exchange select ZRTP
</div>
</div>
<div id="outline-container-org9966fa0" class="outline-2">
<h2 id="org9966fa0">RSS Reader</h2>
<div class="outline-text-2" id="text-org9966fa0">
<div id="outline-container-org4da85a9" class="outline-2">
<h2 id="org4da85a9">RSS Reader</h2>
<div class="outline-text-2" id="text-org4da85a9">
<p>
The way that RSS reading is set up on Freedombone gives you strong reading privacy. Not only is there onion routing between you and the server but also between the server and the source of the RSS feed. The only down side is that many RSS feeds are still http only, and so could be vulnerable to injection attacks, but it's expected that more of this will go to https in the foreseeable future due to a combination of growing recognition of security issues and systems like Let's Encrypt which make obtaining certificates much easier.
</p>
@ -1395,9 +1295,9 @@ The way that RSS reading is set up on Freedombone gives you strong reading priva
</div>
</div>
<div id="outline-container-orge60ecff" class="outline-3">
<h3 id="orge60ecff">Finding the onion address</h3>
<div class="outline-text-3" id="text-orge60ecff">
<div id="outline-container-org9813c49" class="outline-3">
<h3 id="org9813c49">Finding the onion address</h3>
<div class="outline-text-3" id="text-org9813c49">
<p>
See the control panel for the RSS reader onion address.
</p>
@ -1421,9 +1321,9 @@ To set up the system open http://rss_r
</div>
</div>
<div id="outline-container-orgc79b741" class="outline-3">
<h3 id="orgc79b741">On mobile</h3>
<div class="outline-text-3" id="text-orgc79b741">
<div id="outline-container-org8125a0f" class="outline-3">
<h3 id="org8125a0f">On mobile</h3>
<div class="outline-text-3" id="text-org8125a0f">
<p>
To access the RSS reader from a mobile device you can install a Tor compatible browser such as OrFox. It will try to automatically change to the mobile version of the user interface. Remember to add the site to the NoScript whitelist, and you may also need to turn HTTPS Everywhere off.
</p>
@ -1435,9 +1335,9 @@ A note for the paranoid is that on mobile devices you get redirected to a differ
</blockquote>
</div>
</div>
<div id=