Browse Source

Mention multiwriter

Bob Mottram 8 years ago
parent
commit
6983eda8aa
2 changed files with 84 additions and 44 deletions
  1. 14
    0
      doc/EN/mesh.org
  2. 70
    44
      website/EN/mesh.html

+ 14
- 0
doc/EN/mesh.org View File

@@ -43,6 +43,20 @@ Mesh networks are useful as a quick way to make a fully decentralised communicat
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 44
 
45 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 60
 ** Client images
47 61
 
48 62
 #+BEGIN_CENTER

+ 70
- 44
website/EN/mesh.html View File

@@ -3,7 +3,7 @@
3 3
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
5 5
 <head>
6
-<!-- 2017-07-03 Mon 12:54 -->
6
+<!-- 2017-07-03 Mon 16:32 -->
7 7
 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
8 8
 <meta name="viewport" content="width=device-width, initial-scale=1" />
9 9
 <title></title>
@@ -274,13 +274,13 @@ for the JavaScript code in this tag.
274 274
 </colgroup>
275 275
 <tbody>
276 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 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 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 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 284
 </tr>
285 285
 </tbody>
286 286
 </table>
@@ -293,9 +293,9 @@ The Freedombone Mesh is a wireless solution for autonomous communication that ca
293 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 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 299
 <ul class="org-ul">
300 300
 <li>Discovery of other users on the network</li>
301 301
 <li>Text based chat, one-to-one and in groups</li>
@@ -316,13 +316,39 @@ This system should be quite scalable. Both qTox and IPFS are based upon distribu
316 316
 </div>
317 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 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 352
 <div class="org-center">
327 353
 
328 354
 <div class="figure">
@@ -369,16 +395,16 @@ sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-n
369 395
 </div>
370 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 401
 <p>
376 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 403
 </p>
378 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 408
 <div class="org-center">
383 409
 
384 410
 <div class="figure">
@@ -415,9 +441,9 @@ There is still a software freedom issue with the Beaglebone Black, but it doesn'
415 441
 </div>
416 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 447
 <p>
422 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 449
 </p>
@@ -508,9 +534,9 @@ The resulting image can be copied to a microSD card, inserted into a Beaglebone
508 534
 </div>
509 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 540
 <p>
515 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 542
 </p>
@@ -520,9 +546,9 @@ If you need particular <i>dconf</i> commands to alter desktop appearance or beha
520 546
 </p>
521 547
 </div>
522 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 552
 <p>
527 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 554
 </p>
@@ -532,9 +558,9 @@ After a minute or two if you are within wifi range and there is at least one oth
532 558
 </p>
533 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 564
 <p>
539 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 566
 </p>
@@ -544,9 +570,9 @@ On the ordinary internet the date and time of your system would be set automatic
544 570
 </p>
545 571
 </div>
546 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 576
 <p>
551 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 578
 </p>
@@ -570,9 +596,9 @@ When you are finished close the window and then select the <i>Network Restart</i
570 596
 </div>
571 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 602
 <p>
577 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 604
 </p>
@@ -631,9 +657,9 @@ At present video doesn't work reliably, but text and voice chat do work well.
631 657
 </div>
632 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 663
 <p>
638 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 665
 </p>
@@ -648,9 +674,9 @@ You can make files publicly available on the network simply by dragging and drop
648 674
 </div>
649 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 680
 <p>
655 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 682
 </p>