Ver código fonte

Merge branch 'stretch' of https://github.com/bashrc/freedombone

Bob Mottram 7 anos atrás
pai
commit
52f8dd77c4

+ 17
- 0
doc/EN/faq.org Ver arquivo

20
 | [[What applications are supported?]]                                                          |
20
 | [[What applications are supported?]]                                                          |
21
 | [[I don't have a static IP address. Can I still install this system?]]                        |
21
 | [[I don't have a static IP address. Can I still install this system?]]                        |
22
 | [[What are the best microSD cards to use?]]                                                   |
22
 | [[What are the best microSD cards to use?]]                                                   |
23
+| [[On a single board computer can I boot from an external SSD or hard drive?]]                 |
23
 | [[Why Freedombone and not FreedomBox?]]                                                       |
24
 | [[Why Freedombone and not FreedomBox?]]                                                       |
24
 | [[Why not support building images for Raspberry Pi?]]                                         |
25
 | [[Why not support building images for Raspberry Pi?]]                                         |
25
 | [[Why use Tor? I've heard it's used by bad people]]                                           |
26
 | [[Why use Tor? I've heard it's used by bad people]]                                           |
62
 The lack of a static IP address can be worked around by using a dynamic DNS service. Freedombone uses [[https://troglobit.com/inadyn.html][inadyn]] , which supports a variety of dynamic DNS providers.
63
 The lack of a static IP address can be worked around by using a dynamic DNS service. Freedombone uses [[https://troglobit.com/inadyn.html][inadyn]] , which supports a variety of dynamic DNS providers.
63
 * What are the best microSD cards to use?
64
 * What are the best microSD cards to use?
64
 There can be big differences in the performance of microSD cards, and the cheaper ones are almost invariably terrible and/or unusable. Sandisk and Samsung currently appear to be the better brands. You can find some performance benchmarks [[http://www.pidramble.com/wiki/benchmarks/microsd-cards][here]]. However, benchmarks like this only give a very rough idea of performance and they can vary significantly between individual cards even within the same brand.
65
 There can be big differences in the performance of microSD cards, and the cheaper ones are almost invariably terrible and/or unusable. Sandisk and Samsung currently appear to be the better brands. You can find some performance benchmarks [[http://www.pidramble.com/wiki/benchmarks/microsd-cards][here]]. However, benchmarks like this only give a very rough idea of performance and they can vary significantly between individual cards even within the same brand.
66
+* On a single board computer can I boot from an external SSD or hard drive?
67
+Some single board computers, such as Cubieboards or OLinuxino, have a SATA socket on them which enables an external drive to be connected. This is usually intended for extra file storage, but it is also possible to run the operating system from an external drive. This can have the advantage of significantly increasing the read/write performance and your apps will appear to run more quickly.
68
+
69
+Typically a microSD read speed is 10-30MB/s. An SSD or hard drive can be 100MB/s or more, so that's a big potential gain.
70
+
71
+Single board computers usually don't have the capability of booting directly from an external drive, but what you can do is boot from a partition on a microSD drive, which then runs the main filesystem (the rootfs) from the external drive.
72
+
73
+To create an image suitable for running from an SSD or hard drive use the --sata option, such as:
74
+
75
+#+BEGIN_SRC bash
76
+freedombone-image -t cubieboard2 --sata sda2
77
+#+END_SRC
78
+
79
+Note that the sata option should be set to point to the second partition on the drive, which is normally sda2.
80
+
81
+When the image is created then use the dd command to copy it both to a microSD card and to the SSD or hard drive. Plug them both into the board and it should then boot and use the external drive.
65
 * Why Freedombone and not FreedomBox?
82
 * Why Freedombone and not FreedomBox?
66
 When the project began in late 2013 the FreedomBox project seemed to be going nowhere, and was only designed to work with the DreamPlug hardware. There was some new hardware out - the Beaglebone Black - which could run Debian and was also a free hardware design so seemed more appropriate. Hence the name "Freedombone", being like FreedomBox but on a Beaglebone. There are some similarities and differences between the two projects:
83
 When the project began in late 2013 the FreedomBox project seemed to be going nowhere, and was only designed to work with the DreamPlug hardware. There was some new hardware out - the Beaglebone Black - which could run Debian and was also a free hardware design so seemed more appropriate. Hence the name "Freedombone", being like FreedomBox but on a Beaglebone. There are some similarities and differences between the two projects:
67
 
84
 

+ 1
- 1
doc/EN/homeserver.org Ver arquivo

119
 
119
 
120
 Then select *About*. You'll see a list of sites and their onion addresses.
120
 Then select *About*. You'll see a list of sites and their onion addresses.
121
 
121
 
122
-#+attr_html: :width 80% :align center
122
+#+attr_html: :width 100% :align center
123
 [[file:images/controlpanel/control_panel_about.jpg]]
123
 [[file:images/controlpanel/control_panel_about.jpg]]
124
 
124
 
125
 The About screen contains the ssh server public key hashes and you can compare the relevant one with the previous terminal window to verify that they're the same. If they're not then you might have a /machine-in-the-middle/ snooping on you.
125
 The About screen contains the ssh server public key hashes and you can compare the relevant one with the previous terminal window to verify that they're the same. If they're not then you might have a /machine-in-the-middle/ snooping on you.

+ 0
- 29
doc/EN/mobile.org Ver arquivo

9
 #+attr_html: :width 80% :height 10% :align center
9
 #+attr_html: :width 80% :height 10% :align center
10
 [[file:images/logo.png]]
10
 [[file:images/logo.png]]
11
 
11
 
12
-* Mobile
13
-
14
 Mobile phones are insecure devices, but they're regarded as being so essential to modern life that telling people not to use them isn't a viable option. Here are some recommendations on setting up a mobile phone (aka "smartphone") to work with Freedombone.
12
 Mobile phones are insecure devices, but they're regarded as being so essential to modern life that telling people not to use them isn't a viable option. Here are some recommendations on setting up a mobile phone (aka "smartphone") to work with Freedombone.
15
 
13
 
16
-#+BEGIN_EXPORT html
17
- <center>
18
- <table style="width:80%; border:0">
19
-  <tr>
20
-    <td><center><b><h3>Open</h3></b><br>Use a free and open source operating system. Open means more trustworthy</center></td>
21
-    <td><center><b><h3>Remove</h3></b><br>If there are any proprietary apps then remove or deactivate them</center></td>
22
-  </tr>
23
-  <tr>
24
-    <td><center><b><h3>Encrypt</h3></b><br>Make sure your phone is encrypted with a password which isn't easy to guess</center></td>
25
-    <td><center><b><h3>Apps</h3></b><br>Use F-droid to install new apps</center></td>
26
-  </tr>
27
-  <tr>
28
-    <td><center><b><h3>Lock</h3></b><br>Enable a lock screen with a maximum number of password guesses</center></td>
29
-    <td><center><b><h3>Onion</h3></b><br>Onion route your connections to avoid bulk metadata collection</center></td>
30
-  </tr>
31
-  <tr>
32
-    <td><center><b><h3>Email</h3></b><br>Access webmail in a browser</center></td>
33
-    <td><center><b><h3>Services</h3></b><br>Connect to the Freedombone services</center></td>
34
-  </tr>
35
-  <tr>
36
-    <td><center><b><h3>Battery</h3></b><br>Avoid battery-eating apps and disable some optimisations</center></td>
37
-    <td><center><b><h3>Block</h3></b><br>Prevent access to know bad domains</center></td>
38
-  </tr>
39
-</table>
40
-</center>
41
-#+END_EXPORT
42
-
43
 * Open
14
 * Open
44
 Use a Linux based phone operating system. Typically this will mean Android, but could also mean LineageOS or Replicant. LineageOS is the most preferable, because you can usually get an up to date image with a recent kernel which will give you better security against exploits. If you're buying a phone then look for a model which is supported by LineageOS. Replicant is the most free (as in freedom) but only runs on a small number of phone models. If you have a phone which runs a full GNU/Linux system then that's fantastic, and you can probably use it in much the same way as a desktop system and the rest of the advice on this page won't apply. If you don't have a phone capable of running a Linux based operating system then consider selling, giving away or bartering your existing one.
15
 Use a Linux based phone operating system. Typically this will mean Android, but could also mean LineageOS or Replicant. LineageOS is the most preferable, because you can usually get an up to date image with a recent kernel which will give you better security against exploits. If you're buying a phone then look for a model which is supported by LineageOS. Replicant is the most free (as in freedom) but only runs on a small number of phone models. If you have a phone which runs a full GNU/Linux system then that's fantastic, and you can probably use it in much the same way as a desktop system and the rest of the advice on this page won't apply. If you don't have a phone capable of running a Linux based operating system then consider selling, giving away or bartering your existing one.
45
 
16
 

BIN
img/controlpanel/control_panel_about.jpg Ver arquivo


BIN
man/freedombone-image.1.gz Ver arquivo


+ 45
- 1
src/freedombone-app-pleroma Ver arquivo

36
 PLEROMA_PORT=4000
36
 PLEROMA_PORT=4000
37
 PLEROMA_ONION_PORT=8011
37
 PLEROMA_ONION_PORT=8011
38
 PLEROMA_REPO="https://git.pleroma.social/pleroma/pleroma.git"
38
 PLEROMA_REPO="https://git.pleroma.social/pleroma/pleroma.git"
39
-PLEROMA_COMMIT='e153b364a71de431787db236c57114f229162ddf'
39
+PLEROMA_COMMIT='fc6f5bcad3ad94eefbfcb24ca361e818ed0319d6'
40
 PLEROMA_ADMIN_PASSWORD=
40
 PLEROMA_ADMIN_PASSWORD=
41
 PLEROMA_DIR=/etc/pleroma
41
 PLEROMA_DIR=/etc/pleroma
42
 PLEROMA_SECRET_KEY=""
42
 PLEROMA_SECRET_KEY=""
724
     done
724
     done
725
 }
725
 }
726
 
726
 
727
+function pleroma_upgrade_tor {
728
+    pleroma_tor_update=
729
+
730
+    if ! grep -q '{:socks5, :localhost, 9050}' $pleroma_secret; then
731
+        pleroma_tor_update=1
732
+    fi
733
+
734
+    if ! grep -q '# config :pleroma, :http, proxy_url:' $PLEROMA_DIR/config/config.exs; then
735
+        pleroma_tor_update=1
736
+    fi
737
+
738
+    if [ ! $pleroma_tor_update ]; then
739
+        return
740
+    fi
741
+
742
+    if ! grep -q '{:socks5, :localhost, 9050}' $pleroma_secret; then
743
+        sed -i '/9050/d' $pleroma_secret
744
+        sed -i '/url:/a config :pleroma, :http, proxy_url: {:socks5, :localhost, 9050}' $pleroma_secret
745
+    fi
746
+
747
+    if ! grep -q '# config :pleroma, :http, proxy_url:' $PLEROMA_DIR/config/config.exs; then
748
+        sed -i 's|config :pleroma, :http, proxy_url:|# config :pleroma, :http, proxy_url:|g' $PLEROMA_DIR/config/config.exs
749
+    fi
750
+
751
+    pleroma_recompile
752
+}
753
+
727
 function upgrade_pleroma {
754
 function upgrade_pleroma {
728
     read_config_param PLEROMA_DOMAIN_NAME
755
     read_config_param PLEROMA_DOMAIN_NAME
729
     read_config_param PLEROMA_EXPIRE_MONTHS
756
     read_config_param PLEROMA_EXPIRE_MONTHS
738
         create_pleroma_blocklist
765
         create_pleroma_blocklist
739
     fi
766
     fi
740
 
767
 
768
+    pleroma_upgrade_tor
769
+
741
     CURR_PLEROMA_COMMIT=$(get_completion_param "pleroma commit")
770
     CURR_PLEROMA_COMMIT=$(get_completion_param "pleroma commit")
742
     if [[ "$CURR_PLEROMA_COMMIT" == "$PLEROMA_COMMIT" ]]; then
771
     if [[ "$CURR_PLEROMA_COMMIT" == "$PLEROMA_COMMIT" ]]; then
743
         return
772
         return
748
         pleroma_registrations=
777
         pleroma_registrations=
749
     fi
778
     fi
750
 
779
 
780
+    pleroma_chat_enabled=1
781
+    if grep -q ':chat, enabled: false' $PLEROMA_DIR/config/config.exs; then
782
+        pleroma_chat_enabled=
783
+    fi
784
+
751
     # make a copy of the configuration
785
     # make a copy of the configuration
752
     cp $PLEROMA_DIR/priv/static/static/config.json $PLEROMA_DIR/priv/static/static/config_prev.json
786
     cp $PLEROMA_DIR/priv/static/static/config.json $PLEROMA_DIR/priv/static/static/config_prev.json
753
 
787
 
780
         sed -i 's|registrations_open: True|registrations_open: false|g' $PLEROMA_DIR/config/config.exs
814
         sed -i 's|registrations_open: True|registrations_open: false|g' $PLEROMA_DIR/config/config.exs
781
     fi
815
     fi
782
 
816
 
817
+    if [ ! $pleroma_chat_enabled ]; then
818
+        sed -i 's|config :pleroma, :chat.*|config :pleroma, :chat, enabled: false|g' $PLEROMA_DIR/config/config.exs
819
+    else
820
+        sed -i 's|config :pleroma, :chat.*|config :pleroma, :chat, enabled: true|g' $PLEROMA_DIR/config/config.exs
821
+    fi
822
+
783
     pleroma_recompile
823
     pleroma_recompile
784
 
824
 
785
     # migrate database
825
     # migrate database
1252
     sed -i 's|redirect_on_failure:.*|redirect_on_failure: false|g' $PLEROMA_DIR/config/config.exs
1292
     sed -i 's|redirect_on_failure:.*|redirect_on_failure: false|g' $PLEROMA_DIR/config/config.exs
1253
     sed -i 's|:chat, enabled:.*|:chat, enabled: false|g' $PLEROMA_DIR/config/config.exs
1293
     sed -i 's|:chat, enabled:.*|:chat, enabled: false|g' $PLEROMA_DIR/config/config.exs
1254
 
1294
 
1295
+    # onion routing
1296
+    sed -i '/url:/a config :pleroma, :http, proxy_url: {:socks5, :localhost, 9050}' $pleroma_secret
1297
+    sed -i 's|config :pleroma, :http, proxy_url:|# config :pleroma, :http, proxy_url:|g' $PLEROMA_DIR/config/config.exs
1298
+
1255
     # set registrations open initially
1299
     # set registrations open initially
1256
     sed -i 's|registrations_open:.*|registrations_open: true,|g' $PLEROMA_DIR/config/config.exs
1300
     sed -i 's|registrations_open:.*|registrations_open: true,|g' $PLEROMA_DIR/config/config.exs
1257
     sed -i 's|"registrationOpen":.*|"registrationOpen": true,|g' $PLEROMA_DIR/priv/static/static/config.json
1301
     sed -i 's|"registrationOpen":.*|"registrationOpen": true,|g' $PLEROMA_DIR/priv/static/static/config.json

+ 4
- 2
src/freedombone-app-searx Ver arquivo

35
 SEARX_REPO="https://github.com/asciimoo/searx"
35
 SEARX_REPO="https://github.com/asciimoo/searx"
36
 SEARX_COMMIT='80460be8f69cea5f15c9d5ddbb63e4e48fde2dd0'
36
 SEARX_COMMIT='80460be8f69cea5f15c9d5ddbb63e4e48fde2dd0'
37
 SEARX_PATH=/etc
37
 SEARX_PATH=/etc
38
+SEARX_PORT=8888
38
 SEARX_ONION_PORT=8094
39
 SEARX_ONION_PORT=8094
39
 SEARX_ONION_HOSTNAME=
40
 SEARX_ONION_HOSTNAME=
40
 SEARX_LOGIN_TEXT=$"Search engine login"
41
 SEARX_LOGIN_TEXT=$"Search engine login"
258
       echo '    language : "all"';
259
       echo '    language : "all"';
259
       echo '';
260
       echo '';
260
       echo 'server:';
261
       echo 'server:';
261
-      echo '    port : 8888';
262
+      echo "    port : ${SEARX_PORT}";
262
       echo '    bind_address : "127.0.0.1" # address to listen on';
263
       echo '    bind_address : "127.0.0.1" # address to listen on';
263
       echo "    secret_key : \"${SEARX_SECRET_KEY}\"";
264
       echo "    secret_key : \"${SEARX_SECRET_KEY}\"";
264
       echo "    base_url : http://${SEARX_ONION_HOSTNAME}/";
265
       echo "    base_url : http://${SEARX_ONION_HOSTNAME}/";
926
     set_completion_param "searx commit" "$SEARX_COMMIT"
927
     set_completion_param "searx commit" "$SEARX_COMMIT"
927
 
928
 
928
     # create an onion service
929
     # create an onion service
930
+    USE_V2_ONION_ADDRESS=1
929
     SEARX_ONION_HOSTNAME=$(add_onion_service searx 80 ${SEARX_ONION_PORT})
931
     SEARX_ONION_HOSTNAME=$(add_onion_service searx 80 ${SEARX_ONION_PORT})
930
 
932
 
931
     # an unprivileged user to run as
933
     # an unprivileged user to run as
965
       echo '    location / {'; } >> /etc/nginx/sites-available/searx
967
       echo '    location / {'; } >> /etc/nginx/sites-available/searx
966
     function_check nginx_limits
968
     function_check nginx_limits
967
     nginx_limits searx '1M'
969
     nginx_limits searx '1M'
968
-    { echo '        proxy_pass http://localhost:8888;';
970
+    { echo "        proxy_pass http://localhost:${SEARX_PORT};";
969
       echo "        #auth_basic \"${SEARX_LOGIN_TEXT}\";";
971
       echo "        #auth_basic \"${SEARX_LOGIN_TEXT}\";";
970
       echo '        #auth_basic_user_file /etc/nginx/.htpasswd;';
972
       echo '        #auth_basic_user_file /etc/nginx/.htpasswd;';
971
       echo '    }';
973
       echo '    }';

+ 13
- 19
src/freedombone-controlpanel Ver arquivo

232
         W+=("IPv6" "${ipv6_address}")
232
         W+=("IPv6" "${ipv6_address}")
233
     fi
233
     fi
234
 
234
 
235
+    if [ -f /etc/ssh/ssh_host_rsa_key.pub ]; then
236
+        W+=("ssh rsa sha256" "$(awk '{print $2}' /etc/ssh/ssh_host_rsa_key.pub | base64 -d | sha256sum -b | awk '{print $1}' | xxd -r -p | base64 | sed 's|=||g')")
237
+    fi
238
+    if [ -f /etc/ssh/ssh_host_ed25519_key.pub ]; then
239
+        W+=("ssh ed25519 sha256" "$(awk '{print $2}' /etc/ssh/ssh_host_ed25519_key.pub | base64 -d | sha256sum -b | awk '{print $1}' | xxd -r -p | base64 | sed 's|=||g')")
240
+    fi
235
 
241
 
236
     if grep -q "ssh onion domain" "$COMPLETION_FILE"; then
242
     if grep -q "ssh onion domain" "$COMPLETION_FILE"; then
237
         domain_onion=$(grep 'ssh onion domain' "${COMPLETION_FILE}" | awk -F ':' '{print $2}')
243
         domain_onion=$(grep 'ssh onion domain' "${COMPLETION_FILE}" | awk -F ':' '{print $2}')
362
     echo ''
368
     echo ''
363
 }
369
 }
364
 
370
 
365
-function show_ssh_public_key {
366
-    echo $'SSH Public Keys'
367
-    echo '==============='
368
-    echo ''
369
-    get_ssh_server_key
370
-    echo ''
371
-    echo ''
372
-}
373
-
374
 function show_about {
371
 function show_about {
375
     detect_apps
372
     detect_apps
376
     get_apps_installed_names
373
     get_apps_installed_names
377
-
378
-    #clear
379
-    #echo "==== ${PROJECT_NAME} version ${VERSION} ($DEBIAN_VERSION) ===="
380
-    #echo ''
381
-    #show_ssh_public_key
382
     show_domains
374
     show_domains
383
-    #show_users
384
-    #any_key
385
 }
375
 }
386
 
376
 
387
 function select_user {
377
 function select_user {
1808
 
1798
 
1809
     if [ ! -f /sbin/hdparm ]; then
1799
     if [ ! -f /sbin/hdparm ]; then
1810
         apt-get -yq install hdparm
1800
         apt-get -yq install hdparm
1811
-        clear
1812
     fi
1801
     fi
1813
 
1802
 
1814
     test_drive=/dev/sda1
1803
     test_drive=/dev/sda1
1815
-    if [ -f /dev/mmcblk0 ]; then
1816
-        test_drive=/dev/mmcblk0
1804
+    if ! ls $test_drive; then
1805
+        if ls /dev/mmcblk0p2; then
1806
+            test_drive=/dev/mmcblk0p2
1807
+        else
1808
+            return
1809
+        fi
1817
     fi
1810
     fi
1811
+    clear
1818
     echo ''
1812
     echo ''
1819
     echo $"Testing read speed of drive $test_drive"
1813
     echo $"Testing read speed of drive $test_drive"
1820
     hdparm -tT $test_drive
1814
     hdparm -tT $test_drive

+ 13
- 0
src/freedombone-image Ver arquivo

153
 MBR_REPO="https://aur.archlinux.org/mbr.git"
153
 MBR_REPO="https://aur.archlinux.org/mbr.git"
154
 CLIAPP_REPO="git://git.liw.fi/cliapp"
154
 CLIAPP_REPO="git://git.liw.fi/cliapp"
155
 
155
 
156
+# Whether to use a SATA drive and if so what its device/partition name is
157
+# eg. sda2
158
+EXTERNAL_DRIVE=
159
+
156
 function image_setup {
160
 function image_setup {
157
     setup_type=$1
161
     setup_type=$1
158
 
162
 
453
             shift
457
             shift
454
             LOCAL_NAME="$1"
458
             LOCAL_NAME="$1"
455
             ;;
459
             ;;
460
+        --sata|--hdd)
461
+            shift
462
+            EXTERNAL_DRIVE="$1"
463
+            ;;
456
         *)
464
         *)
457
             # unknown option
465
             # unknown option
458
             ;;
466
             ;;
533
     IMAGE_NAME=$'onion'
541
     IMAGE_NAME=$'onion'
534
 fi
542
 fi
535
 
543
 
544
+if [ "$EXTERNAL_DRIVE" ]; then
545
+    IMAGE_NAME=$'sata'
546
+fi
547
+
536
 if [[ $VARIANT == 'mesh' ]]; then
548
 if [[ $VARIANT == 'mesh' ]]; then
537
     IMAGE_NAME=$'mesh'
549
     IMAGE_NAME=$'mesh'
538
     # typically not much disk space is needed for a mesh node
550
     # typically not much disk space is needed for a mesh node
601
      INSECURE="$INSECURE" \
613
      INSECURE="$INSECURE" \
602
      AMNESIC="$AMNESIC" \
614
      AMNESIC="$AMNESIC" \
603
      SOCIALINSTANCE="$SOCIALINSTANCE" \
615
      SOCIALINSTANCE="$SOCIALINSTANCE" \
616
+     EXTERNAL_DRIVE="$EXTERNAL_DRIVE" \
604
      LOCAL_NAME="$LOCAL_NAME"
617
      LOCAL_NAME="$LOCAL_NAME"
605
 
618
 
606
 # shellcheck disable=SC2181
619
 # shellcheck disable=SC2181

+ 4
- 0
src/freedombone-image-customise Ver arquivo

141
 
141
 
142
 PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin
142
 PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin
143
 
143
 
144
+# Whether to use a SATA drive and if so what its device/partition name is
145
+# eg. sda2
146
+EXTERNAL_DRIVE=
147
+
144
 configure_backports() {
148
 configure_backports() {
145
     echo "deb http://${DEBIAN_REPO}/debian/ ${DEBIAN_VERSION}-backports main" >> "$rootdir/etc/apt/sources.list"
149
     echo "deb http://${DEBIAN_REPO}/debian/ ${DEBIAN_VERSION}-backports main" >> "$rootdir/etc/apt/sources.list"
146
 }
150
 }

+ 11
- 7
src/freedombone-image-hardware-setup Ver arquivo

155
 
155
 
156
 a20_setup_boot() {
156
 a20_setup_boot() {
157
     dtb="$1"
157
     dtb="$1"
158
+    a20_root_device='mmcblk0p2'
159
+    if [ "$2" ]; then
160
+        a20_root_device="$2"
161
+    fi
158
 
162
 
159
     # Setup boot.cmd
163
     # Setup boot.cmd
160
     if grep -q btrfs /etc/fstab ; then
164
     if grep -q btrfs /etc/fstab ; then
173
 setenv mmcdev 0
177
 setenv mmcdev 0
174
 setenv mmcpart 1
178
 setenv mmcpart 1
175
 
179
 
176
-setenv mmcroot /dev/mmcblk0p2 ro
180
+setenv mmcroot /dev/${a20_root_device} ro
177
 setenv mmcrootfstype $fstype rootwait fixrtc
181
 setenv mmcrootfstype $fstype rootwait fixrtc
178
 setenv mmcrootflags subvol=@
182
 setenv mmcrootflags subvol=@
179
 
183
 
239
         enable_serial_console ttyO0
243
         enable_serial_console ttyO0
240
         ;;
244
         ;;
241
     cubietruck)
245
     cubietruck)
242
-        a20_setup_boot sun7i-a20-cubietruck.dtb
246
+        a20_setup_boot sun7i-a20-cubietruck.dtb "$EXTERNAL_DRIVE"
243
         enable_serial_console ttyS0
247
         enable_serial_console ttyS0
244
         ;;
248
         ;;
245
     a20-olinuxino-lime)
249
     a20-olinuxino-lime)
246
-        a20_setup_boot sun7i-a20-olinuxino-lime.dtb
250
+        a20_setup_boot sun7i-a20-olinuxino-lime.dtb "$EXTERNAL_DRIVE"
247
         enable_serial_console ttyS0
251
         enable_serial_console ttyS0
248
         ;;
252
         ;;
249
     a20-olinuxino-lime2)
253
     a20-olinuxino-lime2)
250
-        a20_setup_boot sun7i-a20-olinuxino-lime2.dtb
254
+        a20_setup_boot sun7i-a20-olinuxino-lime2.dtb "$EXTERNAL_DRIVE"
251
         enable_serial_console ttyS0
255
         enable_serial_console ttyS0
252
         ;;
256
         ;;
253
     a20-olinuxino-micro)
257
     a20-olinuxino-micro)
254
-        a20_setup_boot sun7i-a20-olinuxino-micro.dtb
258
+        a20_setup_boot sun7i-a20-olinuxino-micro.dtb "$EXTERNAL_DRIVE"
255
         enable_serial_console ttyS0
259
         enable_serial_console ttyS0
256
         ;;
260
         ;;
257
     cubieboard2)
261
     cubieboard2)
258
-        a20_setup_boot sun7i-a20-cubieboard2.dtb
262
+        a20_setup_boot sun7i-a20-cubieboard2.dtb "$EXTERNAL_DRIVE"
259
         enable_serial_console ttyS0
263
         enable_serial_console ttyS0
260
         ;;
264
         ;;
261
     pcduino3)
265
     pcduino3)
262
-        a20_setup_boot sun7i-a20-pcduino3.dtb
266
+        a20_setup_boot sun7i-a20-pcduino3.dtb "$EXTERNAL_DRIVE"
263
         enable_serial_console ttyS0
267
         enable_serial_console ttyS0
264
         ;;
268
         ;;
265
 esac
269
 esac

+ 4
- 1
src/freedombone-image-make Ver arquivo

77
 export AMNESIC
77
 export AMNESIC
78
 export SOCIALINSTANCE
78
 export SOCIALINSTANCE
79
 export LOCAL_NAME
79
 export LOCAL_NAME
80
+export EXTERNAL_DRIVE
80
 
81
 
81
 # Locate vmdebootstrap program fetched in Makefile
82
 # Locate vmdebootstrap program fetched in Makefile
82
 basedir=`pwd`
83
 basedir=`pwd`
101
 # Packages needed for self-hosted development
102
 # Packages needed for self-hosted development
102
 dev_pkgs="build-essential devscripts make man-db emacs org-mode git mercurial"
103
 dev_pkgs="build-essential devscripts make man-db emacs org-mode git mercurial"
103
 
104
 
104
-echo Building "$MACHINE" "$PROJECT_NAME" for "$ARCHITECTURE".
105
+echo Building "$MACHINE" "$PROJECT_NAME" for "$ARCHITECTURE" "$EXTERNAL_DRIVE"
105
 
106
 
106
 case "$MACHINE" in
107
 case "$MACHINE" in
107
     beaglebone)
108
     beaglebone)
225
 sed -i "s|AMNESIC=.*|AMNESIC=\"${AMNESIC}\"|g" "$TEMP_CUSTOMISE3"
226
 sed -i "s|AMNESIC=.*|AMNESIC=\"${AMNESIC}\"|g" "$TEMP_CUSTOMISE3"
226
 sed -i "s|SOCIALINSTANCE=.*|SOCIALINSTANCE=\"${SOCIALINSTANCE}\"|g" "$TEMP_CUSTOMISE3"
227
 sed -i "s|SOCIALINSTANCE=.*|SOCIALINSTANCE=\"${SOCIALINSTANCE}\"|g" "$TEMP_CUSTOMISE3"
227
 sed -i "s|LOCAL_NAME=.*|LOCAL_NAME=\"${LOCAL_NAME}\"|g" "$TEMP_CUSTOMISE3"
228
 sed -i "s|LOCAL_NAME=.*|LOCAL_NAME=\"${LOCAL_NAME}\"|g" "$TEMP_CUSTOMISE3"
229
+sed -i "s|EXTERNAL_DRIVE=.*|EXTERNAL_DRIVE=\"${EXTERNAL_DRIVE}\"|g" "$TEMP_CUSTOMISE3"
228
 sed -i 's|#!/bin/bash||g' "$TEMP_CUSTOMISE3"
230
 sed -i 's|#!/bin/bash||g' "$TEMP_CUSTOMISE3"
229
 
231
 
230
 cat $TEMP_CUSTOMISE2 $TEMP_CUSTOMISE3 > $TEMP_CUSTOMISE4
232
 cat $TEMP_CUSTOMISE2 $TEMP_CUSTOMISE3 > $TEMP_CUSTOMISE4
254
      ARCHITECTURE="$ARCHITECTURE" \
256
      ARCHITECTURE="$ARCHITECTURE" \
255
      SOURCE="$SOURCE" \
257
      SOURCE="$SOURCE" \
256
      CUSTOM_SETUP="$CUSTOM_SETUP" \
258
      CUSTOM_SETUP="$CUSTOM_SETUP" \
259
+     EXTERNAL_DRIVE="$EXTERNAL_DRIVE" \
257
      $VMDEBOOTSTRAP \
260
      $VMDEBOOTSTRAP \
258
      --log "$(dirname "$IMAGE")/${PROJECT_NAME}.log" \
261
      --log "$(dirname "$IMAGE")/${PROJECT_NAME}.log" \
259
      --log-level debug \
262
      --log-level debug \

+ 4
- 4
src/freedombone-utils-web Ver arquivo

88
         max_body=$2
88
         max_body=$2
89
     fi
89
     fi
90
     filename=/etc/nginx/sites-available/$domain_name
90
     filename=/etc/nginx/sites-available/$domain_name
91
-    { echo "    client_max_body_size ${max_body};";
92
-      echo '    client_body_buffer_size 128k;';
91
+    { echo "        client_max_body_size ${max_body};";
92
+      echo '        client_body_buffer_size 128k;';
93
       echo '';
93
       echo '';
94
-      echo '    limit_conn conn_limit_per_ip 10;';
95
-      echo '    limit_req zone=req_limit_per_ip burst=10 nodelay;';
94
+      echo '        limit_conn conn_limit_per_ip 10;';
95
+      echo '        limit_req zone=req_limit_per_ip burst=10 nodelay;';
96
       echo ''; } >> "$filename"
96
       echo ''; } >> "$filename"
97
 }
97
 }
98
 
98
 

+ 181
- 144
website/EN/faq.html Ver arquivo

3
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
5
 <head>
5
 <head>
6
-<!-- 2018-04-21 Sat 17:21 -->
6
+<!-- 2018-04-22 Sun 17:22 -->
7
 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
7
 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
8
 <meta name="viewport" content="width=device-width, initial-scale=1" />
8
 <meta name="viewport" content="width=device-width, initial-scale=1" />
9
 <title>&lrm;</title>
9
 <title>&lrm;</title>
262
 </colgroup>
262
 </colgroup>
263
 <tbody>
263
 <tbody>
264
 <tr>
264
 <tr>
265
-<td class="org-left"><a href="#org9ac9dc9">What applications are supported?</a></td>
265
+<td class="org-left"><a href="#org9d9db8e">What applications are supported?</a></td>
266
 </tr>
266
 </tr>
267
 
267
 
268
 <tr>
268
 <tr>
269
-<td class="org-left"><a href="#org57cb5f7">I don't have a static IP address. Can I still install this system?</a></td>
269
+<td class="org-left"><a href="#orgb7afc6a">I don't have a static IP address. Can I still install this system?</a></td>
270
 </tr>
270
 </tr>
271
 
271
 
272
 <tr>
272
 <tr>
273
-<td class="org-left"><a href="#org2ec231a">What are the best microSD cards to use?</a></td>
273
+<td class="org-left"><a href="#org65c636f">What are the best microSD cards to use?</a></td>
274
 </tr>
274
 </tr>
275
 
275
 
276
 <tr>
276
 <tr>
277
-<td class="org-left"><a href="#orgf562031">Why Freedombone and not FreedomBox?</a></td>
277
+<td class="org-left"><a href="#orgeeb7892">On a single board computer can I boot from an external SSD or hard drive?</a></td>
278
 </tr>
278
 </tr>
279
 
279
 
280
 <tr>
280
 <tr>
281
-<td class="org-left"><a href="#orgba4b2dc">Why not support building images for Raspberry Pi?</a></td>
281
+<td class="org-left"><a href="#orgb396274">Why Freedombone and not FreedomBox?</a></td>
282
 </tr>
282
 </tr>
283
 
283
 
284
 <tr>
284
 <tr>
285
-<td class="org-left"><a href="#org8b22f5c">Why use Tor? I've heard it's used by bad people</a></td>
285
+<td class="org-left"><a href="#orgfced681">Why not support building images for Raspberry Pi?</a></td>
286
 </tr>
286
 </tr>
287
 
287
 
288
 <tr>
288
 <tr>
289
-<td class="org-left"><a href="#orgbaa6623">How is Tor integrated with Freedombone?</a></td>
289
+<td class="org-left"><a href="#org3077cce">Why use Tor? I've heard it's used by bad people</a></td>
290
 </tr>
290
 </tr>
291
 
291
 
292
 <tr>
292
 <tr>
293
-<td class="org-left"><a href="#orgbd702fd">Can I add a clearnet domain to an onion build?</a></td>
293
+<td class="org-left"><a href="#org3552fe9">How is Tor integrated with Freedombone?</a></td>
294
 </tr>
294
 </tr>
295
 
295
 
296
 <tr>
296
 <tr>
297
-<td class="org-left"><a href="#org4d09a2a">Why use Github?</a></td>
297
+<td class="org-left"><a href="#org6742965">Can I add a clearnet domain to an onion build?</a></td>
298
 </tr>
298
 </tr>
299
 
299
 
300
 <tr>
300
 <tr>
301
-<td class="org-left"><a href="#org82e9020">After using nmap or other scanning tool I can no longer log in</a></td>
301
+<td class="org-left"><a href="#orga8ad014">Why use Github?</a></td>
302
 </tr>
302
 </tr>
303
 
303
 
304
 <tr>
304
 <tr>
305
-<td class="org-left"><a href="#org6838add">Should I upload my GPG keys to keybase.io?</a></td>
305
+<td class="org-left"><a href="#orgbe6f7d6">After using nmap or other scanning tool I can no longer log in</a></td>
306
 </tr>
306
 </tr>
307
 
307
 
308
 <tr>
308
 <tr>
309
-<td class="org-left"><a href="#orgefe80fb">Keys and emails should not be stored on servers. Why do you do that?</a></td>
309
+<td class="org-left"><a href="#orgccf9366">Should I upload my GPG keys to keybase.io?</a></td>
310
 </tr>
310
 </tr>
311
 
311
 
312
 <tr>
312
 <tr>
313
-<td class="org-left"><a href="#org7659367">Why can't I access my .onion site with a Tor browser?</a></td>
313
+<td class="org-left"><a href="#orgb40484c">Keys and emails should not be stored on servers. Why do you do that?</a></td>
314
 </tr>
314
 </tr>
315
 
315
 
316
 <tr>
316
 <tr>
317
-<td class="org-left"><a href="#org2bbb18a">What is the best hardware to run this system on?</a></td>
317
+<td class="org-left"><a href="#org20ae1ad">Why can't I access my .onion site with a Tor browser?</a></td>
318
 </tr>
318
 </tr>
319
 
319
 
320
 <tr>
320
 <tr>
321
-<td class="org-left"><a href="#org15ecda8">Can I add more users to the system?</a></td>
321
+<td class="org-left"><a href="#org31eab79">What is the best hardware to run this system on?</a></td>
322
 </tr>
322
 </tr>
323
 
323
 
324
 <tr>
324
 <tr>
325
-<td class="org-left"><a href="#orgc47b161">Why not use Signal for mobile chat?</a></td>
325
+<td class="org-left"><a href="#orge1f68c9">Can I add more users to the system?</a></td>
326
 </tr>
326
 </tr>
327
 
327
 
328
 <tr>
328
 <tr>
329
-<td class="org-left"><a href="#orgc0e8c86">What is the most secure chat app to use on mobile?</a></td>
329
+<td class="org-left"><a href="#orgcd439e3">Why not use Signal for mobile chat?</a></td>
330
 </tr>
330
 </tr>
331
 
331
 
332
 <tr>
332
 <tr>
333
-<td class="org-left"><a href="#org444799d">How do I remove a user from the system?</a></td>
333
+<td class="org-left"><a href="#orgfa7c5c1">What is the most secure chat app to use on mobile?</a></td>
334
 </tr>
334
 </tr>
335
 
335
 
336
 <tr>
336
 <tr>
337
-<td class="org-left"><a href="#orgc9b4ece">Why is logging for web sites turned off by default?</a></td>
337
+<td class="org-left"><a href="#org655d4c9">How do I remove a user from the system?</a></td>
338
 </tr>
338
 </tr>
339
 
339
 
340
 <tr>
340
 <tr>
341
-<td class="org-left"><a href="#orge930cc5">How do I reset the tripwire?</a></td>
341
+<td class="org-left"><a href="#org70bc219">Why is logging for web sites turned off by default?</a></td>
342
 </tr>
342
 </tr>
343
 
343
 
344
 <tr>
344
 <tr>
345
-<td class="org-left"><a href="#org0947e5a">Is metadata protected?</a></td>
345
+<td class="org-left"><a href="#org2649234">How do I reset the tripwire?</a></td>
346
 </tr>
346
 </tr>
347
 
347
 
348
 <tr>
348
 <tr>
349
-<td class="org-left"><a href="#orgb32e5cb">How do I create email processing rules?</a></td>
349
+<td class="org-left"><a href="#orgfdfefa3">Is metadata protected?</a></td>
350
 </tr>
350
 </tr>
351
 
351
 
352
 <tr>
352
 <tr>
353
-<td class="org-left"><a href="#orgcc703f1">Why isn't dynamic DNS working?</a></td>
353
+<td class="org-left"><a href="#org4cd4d7a">How do I create email processing rules?</a></td>
354
 </tr>
354
 </tr>
355
 
355
 
356
 <tr>
356
 <tr>
357
-<td class="org-left"><a href="#orgdb2c631">How do I change my encryption settings?</a></td>
357
+<td class="org-left"><a href="#orgccba878">Why isn't dynamic DNS working?</a></td>
358
 </tr>
358
 </tr>
359
 
359
 
360
 <tr>
360
 <tr>
361
-<td class="org-left"><a href="#org748c030">How do I get a domain name?</a></td>
361
+<td class="org-left"><a href="#org2bd511f">How do I change my encryption settings?</a></td>
362
 </tr>
362
 </tr>
363
 
363
 
364
 <tr>
364
 <tr>
365
-<td class="org-left"><a href="#org20d848a">How do I get a "real" SSL/TLS/HTTPS certificate?</a></td>
365
+<td class="org-left"><a href="#orgcc9b703">How do I get a domain name?</a></td>
366
 </tr>
366
 </tr>
367
 
367
 
368
 <tr>
368
 <tr>
369
-<td class="org-left"><a href="#org364e5b4">How do I renew a Let's Encrypt certificate?</a></td>
369
+<td class="org-left"><a href="#org221b34b">How do I get a "real" SSL/TLS/HTTPS certificate?</a></td>
370
 </tr>
370
 </tr>
371
 
371
 
372
 <tr>
372
 <tr>
373
-<td class="org-left"><a href="#org92cc380">I tried to renew a Let's Encrypt certificate and it failed. What should I do?</a></td>
373
+<td class="org-left"><a href="#org0180711">How do I renew a Let's Encrypt certificate?</a></td>
374
 </tr>
374
 </tr>
375
 
375
 
376
 <tr>
376
 <tr>
377
-<td class="org-left"><a href="#org7fdf511">Why not use the services of $company instead? They took the Seppuku pledge</a></td>
377
+<td class="org-left"><a href="#org019cece">I tried to renew a Let's Encrypt certificate and it failed. What should I do?</a></td>
378
 </tr>
378
 </tr>
379
 
379
 
380
 <tr>
380
 <tr>
381
-<td class="org-left"><a href="#org2ac01d7">Why does my email keep getting rejected as spam by Gmail/etc?</a></td>
381
+<td class="org-left"><a href="#orge3b3f79">Why not use the services of $company instead? They took the Seppuku pledge</a></td>
382
 </tr>
382
 </tr>
383
 
383
 
384
 <tr>
384
 <tr>
385
-<td class="org-left"><a href="#orga441aa1">Tor is censored/blocked in my area. What can I do?</a></td>
385
+<td class="org-left"><a href="#orga476817">Why does my email keep getting rejected as spam by Gmail/etc?</a></td>
386
 </tr>
386
 </tr>
387
 
387
 
388
 <tr>
388
 <tr>
389
-<td class="org-left"><a href="#orgaf2f408">I want to block a particular domain from getting its content into my social network sites</a></td>
389
+<td class="org-left"><a href="#orgebcf081">Tor is censored/blocked in my area. What can I do?</a></td>
390
 </tr>
390
 </tr>
391
 
391
 
392
 <tr>
392
 <tr>
393
-<td class="org-left"><a href="#orgf5fd6ee">The mesh system doesn't boot from USB drive</a></td>
393
+<td class="org-left"><a href="#org97fe227">I want to block a particular domain from getting its content into my social network sites</a></td>
394
 </tr>
394
 </tr>
395
 
395
 
396
 <tr>
396
 <tr>
397
-<td class="org-left"><a href="#org4b55e47">Mesh system doesn't connect to the network</a></td>
397
+<td class="org-left"><a href="#org5b978bf">The mesh system doesn't boot from USB drive</a></td>
398
+</tr>
399
+
400
+<tr>
401
+<td class="org-left"><a href="#orgf1d3c97">Mesh system doesn't connect to the network</a></td>
398
 </tr>
402
 </tr>
399
 </tbody>
403
 </tbody>
400
 </table>
404
 </table>
401
 </div>
405
 </div>
402
 
406
 
403
-<div id="outline-container-org9ac9dc9" class="outline-2">
404
-<h2 id="org9ac9dc9">What applications are supported?</h2>
405
-<div class="outline-text-2" id="text-org9ac9dc9">
407
+<div id="outline-container-org9d9db8e" class="outline-2">
408
+<h2 id="org9d9db8e">What applications are supported?</h2>
409
+<div class="outline-text-2" id="text-org9d9db8e">
406
 <p>
410
 <p>
407
 <a href="./apps.html">See here</a> for the complete list of apps. In addition to those as part of the base install you get an email server.
411
 <a href="./apps.html">See here</a> for the complete list of apps. In addition to those as part of the base install you get an email server.
408
 </p>
412
 </p>
409
 </div>
413
 </div>
410
 </div>
414
 </div>
411
-<div id="outline-container-org57cb5f7" class="outline-2">
412
-<h2 id="org57cb5f7">I don't have a static IP address. Can I still install this system?</h2>
413
-<div class="outline-text-2" id="text-org57cb5f7">
415
+<div id="outline-container-orgb7afc6a" class="outline-2">
416
+<h2 id="orgb7afc6a">I don't have a static IP address. Can I still install this system?</h2>
417
+<div class="outline-text-2" id="text-orgb7afc6a">
414
 <p>
418
 <p>
415
 Yes. The minimum requirements are to have some hardware that you can install Debian onto and also that you have administrator access to your internet router so that you can forward ports to the system which has Freedombone installed.
419
 Yes. The minimum requirements are to have some hardware that you can install Debian onto and also that you have administrator access to your internet router so that you can forward ports to the system which has Freedombone installed.
416
 </p>
420
 </p>
420
 </p>
424
 </p>
421
 </div>
425
 </div>
422
 </div>
426
 </div>
423
-<div id="outline-container-org2ec231a" class="outline-2">
424
-<h2 id="org2ec231a">What are the best microSD cards to use?</h2>
425
-<div class="outline-text-2" id="text-org2ec231a">
427
+<div id="outline-container-org65c636f" class="outline-2">
428
+<h2 id="org65c636f">What are the best microSD cards to use?</h2>
429
+<div class="outline-text-2" id="text-org65c636f">
426
 <p>
430
 <p>
427
 There can be big differences in the performance of microSD cards, and the cheaper ones are almost invariably terrible and/or unusable. Sandisk and Samsung currently appear to be the better brands. You can find some performance benchmarks <a href="http://www.pidramble.com/wiki/benchmarks/microsd-cards">here</a>. However, benchmarks like this only give a very rough idea of performance and they can vary significantly between individual cards even within the same brand.
431
 There can be big differences in the performance of microSD cards, and the cheaper ones are almost invariably terrible and/or unusable. Sandisk and Samsung currently appear to be the better brands. You can find some performance benchmarks <a href="http://www.pidramble.com/wiki/benchmarks/microsd-cards">here</a>. However, benchmarks like this only give a very rough idea of performance and they can vary significantly between individual cards even within the same brand.
428
 </p>
432
 </p>
429
 </div>
433
 </div>
430
 </div>
434
 </div>
431
-<div id="outline-container-orgf562031" class="outline-2">
432
-<h2 id="orgf562031">Why Freedombone and not FreedomBox?</h2>
433
-<div class="outline-text-2" id="text-orgf562031">
435
+<div id="outline-container-orgeeb7892" class="outline-2">
436
+<h2 id="orgeeb7892">On a single board computer can I boot from an external SSD or hard drive?</h2>
437
+<div class="outline-text-2" id="text-orgeeb7892">
438
+<p>
439
+Some single board computers, such as Cubieboards or OLinuxino, have a SATA socket on them which enables an external drive to be connected. This is usually intended for extra file storage, but it is also possible to run the operating system from an external drive. This can have the advantage of significantly increasing the read/write performance and your apps will appear to run more quickly.
440
+</p>
441
+
442
+<p>
443
+Typically a microSD read speed is 10-30MB/s. An SSD or hard drive can be 100MB/s or more, so that's a big potential gain.
444
+</p>
445
+
446
+<p>
447
+Single board computers usually don't have the capability of booting directly from an external drive, but what you can do is boot from a partition on a microSD drive, which then runs the main filesystem (the rootfs) from the external drive.
448
+</p>
449
+
450
+<p>
451
+To create an image suitable for running from an SSD or hard drive use the &#x2013;sata option, such as:
452
+</p>
453
+
454
+<div class="org-src-container">
455
+<pre class="src src-bash">freedombone-image -t cubieboard2 --sata sda2
456
+</pre>
457
+</div>
458
+
459
+<p>
460
+Note that the sata option should be set to point to the second partition on the drive, which is normally sda2.
461
+</p>
462
+
463
+<p>
464
+When the image is created then use the dd command to copy it both to a microSD card and to the SSD or hard drive. Plug them both into the board and it should then boot and use the external drive.
465
+</p>
466
+</div>
467
+</div>
468
+<div id="outline-container-orgb396274" class="outline-2">
469
+<h2 id="orgb396274">Why Freedombone and not FreedomBox?</h2>
470
+<div class="outline-text-2" id="text-orgb396274">
434
 <p>
471
 <p>
435
 When the project began in late 2013 the FreedomBox project seemed to be going nowhere, and was only designed to work with the DreamPlug hardware. There was some new hardware out - the Beaglebone Black - which could run Debian and was also a free hardware design so seemed more appropriate. Hence the name "Freedombone", being like FreedomBox but on a Beaglebone. There are some similarities and differences between the two projects:
472
 When the project began in late 2013 the FreedomBox project seemed to be going nowhere, and was only designed to work with the DreamPlug hardware. There was some new hardware out - the Beaglebone Black - which could run Debian and was also a free hardware design so seemed more appropriate. Hence the name "Freedombone", being like FreedomBox but on a Beaglebone. There are some similarities and differences between the two projects:
436
 </p>
473
 </p>
437
 </div>
474
 </div>
438
 
475
 
439
-<div id="outline-container-org973e1fe" class="outline-3">
440
-<h3 id="org973e1fe">Similarities</h3>
441
-<div class="outline-text-3" id="text-org973e1fe">
476
+<div id="outline-container-orgb657b46" class="outline-3">
477
+<h3 id="orgb657b46">Similarities</h3>
478
+<div class="outline-text-3" id="text-orgb657b46">
442
 <ul class="org-ul">
479
 <ul class="org-ul">
443
 <li>Uses freedom-maker and vmdebootstrap to build debian images</li>
480
 <li>Uses freedom-maker and vmdebootstrap to build debian images</li>
444
 <li>Supports the use of Tor onion addresses to access websites</li>
481
 <li>Supports the use of Tor onion addresses to access websites</li>
452
 </ul>
489
 </ul>
453
 </div>
490
 </div>
454
 </div>
491
 </div>
455
-<div id="outline-container-org54e398b" class="outline-3">
456
-<h3 id="org54e398b">Differences</h3>
457
-<div class="outline-text-3" id="text-org54e398b">
492
+<div id="outline-container-orga534499" class="outline-3">
493
+<h3 id="orga534499">Differences</h3>
494
+<div class="outline-text-3" id="text-orga534499">
458
 <ul class="org-ul">
495
 <ul class="org-ul">
459
 <li>FreedomBox is a Debian pure blend. Freedombone is not</li>
496
 <li>FreedomBox is a Debian pure blend. Freedombone is not</li>
460
 <li>Freedombone only supports Free Software. FreedomBox includes some closed binary boot blobs for certain ARM boards</li>
497
 <li>Freedombone only supports Free Software. FreedomBox includes some closed binary boot blobs for certain ARM boards</li>
469
 </div>
506
 </div>
470
 </div>
507
 </div>
471
 </div>
508
 </div>
472
-<div id="outline-container-orgba4b2dc" class="outline-2">
473
-<h2 id="orgba4b2dc">Why not support building images for Raspberry Pi?</h2>
474
-<div class="outline-text-2" id="text-orgba4b2dc">
509
+<div id="outline-container-orgfced681" class="outline-2">
510
+<h2 id="orgfced681">Why not support building images for Raspberry Pi?</h2>
511
+<div class="outline-text-2" id="text-orgfced681">
475
 <p>
512
 <p>
476
 The FreedomBox project supports Raspberry Pi builds, and the image build system for Freedombone is based on the same system. However, although the Raspberry Pi can run a version of Debian it requires a closed proprietary blob in order to boot the hardware. Who knows what that blob might contain or what exploits it could facilitate. From an adversarial point of view if you were trying to deliver "bulk equipment interference" then it doesn't get any better than piggybacking on something which has control of the boot process, and hence all subsequently run processes.
513
 The FreedomBox project supports Raspberry Pi builds, and the image build system for Freedombone is based on the same system. However, although the Raspberry Pi can run a version of Debian it requires a closed proprietary blob in order to boot the hardware. Who knows what that blob might contain or what exploits it could facilitate. From an adversarial point of view if you were trying to deliver "bulk equipment interference" then it doesn't get any better than piggybacking on something which has control of the boot process, and hence all subsequently run processes.
477
 </p>
514
 </p>
481
 </p>
518
 </p>
482
 </div>
519
 </div>
483
 </div>
520
 </div>
484
-<div id="outline-container-org8b22f5c" class="outline-2">
485
-<h2 id="org8b22f5c">Why use Tor? I've heard it's used by bad people</h2>
486
-<div class="outline-text-2" id="text-org8b22f5c">
521
+<div id="outline-container-org3077cce" class="outline-2">
522
+<h2 id="org3077cce">Why use Tor? I've heard it's used by bad people</h2>
523
+<div class="outline-text-2" id="text-org3077cce">
487
 <p>
524
 <p>
488
 Years ago Tor was usually depicted in the mainstream media as something scary inhabited by cyberterrorists and other bad cybers, but today to a large extent Tor is accepted as just another way of routing data in a network. Depending upon where you live there may still be some amount of fearmongering about Tor, but it now seems clear that the trajectory is towards general acceptance.
525
 Years ago Tor was usually depicted in the mainstream media as something scary inhabited by cyberterrorists and other bad cybers, but today to a large extent Tor is accepted as just another way of routing data in a network. Depending upon where you live there may still be some amount of fearmongering about Tor, but it now seems clear that the trajectory is towards general acceptance.
489
 </p>
526
 </p>
504
 </p>
541
 </p>
505
 </div>
542
 </div>
506
 </div>
543
 </div>
507
-<div id="outline-container-orgbaa6623" class="outline-2">
508
-<h2 id="orgbaa6623">How is Tor integrated with Freedombone?</h2>
509
-<div class="outline-text-2" id="text-orgbaa6623">
544
+<div id="outline-container-org3552fe9" class="outline-2">
545
+<h2 id="org3552fe9">How is Tor integrated with Freedombone?</h2>
546
+<div class="outline-text-2" id="text-org3552fe9">
510
 <p>
547
 <p>
511
 Within this project Tor is used more to provide <i>accessibility</i> than the <i>anonymity</i> factor for which Tor is better known. The onion address system provides a way of being able to access sites even if you don't own a conventional domain name or don't have administrator access to your local internet router to be able to do port forwarding.
548
 Within this project Tor is used more to provide <i>accessibility</i> than the <i>anonymity</i> factor for which Tor is better known. The onion address system provides a way of being able to access sites even if you don't own a conventional domain name or don't have administrator access to your local internet router to be able to do port forwarding.
512
 </p>
549
 </p>
524
 </p>
561
 </p>
525
 </div>
562
 </div>
526
 </div>
563
 </div>
527
-<div id="outline-container-orgbd702fd" class="outline-2">
528
-<h2 id="orgbd702fd">Can I add a clearnet domain to an onion build?</h2>
529
-<div class="outline-text-2" id="text-orgbd702fd">
564
+<div id="outline-container-org6742965" class="outline-2">
565
+<h2 id="org6742965">Can I add a clearnet domain to an onion build?</h2>
566
+<div class="outline-text-2" id="text-org6742965">
530
 <p>
567
 <p>
531
 You could if you manually edited the relevant nginx configuration files and installed some dynamic DNS system yourself. If you already have sysadmin knowledge then that's probably not too hard. But the builds created with the <b>onion-addresses-only</b> option aren't really intended to support access via clearnet domains.
568
 You could if you manually edited the relevant nginx configuration files and installed some dynamic DNS system yourself. If you already have sysadmin knowledge then that's probably not too hard. But the builds created with the <b>onion-addresses-only</b> option aren't really intended to support access via clearnet domains.
532
 </p>
569
 </p>
533
 </div>
570
 </div>
534
 </div>
571
 </div>
535
-<div id="outline-container-org4d09a2a" class="outline-2">
536
-<h2 id="org4d09a2a">Why use Github?</h2>
537
-<div class="outline-text-2" id="text-org4d09a2a">
572
+<div id="outline-container-orga8ad014" class="outline-2">
573
+<h2 id="orga8ad014">Why use Github?</h2>
574
+<div class="outline-text-2" id="text-orga8ad014">
538
 <p>
575
 <p>
539
 Github is paradoxically a centralized, closed and proprietary system which happens to mostly host free and open source projects. Up until now it has been relatively benign, but at some point in the name of "growth" it will likely start becoming more evil, or just become like SourceForge - which was also once much loved by FOSS developers, but turned into a den of malvertizing.
576
 Github is paradoxically a centralized, closed and proprietary system which happens to mostly host free and open source projects. Up until now it has been relatively benign, but at some point in the name of "growth" it will likely start becoming more evil, or just become like SourceForge - which was also once much loved by FOSS developers, but turned into a den of malvertizing.
540
 </p>
577
 </p>
552
 </p>
589
 </p>
553
 </div>
590
 </div>
554
 </div>
591
 </div>
555
-<div id="outline-container-org82e9020" class="outline-2">
556
-<h2 id="org82e9020">After using nmap or other scanning tool I can no longer log in</h2>
557
-<div class="outline-text-2" id="text-org82e9020">
592
+<div id="outline-container-orgbe6f7d6" class="outline-2">
593
+<h2 id="orgbe6f7d6">After using nmap or other scanning tool I can no longer log in</h2>
594
+<div class="outline-text-2" id="text-orgbe6f7d6">
558
 <p>
595
 <p>
559
 This system tries to block port scanners. Any other system trying to scan for open ports will have their IP address added to a temporary block list for 24 hours.
596
 This system tries to block port scanners. Any other system trying to scan for open ports will have their IP address added to a temporary block list for 24 hours.
560
 </p>
597
 </p>
561
 </div>
598
 </div>
562
 </div>
599
 </div>
563
-<div id="outline-container-org6838add" class="outline-2">
564
-<h2 id="org6838add">Should I upload my GPG keys to keybase.io?</h2>
565
-<div class="outline-text-2" id="text-org6838add">
600
+<div id="outline-container-orgccf9366" class="outline-2">
601
+<h2 id="orgccf9366">Should I upload my GPG keys to keybase.io?</h2>
602
+<div class="outline-text-2" id="text-orgccf9366">
566
 <p>
603
 <p>
567
 It's not recommended unless there exists some compelling reason for you to be on there. That site asks users to upload the <b>private keys</b>, and even if the keys are client side encrypted with a passphrase there's always the chance that there will be a data leak in future and letter agencies will then have a full time opportunity to crack the passphrases.
604
 It's not recommended unless there exists some compelling reason for you to be on there. That site asks users to upload the <b>private keys</b>, and even if the keys are client side encrypted with a passphrase there's always the chance that there will be a data leak in future and letter agencies will then have a full time opportunity to crack the passphrases.
568
 </p>
605
 </p>
572
 </p>
609
 </p>
573
 </div>
610
 </div>
574
 </div>
611
 </div>
575
-<div id="outline-container-orgefe80fb" class="outline-2">
576
-<h2 id="orgefe80fb">Keys and emails should not be stored on servers. Why do you do that?</h2>
577
-<div class="outline-text-2" id="text-orgefe80fb">
612
+<div id="outline-container-orgb40484c" class="outline-2">
613
+<h2 id="orgb40484c">Keys and emails should not be stored on servers. Why do you do that?</h2>
614
+<div class="outline-text-2" id="text-orgb40484c">
578
 <p>
615
 <p>
579
 Ordinarily this is good advice. However, the threat model for a device in your home is different from the one for a generic server in a massive warehouse. Compare and contrast:
616
 Ordinarily this is good advice. However, the threat model for a device in your home is different from the one for a generic server in a massive warehouse. Compare and contrast:
580
 </p>
617
 </p>
632
 </div>
669
 </div>
633
 </div>
670
 </div>
634
 
671
 
635
-<div id="outline-container-org7659367" class="outline-2">
636
-<h2 id="org7659367">Why can't I access my .onion site with a Tor browser?</h2>
637
-<div class="outline-text-2" id="text-org7659367">
672
+<div id="outline-container-org20ae1ad" class="outline-2">
673
+<h2 id="org20ae1ad">Why can't I access my .onion site with a Tor browser?</h2>
674
+<div class="outline-text-2" id="text-org20ae1ad">
638
 <p>
675
 <p>
639
 Probably you need to add the site to the NoScript whitelist. Typically click/press on the noscript icon (or select from the menu on mobile) then select <i>whitelist</i> and add the site URL. You may also need to disable HTTPS Everywhere when using onion addresses, which don't use https.
676
 Probably you need to add the site to the NoScript whitelist. Typically click/press on the noscript icon (or select from the menu on mobile) then select <i>whitelist</i> and add the site URL. You may also need to disable HTTPS Everywhere when using onion addresses, which don't use https.
640
 </p>
677
 </p>
644
 </p>
681
 </p>
645
 </div>
682
 </div>
646
 </div>
683
 </div>
647
-<div id="outline-container-org2bbb18a" class="outline-2">
648
-<h2 id="org2bbb18a">What is the best hardware to run this system on?</h2>
649
-<div class="outline-text-2" id="text-org2bbb18a">
684
+<div id="outline-container-org31eab79" class="outline-2">
685
+<h2 id="org31eab79">What is the best hardware to run this system on?</h2>
686
+<div class="outline-text-2" id="text-org31eab79">
650
 <p>
687
 <p>
651
 It was originally designed to run on the Beaglebone Black, but that should be regarded as the most minimal system, because it's single core and has by today's standards a small amount of memory. Obviously the more powerful the hardware is the faster things like web pages (blog, social networking, etc) will be served but the more electricity such a system will require if you're running it 24/7. A good compromise between performance and energy consumption is something like an old netbook. The battery of an old netbook or laptop even gives you <a href="https://en.wikipedia.org/wiki/Uninterruptible_power_supply">UPS capability</a> to keep the system going during brief power outages or cable re-arrangements, and that means using full disk encryption on the server also becomes more practical.
688
 It was originally designed to run on the Beaglebone Black, but that should be regarded as the most minimal system, because it's single core and has by today's standards a small amount of memory. Obviously the more powerful the hardware is the faster things like web pages (blog, social networking, etc) will be served but the more electricity such a system will require if you're running it 24/7. A good compromise between performance and energy consumption is something like an old netbook. The battery of an old netbook or laptop even gives you <a href="https://en.wikipedia.org/wiki/Uninterruptible_power_supply">UPS capability</a> to keep the system going during brief power outages or cable re-arrangements, and that means using full disk encryption on the server also becomes more practical.
652
 </p>
689
 </p>
656
 </p>
693
 </p>
657
 </div>
694
 </div>
658
 </div>
695
 </div>
659
-<div id="outline-container-org15ecda8" class="outline-2">
660
-<h2 id="org15ecda8">Can I add more users to the system?</h2>
661
-<div class="outline-text-2" id="text-org15ecda8">
696
+<div id="outline-container-orge1f68c9" class="outline-2">
697
+<h2 id="orge1f68c9">Can I add more users to the system?</h2>
698
+<div class="outline-text-2" id="text-orge1f68c9">
662
 <p>
699
 <p>
663
 Yes. Freedombone can support a small number of users, for a "<i>friends and family</i>" type of home installation. This gives them access to an email account, XMPP, SIP phone and the blog (depending on whether the variant which you installed includes those).
700
 Yes. Freedombone can support a small number of users, for a "<i>friends and family</i>" type of home installation. This gives them access to an email account, XMPP, SIP phone and the blog (depending on whether the variant which you installed includes those).
664
 </p>
701
 </p>
681
 </p>
718
 </p>
682
 </div>
719
 </div>
683
 </div>
720
 </div>
684
-<div id="outline-container-orgc47b161" class="outline-2">
685
-<h2 id="orgc47b161">Why not use Signal for mobile chat?</h2>
686
-<div class="outline-text-2" id="text-orgc47b161">
721
+<div id="outline-container-orgcd439e3" class="outline-2">
722
+<h2 id="orgcd439e3">Why not use Signal for mobile chat?</h2>
723
+<div class="outline-text-2" id="text-orgcd439e3">
687
 <p>
724
 <p>
688
 Celebrities recommend Signal. It's Free Software so it must be good, right?
725
 Celebrities recommend Signal. It's Free Software so it must be good, right?
689
 </p>
726
 </p>
706
 </p>
743
 </p>
707
 </div>
744
 </div>
708
 </div>
745
 </div>
709
-<div id="outline-container-orgc0e8c86" class="outline-2">
710
-<h2 id="orgc0e8c86">What is the most secure chat app to use on mobile?</h2>
711
-<div class="outline-text-2" id="text-orgc0e8c86">
746
+<div id="outline-container-orgfa7c5c1" class="outline-2">
747
+<h2 id="orgfa7c5c1">What is the most secure chat app to use on mobile?</h2>
748
+<div class="outline-text-2" id="text-orgfa7c5c1">
712
 <p>
749
 <p>
713
 On mobile there are various options. The apps which are likely to be most secure are ones which have end-to-end encryption enabled by default and which can also be onion routed via Orbot. End-to-end encryption secures the content of the message and onion routing obscures the metadata, making it hard for a passive adversary to know who is communicating with who.
750
 On mobile there are various options. The apps which are likely to be most secure are ones which have end-to-end encryption enabled by default and which can also be onion routed via Orbot. End-to-end encryption secures the content of the message and onion routing obscures the metadata, making it hard for a passive adversary to know who is communicating with who.
714
 </p>
751
 </p>
718
 </p>
755
 </p>
719
 
756
 
720
 <p>
757
 <p>
721
-There are many <a href="#orgc47b161">other fashionable chat apps</a> with end-to-end security, but often they are closed source, have a single central server or can't be onion routed. It's also important to remember that closed source chat apps should be assumed to be untrustworthy, since their security cannot be independently verified.
758
+There are many <a href="#orgcd439e3">other fashionable chat apps</a> with end-to-end security, but often they are closed source, have a single central server or can't be onion routed. It's also important to remember that closed source chat apps should be assumed to be untrustworthy, since their security cannot be independently verified.
722
 </p>
759
 </p>
723
 </div>
760
 </div>
724
 </div>
761
 </div>
725
-<div id="outline-container-org444799d" class="outline-2">
726
-<h2 id="org444799d">How do I remove a user from the system?</h2>
727
-<div class="outline-text-2" id="text-org444799d">
762
+<div id="outline-container-org655d4c9" class="outline-2">
763
+<h2 id="org655d4c9">How do I remove a user from the system?</h2>
764
+<div class="outline-text-2" id="text-org655d4c9">
728
 <p>
765
 <p>
729
 To remove a user:
766
 To remove a user:
730
 </p>
767
 </p>
739
 </p>
776
 </p>
740
 </div>
777
 </div>
741
 </div>
778
 </div>
742
-<div id="outline-container-orgc9b4ece" class="outline-2">
743
-<h2 id="orgc9b4ece">Why is logging for web sites turned off by default?</h2>
744
-<div class="outline-text-2" id="text-orgc9b4ece">
779
+<div id="outline-container-org70bc219" class="outline-2">
780
+<h2 id="org70bc219">Why is logging for web sites turned off by default?</h2>
781
+<div class="outline-text-2" id="text-org70bc219">
745
 <p>
782
 <p>
746
 If you're making profits out of the logs by running large server warehouses and then data mining what users click on - as is the business model of well known internet companies - then logging everything makes total sense. However, if you're running a home server then logging really only makes sense if you're trying to diagnose some specific problem with the system, and outside of that context logging everything becomes more of a liability than an asset.
783
 If you're making profits out of the logs by running large server warehouses and then data mining what users click on - as is the business model of well known internet companies - then logging everything makes total sense. However, if you're running a home server then logging really only makes sense if you're trying to diagnose some specific problem with the system, and outside of that context logging everything becomes more of a liability than an asset.
747
 </p>
784
 </p>
755
 </p>
792
 </p>
756
 </div>
793
 </div>
757
 </div>
794
 </div>
758
-<div id="outline-container-orge930cc5" class="outline-2">
759
-<h2 id="orge930cc5">How do I reset the tripwire?</h2>
760
-<div class="outline-text-2" id="text-orge930cc5">
795
+<div id="outline-container-org2649234" class="outline-2">
796
+<h2 id="org2649234">How do I reset the tripwire?</h2>
797
+<div class="outline-text-2" id="text-org2649234">
761
 <p>
798
 <p>
762
 The tripwire will be automatically reset once per week. If you want to reset it earlier then do the following:
799
 The tripwire will be automatically reset once per week. If you want to reset it earlier then do the following:
763
 </p>
800
 </p>
772
 </p>
809
 </p>
773
 </div>
810
 </div>
774
 </div>
811
 </div>
775
-<div id="outline-container-org0947e5a" class="outline-2">
776
-<h2 id="org0947e5a">Is metadata protected?</h2>
777
-<div class="outline-text-2" id="text-org0947e5a">
812
+<div id="outline-container-orgfdfefa3" class="outline-2">
813
+<h2 id="orgfdfefa3">Is metadata protected?</h2>
814
+<div class="outline-text-2" id="text-orgfdfefa3">
778
 <blockquote>
815
 <blockquote>
779
 <p>
816
 <p>
780
 "<i>We kill people based on metadata</i>"
817
 "<i>We kill people based on metadata</i>"
790
 </p>
827
 </p>
791
 </div>
828
 </div>
792
 </div>
829
 </div>
793
-<div id="outline-container-orgb32e5cb" class="outline-2">
794
-<h2 id="orgb32e5cb">How do I create email processing rules?</h2>
795
-<div class="outline-text-2" id="text-orgb32e5cb">
830
+<div id="outline-container-org4cd4d7a" class="outline-2">
831
+<h2 id="org4cd4d7a">How do I create email processing rules?</h2>
832
+<div class="outline-text-2" id="text-org4cd4d7a">
796
 <div class="org-src-container">
833
 <div class="org-src-container">
797
 <pre class="src src-bash">ssh username@domainname -p 2222
834
 <pre class="src src-bash">ssh username@domainname -p 2222
798
 </pre>
835
 </pre>
848
 </p>
885
 </p>
849
 </div>
886
 </div>
850
 </div>
887
 </div>
851
-<div id="outline-container-orgcc703f1" class="outline-2">
852
-<h2 id="orgcc703f1">Why isn't dynamic DNS working?</h2>
853
-<div class="outline-text-2" id="text-orgcc703f1">
888
+<div id="outline-container-orgccba878" class="outline-2">
889
+<h2 id="orgccba878">Why isn't dynamic DNS working?</h2>
890
+<div class="outline-text-2" id="text-orgccba878">
854
 <p>
891
 <p>
855
 If you run the command:
892
 If you run the command:
856
 </p>
893
 </p>
873
 </div>
910
 </div>
874
 </div>
911
 </div>
875
 
912
 
876
-<div id="outline-container-orgdb2c631" class="outline-2">
877
-<h2 id="orgdb2c631">How do I change my encryption settings?</h2>
878
-<div class="outline-text-2" id="text-orgdb2c631">
913
+<div id="outline-container-org2bd511f" class="outline-2">
914
+<h2 id="org2bd511f">How do I change my encryption settings?</h2>
915
+<div class="outline-text-2" id="text-org2bd511f">
879
 <p>
916
 <p>
880
 Suppose that some new encryption vulnerability has been announced and that you need to change your encryption settings. Maybe an algorithm thought to be secure is now no longer so and you need to remove it. You can change your settings by doing the following:
917
 Suppose that some new encryption vulnerability has been announced and that you need to change your encryption settings. Maybe an algorithm thought to be secure is now no longer so and you need to remove it. You can change your settings by doing the following:
881
 </p>
918
 </p>
890
 </p>
927
 </p>
891
 </div>
928
 </div>
892
 </div>
929
 </div>
893
-<div id="outline-container-org748c030" class="outline-2">
894
-<h2 id="org748c030">How do I get a domain name?</h2>
895
-<div class="outline-text-2" id="text-org748c030">
930
+<div id="outline-container-orgcc9b703" class="outline-2">
931
+<h2 id="orgcc9b703">How do I get a domain name?</h2>
932
+<div class="outline-text-2" id="text-orgcc9b703">
896
 <p>
933
 <p>
897
 Suppose that you have bought a domain name (rather than using a free subdomain on freedns) and you want to use that instead.
934
 Suppose that you have bought a domain name (rather than using a free subdomain on freedns) and you want to use that instead.
898
 </p>
935
 </p>
956
 </div>
993
 </div>
957
 </div>
994
 </div>
958
 
995
 
959
-<div id="outline-container-org20d848a" class="outline-2">
960
-<h2 id="org20d848a">How do I get a "real" SSL/TLS/HTTPS certificate?</h2>
961
-<div class="outline-text-2" id="text-org20d848a">
996
+<div id="outline-container-org221b34b" class="outline-2">
997
+<h2 id="org221b34b">How do I get a "real" SSL/TLS/HTTPS certificate?</h2>
998
+<div class="outline-text-2" id="text-org221b34b">
962
 <p>
999
 <p>
963
 If you did the full install or selected the social variant then the system will have tried to obtain a Let's Encrypt certificate automatically during the install process. If this failed for any reason, or if you have created a new site which you need a certificate for then do the following:
1000
 If you did the full install or selected the social variant then the system will have tried to obtain a Let's Encrypt certificate automatically during the install process. If this failed for any reason, or if you have created a new site which you need a certificate for then do the following:
964
 </p>
1001
 </p>
977
 </p>
1014
 </p>
978
 </div>
1015
 </div>
979
 </div>
1016
 </div>
980
-<div id="outline-container-org364e5b4" class="outline-2">
981
-<h2 id="org364e5b4">How do I renew a Let's Encrypt certificate?</h2>
982
-<div class="outline-text-2" id="text-org364e5b4">
1017
+<div id="outline-container-org0180711" class="outline-2">
1018
+<h2 id="org0180711">How do I renew a Let's Encrypt certificate?</h2>
1019
+<div class="outline-text-2" id="text-org0180711">
983
 <p>
1020
 <p>
984
 Normally certificates will be automatically renewed once per month, so you don't need to be concerned about it. If anything goes wrong with the automatic renewal then you should receive a warning email.
1021
 Normally certificates will be automatically renewed once per month, so you don't need to be concerned about it. If anything goes wrong with the automatic renewal then you should receive a warning email.
985
 </p>
1022
 </p>
998
 </p>
1035
 </p>
999
 </div>
1036
 </div>
1000
 </div>
1037
 </div>
1001
-<div id="outline-container-org92cc380" class="outline-2">
1002
-<h2 id="org92cc380">I tried to renew a Let's Encrypt certificate and it failed. What should I do?</h2>
1003
-<div class="outline-text-2" id="text-org92cc380">
1038
+<div id="outline-container-org019cece" class="outline-2">
1039
+<h2 id="org019cece">I tried to renew a Let's Encrypt certificate and it failed. What should I do?</h2>
1040
+<div class="outline-text-2" id="text-org019cece">
1004
 <p>
1041
 <p>
1005
 Most likely it's because Let's Encrypt doesn't support your particular domain or subdomain. Currently free subdomains tend not to work. You'll need to buy a domain name, link it to your dynamic DNS account and then do:
1042
 Most likely it's because Let's Encrypt doesn't support your particular domain or subdomain. Currently free subdomains tend not to work. You'll need to buy a domain name, link it to your dynamic DNS account and then do:
1006
 </p>
1043
 </p>
1015
 </p>
1052
 </p>
1016
 </div>
1053
 </div>
1017
 </div>
1054
 </div>
1018
-<div id="outline-container-org7fdf511" class="outline-2">
1019
-<h2 id="org7fdf511">Why not use the services of $company instead? They took the Seppuku pledge</h2>
1020
-<div class="outline-text-2" id="text-org7fdf511">
1055
+<div id="outline-container-orge3b3f79" class="outline-2">
1056
+<h2 id="orge3b3f79">Why not use the services of $company instead? They took the Seppuku pledge</h2>
1057
+<div class="outline-text-2" id="text-orge3b3f79">
1021
 <p>
1058
 <p>
1022
 <a href="https://cryptostorm.org/viewtopic.php?f=63&amp;t=2954&amp;sid=7de2d1e699cfde2f574e6a7f6ea5a173">That pledge</a> is utterly worthless. Years ago people trusted Google in the same sort of way, because they promised not be be evil and because a lot of the engineers working for them seemed like honest types who were "<i>on our side</i>". Post-<a href="https://en.wikipedia.org/wiki/Nymwars">nymwars</a> and post-<a href="https://en.wikipedia.org/wiki/PRISM_(surveillance_program)">PRISM</a> we know exactly how much Google cared about the privacy and security of its users. But Google is only one particular example. In general don't trust pledges made by companies, even if the people running them seem really sincere.
1059
 <a href="https://cryptostorm.org/viewtopic.php?f=63&amp;t=2954&amp;sid=7de2d1e699cfde2f574e6a7f6ea5a173">That pledge</a> is utterly worthless. Years ago people trusted Google in the same sort of way, because they promised not be be evil and because a lot of the engineers working for them seemed like honest types who were "<i>on our side</i>". Post-<a href="https://en.wikipedia.org/wiki/Nymwars">nymwars</a> and post-<a href="https://en.wikipedia.org/wiki/PRISM_(surveillance_program)">PRISM</a> we know exactly how much Google cared about the privacy and security of its users. But Google is only one particular example. In general don't trust pledges made by companies, even if the people running them seem really sincere.
1023
 </p>
1060
 </p>
1024
 </div>
1061
 </div>
1025
 </div>
1062
 </div>
1026
-<div id="outline-container-org2ac01d7" class="outline-2">
1027
-<h2 id="org2ac01d7">Why does my email keep getting rejected as spam by Gmail/etc?</h2>
1028
-<div class="outline-text-2" id="text-org2ac01d7">
1063
+<div id="outline-container-orga476817" class="outline-2">
1064
+<h2 id="orga476817">Why does my email keep getting rejected as spam by Gmail/etc?</h2>
1065
+<div class="outline-text-2" id="text-orga476817">
1029
 <p>
1066
 <p>
1030
 Welcome to the world of email. Email is really the archetypal decentralized service, developed during the early days of the internet. In principle anyone can run an email server, and that's exactly what you're doing with Freedombone. Email is very useful, but it has a big problem, and that's that the protocols are totally insecure. That made it easy for spammers to do their thing, and in response highly elaborate spam filtering and blocking systems were developed. Chances are that your emails are being blocked in this way. Sometimes the blocking is so indisciminate that entire countries are excluded. What can you do about it? Unless you control the block list at the receiving end you may not be able to do much unless you can find an email proxy server which is trusted by the receiving server.
1067
 Welcome to the world of email. Email is really the archetypal decentralized service, developed during the early days of the internet. In principle anyone can run an email server, and that's exactly what you're doing with Freedombone. Email is very useful, but it has a big problem, and that's that the protocols are totally insecure. That made it easy for spammers to do their thing, and in response highly elaborate spam filtering and blocking systems were developed. Chances are that your emails are being blocked in this way. Sometimes the blocking is so indisciminate that entire countries are excluded. What can you do about it? Unless you control the block list at the receiving end you may not be able to do much unless you can find an email proxy server which is trusted by the receiving server.
1031
 </p>
1068
 </p>
1056
 </p>
1093
 </p>
1057
 </div>
1094
 </div>
1058
 </div>
1095
 </div>
1059
-<div id="outline-container-orga441aa1" class="outline-2">
1060
-<h2 id="orga441aa1">Tor is censored/blocked in my area. What can I do?</h2>
1061
-<div class="outline-text-2" id="text-orga441aa1">
1096
+<div id="outline-container-orgebcf081" class="outline-2">
1097
+<h2 id="orgebcf081">Tor is censored/blocked in my area. What can I do?</h2>
1098
+<div class="outline-text-2" id="text-orgebcf081">
1062
 <p>
1099
 <p>
1063
 If you can find some details for an obfs4 Tor bridge (its IP address, port number and key or nickname) then you can set up the system to use it to connect to the Tor network. Unlike relay nodes the IP addresses for bridges are not public information and so can't be easily known and added to block lists by authoritarian regimes or over-zealous ISPs.
1100
 If you can find some details for an obfs4 Tor bridge (its IP address, port number and key or nickname) then you can set up the system to use it to connect to the Tor network. Unlike relay nodes the IP addresses for bridges are not public information and so can't be easily known and added to block lists by authoritarian regimes or over-zealous ISPs.
1064
 </p>
1101
 </p>
1083
 </div>
1120
 </div>
1084
 </div>
1121
 </div>
1085
 
1122
 
1086
-<div id="outline-container-orgaf2f408" class="outline-2">
1087
-<h2 id="orgaf2f408">I want to block a particular domain from getting its content into my social network sites</h2>
1088
-<div class="outline-text-2" id="text-orgaf2f408">
1123
+<div id="outline-container-org97fe227" class="outline-2">
1124
+<h2 id="org97fe227">I want to block a particular domain from getting its content into my social network sites</h2>
1125
+<div class="outline-text-2" id="text-org97fe227">
1089
 <p>
1126
 <p>
1090
 If you're being pestered by some domain which contains bad/illegal/harrassing content or irritating users you can block domains at the firewall level. Go to the administrator control panel and select <i>domain blocking</i>. You can then block, unblock and view the list of blocked domains.
1127
 If you're being pestered by some domain which contains bad/illegal/harrassing content or irritating users you can block domains at the firewall level. Go to the administrator control panel and select <i>domain blocking</i>. You can then block, unblock and view the list of blocked domains.
1091
 </p>
1128
 </p>
1100
 </div>
1137
 </div>
1101
 </div>
1138
 </div>
1102
 
1139
 
1103
-<div id="outline-container-orgf5fd6ee" class="outline-2">
1104
-<h2 id="orgf5fd6ee">The mesh system doesn't boot from USB drive</h2>
1105
-<div class="outline-text-2" id="text-orgf5fd6ee">
1140
+<div id="outline-container-org5b978bf" class="outline-2">
1141
+<h2 id="org5b978bf">The mesh system doesn't boot from USB drive</h2>
1142
+<div class="outline-text-2" id="text-org5b978bf">
1106
 <p>
1143
 <p>
1107
 If the system doesn't boot and reports an error which includes <b>/dev/mapper/loop0p1</b> then reboot with <b>Ctrl-Alt-Del</b> and when you see the grub menu press <b>e</b> and manually change <b>/dev/mapper/loop0p1</b> to <b>/dev/sdb1</b>, then press <b>Ctrl-x</b>. If that doesn't work then reboot and try <b>/dev/sdc1</b> instead.
1144
 If the system doesn't boot and reports an error which includes <b>/dev/mapper/loop0p1</b> then reboot with <b>Ctrl-Alt-Del</b> and when you see the grub menu press <b>e</b> and manually change <b>/dev/mapper/loop0p1</b> to <b>/dev/sdb1</b>, then press <b>Ctrl-x</b>. If that doesn't work then reboot and try <b>/dev/sdc1</b> instead.
1108
 </p>
1145
 </p>
1113
 </div>
1150
 </div>
1114
 </div>
1151
 </div>
1115
 
1152
 
1116
-<div id="outline-container-org4b55e47" class="outline-2">
1117
-<h2 id="org4b55e47">Mesh system doesn't connect to the network</h2>
1118
-<div class="outline-text-2" id="text-org4b55e47">
1153
+<div id="outline-container-orgf1d3c97" class="outline-2">
1154
+<h2 id="orgf1d3c97">Mesh system doesn't connect to the network</h2>
1155
+<div class="outline-text-2" id="text-orgf1d3c97">
1119
 <p>
1156
 <p>
1120
 Sometimes after boot the mesh system won't connect to other peers on the network. If this happens select the <b>network restart</b> icon and enter the password, which by default is just "freedombone". Wait for a few minutes to see if it connects.
1157
 Sometimes after boot the mesh system won't connect to other peers on the network. If this happens select the <b>network restart</b> icon and enter the password, which by default is just "freedombone". Wait for a few minutes to see if it connects.
1121
 </p>
1158
 </p>

+ 5
- 5
website/EN/homeserver.html Ver arquivo

3
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
5
 <head>
5
 <head>
6
-<!-- 2018-04-21 Sat 14:58 -->
6
+<!-- 2018-04-24 Tue 18:17 -->
7
 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
7
 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
8
 <meta name="viewport" content="width=device-width, initial-scale=1" />
8
 <meta name="viewport" content="width=device-width, initial-scale=1" />
9
 <title>&lrm;</title>
9
 <title>&lrm;</title>
243
 </div>
243
 </div>
244
 
244
 
245
 
245
 
246
-<div id="outline-container-org920b3b6" class="outline-2">
247
-<h2 id="org920b3b6">Home Server</h2>
248
-<div class="outline-text-2" id="text-org920b3b6">
246
+<div id="outline-container-org3d2bd4a" class="outline-2">
247
+<h2 id="org3d2bd4a">Home Server</h2>
248
+<div class="outline-text-2" id="text-org3d2bd4a">
249
 <p>
249
 <p>
250
 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.
250
 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.
251
 </p>
251
 </p>
420
 
420
 
421
 
421
 
422
 <div class="figure">
422
 <div class="figure">
423
-<p><img src="images/controlpanel/control_panel_about.jpg" alt="control_panel_about.jpg" width="80%" align="center" />
423
+<p><img src="images/controlpanel/control_panel_about.jpg" alt="control_panel_about.jpg" width="100%" align="center" />
424
 </p>
424
 </p>
425
 </div>
425
 </div>
426
 
426
 

+ 152
- 105
website/EN/mobile.html Ver arquivo

3
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
5
 <head>
5
 <head>
6
-<title></title>
7
-<!-- 2018-04-12 Thu 18:25 -->
8
-<meta  http-equiv="Content-Type" content="text/html;charset=utf-8" />
9
-<meta  name="generator" content="Org-mode" />
10
-<meta  name="author" content="Bob Mottram" />
11
-<meta  name="description" content="Freedombone mobile setup"
6
+<!-- 2018-04-24 Tue 16:29 -->
7
+<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
8
+<meta name="viewport" content="width=device-width, initial-scale=1" />
9
+<title>&lrm;</title>
10
+<meta name="generator" content="Org mode" />
11
+<meta name="author" content="Bob Mottram" />
12
+<meta name="description" content="Freedombone mobile setup"
12
  />
13
  />
13
-<meta  name="keywords" content="freedombone, mobile" />
14
+<meta name="keywords" content="freedombone, mobile" />
14
 <style type="text/css">
15
 <style type="text/css">
15
  <!--/*--><![CDATA[/*><!--*/
16
  <!--/*--><![CDATA[/*><!--*/
16
-  .title  { text-align: center; }
17
+  .title  { text-align: center;
18
+             margin-bottom: .2em; }
19
+  .subtitle { text-align: center;
20
+              font-size: medium;
21
+              font-weight: bold;
22
+              margin-top:0; }
17
   .todo   { font-family: monospace; color: red; }
23
   .todo   { font-family: monospace; color: red; }
18
-  .done   { color: green; }
24
+  .done   { font-family: monospace; color: green; }
25
+  .priority { font-family: monospace; color: orange; }
19
   .tag    { background-color: #eee; font-family: monospace;
26
   .tag    { background-color: #eee; font-family: monospace;
20
             padding: 2px; font-size: 80%; font-weight: normal; }
27
             padding: 2px; font-size: 80%; font-weight: normal; }
21
   .timestamp { color: #bebebe; }
28
   .timestamp { color: #bebebe; }
22
   .timestamp-kwd { color: #5f9ea0; }
29
   .timestamp-kwd { color: #5f9ea0; }
23
-  .right  { margin-left: auto; margin-right: 0px;  text-align: right; }
24
-  .left   { margin-left: 0px;  margin-right: auto; text-align: left; }
25
-  .center { margin-left: auto; margin-right: auto; text-align: center; }
30
+  .org-right  { margin-left: auto; margin-right: 0px;  text-align: right; }
31
+  .org-left   { margin-left: 0px;  margin-right: auto; text-align: left; }
32
+  .org-center { margin-left: auto; margin-right: auto; text-align: center; }
26
   .underline { text-decoration: underline; }
33
   .underline { text-decoration: underline; }
27
   #postamble p, #preamble p { font-size: 90%; margin: .2em; }
34
   #postamble p, #preamble p { font-size: 90%; margin: .2em; }
28
   p.verse { margin-left: 3%; }
35
   p.verse { margin-left: 3%; }
49
     border: 1px solid black;
56
     border: 1px solid black;
50
   }
57
   }
51
   pre.src:hover:before { display: inline;}
58
   pre.src:hover:before { display: inline;}
52
-  pre.src-sh:before    { content: 'sh'; }
53
-  pre.src-bash:before  { content: 'sh'; }
59
+  /* Languages per Org manual */
60
+  pre.src-asymptote:before { content: 'Asymptote'; }
61
+  pre.src-awk:before { content: 'Awk'; }
62
+  pre.src-C:before { content: 'C'; }
63
+  /* pre.src-C++ doesn't work in CSS */
64
+  pre.src-clojure:before { content: 'Clojure'; }
65
+  pre.src-css:before { content: 'CSS'; }
66
+  pre.src-D:before { content: 'D'; }
67
+  pre.src-ditaa:before { content: 'ditaa'; }
68
+  pre.src-dot:before { content: 'Graphviz'; }
69
+  pre.src-calc:before { content: 'Emacs Calc'; }
54
   pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
70
   pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
55
-  pre.src-R:before     { content: 'R'; }
56
-  pre.src-perl:before  { content: 'Perl'; }
57
-  pre.src-java:before  { content: 'Java'; }
58
-  pre.src-sql:before   { content: 'SQL'; }
71
+  pre.src-fortran:before { content: 'Fortran'; }
72
+  pre.src-gnuplot:before { content: 'gnuplot'; }
73
+  pre.src-haskell:before { content: 'Haskell'; }
74
+  pre.src-hledger:before { content: 'hledger'; }
75
+  pre.src-java:before { content: 'Java'; }
76
+  pre.src-js:before { content: 'Javascript'; }
77
+  pre.src-latex:before { content: 'LaTeX'; }
78
+  pre.src-ledger:before { content: 'Ledger'; }
79
+  pre.src-lisp:before { content: 'Lisp'; }
80
+  pre.src-lilypond:before { content: 'Lilypond'; }
81
+  pre.src-lua:before { content: 'Lua'; }
82
+  pre.src-matlab:before { content: 'MATLAB'; }
83
+  pre.src-mscgen:before { content: 'Mscgen'; }
84
+  pre.src-ocaml:before { content: 'Objective Caml'; }
85
+  pre.src-octave:before { content: 'Octave'; }
86
+  pre.src-org:before { content: 'Org mode'; }
87
+  pre.src-oz:before { content: 'OZ'; }
88
+  pre.src-plantuml:before { content: 'Plantuml'; }
89
+  pre.src-processing:before { content: 'Processing.js'; }
90
+  pre.src-python:before { content: 'Python'; }
91
+  pre.src-R:before { content: 'R'; }
92
+  pre.src-ruby:before { content: 'Ruby'; }
93
+  pre.src-sass:before { content: 'Sass'; }
94
+  pre.src-scheme:before { content: 'Scheme'; }
95
+  pre.src-screen:before { content: 'Gnu Screen'; }
96
+  pre.src-sed:before { content: 'Sed'; }
97
+  pre.src-sh:before { content: 'shell'; }
98
+  pre.src-sql:before { content: 'SQL'; }
99
+  pre.src-sqlite:before { content: 'SQLite'; }
100
+  /* additional languages in org.el's org-babel-load-languages alist */
101
+  pre.src-forth:before { content: 'Forth'; }
102
+  pre.src-io:before { content: 'IO'; }
103
+  pre.src-J:before { content: 'J'; }
104
+  pre.src-makefile:before { content: 'Makefile'; }
105
+  pre.src-maxima:before { content: 'Maxima'; }
106
+  pre.src-perl:before { content: 'Perl'; }
107
+  pre.src-picolisp:before { content: 'Pico Lisp'; }
108
+  pre.src-scala:before { content: 'Scala'; }
109
+  pre.src-shell:before { content: 'Shell Script'; }
110
+  pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
111
+  /* additional language identifiers per "defun org-babel-execute"
112
+       in ob-*.el */
113
+  pre.src-cpp:before  { content: 'C++'; }
114
+  pre.src-abc:before  { content: 'ABC'; }
115
+  pre.src-coq:before  { content: 'Coq'; }
116
+  pre.src-groovy:before  { content: 'Groovy'; }
117
+  /* additional language identifiers from org-babel-shell-names in
118
+     ob-shell.el: ob-shell is the only babel language using a lambda to put
119
+     the execution function name together. */
120
+  pre.src-bash:before  { content: 'bash'; }
121
+  pre.src-csh:before  { content: 'csh'; }
122
+  pre.src-ash:before  { content: 'ash'; }
123
+  pre.src-dash:before  { content: 'dash'; }
124
+  pre.src-ksh:before  { content: 'ksh'; }
125
+  pre.src-mksh:before  { content: 'mksh'; }
126
+  pre.src-posh:before  { content: 'posh'; }
127
+  /* Additional Emacs modes also supported by the LaTeX listings package */
128
+  pre.src-ada:before { content: 'Ada'; }
129
+  pre.src-asm:before { content: 'Assembler'; }
130
+  pre.src-caml:before { content: 'Caml'; }
131
+  pre.src-delphi:before { content: 'Delphi'; }
132
+  pre.src-html:before { content: 'HTML'; }
133
+  pre.src-idl:before { content: 'IDL'; }
134
+  pre.src-mercury:before { content: 'Mercury'; }
135
+  pre.src-metapost:before { content: 'MetaPost'; }
136
+  pre.src-modula-2:before { content: 'Modula-2'; }
137
+  pre.src-pascal:before { content: 'Pascal'; }
138
+  pre.src-ps:before { content: 'PostScript'; }
139
+  pre.src-prolog:before { content: 'Prolog'; }
140
+  pre.src-simula:before { content: 'Simula'; }
141
+  pre.src-tcl:before { content: 'tcl'; }
142
+  pre.src-tex:before { content: 'TeX'; }
143
+  pre.src-plain-tex:before { content: 'Plain TeX'; }
144
+  pre.src-verilog:before { content: 'Verilog'; }
145
+  pre.src-vhdl:before { content: 'VHDL'; }
146
+  pre.src-xml:before { content: 'XML'; }
147
+  pre.src-nxml:before { content: 'XML'; }
148
+  /* add a generic configuration mode; LaTeX export needs an additional
149
+     (add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
150
+  pre.src-conf:before { content: 'Configuration File'; }
59
 
151
 
60
   table { border-collapse:collapse; }
152
   table { border-collapse:collapse; }
61
   caption.t-above { caption-side: top; }
153
   caption.t-above { caption-side: top; }
62
   caption.t-bottom { caption-side: bottom; }
154
   caption.t-bottom { caption-side: bottom; }
63
   td, th { vertical-align:top;  }
155
   td, th { vertical-align:top;  }
64
-  th.right  { text-align: center;  }
65
-  th.left   { text-align: center;   }
66
-  th.center { text-align: center; }
67
-  td.right  { text-align: right;  }
68
-  td.left   { text-align: left;   }
69
-  td.center { text-align: center; }
156
+  th.org-right  { text-align: center;  }
157
+  th.org-left   { text-align: center;   }
158
+  th.org-center { text-align: center; }
159
+  td.org-right  { text-align: right;  }
160
+  td.org-left   { text-align: left;   }
161
+  td.org-center { text-align: center; }
70
   dt { font-weight: bold; }
162
   dt { font-weight: bold; }
71
-  .footpara:nth-child(2) { display: inline; }
72
-  .footpara { display: block; }
163
+  .footpara { display: inline; }
73
   .footdef  { margin-bottom: 1em; }
164
   .footdef  { margin-bottom: 1em; }
74
   .figure { padding: 1em; }
165
   .figure { padding: 1em; }
75
   .figure p { text-align: center; }
166
   .figure p { text-align: center; }
89
     { font-size: 10px; font-weight: bold; white-space: nowrap; }
180
     { font-size: 10px; font-weight: bold; white-space: nowrap; }
90
   .org-info-js_search-highlight
181
   .org-info-js_search-highlight
91
     { background-color: #ffff00; color: #000000; font-weight: bold; }
182
     { background-color: #ffff00; color: #000000; font-weight: bold; }
183
+  .org-svg { width: 90%; }
92
   /*]]>*/-->
184
   /*]]>*/-->
93
 </style>
185
 </style>
94
 <link rel="stylesheet" type="text/css" href="freedombone.css" />
186
 <link rel="stylesheet" type="text/css" href="freedombone.css" />
97
 @licstart  The following is the entire license notice for the
189
 @licstart  The following is the entire license notice for the
98
 JavaScript code in this tag.
190
 JavaScript code in this tag.
99
 
191
 
100
-Copyright (C) 2012-2013 Free Software Foundation, Inc.
192
+Copyright (C) 2012-2017 Free Software Foundation, Inc.
101
 
193
 
102
 The JavaScript code in this tag is free software: you can
194
 The JavaScript code in this tag is free software: you can
103
 redistribute it and/or modify it under the terms of the GNU
195
 redistribute it and/or modify it under the terms of the GNU
144
 <a name="top" id="top"></a>
236
 <a name="top" id="top"></a>
145
 </div>
237
 </div>
146
 <div id="content">
238
 <div id="content">
147
-<h1 class="title"></h1>
148
 
239
 
149
 <div class="figure">
240
 <div class="figure">
150
 <p><img src="images/logo.png" alt="logo.png" width="80%" height="10%" align="center" />
241
 <p><img src="images/logo.png" alt="logo.png" width="80%" height="10%" align="center" />
151
 </p>
242
 </p>
152
 </div>
243
 </div>
153
 
244
 
154
-<div id="outline-container-sec-1" class="outline-2">
155
-<h2 id="sec-1">Mobile</h2>
156
-<div class="outline-text-2" id="text-1">
157
 <p>
245
 <p>
158
 Mobile phones are insecure devices, but they're regarded as being so essential to modern life that telling people not to use them isn't a viable option. Here are some recommendations on setting up a mobile phone (aka "smartphone") to work with Freedombone.
246
 Mobile phones are insecure devices, but they're regarded as being so essential to modern life that telling people not to use them isn't a viable option. Here are some recommendations on setting up a mobile phone (aka "smartphone") to work with Freedombone.
159
 </p>
247
 </p>
160
 
248
 
161
-<div class="export">
162
-<p>
163
- &lt;center&gt;
164
- &lt;table style="width:80%; border:0"&gt;
165
-  &lt;tr&gt;
166
-    &lt;td&gt;&lt;center&gt;&lt;b&gt;&lt;h3&gt;Open&lt;/h3&gt;&lt;/b&gt;&lt;br&gt;Use a free and open source operating system. Open means more trustworthy&lt;/center&gt;&lt;/td&gt;
167
-    &lt;td&gt;&lt;center&gt;&lt;b&gt;&lt;h3&gt;Remove&lt;/h3&gt;&lt;/b&gt;&lt;br&gt;If there are any proprietary apps then remove or deactivate them&lt;/center&gt;&lt;/td&gt;
168
-  &lt;/tr&gt;
169
-  &lt;tr&gt;
170
-    &lt;td&gt;&lt;center&gt;&lt;b&gt;&lt;h3&gt;Encrypt&lt;/h3&gt;&lt;/b&gt;&lt;br&gt;Make sure your phone is encrypted with a password which isn't easy to guess&lt;/center&gt;&lt;/td&gt;
171
-    &lt;td&gt;&lt;center&gt;&lt;b&gt;&lt;h3&gt;Apps&lt;/h3&gt;&lt;/b&gt;&lt;br&gt;Use F-droid to install new apps&lt;/center&gt;&lt;/td&gt;
172
-  &lt;/tr&gt;
173
-  &lt;tr&gt;
174
-    &lt;td&gt;&lt;center&gt;&lt;b&gt;&lt;h3&gt;Lock&lt;/h3&gt;&lt;/b&gt;&lt;br&gt;Enable a lock screen with a maximum number of password guesses&lt;/center&gt;&lt;/td&gt;
175
-    &lt;td&gt;&lt;center&gt;&lt;b&gt;&lt;h3&gt;Onion&lt;/h3&gt;&lt;/b&gt;&lt;br&gt;Onion route your connections to avoid bulk metadata collection&lt;/center&gt;&lt;/td&gt;
176
-  &lt;/tr&gt;
177
-  &lt;tr&gt;
178
-    &lt;td&gt;&lt;center&gt;&lt;b&gt;&lt;h3&gt;Email&lt;/h3&gt;&lt;/b&gt;&lt;br&gt;Access webmail in a browser&lt;/center&gt;&lt;/td&gt;
179
-    &lt;td&gt;&lt;center&gt;&lt;b&gt;&lt;h3&gt;Services&lt;/h3&gt;&lt;/b&gt;&lt;br&gt;Connect to the Freedombone services&lt;/center&gt;&lt;/td&gt;
180
-  &lt;/tr&gt;
181
-  &lt;tr&gt;
182
-    &lt;td&gt;&lt;center&gt;&lt;b&gt;&lt;h3&gt;Battery&lt;/h3&gt;&lt;/b&gt;&lt;br&gt;Avoid battery-eating apps and disable some optimisations&lt;/center&gt;&lt;/td&gt;
183
-    &lt;td&gt;&lt;center&gt;&lt;b&gt;&lt;h3&gt;Block&lt;/h3&gt;&lt;/b&gt;&lt;br&gt;Prevent access to know bad domains&lt;/center&gt;&lt;/td&gt;
184
-  &lt;/tr&gt;
185
-&lt;/table&gt;
186
-&lt;/center&gt;
187
-</p>
188
-
189
-</div>
190
-</div>
191
-</div>
192
-
193
-<div id="outline-container-sec-2" class="outline-2">
194
-<h2 id="sec-2">Open</h2>
195
-<div class="outline-text-2" id="text-2">
249
+<div id="outline-container-orgc9f2368" class="outline-2">
250
+<h2 id="orgc9f2368">Open</h2>
251
+<div class="outline-text-2" id="text-orgc9f2368">
196
 <p>
252
 <p>
197
 Use a Linux based phone operating system. Typically this will mean Android, but could also mean LineageOS or Replicant. LineageOS is the most preferable, because you can usually get an up to date image with a recent kernel which will give you better security against exploits. If you're buying a phone then look for a model which is supported by LineageOS. Replicant is the most free (as in freedom) but only runs on a small number of phone models. If you have a phone which runs a full GNU/Linux system then that's fantastic, and you can probably use it in much the same way as a desktop system and the rest of the advice on this page won't apply. If you don't have a phone capable of running a Linux based operating system then consider selling, giving away or bartering your existing one.
253
 Use a Linux based phone operating system. Typically this will mean Android, but could also mean LineageOS or Replicant. LineageOS is the most preferable, because you can usually get an up to date image with a recent kernel which will give you better security against exploits. If you're buying a phone then look for a model which is supported by LineageOS. Replicant is the most free (as in freedom) but only runs on a small number of phone models. If you have a phone which runs a full GNU/Linux system then that's fantastic, and you can probably use it in much the same way as a desktop system and the rest of the advice on this page won't apply. If you don't have a phone capable of running a Linux based operating system then consider selling, giving away or bartering your existing one.
198
 </p>
254
 </p>
207
 </div>
263
 </div>
208
 </div>
264
 </div>
209
 
265
 
210
-<div id="outline-container-sec-3" class="outline-2">
211
-<h2 id="sec-3">Remove</h2>
212
-<div class="outline-text-2" id="text-3">
266
+<div id="outline-container-org1da5240" class="outline-2">
267
+<h2 id="org1da5240">Remove</h2>
268
+<div class="outline-text-2" id="text-org1da5240">
213
 <p>
269
 <p>
214
 So maybe you're running Android and the phone came with some apps already installed. Almost certainly they'll be proprietary. Go to Settings/Apps and then uninstall or deactivate any apps which you really don't need. Mostly preinstalled apps are intended to send your data to companies who will then sell it to advertisers or governments under the business model of <i>surveillance capital</i>. It's not a good idea to get caught up in that, and to avoid becoming addicted to apps which are surveilling you without consent or installing spyware in the background without your knowledge.
270
 So maybe you're running Android and the phone came with some apps already installed. Almost certainly they'll be proprietary. Go to Settings/Apps and then uninstall or deactivate any apps which you really don't need. Mostly preinstalled apps are intended to send your data to companies who will then sell it to advertisers or governments under the business model of <i>surveillance capital</i>. It's not a good idea to get caught up in that, and to avoid becoming addicted to apps which are surveilling you without consent or installing spyware in the background without your knowledge.
215
 </p>
271
 </p>
216
 </div>
272
 </div>
217
 </div>
273
 </div>
218
 
274
 
219
-<div id="outline-container-sec-4" class="outline-2">
220
-<h2 id="sec-4">Encrypt</h2>
221
-<div class="outline-text-2" id="text-4">
275
+<div id="outline-container-orge6cd0f0" class="outline-2">
276
+<h2 id="orge6cd0f0">Encrypt</h2>
277
+<div class="outline-text-2" id="text-orge6cd0f0">
222
 <p>
278
 <p>
223
 Encrypt your phone. This can usually be done via <b>Settings/Security</b> and you may need to fully charge the phone first. Encryption means that if you lose your phone or it gets stolen then there is less chance that anyone who picks it up will get access to your data, photos and so on.
279
 Encrypt your phone. This can usually be done via <b>Settings/Security</b> and you may need to fully charge the phone first. Encryption means that if you lose your phone or it gets stolen then there is less chance that anyone who picks it up will get access to your data, photos and so on.
224
 </p>
280
 </p>
225
 </div>
281
 </div>
226
 </div>
282
 </div>
227
 
283
 
228
-<div id="outline-container-sec-5" class="outline-2">
229
-<h2 id="sec-5">Apps</h2>
230
-<div class="outline-text-2" id="text-5">
284
+<div id="outline-container-org149be87" class="outline-2">
285
+<h2 id="org149be87">Apps</h2>
286
+<div class="outline-text-2" id="text-org149be87">
231
 <p>
287
 <p>
232
 Installing <b>F-droid</b> and only adding any new apps via F-droid will ensure that you are always using free and open source software. Open source is not a panacea, since bugs can and do still occur, but it will help you to avoid the worst security and privacy pitfalls.
288
 Installing <b>F-droid</b> and only adding any new apps via F-droid will ensure that you are always using free and open source software. Open source is not a panacea, since bugs can and do still occur, but it will help you to avoid the worst security and privacy pitfalls.
233
 </p>
289
 </p>
238
 </div>
294
 </div>
239
 </div>
295
 </div>
240
 
296
 
241
-<div id="outline-container-sec-6" class="outline-2">
242
-<h2 id="sec-6">Lock</h2>
243
-<div class="outline-text-2" id="text-6">
297
+<div id="outline-container-orgd1ea4fa" class="outline-2">
298
+<h2 id="orgd1ea4fa">Lock</h2>
299
+<div class="outline-text-2" id="text-orgd1ea4fa">
244
 <p>
300
 <p>
245
 Add a lock screen, preferably with a password which is not easy for other people to guess or for quicker access with a PIN number. Install an app called <b>Locker</b>, activate it and set the maximum number of password guesses to ten (or whatever you feel comfortable with). If bad people get hold of your phone then they may try to brute force your lock screen password or PIN (i.e. automatically trying millions of common word and number combinations) and the locker app will prevent them from succeeding by resetting the phone back to its factory default condition and wiping the data.
301
 Add a lock screen, preferably with a password which is not easy for other people to guess or for quicker access with a PIN number. Install an app called <b>Locker</b>, activate it and set the maximum number of password guesses to ten (or whatever you feel comfortable with). If bad people get hold of your phone then they may try to brute force your lock screen password or PIN (i.e. automatically trying millions of common word and number combinations) and the locker app will prevent them from succeeding by resetting the phone back to its factory default condition and wiping the data.
246
 </p>
302
 </p>
247
 </div>
303
 </div>
248
 </div>
304
 </div>
249
 
305
 
250
-<div id="outline-container-sec-7" class="outline-2">
251
-<h2 id="sec-7">Onion</h2>
252
-<div class="outline-text-2" id="text-7">
306
+<div id="outline-container-org98e33e6" class="outline-2">
307
+<h2 id="org98e33e6">Onion</h2>
308
+<div class="outline-text-2" id="text-org98e33e6">
253
 <p>
309
 <p>
254
 Both governments and corporations want to compile matadata dossiers about you. Who you communicated with, when and how often. They want this so that they can data mine, simulate, predict and then ultimately influence (sometimes also called "nudge") your actions and preferences in the directions they prefer. By routing your connections through a number of proxy servers (Tor routers) you can make it perhaps not <i>theoretically</i> impossible but at least <i>very hard</i> for them to have a complete and accurate list of who your friends are, your religion, politics, likely health issues, sexual orientation and what news sites or books you read.
310
 Both governments and corporations want to compile matadata dossiers about you. Who you communicated with, when and how often. They want this so that they can data mine, simulate, predict and then ultimately influence (sometimes also called "nudge") your actions and preferences in the directions they prefer. By routing your connections through a number of proxy servers (Tor routers) you can make it perhaps not <i>theoretically</i> impossible but at least <i>very hard</i> for them to have a complete and accurate list of who your friends are, your religion, politics, likely health issues, sexual orientation and what news sites or books you read.
255
 </p>
311
 </p>
260
 </div>
316
 </div>
261
 </div>
317
 </div>
262
 
318
 
263
-<div id="outline-container-sec-8" class="outline-2">
264
-<h2 id="sec-8">Email</h2>
265
-<div class="outline-text-2" id="text-8">
319
+<div id="outline-container-org0b855a4" class="outline-2">
320
+<h2 id="org0b855a4">Email</h2>
321
+<div class="outline-text-2" id="text-org0b855a4">
266
 <p>
322
 <p>
267
 The easiest way to access email is by installing the <a href="./app_mailpile.html">Mailpile</a> app. This keeps your GPG keys off of possibly insecure mobile devices but still enables encrypted email communications in an easy way. You can use K9 mail if you prefer, but that will require installing OpenKeychain and having your GPG keys on the device, which is a lot more risky.
323
 The easiest way to access email is by installing the <a href="./app_mailpile.html">Mailpile</a> app. This keeps your GPG keys off of possibly insecure mobile devices but still enables encrypted email communications in an easy way. You can use K9 mail if you prefer, but that will require installing OpenKeychain and having your GPG keys on the device, which is a lot more risky.
268
 </p>
324
 </p>
269
 </div>
325
 </div>
270
 </div>
326
 </div>
271
-<div id="outline-container-sec-9" class="outline-2">
272
-<h2 id="sec-9">Services</h2>
273
-<div class="outline-text-2" id="text-9">
327
+<div id="outline-container-org4eecc0f" class="outline-2">
328
+<h2 id="org4eecc0f">Services</h2>
329
+<div class="outline-text-2" id="text-org4eecc0f">
274
 <p>
330
 <p>
275
 For information on configuring various apps to work with Freedombone see the <a href="./apps.html">apps section</a>. Also see advice on chat apps in the <a href="./faq.html">FAQ</a>.
331
 For information on configuring various apps to work with Freedombone see the <a href="./apps.html">apps section</a>. Also see advice on chat apps in the <a href="./faq.html">FAQ</a>.
276
 </p>
332
 </p>
277
 </div>
333
 </div>
278
 </div>
334
 </div>
279
 
335
 
280
-<div id="outline-container-sec-10" class="outline-2">
281
-<h2 id="sec-10">Battery</h2>
282
-<div class="outline-text-2" id="text-10">
336
+<div id="outline-container-org0f96cf1" class="outline-2">
337
+<h2 id="org0f96cf1">Battery</h2>
338
+<div class="outline-text-2" id="text-org0f96cf1">
283
 <p>
339
 <p>
284
 Even with free software apps it's not difficult to get into a situation where your battery doesn't last for long. To maximize battery life access RSS feeds via the onion-based mobile reader within a Tor-compatible browser and not from a locally installed RSS app.
340
 Even with free software apps it's not difficult to get into a situation where your battery doesn't last for long. To maximize battery life access RSS feeds via the onion-based mobile reader within a Tor-compatible browser and not from a locally installed RSS app.
285
 </p>
341
 </p>
298
 </div>
354
 </div>
299
 </div>
355
 </div>
300
 
356
 
301
-<div id="outline-container-sec-11" class="outline-2">
302
-<h2 id="sec-11">Blocking bad domains</h2>
303
-<div class="outline-text-2" id="text-11">
357
+<div id="outline-container-orgb6d0da7" class="outline-2">
358
+<h2 id="orgb6d0da7">Blocking bad domains</h2>
359
+<div class="outline-text-2" id="text-orgb6d0da7">
304
 <p>
360
 <p>
305
 You can block known bad domains by editing the <b>/system/etc/hosts</b> file on your device. It is possible to use extensive ad-blocking hosts files used by other ad-blocking systems such as pi-hole, but merely blocking Facebook and Google Analytics will protect you against much of the corporate surveillance which goes on. Even if you don't have a Facebook account this may still be useful since they will still try to create a "ghost profile" of you, so the less data they have the better.
361
 You can block known bad domains by editing the <b>/system/etc/hosts</b> file on your device. It is possible to use extensive ad-blocking hosts files used by other ad-blocking systems such as pi-hole, but merely blocking Facebook and Google Analytics will protect you against much of the corporate surveillance which goes on. Even if you don't have a Facebook account this may still be useful since they will still try to create a "ghost profile" of you, so the less data they have the better.
306
 </p>
362
 </p>
318
 </p>
374
 </p>
319
 
375
 
320
 <div class="org-src-container">
376
 <div class="org-src-container">
321
-
322
 <pre class="src src-bash">sudo pacman -S android-tools
377
 <pre class="src src-bash">sudo pacman -S android-tools
323
 </pre>
378
 </pre>
324
 </div>
379
 </div>
328
 </p>
383
 </p>
329
 
384
 
330
 <div class="org-src-container">
385
 <div class="org-src-container">
331
-
332
 <pre class="src src-bash">adb root
386
 <pre class="src src-bash">adb root
333
 adb remount
387
 adb remount
334
 adb pull /system/etc/hosts
388
 adb pull /system/etc/hosts
340
 </p>
394
 </p>
341
 
395
 
342
 <div class="org-src-container">
396
 <div class="org-src-container">
343
-
344
 <pre class="src src-bash">127.0.0.1       www.facebook.com
397
 <pre class="src src-bash">127.0.0.1       www.facebook.com
345
 127.0.0.1       facebook.com
398
 127.0.0.1       facebook.com
346
 127.0.0.1       static.ak.fbcdn.net
399
 127.0.0.1       static.ak.fbcdn.net
365
 </p>
418
 </p>
366
 
419
 
367
 <div class="org-src-container">
420
 <div class="org-src-container">
368
-
369
 <pre class="src src-bash">adb push hosts /system/etc/hosts
421
 <pre class="src src-bash">adb push hosts /system/etc/hosts
370
 </pre>
422
 </pre>
371
 </div>
423
 </div>
374
 Once that's done you may want to set <b>Root access</b> on the device back to <b>Disabled</b> and turn <b>Android debugging</b> off.
426
 Once that's done you may want to set <b>Root access</b> on the device back to <b>Disabled</b> and turn <b>Android debugging</b> off.
375
 </p>
427
 </p>
376
 
428
 
377
-<div class="export">
378
-<p>
379
-&lt;center&gt;
380
-Return to the &lt;a href="index.html"&gt;home page&lt;/a&gt;
381
-&lt;/center&gt;
382
-</p>
383
-
384
-</div>
429
+<center>
430
+Return to the <a href="index.html">home page</a>
431
+</center>
385
 
432
 
386
 
433
 
387
 
434