Pārlūkot izejas kodu

Still need build-essential

Bob Mottram 7 gadus atpakaļ
vecāks
revīzija
f4a75d934a
2 mainītis faili ar 52 papildinājumiem un 52 dzēšanām
  1. 1
    1
      doc/EN/mesh.org
  2. 51
    51
      website/EN/mesh.html

+ 1
- 1
doc/EN/mesh.org Parādīt failu

121
 First you will need to create an image. On a Debian based system (tested on Debian Stretch):
121
 First you will need to create an image. On a Debian based system (tested on Debian Stretch):
122
 
122
 
123
 #+begin_src bash
123
 #+begin_src bash
124
-sudo apt-get -y install git wget
124
+sudo apt-get -y install git wget build-essential
125
 wget https://freedombone.net/downloads/v3/freedombone-3.tar.gz
125
 wget https://freedombone.net/downloads/v3/freedombone-3.tar.gz
126
 wget https://freedombone.net/downloads/freedombone-3.tar.gz.sig
126
 wget https://freedombone.net/downloads/freedombone-3.tar.gz.sig
127
 gpg --verify freedombone-3.tar.gz.sig
127
 gpg --verify freedombone-3.tar.gz.sig

+ 51
- 51
website/EN/mesh.html Parādīt failu

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-04 Tue 10:09 -->
6
+<!-- 2017-07-04 Tue 10:14 -->
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="#org58d57d9">What the system can do</a></td>
277
+<td class="org-left"><a href="#org43720c8">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="#orgfd9bd98">Disk Images</a></td>
279
+<td class="org-left"><a href="#orgf236d1b">Disk Images</a></td>
280
 <td class="org-left">-</td>
280
 <td class="org-left">-</td>
281
-<td class="org-left"><a href="#org211c8a0">Building Disk Images</a></td>
281
+<td class="org-left"><a href="#org3279497">Building Disk Images</a></td>
282
 <td class="org-left">-</td>
282
 <td class="org-left">-</td>
283
-<td class="org-left"><a href="#org6eec372">How to use it</a></td>
283
+<td class="org-left"><a href="#org52b6ecb">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-org58d57d9" class="outline-2">
297
-<h2 id="org58d57d9">What the system can do</h2>
298
-<div class="outline-text-2" id="text-org58d57d9">
296
+<div id="outline-container-org43720c8" class="outline-2">
297
+<h2 id="org43720c8">What the system can do</h2>
298
+<div class="outline-text-2" id="text-org43720c8">
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-orgfd9bd98" class="outline-2">
320
-<h2 id="orgfd9bd98">Disk Images</h2>
321
-<div class="outline-text-2" id="text-orgfd9bd98">
319
+<div id="outline-container-orgf236d1b" class="outline-2">
320
+<h2 id="orgf236d1b">Disk Images</h2>
321
+<div class="outline-text-2" id="text-orgf236d1b">
322
 </div>
322
 </div>
323
-<div id="outline-container-org9169486" class="outline-3">
324
-<h3 id="org9169486">Writing many images quickly</h3>
325
-<div class="outline-text-3" id="text-org9169486">
323
+<div id="outline-container-org84d3aa9" class="outline-3">
324
+<h3 id="org84d3aa9">Writing many images quickly</h3>
325
+<div class="outline-text-3" id="text-org84d3aa9">
326
 <p>
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>.
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>
328
 </p>
346
 </div>
346
 </div>
347
 </div>
347
 </div>
348
 </div>
348
 </div>
349
-<div id="outline-container-orgfb36aeb" class="outline-3">
350
-<h3 id="orgfb36aeb">Client images</h3>
351
-<div class="outline-text-3" id="text-orgfb36aeb">
349
+<div id="outline-container-orga950e86" class="outline-3">
350
+<h3 id="orga950e86">Client images</h3>
351
+<div class="outline-text-3" id="text-orga950e86">
352
 <div class="org-center">
352
 <div class="org-center">
353
 
353
 
354
 <div class="figure">
354
 <div class="figure">
395
 </div>
395
 </div>
396
 </div>
396
 </div>
397
 
397
 
398
-<div id="outline-container-org01bd378" class="outline-3">
399
-<h3 id="org01bd378">Router images</h3>
400
-<div class="outline-text-3" id="text-org01bd378">
398
+<div id="outline-container-org7a83803" class="outline-3">
399
+<h3 id="org7a83803">Router images</h3>
400
+<div class="outline-text-3" id="text-org7a83803">
401
 <p>
401
 <p>
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.
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.
403
 </p>
403
 </p>
404
 </div>
404
 </div>
405
-<div id="outline-container-org430cb4f" class="outline-4">
406
-<h4 id="org430cb4f">Beaglebone Black</h4>
407
-<div class="outline-text-4" id="text-org430cb4f">
405
+<div id="outline-container-orgff96209" class="outline-4">
406
+<h4 id="orgff96209">Beaglebone Black</h4>
407
+<div class="outline-text-4" id="text-orgff96209">
408
 <div class="org-center">
408
 <div class="org-center">
409
 
409
 
410
 <div class="figure">
410
 <div class="figure">
441
 </div>
441
 </div>
442
 </div>
442
 </div>
443
 
443
 
444
-<div id="outline-container-org211c8a0" class="outline-2">
445
-<h2 id="org211c8a0">Building Disk Images</h2>
446
-<div class="outline-text-2" id="text-org211c8a0">
444
+<div id="outline-container-org3279497" class="outline-2">
445
+<h2 id="org3279497">Building Disk Images</h2>
446
+<div class="outline-text-2" id="text-org3279497">
447
 <p>
447
 <p>
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.
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.
449
 </p>
449
 </p>
453
 </p>
453
 </p>
454
 
454
 
455
 <div class="org-src-container">
455
 <div class="org-src-container">
456
-<pre><code class="src src-bash">sudo apt-get -y install git wget
456
+<pre><code class="src src-bash">sudo apt-get -y install git wget build-essential
457
 wget https://freedombone.net/downloads/v3/freedombone-3.tar.gz
457
 wget https://freedombone.net/downloads/v3/freedombone-3.tar.gz
458
 wget https://freedombone.net/downloads/freedombone-3.tar.gz.sig
458
 wget https://freedombone.net/downloads/freedombone-3.tar.gz.sig
459
 gpg --verify freedombone-3.tar.gz.sig
459
 gpg --verify freedombone-3.tar.gz.sig
530
 </div>
530
 </div>
531
 </div>
531
 </div>
532
 
532
 
533
-<div id="outline-container-org21fdea1" class="outline-2">
534
-<h2 id="org21fdea1">Customisation</h2>
535
-<div class="outline-text-2" id="text-org21fdea1">
533
+<div id="outline-container-org8da4b39" class="outline-2">
534
+<h2 id="org8da4b39">Customisation</h2>
535
+<div class="outline-text-2" id="text-org8da4b39">
536
 <p>
536
 <p>
537
 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.
537
 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.
538
 </p>
538
 </p>
542
 </p>
542
 </p>
543
 </div>
543
 </div>
544
 </div>
544
 </div>
545
-<div id="outline-container-org6eec372" class="outline-2">
546
-<h2 id="org6eec372">How to use it</h2>
547
-<div class="outline-text-2" id="text-org6eec372">
545
+<div id="outline-container-org52b6ecb" class="outline-2">
546
+<h2 id="org52b6ecb">How to use it</h2>
547
+<div class="outline-text-2" id="text-org52b6ecb">
548
 <p>
548
 <p>
549
 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.
549
 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.
550
 </p>
550
 </p>
554
 </p>
554
 </p>
555
 </div>
555
 </div>
556
 
556
 
557
-<div id="outline-container-orgf75203f" class="outline-3">
558
-<h3 id="orgf75203f">Boot trouble</h3>
559
-<div class="outline-text-3" id="text-orgf75203f">
557
+<div id="outline-container-org218c967" class="outline-3">
558
+<h3 id="org218c967">Boot trouble</h3>
559
+<div class="outline-text-3" id="text-org218c967">
560
 <p>
560
 <p>
561
 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.
561
 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.
562
 </p>
562
 </p>
566
 </p>
566
 </p>
567
 </div>
567
 </div>
568
 </div>
568
 </div>
569
-<div id="outline-container-orgbd6243b" class="outline-3">
570
-<h3 id="orgbd6243b">Set the Date</h3>
571
-<div class="outline-text-3" id="text-orgbd6243b">
569
+<div id="outline-container-org6c9bd07" class="outline-3">
570
+<h3 id="org6c9bd07">Set the Date</h3>
571
+<div class="outline-text-3" id="text-org6c9bd07">
572
 <p>
572
 <p>
573
 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.
573
 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.
574
 </p>
574
 </p>
578
 </p>
578
 </p>
579
 </div>
579
 </div>
580
 </div>
580
 </div>
581
-<div id="outline-container-org0dadaa3" class="outline-3">
582
-<h3 id="org0dadaa3">Check network status</h3>
583
-<div class="outline-text-3" id="text-org0dadaa3">
581
+<div id="outline-container-org351f6a2" class="outline-3">
582
+<h3 id="org351f6a2">Check network status</h3>
583
+<div class="outline-text-3" id="text-org351f6a2">
584
 <p>
584
 <p>
585
 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.
585
 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.
586
 </p>
586
 </p>
604
 </div>
604
 </div>
605
 </div>
605
 </div>
606
 
606
 
607
-<div id="outline-container-orga1e31ec" class="outline-3">
608
-<h3 id="orga1e31ec">Chat System</h3>
609
-<div class="outline-text-3" id="text-orga1e31ec">
607
+<div id="outline-container-org90f8f7b" class="outline-3">
608
+<h3 id="org90f8f7b">Chat System</h3>
609
+<div class="outline-text-3" id="text-org90f8f7b">
610
 <p>
610
 <p>
611
 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.
611
 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.
612
 </p>
612
 </p>
665
 </div>
665
 </div>
666
 </div>
666
 </div>
667
 
667
 
668
-<div id="outline-container-orgfc175ca" class="outline-3">
669
-<h3 id="orgfc175ca">Sharing Files</h3>
670
-<div class="outline-text-3" id="text-orgfc175ca">
668
+<div id="outline-container-orgb0ff834" class="outline-3">
669
+<h3 id="orgb0ff834">Sharing Files</h3>
670
+<div class="outline-text-3" id="text-orgb0ff834">
671
 <p>
671
 <p>
672
 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.
672
 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.
673
 </p>
673
 </p>
682
 </div>
682
 </div>
683
 </div>
683
 </div>
684
 
684
 
685
-<div id="outline-container-orgcf44e86" class="outline-3">
686
-<h3 id="orgcf44e86">Blogging</h3>
687
-<div class="outline-text-3" id="text-orgcf44e86">
685
+<div id="outline-container-org9f54fb7" class="outline-3">
686
+<h3 id="org9f54fb7">Blogging</h3>
687
+<div class="outline-text-3" id="text-org9f54fb7">
688
 <p>
688
 <p>
689
 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.
689
 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.
690
 </p>
690
 </p>