diff --git a/doc/EN/armbian.org b/doc/EN/armbian.org index be475d80..d79e3403 100644 --- a/doc/EN/armbian.org +++ b/doc/EN/armbian.org @@ -23,7 +23,7 @@ If you have a single board ARM computer which isn't one of the supported ones th Download the Armbian image for your board. It must be version 9 (Stretch), otherwise it won't work. Extract the image from its archive, then copy it to a microSD card: #+begin_src bash -sudo dd bs=32M if=[Armbian .img file] of=/dev/sdX conv=fdatasync +sudo dd bs=32M if=[Armbian .img file] of=/dev/sdX conv=fdatasync,noerror #+end_src Where */dev/sdX* is the path for the microSD drive on your system. diff --git a/doc/EN/homeserver.org b/doc/EN/homeserver.org index 59381baa..989c3343 100644 --- a/doc/EN/homeserver.org +++ b/doc/EN/homeserver.org @@ -70,7 +70,7 @@ You can now copy the image to the USB thumb drive, replacing *sdX* with the iden #+begin_src bash dd if=/dev/zero of=/dev/sdX bs=32M count=8 -dd bs=32M if=myimagefile.img of=/dev/sdX conv=fdatasync +dd bs=32M if=myimagefile.img of=/dev/sdX conv=fdatasync,noerror #+end_src And wait. Again it will take a while to copy over. When that's done plug it into the laptop or netbook which you want to use as a server, power on and set the BIOS to boot from the USB stick. diff --git a/doc/EN/installation.org b/doc/EN/installation.org index 5377a58f..71d26e27 100644 --- a/doc/EN/installation.org +++ b/doc/EN/installation.org @@ -129,7 +129,7 @@ unxz filename.img.xz Then copy it to a microSD card. Depending on your system you may need an adaptor to be able to do that. #+BEGIN_SRC bash -sudo dd bs=32M if=filename.img of=/dev/sdX conv=fdatasync +sudo dd bs=32M if=filename.img of=/dev/sdX conv=fdatasync,noerror #+END_SRC Where *sdX* is the microSD drive. You can check which drive is the microSD drive using: diff --git a/doc/EN/mesh_images.org b/doc/EN/mesh_images.org index 9408d8f0..70ff484d 100644 --- a/doc/EN/mesh_images.org +++ b/doc/EN/mesh_images.org @@ -42,7 +42,7 @@ wget https://freedombone.net/downloads/v31/freedombone-meshclient-i386.img.xz.si gpg --verify freedombone-meshclient-i386.img.xz.sig unxz freedombone-meshclient-i386.img.xz sudo dd if=/dev/zero of=/dev/sdX bs=32M count=8 -sudo dd bs=32M if=freedombone-meshclient-i386.img of=/dev/sdX conv=fdatasync +sudo dd bs=32M if=freedombone-meshclient-i386.img of=/dev/sdX conv=fdatasync,noerror #+end_src To get a number of systems onto the mesh repeat the /dd/ command to create however many bootable USB drives you need. @@ -56,7 +56,7 @@ wget https://freedombone.net/downloads/v31/freedombone-meshclient-insecure-i386. gpg --verify freedombone-meshclient-insecure-i386.img.xz.sig unxz freedombone-meshclient-insecure-i386.img.xz sudo dd if=/dev/zero of=/dev/sdX bs=32M count=8 -sudo dd bs=32M if=freedombone-meshclient-insecure-i386.img of=/dev/sdX conv=fdatasync +sudo dd bs=32M if=freedombone-meshclient-insecure-i386.img of=/dev/sdX conv=fdatasync,noerror #+end_src ** Router images @@ -75,7 +75,7 @@ gpg --verify freedombone-mesh_beaglebone-armhf.img.xz.sig sha256sum freedombone-mesh_beaglebone-armhf.img.xz ad8f22c0d46c98a80aa47b5809402971cf5cf26ebf587c59a667307b2386c3d2 unxz freedombone-mesh_beaglebone-armhf.img.xz -sudo dd bs=32M if=freedombone-mesh_beaglebone-armhf.img of=/dev/sdX conv=fdatasync +sudo dd bs=32M if=freedombone-mesh_beaglebone-armhf.img of=/dev/sdX conv=fdatasync,noerror #+end_src If you have a few Beaglebone Blacks to use as routers then repeat the /dd/ command to create however many microSD cards you need. @@ -120,7 +120,7 @@ You can now copy the image to the USB thumb drive, replacing *sdX* with the iden #+begin_src bash sudo dd if=/dev/zero of=/dev/sdX bs=32M count=8 -sudo dd bs=32M if=myimagefile.img of=/dev/sdX conv=fdatasync +sudo dd bs=32M if=myimagefile.img of=/dev/sdX conv=fdatasync,noerror #+end_src And wait. Again it will take a while to copy over. When that's done plug it into the laptop or netbook which you want to use on the mesh, power on and set the BIOS to boot from the USB stick. diff --git a/doc/EN/release3.org b/doc/EN/release3.org index f30afe58..fddeea7e 100644 --- a/doc/EN/release3.org +++ b/doc/EN/release3.org @@ -31,7 +31,7 @@ Copy the image to a microSD card or USB thumb drive, replacing sdX with the iden #+BEGIN_SRC bash unxz downloadedimagefile.img.xz -dd bs=32M if=downloadedimagefile.img of=/dev/sdX conv=fdatasync +dd bs=32M if=downloadedimagefile.img of=/dev/sdX conv=fdatasync,noerror #+END_SRC And wait. It will take a while to copy over. When that's done you might want to increase the partition size on the drive, using a tool such as [[http://gparted.org][Gparted]]. Whether you need to do that will depend upon how many apps you intend to install and how much data they will store. diff --git a/doc/EN/release31.org b/doc/EN/release31.org index f4398468..fa0b6f1d 100644 --- a/doc/EN/release31.org +++ b/doc/EN/release31.org @@ -39,7 +39,7 @@ Copy the image to a microSD card or USB thumb drive, replacing sdX with the iden #+BEGIN_SRC bash unxz downloadedimagefile.img.xz -dd bs=32M if=downloadedimagefile.img of=/dev/sdX conv=fdatasync +dd bs=32M if=downloadedimagefile.img of=/dev/sdX conv=fdatasync,noerror #+END_SRC And wait. It will take a while to copy over. When that's done you might want to increase the partition size on the drive, using a tool such as [[http://gparted.org][Gparted]]. Whether you need to do that will depend upon how many apps you intend to install and how much data they will store. diff --git a/doc/EN/socialinstance.org b/doc/EN/socialinstance.org index bcf8a250..1a7e214f 100644 --- a/doc/EN/socialinstance.org +++ b/doc/EN/socialinstance.org @@ -32,7 +32,7 @@ wget https://freedombone.net/downloads/v31/freedombone-pleroma-amd64.img.xz.sig gpg --verify freedombone-pleroma-amd64.img.xz.sig unxz freedombone-pleroma-amd64.img.xz sudo dd if=/dev/zero of=/dev/sdX bs=32M count=8 -sudo dd bs=32M if=freedombone-pleroma-amd64.img of=/dev/sdX conv=fdatasync +sudo dd bs=32M if=freedombone-pleroma-amd64.img of=/dev/sdX conv=fdatasync,noerror #+end_src Also note that if the laptop has a removable SSD drive it's possible to copy the image directly to that if you have enough equipment. diff --git a/src/freedombone-image b/src/freedombone-image index f3474f7d..5d8de9c2 100755 --- a/src/freedombone-image +++ b/src/freedombone-image @@ -719,7 +719,7 @@ if [[ $IMAGE_TYPE != "qemu"* ]]; then echo '' echo " unxz -k ${PROJECT_NAME}*.img.xz" echo ' sudo dd if=/dev/zero of=/dev/sdX bs=32M count=8' - echo " sudo dd bs=32M if=${PROJECT_NAME}*.img of=/dev/sdX conv=fdatasync" + echo " sudo dd bs=32M if=${PROJECT_NAME}*.img of=/dev/sdX conv=fdatasync,noerror" echo '' fi diff --git a/website/EN/armbian.html b/website/EN/armbian.html index 933e6027..ca77c8c9 100644 --- a/website/EN/armbian.html +++ b/website/EN/armbian.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- +sudo dd bs=32M if=[Armbian .img file] of=/dev/sdX conv=fdatasync +sudo dd bs=32M if=[Armbian .img file] of=/dev/sdX conv=fdatasync,noerror
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.
@@ -336,7 +336,7 @@ You can now copy the image to the USB thumb drive, replacing sdX with thedd if=/dev/zero of=/dev/sdX bs=32M count=8 -dd bs=32M if=myimagefile.img of=/dev/sdX conv=fdatasync +dd bs=32M if=myimagefile.img of=/dev/sdX conv=fdatasync,noerror
Building an image for a Single Board Computer or Virtual Machine | +Building an image for a Single Board Computer or Virtual Machine |
Checklist | +Checklist |
Installation | +Installation |
Social Key Management - the 'Unforgettable Key' | +Social Key Management - the 'Unforgettable Key' |
Final Setup | +Final Setup |
Keydrives | +Keydrives |
On Client Machines | +On Client Machines |
Administering the system | +Administering the system |
You don't have to trust images downloaded from random internet locations signed with untrusted keys. You can build one from scratch yourself, and this is the recommended procedure for maximum security. For guidance on how to build images see the manpage for the freedombone-image command.
@@ -372,9 +372,9 @@ If the image build fails with an error such as "Error reading from server. ReBefore installing Freedombone you will need a few things.
@@ -388,17 +388,17 @@ Before installing Freedombone you will need a few things.There are three install options: Laptop/Desktop/Netbook, SBC and Virtual Machine.
If you have an existing system, such as an old laptop or netbook which you can leave running as a server, then install a new version of Debian Stretch onto it. During the Debian install you won't need the print server or the desktop environment, and unchecking those will reduce the attack surface. Once Debian enter the following commands:
@@ -417,9 +417,9 @@ freedombone menuconfigCurrently the following boards are supported:
@@ -466,7 +466,7 @@ Then copy it to a microSD card. Depending on your system you may need an adaptorsudo dd bs=32M if=filename.img of=/dev/sdX conv=fdatasync +sudo dd bs=32M if=filename.img of=/dev/sdX conv=fdatasync,noerror
Qemu is currently supported, since it's s fully free software system. You can run a 64 bit Qemu image with:
@@ -517,42 +517,42 @@ The default login will be username 'fbone' and password 'freedombone'. Take a noDuring the install procedure you will be asked if you wish to import GPG keys. If you don't already possess GPG keys then just select "Ok" and they will be generated during the install. If you do already have GPG keys then there are a few possibilities
If you previously made a master keydrive containing the full keyring (the .gnupg directory). This is the most straightforward case, but not as secure as splitting the key into fragments.
-If you previously made some USB drives containing key fragments then retrieve them from your friends and plug them in one after the other. After the last drive has been read then remove it and just select "Ok". The system will then try to reconstruct the key. For this to work you will need to have previously made three or more Keydrives. +If you previously made some USB drives containing key fragments then retrieve them from your friends and plug them in one after the other. After the last drive has been read then remove it and just select "Ok". The system will then try to reconstruct the key. For this to work you will need to have previously made three or more Keydrives.
Enter three or more sets of login details and the installer will try to retrieve key fragments and then assemble them into the full key. This only works if you previously were using remote backups and had social key management enabled.
Any manual post-installation setup instructions or passwords can be found in /home/username/README.
@@ -670,16 +670,16 @@ On your internet router, typically under firewall settings, open the following pAfter installing for the first time it's a good idea to create some keydrives. These will store your gpg key so that if all else fails you will still be able to restore from backup. There are two ways to do this:
This is the traditional security model in which you carry your full keyring on an encrypted USB drive. To make a master keydrive first format a USB drive as a LUKS encrypted drive. In Ubuntu this can be done from the Disk Utility application. Then plug it into the Freedombone system, then from your local machine run:
@@ -694,9 +694,9 @@ Select Administrator controls then Backup and Restore then BackThis breaks your GPG key into a number of fragments and randomly selects one to add to the USB drive. First format a USB drive as a LUKS encrypted drive. In Ubuntu this can be done from the Disk Utility application. Plug it into the Freedombone system then from your local machine run the following commands:
@@ -716,9 +716,9 @@ Fragments are randomly assigned and so you will need at least three or four keydYou can configure laptops or desktop machines which connect to the Freedombone server in the following way. This alters encryption settings to improve overall security.
@@ -736,9 +736,9 @@ freedombone-clientTo administer the system after installation log in via ssh, become the root user and then launch the control panel.
diff --git a/website/EN/mesh_images.html b/website/EN/mesh_images.html index 5cb60dac..1d38c86e 100644 --- a/website/EN/mesh_images.html +++ b/website/EN/mesh_images.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - +There may be situations where you need to write the same disk image to multiple drives at the same time in order to maximize rate of deployment. In the instructions given below the dd command is used for writing to the target drive, but to write to multiple drives you can use a tool such as GNOME MultiWriter.
@@ -280,9 +280,9 @@ The MultiWriter tool is also available within mesh client images, so that you ca@@ -300,7 +300,7 @@ wget https://freedombone.net/downloads/v31/freedombone-meshclient-i386.img.xz.si gpg --verify freedombone-meshclient-i386.img.xz.sig unxz freedombone-meshclient-i386.img.xz sudo dd if=/dev/zero of=/dev/sdX bs=32M count=8 -sudo dd bs=32M if=freedombone-meshclient-i386.img of=/dev/sdX conv=fdatasync +sudo dd bs=32M if=freedombone-meshclient-i386.img of=/dev/sdX conv=fdatasync,noerror
Routers are intended to build network coverage for an area using small and low cost hardware. You can bolt them to walls or leave them on window ledges. They don't have any user interface and their only job is to haul network traffic across the mesh and to enable peers to find each other via running bootstrap nodes for Tox and IPFS. Copy the image to a microSD card and insert it into the router, plug in an Atheros wifi dongle and power on. That should be all you need to do.
@@ -353,7 +353,7 @@ gpg --verify freedombone-mesh_beaglebone-armhf.img.xz.sig sha256sum freedombone-mesh_beaglebone-armhf.img.xz ad8f22c0d46c98a80aa47b5809402971cf5cf26ebf587c59a667307b2386c3d2 unxz freedombone-mesh_beaglebone-armhf.img.xz -sudo dd bs=32M if=freedombone-mesh_beaglebone-armhf.img of=/dev/sdX conv=fdatasync +sudo dd bs=32M if=freedombone-mesh_beaglebone-armhf.img of=/dev/sdX conv=fdatasync,noerror
It's better not to trust images downloaded from random places on the interwebs. Chances are that unless you are in the web of trust of the above GPG signatures then they don't mean very much to you. If you actually want something trustworthy then build the images from scratch. It will take some time. Here's how to do it.
@@ -426,7 +426,7 @@ You can now copy the image to the USB thumb drive, replacing sdX with thesudo dd if=/dev/zero of=/dev/sdX bs=32M count=8 -sudo dd bs=32M if=myimagefile.img of=/dev/sdX conv=fdatasync +sudo dd bs=32M if=myimagefile.img of=/dev/sdX conv=fdatasync,noerror
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.
@@ -263,27 +263,27 @@ In the end it comes down to the fact that if the source code for the device cSo 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 surveillance capital. 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.
Encrypt your phone. This can usually be done via Settings/Security 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.
Installing F-droid 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.
@@ -294,18 +294,18 @@ Avoid using the Open Whisper Systems Signal app if you can, no matter what "expeAdd 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 Locker, 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.
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 theoretically impossible but at least very hard 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.
@@ -316,26 +316,26 @@ In F-droid under the repositories menu you can enable the guardian proThe easiest way to access email is by installing the Mailpile 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.
For information on configuring various apps to work with Freedombone see the apps section. Also see advice on chat apps in the FAQ.
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.
@@ -354,9 +354,9 @@ It's also recommended to disable battery optimisations for Conversations and OrbYou can block known bad domains by editing the /system/etc/hosts 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.
@@ -410,6 +410,8 @@ Now edit the hosts file which was pulled and append: 127.0.0.1 www.google-analytics.com 127.0.0.1 google-analytics.com 127.0.0.1 ssl.google-analytics.com +127.0.0.1 telemetry.mozilla.org +127.0.0.1 incoming.telemetry.mozilla.orgThe internet may still be mostly in the clutches of a few giant megacorporations and dubious governments with sketchy agendas, but it doesn't have to remain that way. With the third version of the Freedombone system there is now more scope than before to take back your privacy, have ownership of personal data and run your own online communities without undesirable intermediaries.
@@ -265,9 +265,9 @@ Freedombone version 3 is based on Debian 9 (Stretch). It was released in July 20The simplest way to install is from a pre-made disk image. Images can be downloaded here. You will need to have previously obtained a domain name and have a dynamic DNS account somewhere.
@@ -278,7 +278,7 @@ Copy the image to a microSD card or USB thumb drive, replacing sdX with the idenunxz downloadedimagefile.img.xz -dd bs=32M if=downloadedimagefile.img of=/dev/sdX conv=fdatasync +dd bs=32M if=downloadedimagefile.img of=/dev/sdX conv=fdatasync,noerror
To upgrade from the Debian Jessie version first create a master keydrive. Go to the Administrator control panel and select Backup and restore then Backup GPG key to USB (master keydrive). Insert a LUKS encrypted USB drive. When that is done Create a full backup by selecting Backup data to USB drive and using another LUKS encrypted USB drive.
diff --git a/website/EN/release31.html b/website/EN/release31.html index e431067e..2e5cc98b 100644 --- a/website/EN/release31.html +++ b/website/EN/release31.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - +Newer and shinier than before, Freedombone 3.1 rests upon the solid foundation of Debian stable and delivers major new self-hosted apps, improved mesh networking and a new logo. It supports version 3 onion addresses and the ability to use email with onion and I2P addresses. New apps are:
@@ -281,9 +281,9 @@ The future is decentralized.The simplest way to install is from a pre-made disk image. Images can be downloaded here. You will need to have previously obtained a domain name and have a dynamic DNS account somewhere. Or if you don't need clearnet domains and will be using Tor compatible browsers then you can use the "onion only" images where apps will be accessible via an onion address.
@@ -294,7 +294,7 @@ Copy the image to a microSD card or USB thumb drive, replacing sdX with the idenunxz downloadedimagefile.img.xz -dd bs=32M if=downloadedimagefile.img of=/dev/sdX conv=fdatasync +dd bs=32M if=downloadedimagefile.img of=/dev/sdX conv=fdatasync,noerror
To upgrade from version 3 just go to the administrator control panel and select check for updates.
diff --git a/website/EN/socialinstance.html b/website/EN/socialinstance.html index 94a0772c..be858047 100644 --- a/website/EN/socialinstance.html +++ b/website/EN/socialinstance.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - +A social instance image allows you to easily set up a fediverse server, which federates using the OStatus or ActivityPub protocol. You will need:
@@ -263,9 +263,9 @@ The installation process is the same as usual, with the only difference being thSubstitute sdX with the device name for your USB drive.
@@ -277,7 +277,7 @@ wget https://freedombone.net/downloads/v31/freedombone-pleroma-amd64.img.xz.sig gpg --verify freedombone-pleroma-amd64.img.xz.sig unxz freedombone-pleroma-amd64.img.xz sudo dd if=/dev/zero of=/dev/sdX bs=32M count=8 -sudo dd bs=32M if=freedombone-pleroma-amd64.img of=/dev/sdX conv=fdatasync +sudo dd bs=32M if=freedombone-pleroma-amd64.img of=/dev/sdX conv=fdatasync,noerrorPlug the USB drive into the laptop and connect it to your internet router with the ethernet cable.
@@ -302,9 +302,9 @@ Plug the USB drive into the laptop and connect it to your internet router with tYou may need to alter the BIOS settings to get this to work reliably.
@@ -317,9 +317,9 @@ You may need to alter the BIOS settings to get this to work reliably.Log into your internet router using a non-Tor browser (usually it's on an address like 192.168.1.1 or 192.168.1.254). Often port forwarding settings are together with firewall settings.
@@ -332,9 +332,9 @@ Log into your internet router using a non-Tor browser (usually it's on an addresssh fbone@freedombone.local -p 2222@@ -346,18 +346,18 @@ Or alternatively you can log in directly on the laptop. The initial username is
Enter your user details, domain name and dynamic DNS settings.
Navigate to your domain and register a new user.