Merge branch 'stretch' of https://github.com/bashrc/freedombone
This commit is contained in:
commit
7bb41c166c
|
@ -22,10 +22,27 @@
|
|||
| [[What the system can do]] | - | [[Disk Images]] | - | [[Building Disk Images]] | - | [[How to use it]] |
|
||||
|------------------------+---+-------------+---+----------------------+---+---------------|
|
||||
|
||||
#+begin_quote
|
||||
"/I see mesh networks naturally evolving to become the dominant form of network over the next few decades, because it’s the most practical solution to a number of problems that will have to be solved in order to build the VR web as well as to connect the entire world to the internet. Centralized networks are only possible in highly developed countries with existing infrastructures like power and telephone grids, as well as roads. You can’t build a tower where you don’t have either power or access. For vast areas of the world, mesh networks will be the only feasible solution./" -- Valkyrie Ice
|
||||
#+end_quote
|
||||
|
||||
The Freedombone Mesh is a wireless solution for autonomous communication that can be rapidly deployed in temporary, emergency or post-disaster situations where internet access is unavailable or compromised.
|
||||
|
||||
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.
|
||||
|
||||
The Freedombone mesh roughly follows MondoNet's ten social specifications:
|
||||
|
||||
- *Decentralized*: The network should not be operated, maintained, or in any way reliant upon a single or minimally differentiated set of entities or technologies. No individual, entity or group should be central to the network to the extent that their absence would measurably impact its functionality or scope. Network participation should not require access to fixed, physical infrastructure of any sort.
|
||||
- *Universally Accessible*: The requisite technology and expertise required to participate in the network should be available at minimal cost and effort to every human being on the planet. Furthermore, all users should be able to extend the network’s content and functionality to suit their own needs, or those of others. No aspect of the network’s functioning should be reliant upon proprietary technologies, information or capital.
|
||||
- *Censor-proof*: The network should be resistant to both regulatory and technical attempts to limit the nature of the information shared, restrict usage by given individuals or communities, or render the network, or any portion of it, inoperable or inaccessible.
|
||||
- *Surveillance-proof*: The network should enable users to choose exactly what information they share with whom, and to participate anonymously if they so desire. Users should only have access to information if they are the designated recipients, or if it has been published openly.
|
||||
- *Secure*: The network should be organized in a way that minimizes the risk of malicious attacks or engineering failure. Information exchanged on the network should meet or exceed the delivery rate and reliability of information exchanged via the Internet.
|
||||
- *Scalable*: The network should be organized with the expectation that its scale could reach or even exceed that of today’s Internet. Special care should be taken to address to the challenge of maintaining efficiency without the presence of a centralized backbone.
|
||||
- *Permanent*: The network’s density and redundancy should be great enough that, despite its ad hoc nature, it will persistently operate on a broad scale, and be available in full to any user within range of another peer.
|
||||
- *Fast (enough)*: The network should always achieve whatever speed is required for a “bottom line” level of social and cultural participation. At present, we assert that the network’s data transfer rate should, at a minimum, be enough for voice-over-IP (VoIP) communications, and low-bitrate streaming video.
|
||||
- *Independent*: While the network will have the capacity to exchange information with Internet users and nodes, it should be able to operate independently, as well. A large-scale failure or closure of Internet infrastructure and content should have minimal effect on the network’s operations.
|
||||
- *Evolvable*: The network should be built with future development in mind. The platform should be flexible enough to support technologies, protocols and modes of usage that have not yet been developed.
|
||||
|
||||
* What the system can do
|
||||
|
||||
- Discovery of other users on the network
|
||||
|
@ -58,6 +75,8 @@ Or on Debian based systems:
|
|||
#+begin_src bash
|
||||
sudo apt-get install gnome-multi-writer
|
||||
#+end_src
|
||||
|
||||
The MultiWriter tool is also available within mesh client images, so that you can use mesh systems to create more copies of the same system.
|
||||
** Client images
|
||||
|
||||
#+BEGIN_CENTER
|
||||
|
|
|
@ -442,16 +442,17 @@ function create_searx_config {
|
|||
echo ' disabled: True' >> $settings_file
|
||||
echo '' >> $settings_file
|
||||
echo ' - name : gitlab' >> $settings_file
|
||||
echo ' engine : xpath' >> $settings_file
|
||||
echo ' engine : json_engine' >> $settings_file
|
||||
echo ' paging : True' >> $settings_file
|
||||
echo ' search_url : https://gitlab.com/search?page={pageno}&search={query}' >> $settings_file
|
||||
echo ' url_xpath : //li[@class="project-row"]//a[@class="project"]/@href' >> $settings_file
|
||||
echo ' title_xpath : //li[@class="project-row"]//span[contains(@class, "project-full-name")]' >> $settings_file
|
||||
echo ' content_xpath : //li[@class="project-row"]//div[@class="description"]/p' >> $settings_file
|
||||
echo ' search_url : https://gitlab.com/api/v4/projects?search={query}&page={pageno}' >> $settings_file
|
||||
echo ' url_query : web_url' >> $settings_file
|
||||
echo ' title_query : name_with_namespace' >> $settings_file
|
||||
echo ' content_query : description' >> $settings_file
|
||||
echo ' page_size : 20' >> $settings_file
|
||||
echo ' categories : code' >> $settings_file
|
||||
echo ' shortcut : gl' >> $settings_file
|
||||
echo ' timeout : 5.0' >> $settings_file
|
||||
echo ' disabled : True' >> $settings_file
|
||||
echo ' timeout : 10.0' >> $settings_file
|
||||
echo ' disabled : False' >> $settings_file
|
||||
echo '' >> $settings_file
|
||||
echo ' - name : github' >> $settings_file
|
||||
echo ' engine : github' >> $settings_file
|
||||
|
|
|
@ -565,6 +565,10 @@ PATCHWORK_REPO="https://github.com/ssbc/patchwork"
|
|||
PATCHWORK_COMMIT='60111a9e3385d65be0d17aa0d15fd20e5fb311ce'
|
||||
|
||||
install_patchwork() {
|
||||
if [[ $VARIANT != "meshclient" ]]; then
|
||||
return
|
||||
fi
|
||||
|
||||
get_npm_arch
|
||||
|
||||
git clone $PATCHWORK_REPO $rootdir/etc/patchwork
|
||||
|
@ -821,6 +825,9 @@ function configure_user_interface {
|
|||
# android adb to allow phones to be connected and for example transfer photos/documents
|
||||
chroot "$rootdir" apt-get -yq install android-tools-adb
|
||||
|
||||
# USB cloning tool
|
||||
chroot "$rootdir" apt-get -yq install gnome-multi-writer
|
||||
|
||||
# Produce a text file on the desktop listing users on the mesh
|
||||
cat <<EOF > $rootdir/usr/bin/list-tox-users
|
||||
#!/bin/bash
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2017-09-18 Mon 11:40 -->
|
||||
<!-- 2017-09-23 Sat 21:46 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title></title>
|
||||
<title>‎</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
<meta name="author" content="Bob Mottram" />
|
||||
<meta name="description" content="Turn the Beaglebone Black into a personal communications server"
|
||||
|
@ -274,17 +274,23 @@ for the JavaScript code in this tag.
|
|||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="org-left"><a href="#org81ddb36">What the system can do</a></td>
|
||||
<td class="org-left"><a href="#org802af98">What the system can do</a></td>
|
||||
<td class="org-left">-</td>
|
||||
<td class="org-left"><a href="#orgdc7c539">Disk Images</a></td>
|
||||
<td class="org-left"><a href="#org38eda48">Disk Images</a></td>
|
||||
<td class="org-left">-</td>
|
||||
<td class="org-left"><a href="#orgef64a0e">Building Disk Images</a></td>
|
||||
<td class="org-left"><a href="#org0c3a295">Building Disk Images</a></td>
|
||||
<td class="org-left">-</td>
|
||||
<td class="org-left"><a href="#orgf01387f">How to use it</a></td>
|
||||
<td class="org-left"><a href="#org5f6418e">How to use it</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<blockquote>
|
||||
<p>
|
||||
"<i>I see mesh networks naturally evolving to become the dominant form of network over the next few decades, because it’s the most practical solution to a number of problems that will have to be solved in order to build the VR web as well as to connect the entire world to the internet. Centralized networks are only possible in highly developed countries with existing infrastructures like power and telephone grids, as well as roads. You can’t build a tower where you don’t have either power or access. For vast areas of the world, mesh networks will be the only feasible solution.</i>" – Valkyrie Ice
|
||||
</p>
|
||||
</blockquote>
|
||||
|
||||
<p>
|
||||
The Freedombone Mesh is a wireless solution for autonomous communication that can be rapidly deployed in temporary, emergency or post-disaster situations where internet access is unavailable or compromised.
|
||||
</p>
|
||||
|
@ -293,9 +299,26 @@ 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.
|
||||
</p>
|
||||
|
||||
<div id="outline-container-org81ddb36" class="outline-2">
|
||||
<h2 id="org81ddb36">What the system can do</h2>
|
||||
<div class="outline-text-2" id="text-org81ddb36">
|
||||
<p>
|
||||
The Freedombone mesh roughly follows MondoNet's ten social specifications:
|
||||
</p>
|
||||
|
||||
<ul class="org-ul">
|
||||
<li><b>Decentralized</b>: The network should not be operated, maintained, or in any way reliant upon a single or minimally differentiated set of entities or technologies. No individual, entity or group should be central to the network to the extent that their absence would measurably impact its functionality or scope. Network participation should not require access to fixed, physical infrastructure of any sort.</li>
|
||||
<li><b>Universally Accessible</b>: The requisite technology and expertise required to participate in the network should be available at minimal cost and effort to every human being on the planet. Furthermore, all users should be able to extend the network’s content and functionality to suit their own needs, or those of others. No aspect of the network’s functioning should be reliant upon proprietary technologies, information or capital.</li>
|
||||
<li><b>Censor-proof</b>: The network should be resistant to both regulatory and technical attempts to limit the nature of the information shared, restrict usage by given individuals or communities, or render the network, or any portion of it, inoperable or inaccessible.</li>
|
||||
<li><b>Surveillance-proof</b>: The network should enable users to choose exactly what information they share with whom, and to participate anonymously if they so desire. Users should only have access to information if they are the designated recipients, or if it has been published openly.</li>
|
||||
<li><b>Secure</b>: The network should be organized in a way that minimizes the risk of malicious attacks or engineering failure. Information exchanged on the network should meet or exceed the delivery rate and reliability of information exchanged via the Internet.</li>
|
||||
<li><b>Scalable</b>: The network should be organized with the expectation that its scale could reach or even exceed that of today’s Internet. Special care should be taken to address to the challenge of maintaining efficiency without the presence of a centralized backbone.</li>
|
||||
<li><b>Permanent</b>: The network’s density and redundancy should be great enough that, despite its ad hoc nature, it will persistently operate on a broad scale, and be available in full to any user within range of another peer.</li>
|
||||
<li><b>Fast (enough)</b>: The network should always achieve whatever speed is required for a “bottom line” level of social and cultural participation. At present, we assert that the network’s data transfer rate should, at a minimum, be enough for voice-over-IP (VoIP) communications, and low-bitrate streaming video.</li>
|
||||
<li><b>Independent</b>: While the network will have the capacity to exchange information with Internet users and nodes, it should be able to operate independently, as well. A large-scale failure or closure of Internet infrastructure and content should have minimal effect on the network’s operations.</li>
|
||||
<li><b>Evolvable</b>: The network should be built with future development in mind. The platform should be flexible enough to support technologies, protocols and modes of usage that have not yet been developed.</li>
|
||||
</ul>
|
||||
|
||||
<div id="outline-container-org802af98" class="outline-2">
|
||||
<h2 id="org802af98">What the system can do</h2>
|
||||
<div class="outline-text-2" id="text-org802af98">
|
||||
<ul class="org-ul">
|
||||
<li>Discovery of other users on the network</li>
|
||||
<li>Text based chat, one-to-one and in groups</li>
|
||||
|
@ -317,13 +340,13 @@ This system should be quite scalable. Both qTox and IPFS are based upon distribu
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdc7c539" class="outline-2">
|
||||
<h2 id="orgdc7c539">Disk Images</h2>
|
||||
<div class="outline-text-2" id="text-orgdc7c539">
|
||||
<div id="outline-container-org38eda48" class="outline-2">
|
||||
<h2 id="org38eda48">Disk Images</h2>
|
||||
<div class="outline-text-2" id="text-org38eda48">
|
||||
</div>
|
||||
<div id="outline-container-org41eb788" class="outline-3">
|
||||
<h3 id="org41eb788">Writing many images quickly</h3>
|
||||
<div class="outline-text-3" id="text-org41eb788">
|
||||
<div id="outline-container-org2291a28" class="outline-3">
|
||||
<h3 id="org2291a28">Writing many images quickly</h3>
|
||||
<div class="outline-text-3" id="text-org2291a28">
|
||||
<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>.
|
||||
</p>
|
||||
|
@ -333,8 +356,8 @@ For example on Arch/Parabola:
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre><code class="src src-bash">sudo pacman -S gnome-multi-writer
|
||||
</code></pre>
|
||||
<pre class="src src-bash">sudo pacman -S gnome-multi-writer
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
|
@ -342,14 +365,18 @@ Or on Debian based systems:
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre><code class="src src-bash">sudo apt-get install gnome-multi-writer
|
||||
</code></pre>
|
||||
<pre class="src src-bash">sudo apt-get install gnome-multi-writer
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
The MultiWriter tool is also available within mesh client images, so that you can use mesh systems to create more copies of the same system.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgb7d45bb" class="outline-3">
|
||||
<h3 id="orgb7d45bb">Client images</h3>
|
||||
<div class="outline-text-3" id="text-orgb7d45bb">
|
||||
<div id="outline-container-orgd0546b8" class="outline-3">
|
||||
<h3 id="orgd0546b8">Client images</h3>
|
||||
<div class="outline-text-3" id="text-orgd0546b8">
|
||||
<div class="org-center">
|
||||
|
||||
<div class="figure">
|
||||
|
@ -363,7 +390,7 @@ Or on Debian based systems:
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre><code class="src src-bash">sudo apt-get install xz-utils wget
|
||||
<pre class="src src-bash">sudo apt-get install xz-utils wget
|
||||
wget https://freedombone.net/downloads/current/freedombone-meshclient-i386.img.xz
|
||||
wget https://freedombone.net/downloads/current/freedombone-meshclient-i386.img.xz.sig
|
||||
gpg --verify freedombone-meshclient-i386.img.xz.sig
|
||||
|
@ -372,7 +399,7 @@ f7e261d369d6f0ccf650dbbed18227bfe5ec427ae0b97f56e1f1e202afc6d0b3
|
|||
unxz freedombone-meshclient-i386.img.xz
|
||||
sudo dd <span class="org-variable-name">if</span>=/dev/zero <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">count</span>=8
|
||||
sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">if</span>=freedombone-meshclient-i386.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync
|
||||
</code></pre>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
|
@ -384,7 +411,7 @@ If you're in an emergency and don't have Atheros wifi dongles then there is also
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre><code class="src src-bash">sudo apt-get install xz-utils wget
|
||||
<pre class="src src-bash">sudo apt-get install xz-utils wget
|
||||
wget https://freedombone.net/downloads/current/freedombone-meshclient-insecure-i386.img.xz
|
||||
wget https://freedombone.net/downloads/current/freedombone-meshclient-insecure-i386.img.xz.sig
|
||||
gpg --verify freedombone-meshclient-insecure-i386.img.xz.sig
|
||||
|
@ -393,21 +420,21 @@ sha256sum freedombone-meshclient-insecure-i386.img.xz
|
|||
unxz freedombone-meshclient-insecure-i386.img.xz
|
||||
sudo dd <span class="org-variable-name">if</span>=/dev/zero <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">count</span>=8
|
||||
sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">if</span>=freedombone-meshclient-insecure-i386.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync
|
||||
</code></pre>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb012fc0" class="outline-3">
|
||||
<h3 id="orgb012fc0">Router images</h3>
|
||||
<div class="outline-text-3" id="text-orgb012fc0">
|
||||
<div id="outline-container-orgefe9dc5" class="outline-3">
|
||||
<h3 id="orgefe9dc5">Router images</h3>
|
||||
<div class="outline-text-3" id="text-orgefe9dc5">
|
||||
<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.
|
||||
</p>
|
||||
</div>
|
||||
<div id="outline-container-org86225c6" class="outline-4">
|
||||
<h4 id="org86225c6">Beaglebone Black</h4>
|
||||
<div class="outline-text-4" id="text-org86225c6">
|
||||
<div id="outline-container-org2f4e6c1" class="outline-4">
|
||||
<h4 id="org2f4e6c1">Beaglebone Black</h4>
|
||||
<div class="outline-text-4" id="text-org2f4e6c1">
|
||||
<div class="org-center">
|
||||
|
||||
<div class="figure">
|
||||
|
@ -421,7 +448,7 @@ The above picture shows a Beaglebone Black with the image copied onto a microSD
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre><code class="src src-bash">sudo apt-get install xz-utils wget
|
||||
<pre class="src src-bash">sudo apt-get install xz-utils wget
|
||||
wget https://freedombone.net/downloads/v3/freedombone-mesh-3_beaglebone-armhf.img.xz
|
||||
wget https://freedombone.net/downloads/v3/freedombone-mesh-3_beaglebone-armhf.img.xz.sig
|
||||
gpg --verify freedombone-mesh-3_beaglebone-armhf.img.xz.sig
|
||||
|
@ -429,7 +456,7 @@ sha256sum freedombone-mesh-3_beaglebone-armhf.img.xz
|
|||
ab783ea807da1144bd076f7b43e54b5f4376ecf1ea1f86f56ac76c3469325802
|
||||
unxz freedombone-mesh-3_beaglebone-armhf.img.xz
|
||||
sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">if</span>=freedombone-mesh-3_beaglebone-armhf.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync
|
||||
</code></pre>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
|
@ -444,9 +471,9 @@ There is still a software freedom issue with the Beaglebone Black, but it doesn'
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgef64a0e" class="outline-2">
|
||||
<h2 id="orgef64a0e">Building Disk Images</h2>
|
||||
<div class="outline-text-2" id="text-orgef64a0e">
|
||||
<div id="outline-container-org0c3a295" class="outline-2">
|
||||
<h2 id="org0c3a295">Building Disk Images</h2>
|
||||
<div class="outline-text-2" id="text-org0c3a295">
|
||||
<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.
|
||||
</p>
|
||||
|
@ -456,7 +483,7 @@ First you will need to create an image. On a Debian based system (tested on Debi
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre><code class="src src-bash">sudo apt-get -y install git wget build-essential
|
||||
<pre 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/freedombone-3.tar.gz.sig
|
||||
gpg --verify freedombone-3.tar.gz.sig
|
||||
|
@ -468,7 +495,7 @@ git checkout stretch
|
|||
sudo make install
|
||||
freedombone-image --setup debian
|
||||
freedombone-image -t i386 -v meshclient
|
||||
</code></pre>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
|
@ -476,8 +503,8 @@ If you don't have Atheros or free software compatible wifi adapter then you can
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre><code class="src src-bash">freedombone-image -t i386 -v meshclient --insecure yes
|
||||
</code></pre>
|
||||
<pre class="src src-bash">freedombone-image -t i386 -v meshclient --insecure yes
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
|
@ -489,8 +516,8 @@ List what drives are on your system with:
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre><code class="src src-bash">ls /dev/sd*
|
||||
</code></pre>
|
||||
<pre class="src src-bash">ls /dev/sd*
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
|
@ -502,9 +529,9 @@ You can now copy the image to the USB thumb drive, replacing <b>sdX</b> with the
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre><code class="src src-bash">sudo dd <span class="org-variable-name">if</span>=/dev/zero <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">count</span>=8
|
||||
<pre class="src src-bash">sudo dd <span class="org-variable-name">if</span>=/dev/zero <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">count</span>=8
|
||||
sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">if</span>=myimagefile.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync
|
||||
</code></pre>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
|
@ -524,8 +551,8 @@ You can also use single board computers (SBCs) such as the BeagleBone Black to m
|
|||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre><code class="src src-bash">freedombone-image -t beaglebone -v mesh
|
||||
</code></pre>
|
||||
<pre class="src src-bash">freedombone-image -t beaglebone -v mesh
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
|
@ -534,9 +561,9 @@ The resulting image can be copied to a microSD card, inserted into a Beaglebone
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6358707" class="outline-2">
|
||||
<h2 id="org6358707">Customisation</h2>
|
||||
<div class="outline-text-2" id="text-org6358707">
|
||||
<div id="outline-container-orgdbfa9a8" class="outline-2">
|
||||
<h2 id="orgdbfa9a8">Customisation</h2>
|
||||
<div class="outline-text-2" id="text-orgdbfa9a8">
|
||||
<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.
|
||||
</p>
|
||||
|
@ -546,9 +573,9 @@ If you need particular <i>dconf</i> commands to alter desktop appearance or beha
|
|||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgf01387f" class="outline-2">
|
||||
<h2 id="orgf01387f">How to use it</h2>
|
||||
<div class="outline-text-2" id="text-orgf01387f">
|
||||
<div id="outline-container-org5f6418e" class="outline-2">
|
||||
<h2 id="org5f6418e">How to use it</h2>
|
||||
<div class="outline-text-2" id="text-org5f6418e">
|
||||
<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.
|
||||
</p>
|
||||
|
@ -558,9 +585,9 @@ After a minute or two if you are within wifi range and there is at least one oth
|
|||
</p>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5ee0eb2" class="outline-3">
|
||||
<h3 id="org5ee0eb2">Boot trouble</h3>
|
||||
<div class="outline-text-3" id="text-org5ee0eb2">
|
||||
<div id="outline-container-org6f259f7" class="outline-3">
|
||||
<h3 id="org6f259f7">Boot trouble</h3>
|
||||
<div class="outline-text-3" id="text-org6f259f7">
|
||||
<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.
|
||||
</p>
|
||||
|
@ -570,9 +597,9 @@ After the system has booted successfully the problem should resolve itself on su
|
|||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org57403bb" class="outline-3">
|
||||
<h3 id="org57403bb">Set the Date</h3>
|
||||
<div class="outline-text-3" id="text-org57403bb">
|
||||
<div id="outline-container-org32ab229" class="outline-3">
|
||||
<h3 id="org32ab229">Set the Date</h3>
|
||||
<div class="outline-text-3" id="text-org32ab229">
|
||||
<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.
|
||||
</p>
|
||||
|
@ -582,9 +609,9 @@ On the ordinary internet the date and time of your system would be set automatic
|
|||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orge4196db" class="outline-3">
|
||||
<h3 id="orge4196db">Check network status</h3>
|
||||
<div class="outline-text-3" id="text-orge4196db">
|
||||
<div id="outline-container-org0a0c31f" class="outline-3">
|
||||
<h3 id="org0a0c31f">Check network status</h3>
|
||||
<div class="outline-text-3" id="text-org0a0c31f">
|
||||
<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.
|
||||
</p>
|
||||
|
@ -608,9 +635,9 @@ When you are finished close the window and then select the <i>Network Restart</i
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org07b0383" class="outline-3">
|
||||
<h3 id="org07b0383">Chat System</h3>
|
||||
<div class="outline-text-3" id="text-org07b0383">
|
||||
<div id="outline-container-org334d737" class="outline-3">
|
||||
<h3 id="org334d737">Chat System</h3>
|
||||
<div class="outline-text-3" id="text-org334d737">
|
||||
<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.
|
||||
</p>
|
||||
|
@ -669,9 +696,9 @@ At present video doesn't work reliably, but text and voice chat do work well.
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org56b3e5d" class="outline-3">
|
||||
<h3 id="org56b3e5d">Social Network</h3>
|
||||
<div class="outline-text-3" id="text-org56b3e5d">
|
||||
<div id="outline-container-org2195683" class="outline-3">
|
||||
<h3 id="org2195683">Social Network</h3>
|
||||
<div class="outline-text-3" id="text-org2195683">
|
||||
<p>
|
||||
Patchwork is available as a social networking system for the mesh. Like all social network systems it has a stream of posts and you can follow or unfollow other users. You can also send private messages to other users with end-to-end encryption.
|
||||
</p>
|
||||
|
@ -706,9 +733,9 @@ The Secure Scuttlebutt protocol which Patchwork is based upon is intended to be
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc281f16" class="outline-3">
|
||||
<h3 id="orgc281f16">Sharing Files</h3>
|
||||
<div class="outline-text-3" id="text-orgc281f16">
|
||||
<div id="outline-container-org41de3cc" class="outline-3">
|
||||
<h3 id="org41de3cc">Sharing Files</h3>
|
||||
<div class="outline-text-3" id="text-org41de3cc">
|
||||
<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.
|
||||
</p>
|
||||
|
@ -723,9 +750,9 @@ You can make files publicly available on the network simply by dragging and drop
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org12f7a3e" class="outline-3">
|
||||
<h3 id="org12f7a3e">Blogging</h3>
|
||||
<div class="outline-text-3" id="text-org12f7a3e">
|
||||
<div id="outline-container-org534896d" class="outline-3">
|
||||
<h3 id="org534896d">Blogging</h3>
|
||||
<div class="outline-text-3" id="text-org534896d">
|
||||
<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.
|
||||
</p>
|
||||
|
|
Loading…
Reference in New Issue