diff --git a/doc/EN/debianinstall.org b/doc/EN/debianinstall.org index 7b15e09e..8b13bf45 100644 --- a/doc/EN/debianinstall.org +++ b/doc/EN/debianinstall.org @@ -18,7 +18,7 @@ Although the image builder supports a variety of architectures there may still be some which aren't supported. These especially include systems which have a proprietary boot blob, such as the Raspberry Pi boards. -It's still possible to install the system onto these unsupported devices if you need to. First you'll need to ensure that you have *Debian Jessie* installed and can get ssh access to the system. Then either via ssh, or directly on the target device in the case of an old laptop or netbook: +It's still possible to install the system onto these unsupported devices if you need to. First you'll need to ensure that you have *Debian Stretch* installed and can get ssh access to the system. Then either via ssh, or directly on the target device in the case of an old laptop or netbook: #+BEGIN_SRC bash su @@ -26,6 +26,7 @@ apt-get update apt-get -qy install build-essential git dialog git clone https://github.com/bashrc/freedombone cd freedombone +git checkout stretch make install freedombone makeconfig #+END_SRC diff --git a/doc/EN/installation.org b/doc/EN/installation.org index aa832f23..489298c6 100644 --- a/doc/EN/installation.org +++ b/doc/EN/installation.org @@ -80,7 +80,7 @@ freedombone-image -t beaglebone -s 8G -m http://ftp.de.debian.org/debian Before installing Freedombone you will need a few things. * Have some domains, or subdomains, registered with a dynamic DNS service. For the full install you may need two "official" purchased domains or be using a subdomain provider which is supported by Let's Encrypt. - * System with a new installation of Debian Jessie or a downloaded/prepared disk image + * System with a new installation of Debian Stretch or a downloaded/prepared disk image * Ethernet connection between the system and your internet router * That it is possible to forward ports from the internet router to the system, typically via firewall settings * Have ssh access to the system, typically via fbone@freedombone.local on port 2222 @@ -88,7 +88,7 @@ Before installing Freedombone you will need a few things. There are three install options: Laptop/Desktop/Netbook, SBC and Virtual Machine. ** On a Laptop, Netbook or Desktop 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 Jessie 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: +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: #+BEGIN_SRC bash su @@ -96,6 +96,7 @@ apt-get update apt-get -y install git dialog build-essential git clone https://github.com/bashrc/freedombone cd freedombone +git checkout stretch make install freedombone menuconfig #+END_SRC diff --git a/doc/EN/mesh.org b/doc/EN/mesh.org index f2de8a32..5408d8a4 100644 --- a/doc/EN/mesh.org +++ b/doc/EN/mesh.org @@ -102,7 +102,7 @@ There is still a software freedom issue with the Beaglebone Black, but it doesn' * Building Disk Images 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. -First you will need to create an image. On a Debian based system (tested on Debian Jessie and Trisquel 7): +First you will need to create an image. On a Debian based system (tested on Debian Stretch): #+begin_src bash sudo apt-get -y install build-essential libc6-dev-i386 wget \ @@ -117,6 +117,7 @@ sha256sum freedombone-mesh-13-09-2016.tar.gz 3e279f8ed762afb682bec6bd463830087354dd2f24020f3b0de51143585ab0ed tar -xzvf freedombone-mesh-13-09-2016.tar.gz cd freedombone +git checkout stretch sudo make install freedombone-image -t i386 -v meshclient #+end_src diff --git a/website/EN/debianinstall.html b/website/EN/debianinstall.html index 3fc6e3ba..60fcaee8 100644 --- a/website/EN/debianinstall.html +++ b/website/EN/debianinstall.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- +-It's still possible to install the system onto these unsupported devices if you need to. First you'll need to ensure that you have Debian Jessie installed and can get ssh access to the system. Then either via ssh, or directly on the target device in the case of an old laptop or netbook: +It's still possible to install the system onto these unsupported devices if you need to. First you'll need to ensure that you have Debian Stretch installed and can get ssh access to the system. Then either via ssh, or directly on the target device in the case of an old laptop or netbook:
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.
@@ -304,11 +305,11 @@ Install the freedombone commands onto your laptop/desktop:sudo apt-get install git build-essential dialog ++sudo apt-get install git build-essential dialog git clone https://github.com/bashrc/freedombone cd freedombone sudo make install -
@@ -316,8 +317,8 @@ Then install packages needed for building images:
freedombone-image --setup debian -+
freedombone-image --setup debian
+
@@ -325,8 +326,8 @@ or on an Arch/Parabola system:
freedombone-image --setup parabola -+
freedombone-image --setup parabola
+
@@ -334,8 +335,8 @@ A typical use case to build an 8GB image for a Beaglebone Black is as follows. Y
freedombone-image -t beaglebone -s 8G -+
freedombone-image -t beaglebone -s 8G
+
@@ -343,8 +344,8 @@ If you prefer an advanced installation with all of the options available then us
freedombone-image -t beaglebone -s 8G --minimal no -+
freedombone-image -t beaglebone -s 8G --minimal no
+
@@ -352,8 +353,8 @@ To build a 64bit Qemu image:
freedombone-image -t qemu-x86_64 -s 8G -+
freedombone-image -t qemu-x86_64 -s 8G
+
@@ -365,59 +366,60 @@ If the image build fails with an error such as "Error reading from server. Re
freedombone-image -t beaglebone -s 8G -m http://ftp.de.debian.org/debian -+
freedombone-image -t beaglebone -s 8G -m http://ftp.de.debian.org/debian
+
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 Jessie 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: +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:
su ++su apt-get update apt-get -y install git dialog build-essential git clone https://github.com/bashrc/freedombone cd freedombone +git checkout stretch make install freedombone menuconfig -
Currently the following boards are supported:
@@ -436,8 +438,8 @@ If there is no existing image available then you can build one from scratch. Seegpg --verify filename.img.asc -+
gpg --verify filename.img.asc
+
@@ -445,8 +447,8 @@ And the hash with:
sha256sum filename.img -+
sha256sum filename.img
+
@@ -454,8 +456,8 @@ If the image is compressed then decompress it with:
unxz filename.img.xz -+
unxz filename.img.xz
+
@@ -463,8 +465,8 @@ Then copy it to a microSD card. Depending on your system you may need an adaptor
sudo dd bs=1M if=filename.img of=/dev/sdX conv=fdatasync -+
sudo dd bs=1M if=filename.img of=/dev/sdX conv=fdatasync
+
@@ -472,8 +474,8 @@ Where sdX is the microSD drive. You can check which drive is the microSD
ls /dev/sd* -+
ls /dev/sd*
+
@@ -485,8 +487,8 @@ With the board connected and running you can ssh into the system with:
ssh fbone@freedombone.local -p 2222 -+
ssh fbone@freedombone.local -p 2222
+
@@ -495,16 +497,16 @@ Using the password 'freedombone'. Take a note of the new login password and then
Qemu is currently supported, since it's s fully free software system. You can run a 64 bit Qemu image with:
qemu-system-x86_64 -m 1G filename.img -+
qemu-system-x86_64 -m 1G filename.img
+
@@ -514,42 +516,42 @@ The default login will be username 'fbone' and password 'freedombone'. Take a no
During the install procedure you will be asked if you wish to import GPG keys. If you don't already possess GPG keys then just select "Ok" and they will be generated during the install. If you do already have GPG keys then there are a few possibilities
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.
@@ -667,23 +669,23 @@ 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:
ssh myusername@mydomainname -p 2222 -+
ssh myusername@mydomainname -p 2222
+
@@ -691,16 +693,16 @@ Select Administrator controls then Backup and Restore then Back
This breaks your GPG key into a number of fragments and randomly selects one to add to the USB drive. First format a USB drive as a LUKS encrypted drive. In Ubuntu this can be done from the Disk Utility application. Plug it into the Freedombone system then from your local machine run the following commands:
ssh myusername@mydomainname -p 2222 -+
ssh myusername@mydomainname -p 2222
+
@@ -713,35 +715,35 @@ Fragments are randomly assigned and so you will need at least three or four keyd
You can configure laptops or desktop machines which connect to the Freedombone server in the following way. This alters encryption settings to improve overall security.
sudo apt-get update ++sudo apt-get update sudo apt-get install git dialog haveged build-essential git clone https://github.com/bashrc/freedombone cd freedombone sudo make install freedombone-client -
To administer the system after installation log in via ssh, become the root user and then launch the control panel.
ssh myusername@freedombone.local -p 2222 -+
ssh myusername@freedombone.local -p 2222
+
diff --git a/website/EN/mesh.html b/website/EN/mesh.html index e66fd2bd..d479cf36 100644 --- a/website/EN/mesh.html +++ b/website/EN/mesh.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- +sudo apt-get install xz-utils wget ++sudo apt-get install xz-utils wget wget https://freedombone.net/downloads/v2.00/freedombone-meshclient-2.00_all-i386.img.xz wget https://freedombone.net/downloads/v2.00/freedombone-meshclient-2.00_all-i386.img.xz.sig gpg --verify freedombone-meshclient-2.00_all-i386.img.xz.sig @@ -338,7 +340,7 @@ sha256sum freedombone-meshclient-2.00_all-i386.img.xz 403cf1cc2bc5272e5921d3ebefc351540928141bc65641b6d16f2262a933cb4e unxz freedombone-meshclient-2.00_all-i386.img.xz sudo dd bs=1M if=freedombone-meshclient-2.00_all-i386.img of=/dev/sdX conv=fdatasync -
@@ -350,7 +352,7 @@ If you're in an emergency and don't have Atheros wifi dongles then there is also
sudo apt-get install xz-utils wget ++sudo apt-get install xz-utils wget wget https://freedombone.net/downloads/v2.00/freedombone-meshclient-insecure-2.00_all-i386.img.xz wget https://freedombone.net/downloads/v2.00/freedombone-meshclient-insecure-2.00_all-i386.img.xz.sig gpg --verify freedombone-meshclient-insecure-2.00_all-i386.img.xz.sig @@ -358,21 +360,21 @@ sha256sum freedombone-meshclient-insecure-2.00_all-i386.img.xz 7cda1a52acad7d18156ea238d7eb550479a5f882ac45c8cf9b9e56077fb26be9 unxz freedombone-meshclient-insecure-2.00_all-i386.img.xz sudo dd bs=1M if=freedombone-meshclient-insecure-2.00_all-i386.img of=/dev/sdX conv=fdatasync -
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.
sudo apt-get install xz-utils wget ++sudo apt-get install xz-utils wget wget https://freedombone.net/downloads/v2.00/freedombone-mesh-2.00_beaglebone-armhf.img.xz wget https://freedombone.net/downloads/v2.00/freedombone-mesh-2.00_beaglebone-armhf.img.xz.sig gpg --verify freedombone-mesh-2.00_beaglebone-armhf.img.xz.sig @@ -394,7 +396,7 @@ sha256sum freedombone-mesh-2.00_beaglebone-armhf.img.xz daf8c82f111ae8714cffc52633156554c23d5feafabbe85cb15925e0373a3ff4 unxz freedombone-mesh-2.00_beaglebone-armhf.img.xz sudo dd bs=1M if=freedombone-mesh-2.00_beaglebone-armhf.img of=/dev/sdX conv=fdatasync -
@@ -409,19 +411,19 @@ There is still a software freedom issue with the Beaglebone Black, but it doesn'
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.
-First you will need to create an image. On a Debian based system (tested on Debian Jessie and Trisquel 7): +First you will need to create an image. On a Debian based system (tested on Debian Stretch):
sudo apt-get -y install build-essential libc6-dev-i386 wget \ ++sudo apt-get -y install build-essential libc6-dev-i386 wget \ gcc-multilib g++-multilib git python-docutils mktorrent \ vmdebootstrap xz-utils dosfstools btrfs-tools extlinux \ python-distro-info mbr qemu-user-static binfmt-support \ @@ -433,9 +435,10 @@ sha256sum freedombone-mesh-13-09-2016.tar.gz 3e279f8ed762afb682bec6bd463830087354dd2f24020f3b0de51143585ab0ed tar -xzvf freedombone-mesh-13-09-2016.tar.gz cd freedombone +git checkout stretch sudo make install freedombone-image -t i386 -v meshclient -
@@ -443,8 +446,8 @@ If you don't have Atheros or free software compatible wifi adapter then you can
freedombone-image -t i386 -v meshclient --insecure yes -+
freedombone-image -t i386 -v meshclient --insecure yes
+
@@ -456,8 +459,8 @@ List what drives are on your system with:
ls /dev/sd* -+
ls /dev/sd*
+
@@ -469,8 +472,8 @@ You can now copy the image to the USB thumb drive, replacing sdX with the
sudo dd bs=1M if=myimagefile.img of=/dev/sdX conv=fdatasync -+
sudo dd bs=1M if=myimagefile.img of=/dev/sdX conv=fdatasync
+
@@ -490,8 +493,8 @@ You can also use single board computers (SBCs) such as the BeagleBone Black to m
freedombone-image -t beaglebone -v mesh -+
freedombone-image -t beaglebone -v mesh
+
@@ -500,9 +503,9 @@ The resulting image can be copied to a microSD card, inserted into a Beaglebone
If you want to make your own specially branded version, such as for a particular event, then to change the default desktop backgrounds edit the images within img/backgrounds and to change the available avatars and desktop icons edit the images within img/avatars. Re-create disk images using the instructions shown previously.
@@ -512,9 +515,9 @@ If you need particular dconf commands to alter desktop appearance or behaWhen you first boot from the USB drive the system will create some encryption keys, assign a unique network address to the system and then reboot itself. When that's done you should see a prompt asking for a username. This username just makes it easy for others to initially find you on the mesh and will appear in the list of users.
@@ -524,9 +527,9 @@ After a minute or two if you are within wifi range and there is at least one othOn the ordinary internet the date and time of your system would be set automatically via NTP. But this is not the internet and so you will need to manually ensure that your date and time settings are correct. You might need to periodically do this if your clock drifts. It's not essential that the time on your system be highly accurate, but if it drifts too far or goes back to epoch then things could become a little confusing in regard to the order of blog posts.
@@ -536,9 +539,9 @@ On the ordinary internet the date and time of your system would be set automaticUnlike with ordinary wifi, on the mesh you don't get a signal strength icon and so it's not simple to see if you have a good connection.
@@ -562,9 +565,9 @@ When you are finished close the window and then select the Network RestartEnsure that you're within wifi range of at least one other mesh peer (could be a router or client) and then you should see that the Chat and Other Users icons appear. Select the users icon and you should see a list of users on the mesh. Select the Chat icon and once you are connected you should see the status light turn green. If after a few minutes you don't get the green status light then try closing and re-opening the Tox chat application. Select the plus button to add a friend and then copy and paste in a Tox ID from the users list.
@@ -623,9 +626,9 @@ At present video doesn't work reliably, but text and voice chat do work well.You can make files publicly available on the network simply by dragging and dropping them into the Public folder on the desktop. To view the files belonging to another user select the desktop icon called Visit a site and enter the username or Tox ID of the other user.
@@ -640,9 +643,9 @@ You can make files publicly available on the network simply by dragging and dropTo create a blog post select the Blog icon on the desktop and then use the up and down cursor keys, space bar and enter key to add a new entry. Edit the title of the entry and add your text. You can also include photos if you wish - just copy them to the CreateBlog/content/images directory and then link to them as shown.