Still need build-essential

This commit is contained in:
Bob Mottram 2017-07-04 10:15:10 +01:00
parent abcd167191
commit f4a75d934a
2 changed files with 52 additions and 52 deletions

View File

@ -121,7 +121,7 @@ It's better not to trust images downloaded from random places on the interwebs.
First you will need to create an image. On a Debian based system (tested on Debian Stretch): First you will need to create an image. On a Debian based system (tested on Debian Stretch):
#+begin_src bash #+begin_src bash
sudo apt-get -y install git wget sudo apt-get -y install git wget build-essential
wget https://freedombone.net/downloads/v3/freedombone-3.tar.gz wget https://freedombone.net/downloads/v3/freedombone-3.tar.gz
wget https://freedombone.net/downloads/freedombone-3.tar.gz.sig wget https://freedombone.net/downloads/freedombone-3.tar.gz.sig
gpg --verify freedombone-3.tar.gz.sig gpg --verify freedombone-3.tar.gz.sig

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2017-07-04 Tue 10:09 --> <!-- 2017-07-04 Tue 10:14 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title></title> <title></title>
@ -274,13 +274,13 @@ for the JavaScript code in this tag.
</colgroup> </colgroup>
<tbody> <tbody>
<tr> <tr>
<td class="org-left"><a href="#org58d57d9">What the system can do</a></td> <td class="org-left"><a href="#org43720c8">What the system can do</a></td>
<td class="org-left">-</td> <td class="org-left">-</td>
<td class="org-left"><a href="#orgfd9bd98">Disk Images</a></td> <td class="org-left"><a href="#orgf236d1b">Disk Images</a></td>
<td class="org-left">-</td> <td class="org-left">-</td>
<td class="org-left"><a href="#org211c8a0">Building Disk Images</a></td> <td class="org-left"><a href="#org3279497">Building Disk Images</a></td>
<td class="org-left">-</td> <td class="org-left">-</td>
<td class="org-left"><a href="#org6eec372">How to use it</a></td> <td class="org-left"><a href="#org52b6ecb">How to use it</a></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
@ -293,9 +293,9 @@ The Freedombone Mesh is a wireless solution for autonomous communication that ca
Mesh networks are useful as a quick way to make a fully decentralised communications system which is not connected to or reliant upon the internet. Think festivals, hacker conferences, onboard ships at sea, disaster/war zones, small business internal office communications, protests, remote areas of the world, temporary "digital blackouts", scientific expeditions and off-world space colonies. The down side is that you can't access any internet content. The upside is that you can securely communicate with anyone on the local mesh. No ISPs. No payments or subscriptions beyond the cost of obtaining the hardware. Systems need to be within wifi range of each other for the mesh to be created. It can be an ultra-convenient way to do purely local communications. Mesh networks are useful as a quick way to make a fully decentralised communications system which is not connected to or reliant upon the internet. Think festivals, hacker conferences, onboard ships at sea, disaster/war zones, small business internal office communications, protests, remote areas of the world, temporary "digital blackouts", scientific expeditions and off-world space colonies. The down side is that you can't access any internet content. The upside is that you can securely communicate with anyone on the local mesh. No ISPs. No payments or subscriptions beyond the cost of obtaining the hardware. Systems need to be within wifi range of each other for the mesh to be created. It can be an ultra-convenient way to do purely local communications.
</p> </p>
<div id="outline-container-org58d57d9" class="outline-2"> <div id="outline-container-org43720c8" class="outline-2">
<h2 id="org58d57d9">What the system can do</h2> <h2 id="org43720c8">What the system can do</h2>
<div class="outline-text-2" id="text-org58d57d9"> <div class="outline-text-2" id="text-org43720c8">
<ul class="org-ul"> <ul class="org-ul">
<li>Discovery of other users on the network</li> <li>Discovery of other users on the network</li>
<li>Text based chat, one-to-one and in groups</li> <li>Text based chat, one-to-one and in groups</li>
@ -316,13 +316,13 @@ This system should be quite scalable. Both qTox and IPFS are based upon distribu
</div> </div>
</div> </div>
<div id="outline-container-orgfd9bd98" class="outline-2"> <div id="outline-container-orgf236d1b" class="outline-2">
<h2 id="orgfd9bd98">Disk Images</h2> <h2 id="orgf236d1b">Disk Images</h2>
<div class="outline-text-2" id="text-orgfd9bd98"> <div class="outline-text-2" id="text-orgf236d1b">
</div> </div>
<div id="outline-container-org9169486" class="outline-3"> <div id="outline-container-org84d3aa9" class="outline-3">
<h3 id="org9169486">Writing many images quickly</h3> <h3 id="org84d3aa9">Writing many images quickly</h3>
<div class="outline-text-3" id="text-org9169486"> <div class="outline-text-3" id="text-org84d3aa9">
<p> <p>
There may be situations where you need to write the same disk image to multiple drives at the same time in order to maximize rate of deployment. In the instructions given below the <b>dd</b> command is used for writing to the target drive, but to write to multiple drives you can use a tool such as <a href="https://wiki.gnome.org/Apps/MultiWriter">GNOME MultiWriter</a>. There may be situations where you need to write the same disk image to multiple drives at the same time in order to maximize rate of deployment. In the instructions given below the <b>dd</b> command is used for writing to the target drive, but to write to multiple drives you can use a tool such as <a href="https://wiki.gnome.org/Apps/MultiWriter">GNOME MultiWriter</a>.
</p> </p>
@ -346,9 +346,9 @@ Or on Debian based systems:
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgfb36aeb" class="outline-3"> <div id="outline-container-orga950e86" class="outline-3">
<h3 id="orgfb36aeb">Client images</h3> <h3 id="orga950e86">Client images</h3>
<div class="outline-text-3" id="text-orgfb36aeb"> <div class="outline-text-3" id="text-orga950e86">
<div class="org-center"> <div class="org-center">
<div class="figure"> <div class="figure">
@ -395,16 +395,16 @@ sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-n
</div> </div>
</div> </div>
<div id="outline-container-org01bd378" class="outline-3"> <div id="outline-container-org7a83803" class="outline-3">
<h3 id="org01bd378">Router images</h3> <h3 id="org7a83803">Router images</h3>
<div class="outline-text-3" id="text-org01bd378"> <div class="outline-text-3" id="text-org7a83803">
<p> <p>
Routers are intended to build network coverage for an area using small and low cost hardware. You can bolt them to walls or leave them on window ledges. They don't have any user interface and their only job is to haul network traffic across the mesh and to enable peers to find each other via running bootstrap nodes for Tox and IPFS. Copy the image to a microSD card and insert it into the router, plug in an Atheros wifi dongle and power on. That should be all you need to do. Routers are intended to build network coverage for an area using small and low cost hardware. You can bolt them to walls or leave them on window ledges. They don't have any user interface and their only job is to haul network traffic across the mesh and to enable peers to find each other via running bootstrap nodes for Tox and IPFS. Copy the image to a microSD card and insert it into the router, plug in an Atheros wifi dongle and power on. That should be all you need to do.
</p> </p>
</div> </div>
<div id="outline-container-org430cb4f" class="outline-4"> <div id="outline-container-orgff96209" class="outline-4">
<h4 id="org430cb4f">Beaglebone Black</h4> <h4 id="orgff96209">Beaglebone Black</h4>
<div class="outline-text-4" id="text-org430cb4f"> <div class="outline-text-4" id="text-orgff96209">
<div class="org-center"> <div class="org-center">
<div class="figure"> <div class="figure">
@ -441,9 +441,9 @@ There is still a software freedom issue with the Beaglebone Black, but it doesn'
</div> </div>
</div> </div>
<div id="outline-container-org211c8a0" class="outline-2"> <div id="outline-container-org3279497" class="outline-2">
<h2 id="org211c8a0">Building Disk Images</h2> <h2 id="org3279497">Building Disk Images</h2>
<div class="outline-text-2" id="text-org211c8a0"> <div class="outline-text-2" id="text-org3279497">
<p> <p>
It's better not to trust images downloaded from random places on the interwebs. Chances are that unless you are in the web of trust of the above GPG signatures then they don't mean very much to you. If you actually want something trustworthy then build the images from scratch. It will take some time. Here's how to do it. It's better not to trust images downloaded from random places on the interwebs. Chances are that unless you are in the web of trust of the above GPG signatures then they don't mean very much to you. If you actually want something trustworthy then build the images from scratch. It will take some time. Here's how to do it.
</p> </p>
@ -453,7 +453,7 @@ First you will need to create an image. On a Debian based system (tested on Debi
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre><code class="src src-bash">sudo apt-get -y install git wget <pre><code class="src src-bash">sudo apt-get -y install git wget build-essential
wget https://freedombone.net/downloads/v3/freedombone-3.tar.gz wget https://freedombone.net/downloads/v3/freedombone-3.tar.gz
wget https://freedombone.net/downloads/freedombone-3.tar.gz.sig wget https://freedombone.net/downloads/freedombone-3.tar.gz.sig
gpg --verify freedombone-3.tar.gz.sig gpg --verify freedombone-3.tar.gz.sig
@ -530,9 +530,9 @@ The resulting image can be copied to a microSD card, inserted into a Beaglebone
</div> </div>
</div> </div>
<div id="outline-container-org21fdea1" class="outline-2"> <div id="outline-container-org8da4b39" class="outline-2">
<h2 id="org21fdea1">Customisation</h2> <h2 id="org8da4b39">Customisation</h2>
<div class="outline-text-2" id="text-org21fdea1"> <div class="outline-text-2" id="text-org8da4b39">
<p> <p>
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 <b>img/backgrounds</b> and to change the available avatars and desktop icons edit the images within <b>img/avatars</b>. Re-create disk images using the instructions shown previously. 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 <b>img/backgrounds</b> and to change the available avatars and desktop icons edit the images within <b>img/avatars</b>. Re-create disk images using the instructions shown previously.
</p> </p>
@ -542,9 +542,9 @@ If you need particular <i>dconf</i> commands to alter desktop appearance or beha
</p> </p>
</div> </div>
</div> </div>
<div id="outline-container-org6eec372" class="outline-2"> <div id="outline-container-org52b6ecb" class="outline-2">
<h2 id="org6eec372">How to use it</h2> <h2 id="org52b6ecb">How to use it</h2>
<div class="outline-text-2" id="text-org6eec372"> <div class="outline-text-2" id="text-org52b6ecb">
<p> <p>
When 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. When 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.
</p> </p>
@ -554,9 +554,9 @@ After a minute or two if you are within wifi range and there is at least one oth
</p> </p>
</div> </div>
<div id="outline-container-orgf75203f" class="outline-3"> <div id="outline-container-org218c967" class="outline-3">
<h3 id="orgf75203f">Boot trouble</h3> <h3 id="org218c967">Boot trouble</h3>
<div class="outline-text-3" id="text-orgf75203f"> <div class="outline-text-3" id="text-org218c967">
<p> <p>
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. 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.
</p> </p>
@ -566,9 +566,9 @@ After the system has booted successfully the problem should resolve itself on su
</p> </p>
</div> </div>
</div> </div>
<div id="outline-container-orgbd6243b" class="outline-3"> <div id="outline-container-org6c9bd07" class="outline-3">
<h3 id="orgbd6243b">Set the Date</h3> <h3 id="org6c9bd07">Set the Date</h3>
<div class="outline-text-3" id="text-orgbd6243b"> <div class="outline-text-3" id="text-org6c9bd07">
<p> <p>
On 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. On 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.
</p> </p>
@ -578,9 +578,9 @@ On the ordinary internet the date and time of your system would be set automatic
</p> </p>
</div> </div>
</div> </div>
<div id="outline-container-org0dadaa3" class="outline-3"> <div id="outline-container-org351f6a2" class="outline-3">
<h3 id="org0dadaa3">Check network status</h3> <h3 id="org351f6a2">Check network status</h3>
<div class="outline-text-3" id="text-org0dadaa3"> <div class="outline-text-3" id="text-org351f6a2">
<p> <p>
Unlike 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. Unlike 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.
</p> </p>
@ -604,9 +604,9 @@ When you are finished close the window and then select the <i>Network Restart</i
</div> </div>
</div> </div>
<div id="outline-container-orga1e31ec" class="outline-3"> <div id="outline-container-org90f8f7b" class="outline-3">
<h3 id="orga1e31ec">Chat System</h3> <h3 id="org90f8f7b">Chat System</h3>
<div class="outline-text-3" id="text-orga1e31ec"> <div class="outline-text-3" id="text-org90f8f7b">
<p> <p>
Ensure 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 <i>Chat</i> and <i>Other Users</i> icons appear. Select the users icon and you should see a list of users on the mesh. Select the <i>Chat</i> 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. Ensure 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 <i>Chat</i> and <i>Other Users</i> icons appear. Select the users icon and you should see a list of users on the mesh. Select the <i>Chat</i> 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.
</p> </p>
@ -665,9 +665,9 @@ At present video doesn't work reliably, but text and voice chat do work well.
</div> </div>
</div> </div>
<div id="outline-container-orgfc175ca" class="outline-3"> <div id="outline-container-orgb0ff834" class="outline-3">
<h3 id="orgfc175ca">Sharing Files</h3> <h3 id="orgb0ff834">Sharing Files</h3>
<div class="outline-text-3" id="text-orgfc175ca"> <div class="outline-text-3" id="text-orgb0ff834">
<p> <p>
You can make files publicly available on the network simply by dragging and dropping them into the <i>Public</i> folder on the desktop. To view the files belonging to another user select the desktop icon called <i>Visit a site</i> and enter the username or Tox ID of the other user. You can make files publicly available on the network simply by dragging and dropping them into the <i>Public</i> folder on the desktop. To view the files belonging to another user select the desktop icon called <i>Visit a site</i> and enter the username or Tox ID of the other user.
</p> </p>
@ -682,9 +682,9 @@ You can make files publicly available on the network simply by dragging and drop
</div> </div>
</div> </div>
<div id="outline-container-orgcf44e86" class="outline-3"> <div id="outline-container-org9f54fb7" class="outline-3">
<h3 id="orgcf44e86">Blogging</h3> <h3 id="org9f54fb7">Blogging</h3>
<div class="outline-text-3" id="text-orgcf44e86"> <div class="outline-text-3" id="text-org9f54fb7">
<p> <p>
To create a blog post select the <i>Blog</i> 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 <b>CreateBlog/content/images</b> directory and then link to them as shown. To create a blog post select the <i>Blog</i> 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 <b>CreateBlog/content/images</b> directory and then link to them as shown.
</p> </p>