Parcourir la source

Mention multiwriter

Bob Mottram il y a 8 ans
Parent
révision
6983eda8aa
2 fichiers modifiés avec 84 ajouts et 44 suppressions
  1. 14
    0
      doc/EN/mesh.org
  2. 70
    44
      website/EN/mesh.html

+ 14
- 0
doc/EN/mesh.org Voir le fichier

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.
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
 
44
 
45
 * Disk Images
45
 * Disk Images
46
+** Writing many images quickly
47
+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 *dd* command is used for writing to the target drive, but to write to multiple drives you can use a tool such as [[https://wiki.gnome.org/Apps/MultiWriter][GNOME MultiWriter]].
48
+
49
+For example on Arch/Parabola:
50
+
51
+#+begin_src bash
52
+sudo pacman -S gnome-multi-writer
53
+#+end_src
54
+
55
+Or on Debian based systems:
56
+
57
+#+begin_src bash
58
+sudo apt-get install gnome-multi-writer
59
+#+end_src
46
 ** Client images
60
 ** Client images
47
 
61
 
48
 #+BEGIN_CENTER
62
 #+BEGIN_CENTER

+ 70
- 44
website/EN/mesh.html Voir le fichier

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-07-03 Mon 12:54 -->
6
+<!-- 2017-07-03 Mon 16:32 -->
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="#org54b0961">What the system can do</a></td>
277
+<td class="org-left"><a href="#org4002965">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="#orgdba1bf7">Disk Images</a></td>
279
+<td class="org-left"><a href="#orgab6e3a1">Disk Images</a></td>
280
 <td class="org-left">-</td>
280
 <td class="org-left">-</td>
281
-<td class="org-left"><a href="#org5c3e05b">Building Disk Images</a></td>
281
+<td class="org-left"><a href="#org0ea2ddf">Building Disk Images</a></td>
282
 <td class="org-left">-</td>
282
 <td class="org-left">-</td>
283
-<td class="org-left"><a href="#org827b325">How to use it</a></td>
283
+<td class="org-left"><a href="#org4be223a">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-org54b0961" class="outline-2">
297
-<h2 id="org54b0961">What the system can do</h2>
298
-<div class="outline-text-2" id="text-org54b0961">
296
+<div id="outline-container-org4002965" class="outline-2">
297
+<h2 id="org4002965">What the system can do</h2>
298
+<div class="outline-text-2" id="text-org4002965">
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>
316
 </div>
316
 </div>
317
 </div>
317
 </div>
318
 
318
 
319
-<div id="outline-container-orgdba1bf7" class="outline-2">
320
-<h2 id="orgdba1bf7">Disk Images</h2>
321
-<div class="outline-text-2" id="text-orgdba1bf7">
319
+<div id="outline-container-orgab6e3a1" class="outline-2">
320
+<h2 id="orgab6e3a1">Disk Images</h2>
321
+<div class="outline-text-2" id="text-orgab6e3a1">
322
 </div>
322
 </div>
323
-<div id="outline-container-orgfb2f8ac" class="outline-3">
324
-<h3 id="orgfb2f8ac">Client images</h3>
325
-<div class="outline-text-3" id="text-orgfb2f8ac">
323
+<div id="outline-container-org6e5311d" class="outline-3">
324
+<h3 id="org6e5311d">Writing many images quickly</h3>
325
+<div class="outline-text-3" id="text-org6e5311d">
326
+<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
+</p>
329
+
330
+<p>
331
+For example on Arch/Parabola:
332
+</p>
333
+
334
+<div class="org-src-container">
335
+<pre><code class="src src-bash">sudo pacman -S gnome-multi-writer
336
+</code></pre>
337
+</div>
338
+
339
+<p>
340
+Or on Debian based systems:
341
+</p>
342
+
343
+<div class="org-src-container">
344
+<pre><code class="src src-bash">sudo apt-get install gnome-multi-writer
345
+</code></pre>
346
+</div>
347
+</div>
348
+</div>
349
+<div id="outline-container-orgab155f6" class="outline-3">
350
+<h3 id="orgab155f6">Client images</h3>
351
+<div class="outline-text-3" id="text-orgab155f6">
326
 <div class="org-center">
352
 <div class="org-center">
327
 
353
 
328
 <div class="figure">
354
 <div class="figure">
369
 </div>
395
 </div>
370
 </div>
396
 </div>
371
 
397
 
372
-<div id="outline-container-org86b1c59" class="outline-3">
373
-<h3 id="org86b1c59">Router images</h3>
374
-<div class="outline-text-3" id="text-org86b1c59">
398
+<div id="outline-container-org646b708" class="outline-3">
399
+<h3 id="org646b708">Router images</h3>
400
+<div class="outline-text-3" id="text-org646b708">
375
 <p>
401
 <p>
376
 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.
402
 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.
377
 </p>
403
 </p>
378
 </div>
404
 </div>
379
-<div id="outline-container-org11689e5" class="outline-4">
380
-<h4 id="org11689e5">Beaglebone Black</h4>
381
-<div class="outline-text-4" id="text-org11689e5">
405
+<div id="outline-container-org6d6182e" class="outline-4">
406
+<h4 id="org6d6182e">Beaglebone Black</h4>
407
+<div class="outline-text-4" id="text-org6d6182e">
382
 <div class="org-center">
408
 <div class="org-center">
383
 
409
 
384
 <div class="figure">
410
 <div class="figure">
415
 </div>
441
 </div>
416
 </div>
442
 </div>
417
 
443
 
418
-<div id="outline-container-org5c3e05b" class="outline-2">
419
-<h2 id="org5c3e05b">Building Disk Images</h2>
420
-<div class="outline-text-2" id="text-org5c3e05b">
444
+<div id="outline-container-org0ea2ddf" class="outline-2">
445
+<h2 id="org0ea2ddf">Building Disk Images</h2>
446
+<div class="outline-text-2" id="text-org0ea2ddf">
421
 <p>
447
 <p>
422
 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.
448
 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.
423
 </p>
449
 </p>
508
 </div>
534
 </div>
509
 </div>
535
 </div>
510
 
536
 
511
-<div id="outline-container-org4b9df3d" class="outline-2">
512
-<h2 id="org4b9df3d">Customisation</h2>
513
-<div class="outline-text-2" id="text-org4b9df3d">
537
+<div id="outline-container-org5d226f8" class="outline-2">
538
+<h2 id="org5d226f8">Customisation</h2>
539
+<div class="outline-text-2" id="text-org5d226f8">
514
 <p>
540
 <p>
515
 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.
516
 </p>
542
 </p>
520
 </p>
546
 </p>
521
 </div>
547
 </div>
522
 </div>
548
 </div>
523
-<div id="outline-container-org827b325" class="outline-2">
524
-<h2 id="org827b325">How to use it</h2>
525
-<div class="outline-text-2" id="text-org827b325">
549
+<div id="outline-container-org4be223a" class="outline-2">
550
+<h2 id="org4be223a">How to use it</h2>
551
+<div class="outline-text-2" id="text-org4be223a">
526
 <p>
552
 <p>
527
 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.
528
 </p>
554
 </p>
532
 </p>
558
 </p>
533
 </div>
559
 </div>
534
 
560
 
535
-<div id="outline-container-orga105564" class="outline-3">
536
-<h3 id="orga105564">Set the Date</h3>
537
-<div class="outline-text-3" id="text-orga105564">
561
+<div id="outline-container-orgdc02994" class="outline-3">
562
+<h3 id="orgdc02994">Set the Date</h3>
563
+<div class="outline-text-3" id="text-orgdc02994">
538
 <p>
564
 <p>
539
 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.
565
 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.
540
 </p>
566
 </p>
544
 </p>
570
 </p>
545
 </div>
571
 </div>
546
 </div>
572
 </div>
547
-<div id="outline-container-org04cc218" class="outline-3">
548
-<h3 id="org04cc218">Check network status</h3>
549
-<div class="outline-text-3" id="text-org04cc218">
573
+<div id="outline-container-org71e5804" class="outline-3">
574
+<h3 id="org71e5804">Check network status</h3>
575
+<div class="outline-text-3" id="text-org71e5804">
550
 <p>
576
 <p>
551
 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.
577
 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.
552
 </p>
578
 </p>
570
 </div>
596
 </div>
571
 </div>
597
 </div>
572
 
598
 
573
-<div id="outline-container-org12a2547" class="outline-3">
574
-<h3 id="org12a2547">Chat System</h3>
575
-<div class="outline-text-3" id="text-org12a2547">
599
+<div id="outline-container-orgd1c1e9a" class="outline-3">
600
+<h3 id="orgd1c1e9a">Chat System</h3>
601
+<div class="outline-text-3" id="text-orgd1c1e9a">
576
 <p>
602
 <p>
577
 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.
603
 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.
578
 </p>
604
 </p>
631
 </div>
657
 </div>
632
 </div>
658
 </div>
633
 
659
 
634
-<div id="outline-container-org578ce4f" class="outline-3">
635
-<h3 id="org578ce4f">Sharing Files</h3>
636
-<div class="outline-text-3" id="text-org578ce4f">
660
+<div id="outline-container-org7e41680" class="outline-3">
661
+<h3 id="org7e41680">Sharing Files</h3>
662
+<div class="outline-text-3" id="text-org7e41680">
637
 <p>
663
 <p>
638
 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.
664
 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.
639
 </p>
665
 </p>
648
 </div>
674
 </div>
649
 </div>
675
 </div>
650
 
676
 
651
-<div id="outline-container-orgb1c0b8e" class="outline-3">
652
-<h3 id="orgb1c0b8e">Blogging</h3>
653
-<div class="outline-text-3" id="text-orgb1c0b8e">
677
+<div id="outline-container-org8f6803d" class="outline-3">
678
+<h3 id="org8f6803d">Blogging</h3>
679
+<div class="outline-text-3" id="text-org8f6803d">
654
 <p>
680
 <p>
655
 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.
681
 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.
656
 </p>
682
 </p>