Bladeren bron

List social network as a mesh capability

Bob Mottram 7 jaren geleden
bovenliggende
commit
717846ec5c
2 gewijzigde bestanden met toevoegingen van 63 en 61 verwijderingen
  1. 5
    4
      doc/EN/mesh.org
  2. 58
    57
      website/EN/mesh.html

+ 5
- 4
doc/EN/mesh.org Bestand weergeven

33
  - Voice chat (VoIP)
33
  - Voice chat (VoIP)
34
  - Private and public sharing of files
34
  - Private and public sharing of files
35
  - Blogging
35
  - Blogging
36
+ - Social network stream. Follow/unfollow other peers
36
  - No network administration required
37
  - No network administration required
37
- - No servers, internet connection or cabling is needed.
38
- - Works from bootable USB drives or microSD drives.
38
+ - No servers, internet connection or cabling is needed
39
+ - Works from bootable USB drives or microSD drives
39
  - Data is mesh routed between systems
40
  - Data is mesh routed between systems
40
- - Private communications is end-to-end secured and forward secret.
41
- - Publicly shared data is /content addressable/.
41
+ - Private communications is end-to-end secured and forward secret
42
+ - Publicly shared data is /content addressable/
42
 
43
 
43
 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.
44
 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.
44
 
45
 

+ 58
- 57
website/EN/mesh.html Bestand weergeven

3
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
5
 <head>
5
 <head>
6
-<!-- 2017-09-17 Sun 21:04 -->
6
+<!-- 2017-09-17 Sun 21:11 -->
7
 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
7
 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
8
 <meta name="viewport" content="width=device-width, initial-scale=1" />
8
 <meta name="viewport" content="width=device-width, initial-scale=1" />
9
 <title></title>
9
 <title></title>
274
 </colgroup>
274
 </colgroup>
275
 <tbody>
275
 <tbody>
276
 <tr>
276
 <tr>
277
-<td class="org-left"><a href="#org5b8ad9d">What the system can do</a></td>
277
+<td class="org-left"><a href="#orgbd9f906">What the system can do</a></td>
278
 <td class="org-left">-</td>
278
 <td class="org-left">-</td>
279
-<td class="org-left"><a href="#orgb0c31bc">Disk Images</a></td>
279
+<td class="org-left"><a href="#orgd8571b4">Disk Images</a></td>
280
 <td class="org-left">-</td>
280
 <td class="org-left">-</td>
281
-<td class="org-left"><a href="#orgd14a53a">Building Disk Images</a></td>
281
+<td class="org-left"><a href="#org0f6afd5">Building Disk Images</a></td>
282
 <td class="org-left">-</td>
282
 <td class="org-left">-</td>
283
-<td class="org-left"><a href="#orgc64234b">How to use it</a></td>
283
+<td class="org-left"><a href="#org4c74195">How to use it</a></td>
284
 </tr>
284
 </tr>
285
 </tbody>
285
 </tbody>
286
 </table>
286
 </table>
293
 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.
293
 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.
294
 </p>
294
 </p>
295
 
295
 
296
-<div id="outline-container-org5b8ad9d" class="outline-2">
297
-<h2 id="org5b8ad9d">What the system can do</h2>
298
-<div class="outline-text-2" id="text-org5b8ad9d">
296
+<div id="outline-container-orgbd9f906" class="outline-2">
297
+<h2 id="orgbd9f906">What the system can do</h2>
298
+<div class="outline-text-2" id="text-orgbd9f906">
299
 <ul class="org-ul">
299
 <ul class="org-ul">
300
 <li>Discovery of other users on the network</li>
300
 <li>Discovery of other users on the network</li>
301
 <li>Text based chat, one-to-one and in groups</li>
301
 <li>Text based chat, one-to-one and in groups</li>
302
 <li>Voice chat (VoIP)</li>
302
 <li>Voice chat (VoIP)</li>
303
 <li>Private and public sharing of files</li>
303
 <li>Private and public sharing of files</li>
304
 <li>Blogging</li>
304
 <li>Blogging</li>
305
+<li>Social network stream. Follow/unfollow other peers</li>
305
 <li>No network administration required</li>
306
 <li>No network administration required</li>
306
-<li>No servers, internet connection or cabling is needed.</li>
307
-<li>Works from bootable USB drives or microSD drives.</li>
307
+<li>No servers, internet connection or cabling is needed</li>
308
+<li>Works from bootable USB drives or microSD drives</li>
308
 <li>Data is mesh routed between systems</li>
309
 <li>Data is mesh routed between systems</li>
309
-<li>Private communications is end-to-end secured and forward secret.</li>
310
-<li>Publicly shared data is <i>content addressable</i>.</li>
310
+<li>Private communications is end-to-end secured and forward secret</li>
311
+<li>Publicly shared data is <i>content addressable</i></li>
311
 </ul>
312
 </ul>
312
 
313
 
313
 <p>
314
 <p>
316
 </div>
317
 </div>
317
 </div>
318
 </div>
318
 
319
 
319
-<div id="outline-container-orgb0c31bc" class="outline-2">
320
-<h2 id="orgb0c31bc">Disk Images</h2>
321
-<div class="outline-text-2" id="text-orgb0c31bc">
320
+<div id="outline-container-orgd8571b4" class="outline-2">
321
+<h2 id="orgd8571b4">Disk Images</h2>
322
+<div class="outline-text-2" id="text-orgd8571b4">
322
 </div>
323
 </div>
323
-<div id="outline-container-orga0df2c1" class="outline-3">
324
-<h3 id="orga0df2c1">Writing many images quickly</h3>
325
-<div class="outline-text-3" id="text-orga0df2c1">
324
+<div id="outline-container-org6b50551" class="outline-3">
325
+<h3 id="org6b50551">Writing many images quickly</h3>
326
+<div class="outline-text-3" id="text-org6b50551">
326
 <p>
327
 <p>
327
 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>.
328
 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>.
328
 </p>
329
 </p>
346
 </div>
347
 </div>
347
 </div>
348
 </div>
348
 </div>
349
 </div>
349
-<div id="outline-container-org06fc865" class="outline-3">
350
-<h3 id="org06fc865">Client images</h3>
351
-<div class="outline-text-3" id="text-org06fc865">
350
+<div id="outline-container-orge6ffa5e" class="outline-3">
351
+<h3 id="orge6ffa5e">Client images</h3>
352
+<div class="outline-text-3" id="text-orge6ffa5e">
352
 <div class="org-center">
353
 <div class="org-center">
353
 
354
 
354
 <div class="figure">
355
 <div class="figure">
397
 </div>
398
 </div>
398
 </div>
399
 </div>
399
 
400
 
400
-<div id="outline-container-org7ab5db3" class="outline-3">
401
-<h3 id="org7ab5db3">Router images</h3>
402
-<div class="outline-text-3" id="text-org7ab5db3">
401
+<div id="outline-container-org92f0f96" class="outline-3">
402
+<h3 id="org92f0f96">Router images</h3>
403
+<div class="outline-text-3" id="text-org92f0f96">
403
 <p>
404
 <p>
404
 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.
405
 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.
405
 </p>
406
 </p>
406
 </div>
407
 </div>
407
-<div id="outline-container-org7da3338" class="outline-4">
408
-<h4 id="org7da3338">Beaglebone Black</h4>
409
-<div class="outline-text-4" id="text-org7da3338">
408
+<div id="outline-container-org79cc359" class="outline-4">
409
+<h4 id="org79cc359">Beaglebone Black</h4>
410
+<div class="outline-text-4" id="text-org79cc359">
410
 <div class="org-center">
411
 <div class="org-center">
411
 
412
 
412
 <div class="figure">
413
 <div class="figure">
443
 </div>
444
 </div>
444
 </div>
445
 </div>
445
 
446
 
446
-<div id="outline-container-orgd14a53a" class="outline-2">
447
-<h2 id="orgd14a53a">Building Disk Images</h2>
448
-<div class="outline-text-2" id="text-orgd14a53a">
447
+<div id="outline-container-org0f6afd5" class="outline-2">
448
+<h2 id="org0f6afd5">Building Disk Images</h2>
449
+<div class="outline-text-2" id="text-org0f6afd5">
449
 <p>
450
 <p>
450
 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.
451
 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.
451
 </p>
452
 </p>
533
 </div>
534
 </div>
534
 </div>
535
 </div>
535
 
536
 
536
-<div id="outline-container-orga7f35d3" class="outline-2">
537
-<h2 id="orga7f35d3">Customisation</h2>
538
-<div class="outline-text-2" id="text-orga7f35d3">
537
+<div id="outline-container-org08a65b6" class="outline-2">
538
+<h2 id="org08a65b6">Customisation</h2>
539
+<div class="outline-text-2" id="text-org08a65b6">
539
 <p>
540
 <p>
540
 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.
541
 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.
541
 </p>
542
 </p>
545
 </p>
546
 </p>
546
 </div>
547
 </div>
547
 </div>
548
 </div>
548
-<div id="outline-container-orgc64234b" class="outline-2">
549
-<h2 id="orgc64234b">How to use it</h2>
550
-<div class="outline-text-2" id="text-orgc64234b">
549
+<div id="outline-container-org4c74195" class="outline-2">
550
+<h2 id="org4c74195">How to use it</h2>
551
+<div class="outline-text-2" id="text-org4c74195">
551
 <p>
552
 <p>
552
 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.
553
 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.
553
 </p>
554
 </p>
557
 </p>
558
 </p>
558
 </div>
559
 </div>
559
 
560
 
560
-<div id="outline-container-orgd1e0849" class="outline-3">
561
-<h3 id="orgd1e0849">Boot trouble</h3>
562
-<div class="outline-text-3" id="text-orgd1e0849">
561
+<div id="outline-container-orgfb9ab03" class="outline-3">
562
+<h3 id="orgfb9ab03">Boot trouble</h3>
563
+<div class="outline-text-3" id="text-orgfb9ab03">
563
 <p>
564
 <p>
564
 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.
565
 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.
565
 </p>
566
 </p>
569
 </p>
570
 </p>
570
 </div>
571
 </div>
571
 </div>
572
 </div>
572
-<div id="outline-container-org5bdaa4d" class="outline-3">
573
-<h3 id="org5bdaa4d">Set the Date</h3>
574
-<div class="outline-text-3" id="text-org5bdaa4d">
573
+<div id="outline-container-org9c7ab6a" class="outline-3">
574
+<h3 id="org9c7ab6a">Set the Date</h3>
575
+<div class="outline-text-3" id="text-org9c7ab6a">
575
 <p>
576
 <p>
576
 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.
577
 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.
577
 </p>
578
 </p>
581
 </p>
582
 </p>
582
 </div>
583
 </div>
583
 </div>
584
 </div>
584
-<div id="outline-container-org22eba27" class="outline-3">
585
-<h3 id="org22eba27">Check network status</h3>
586
-<div class="outline-text-3" id="text-org22eba27">
585
+<div id="outline-container-orgcc5239b" class="outline-3">
586
+<h3 id="orgcc5239b">Check network status</h3>
587
+<div class="outline-text-3" id="text-orgcc5239b">
587
 <p>
588
 <p>
588
 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.
589
 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.
589
 </p>
590
 </p>
607
 </div>
608
 </div>
608
 </div>
609
 </div>
609
 
610
 
610
-<div id="outline-container-org96bd2e7" class="outline-3">
611
-<h3 id="org96bd2e7">Chat System</h3>
612
-<div class="outline-text-3" id="text-org96bd2e7">
611
+<div id="outline-container-org83980ec" class="outline-3">
612
+<h3 id="org83980ec">Chat System</h3>
613
+<div class="outline-text-3" id="text-org83980ec">
613
 <p>
614
 <p>
614
 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.
615
 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.
615
 </p>
616
 </p>
668
 </div>
669
 </div>
669
 </div>
670
 </div>
670
 
671
 
671
-<div id="outline-container-org7ad938e" class="outline-3">
672
-<h3 id="org7ad938e">Social Network</h3>
673
-<div class="outline-text-3" id="text-org7ad938e">
672
+<div id="outline-container-org01a2a34" class="outline-3">
673
+<h3 id="org01a2a34">Social Network</h3>
674
+<div class="outline-text-3" id="text-org01a2a34">
674
 <p>
675
 <p>
675
 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.
676
 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.
676
 </p>
677
 </p>
705
 </div>
706
 </div>
706
 </div>
707
 </div>
707
 
708
 
708
-<div id="outline-container-org434316e" class="outline-3">
709
-<h3 id="org434316e">Sharing Files</h3>
710
-<div class="outline-text-3" id="text-org434316e">
709
+<div id="outline-container-org077918f" class="outline-3">
710
+<h3 id="org077918f">Sharing Files</h3>
711
+<div class="outline-text-3" id="text-org077918f">
711
 <p>
712
 <p>
712
 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.
713
 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.
713
 </p>
714
 </p>
722
 </div>
723
 </div>
723
 </div>
724
 </div>
724
 
725
 
725
-<div id="outline-container-org95bbdc4" class="outline-3">
726
-<h3 id="org95bbdc4">Blogging</h3>
727
-<div class="outline-text-3" id="text-org95bbdc4">
726
+<div id="outline-container-org3384a69" class="outline-3">
727
+<h3 id="org3384a69">Blogging</h3>
728
+<div class="outline-text-3" id="text-org3384a69">
728
 <p>
729
 <p>
729
 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.
730
 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.
730
 </p>
731
 </p>