List social network as a mesh capability

This commit is contained in:
Bob Mottram 2017-09-17 21:11:26 +01:00
parent 46790f951b
commit 717846ec5c
2 changed files with 63 additions and 61 deletions
doc/EN
website/EN

View File

@ -33,12 +33,13 @@ Mesh networks are useful as a quick way to make a fully decentralised communicat
- Voice chat (VoIP)
- Private and public sharing of files
- Blogging
- Social network stream. Follow/unfollow other peers
- No network administration required
- No servers, internet connection or cabling is needed.
- Works from bootable USB drives or microSD drives.
- No servers, internet connection or cabling is needed
- Works from bootable USB drives or microSD drives
- Data is mesh routed between systems
- Private communications is end-to-end secured and forward secret.
- Publicly shared data is /content addressable/.
- Private communications is end-to-end secured and forward secret
- Publicly shared data is /content addressable/
This system should be quite scalable. Both qTox and IPFS are based upon distributed hash tables (DHT) so that each peer does not need to store the full index of data for the entire network. Caching or pinning of IPFS data and its content addressability means that if a file or blog becomes popular then performance should improve as the number of downloads increases, which is the opposite of the client/server paradigm.

View File

@ -3,7 +3,7 @@
"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-17 Sun 21:04 -->
<!-- 2017-09-17 Sun 21:11 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title></title>
@ -274,13 +274,13 @@ for the JavaScript code in this tag.
</colgroup>
<tbody>
<tr>
<td class="org-left"><a href="#org5b8ad9d">What the system can do</a></td>
<td class="org-left"><a href="#orgbd9f906">What the system can do</a></td>
<td class="org-left">-</td>
<td class="org-left"><a href="#orgb0c31bc">Disk Images</a></td>
<td class="org-left"><a href="#orgd8571b4">Disk Images</a></td>
<td class="org-left">-</td>
<td class="org-left"><a href="#orgd14a53a">Building Disk Images</a></td>
<td class="org-left"><a href="#org0f6afd5">Building Disk Images</a></td>
<td class="org-left">-</td>
<td class="org-left"><a href="#orgc64234b">How to use it</a></td>
<td class="org-left"><a href="#org4c74195">How to use it</a></td>
</tr>
</tbody>
</table>
@ -293,21 +293,22 @@ 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-org5b8ad9d" class="outline-2">
<h2 id="org5b8ad9d">What the system can do</h2>
<div class="outline-text-2" id="text-org5b8ad9d">
<div id="outline-container-orgbd9f906" class="outline-2">
<h2 id="orgbd9f906">What the system can do</h2>
<div class="outline-text-2" id="text-orgbd9f906">
<ul class="org-ul">
<li>Discovery of other users on the network</li>
<li>Text based chat, one-to-one and in groups</li>
<li>Voice chat (VoIP)</li>
<li>Private and public sharing of files</li>
<li>Blogging</li>
<li>Social network stream. Follow/unfollow other peers</li>
<li>No network administration required</li>
<li>No servers, internet connection or cabling is needed.</li>
<li>Works from bootable USB drives or microSD drives.</li>
<li>No servers, internet connection or cabling is needed</li>
<li>Works from bootable USB drives or microSD drives</li>
<li>Data is mesh routed between systems</li>
<li>Private communications is end-to-end secured and forward secret.</li>
<li>Publicly shared data is <i>content addressable</i>.</li>
<li>Private communications is end-to-end secured and forward secret</li>
<li>Publicly shared data is <i>content addressable</i></li>
</ul>
<p>
@ -316,13 +317,13 @@ This system should be quite scalable. Both qTox and IPFS are based upon distribu
</div>
</div>
<div id="outline-container-orgb0c31bc" class="outline-2">
<h2 id="orgb0c31bc">Disk Images</h2>
<div class="outline-text-2" id="text-orgb0c31bc">
<div id="outline-container-orgd8571b4" class="outline-2">
<h2 id="orgd8571b4">Disk Images</h2>
<div class="outline-text-2" id="text-orgd8571b4">
</div>
<div id="outline-container-orga0df2c1" class="outline-3">
<h3 id="orga0df2c1">Writing many images quickly</h3>
<div class="outline-text-3" id="text-orga0df2c1">
<div id="outline-container-org6b50551" class="outline-3">
<h3 id="org6b50551">Writing many images quickly</h3>
<div class="outline-text-3" id="text-org6b50551">
<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>
@ -346,9 +347,9 @@ Or on Debian based systems:
</div>
</div>
</div>
<div id="outline-container-org06fc865" class="outline-3">
<h3 id="org06fc865">Client images</h3>
<div class="outline-text-3" id="text-org06fc865">
<div id="outline-container-orge6ffa5e" class="outline-3">
<h3 id="orge6ffa5e">Client images</h3>
<div class="outline-text-3" id="text-orge6ffa5e">
<div class="org-center">
<div class="figure">
@ -397,16 +398,16 @@ sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-n
</div>
</div>
<div id="outline-container-org7ab5db3" class="outline-3">
<h3 id="org7ab5db3">Router images</h3>
<div class="outline-text-3" id="text-org7ab5db3">
<div id="outline-container-org92f0f96" class="outline-3">
<h3 id="org92f0f96">Router images</h3>
<div class="outline-text-3" id="text-org92f0f96">
<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-org7da3338" class="outline-4">
<h4 id="org7da3338">Beaglebone Black</h4>
<div class="outline-text-4" id="text-org7da3338">
<div id="outline-container-org79cc359" class="outline-4">
<h4 id="org79cc359">Beaglebone Black</h4>
<div class="outline-text-4" id="text-org79cc359">
<div class="org-center">
<div class="figure">
@ -443,9 +444,9 @@ There is still a software freedom issue with the Beaglebone Black, but it doesn'
</div>
</div>
<div id="outline-container-orgd14a53a" class="outline-2">
<h2 id="orgd14a53a">Building Disk Images</h2>
<div class="outline-text-2" id="text-orgd14a53a">
<div id="outline-container-org0f6afd5" class="outline-2">
<h2 id="org0f6afd5">Building Disk Images</h2>
<div class="outline-text-2" id="text-org0f6afd5">
<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>
@ -533,9 +534,9 @@ The resulting image can be copied to a microSD card, inserted into a Beaglebone
</div>
</div>
<div id="outline-container-orga7f35d3" class="outline-2">
<h2 id="orga7f35d3">Customisation</h2>
<div class="outline-text-2" id="text-orga7f35d3">
<div id="outline-container-org08a65b6" class="outline-2">
<h2 id="org08a65b6">Customisation</h2>
<div class="outline-text-2" id="text-org08a65b6">
<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>
@ -545,9 +546,9 @@ If you need particular <i>dconf</i> commands to alter desktop appearance or beha
</p>
</div>
</div>
<div id="outline-container-orgc64234b" class="outline-2">
<h2 id="orgc64234b">How to use it</h2>
<div class="outline-text-2" id="text-orgc64234b">
<div id="outline-container-org4c74195" class="outline-2">
<h2 id="org4c74195">How to use it</h2>
<div class="outline-text-2" id="text-org4c74195">
<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>
@ -557,9 +558,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-orgd1e0849" class="outline-3">
<h3 id="orgd1e0849">Boot trouble</h3>
<div class="outline-text-3" id="text-orgd1e0849">
<div id="outline-container-orgfb9ab03" class="outline-3">
<h3 id="orgfb9ab03">Boot trouble</h3>
<div class="outline-text-3" id="text-orgfb9ab03">
<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>
@ -569,9 +570,9 @@ After the system has booted successfully the problem should resolve itself on su
</p>
</div>
</div>
<div id="outline-container-org5bdaa4d" class="outline-3">
<h3 id="org5bdaa4d">Set the Date</h3>
<div class="outline-text-3" id="text-org5bdaa4d">
<div id="outline-container-org9c7ab6a" class="outline-3">
<h3 id="org9c7ab6a">Set the Date</h3>
<div class="outline-text-3" id="text-org9c7ab6a">
<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>
@ -581,9 +582,9 @@ On the ordinary internet the date and time of your system would be set automatic
</p>
</div>
</div>
<div id="outline-container-org22eba27" class="outline-3">
<h3 id="org22eba27">Check network status</h3>
<div class="outline-text-3" id="text-org22eba27">
<div id="outline-container-orgcc5239b" class="outline-3">
<h3 id="orgcc5239b">Check network status</h3>
<div class="outline-text-3" id="text-orgcc5239b">
<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>
@ -607,9 +608,9 @@ When you are finished close the window and then select the <i>Network Restart</i
</div>
</div>
<div id="outline-container-org96bd2e7" class="outline-3">
<h3 id="org96bd2e7">Chat System</h3>
<div class="outline-text-3" id="text-org96bd2e7">
<div id="outline-container-org83980ec" class="outline-3">
<h3 id="org83980ec">Chat System</h3>
<div class="outline-text-3" id="text-org83980ec">
<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>
@ -668,9 +669,9 @@ At present video doesn't work reliably, but text and voice chat do work well.
</div>
</div>
<div id="outline-container-org7ad938e" class="outline-3">
<h3 id="org7ad938e">Social Network</h3>
<div class="outline-text-3" id="text-org7ad938e">
<div id="outline-container-org01a2a34" class="outline-3">
<h3 id="org01a2a34">Social Network</h3>
<div class="outline-text-3" id="text-org01a2a34">
<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>
@ -705,9 +706,9 @@ The Secure Scuttlebutt protocol which Patchwork is based upon is intended to be
</div>
</div>
<div id="outline-container-org434316e" class="outline-3">
<h3 id="org434316e">Sharing Files</h3>
<div class="outline-text-3" id="text-org434316e">
<div id="outline-container-org077918f" class="outline-3">
<h3 id="org077918f">Sharing Files</h3>
<div class="outline-text-3" id="text-org077918f">
<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>
@ -722,9 +723,9 @@ You can make files publicly available on the network simply by dragging and drop
</div>
</div>
<div id="outline-container-org95bbdc4" class="outline-3">
<h3 id="org95bbdc4">Blogging</h3>
<div class="outline-text-3" id="text-org95bbdc4">
<div id="outline-container-org3384a69" class="outline-3">
<h3 id="org3384a69">Blogging</h3>
<div class="outline-text-3" id="text-org3384a69">
<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>