浏览代码

Update mesh source

Bob Mottram 8 年前
父节点
当前提交
ddde7e88de
没有帐户链接到提交者的电子邮件
共有 2 个文件被更改,包括 53 次插入53 次删除
  1. 6
    6
      doc/EN/mesh.org
  2. 47
    47
      website/EN/mesh.html

+ 6
- 6
doc/EN/mesh.org 查看文件

@@ -108,12 +108,12 @@ sudo apt-get -y install build-essential libc6-dev-i386 wget \
108 108
     vmdebootstrap xz-utils dosfstools btrfs-tools extlinux \
109 109
     python-distro-info mbr qemu-user-static binfmt-support \
110 110
     u-boot-tools qemu
111
-wget https://freedombone.net/downloads/freedombone-mesh-source.tar.gz
112
-wget https://freedombone.net/downloads/freedombone-mesh-source.tar.gz.sig
113
-gpg --verify freedombone-mesh-source.tar.gz.sig
114
-sha256sum freedombone-mesh-source.tar.gz
115
-912a881e32c2846337f19d60bc4685f745b252858b8bccb5d07d009e67c80c33
116
-tar -xzvf freedombone-mesh-source.tar.gz
111
+wget https://freedombone.net/downloads/freedombone-mesh-13-09-2016.tar.gz
112
+wget https://freedombone.net/downloads/freedombone-mesh-13-09-2016.tar.gz.sig
113
+gpg --verify freedombone-mesh-13-09-2016.tar.gz.sig
114
+sha256sum freedombone-mesh-13-09-2016.tar.gz
115
+3e279f8ed762afb682bec6bd463830087354dd2f24020f3b0de51143585ab0ed
116
+tar -xzvf freedombone-mesh-13-09-2016.tar.gz
117 117
 cd freedombone
118 118
 git checkout stockholm
119 119
 sudo make install

+ 47
- 47
website/EN/mesh.html 查看文件

@@ -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
-<!-- 2016-09-14 Wed 09:12 -->
6
+<!-- 2016-09-14 Wed 09: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>
@@ -272,13 +272,13 @@ for the JavaScript code in this tag.
272 272
 </colgroup>
273 273
 <tbody>
274 274
 <tr>
275
-<td class="org-left"><a href="#org2f22947">What the system can do</a></td>
275
+<td class="org-left"><a href="#org364440a">What the system can do</a></td>
276 276
 <td class="org-left">-</td>
277
-<td class="org-left"><a href="#org9d8e5de">Disk Images</a></td>
277
+<td class="org-left"><a href="#orgd40c490">Disk Images</a></td>
278 278
 <td class="org-left">-</td>
279
-<td class="org-left"><a href="#org5b71058">Building Disk Images</a></td>
279
+<td class="org-left"><a href="#orgb1e3f42">Building Disk Images</a></td>
280 280
 <td class="org-left">-</td>
281
-<td class="org-left"><a href="#org0dd6ba9">How to use it</a></td>
281
+<td class="org-left"><a href="#org98bc9ef">How to use it</a></td>
282 282
 </tr>
283 283
 </tbody>
284 284
 </table>
@@ -287,9 +287,9 @@ for the JavaScript code in this tag.
287 287
 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.
288 288
 </p>
289 289
 
290
-<div id="outline-container-org2f22947" class="outline-2">
291
-<h2 id="org2f22947">What the system can do</h2>
292
-<div class="outline-text-2" id="text-org2f22947">
290
+<div id="outline-container-org364440a" class="outline-2">
291
+<h2 id="org364440a">What the system can do</h2>
292
+<div class="outline-text-2" id="text-org364440a">
293 293
 <ul class="org-ul">
294 294
 <li>Discovery of other users on the network</li>
295 295
 <li>Text based chat, one-to-one and in groups</li>
@@ -310,12 +310,12 @@ This system should be quite scalable. Both qTox and IPFS are based upon distribu
310 310
 </div>
311 311
 </div>
312 312
 
313
-<div id="outline-container-org9d8e5de" class="outline-2">
314
-<h2 id="org9d8e5de">Disk Images</h2>
315
-<div class="outline-text-2" id="text-org9d8e5de">
316
-</div><div id="outline-container-orgf392876" class="outline-3">
317
-<h3 id="orgf392876">Client images</h3>
318
-<div class="outline-text-3" id="text-orgf392876">
313
+<div id="outline-container-orgd40c490" class="outline-2">
314
+<h2 id="orgd40c490">Disk Images</h2>
315
+<div class="outline-text-2" id="text-orgd40c490">
316
+</div><div id="outline-container-org4b57f85" class="outline-3">
317
+<h3 id="org4b57f85">Client images</h3>
318
+<div class="outline-text-3" id="text-org4b57f85">
319 319
 <div class="org-center">
320 320
 
321 321
 <div class="figure">
@@ -364,16 +364,16 @@ sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-n
364 364
 </div>
365 365
 </div>
366 366
 
367
-<div id="outline-container-org794b46f" class="outline-3">
368
-<h3 id="org794b46f">Router images</h3>
369
-<div class="outline-text-3" id="text-org794b46f">
367
+<div id="outline-container-orgf0d83ab" class="outline-3">
368
+<h3 id="orgf0d83ab">Router images</h3>
369
+<div class="outline-text-3" id="text-orgf0d83ab">
370 370
 <p>
371 371
 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. 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.
372 372
 </p>
373 373
 </div>
374
-<div id="outline-container-org20c30d4" class="outline-4">
375
-<h4 id="org20c30d4">Beaglebone Black</h4>
376
-<div class="outline-text-4" id="text-org20c30d4">
374
+<div id="outline-container-org5429457" class="outline-4">
375
+<h4 id="org5429457">Beaglebone Black</h4>
376
+<div class="outline-text-4" id="text-org5429457">
377 377
 <div class="org-center">
378 378
 
379 379
 <div class="figure">
@@ -407,9 +407,9 @@ If you have a few Beaglebone Blacks to use as routers then repeat the <i>dd</i>
407 407
 </div>
408 408
 </div>
409 409
 
410
-<div id="outline-container-org5b71058" class="outline-2">
411
-<h2 id="org5b71058">Building Disk Images</h2>
412
-<div class="outline-text-2" id="text-org5b71058">
410
+<div id="outline-container-orgb1e3f42" class="outline-2">
411
+<h2 id="orgb1e3f42">Building Disk Images</h2>
412
+<div class="outline-text-2" id="text-orgb1e3f42">
413 413
 <p>
414 414
 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.
415 415
 </p>
@@ -425,12 +425,12 @@ First you will need to create an image. On a Debian based system (tested on Debi
425 425
     vmdebootstrap xz-utils dosfstools btrfs-tools extlinux <span class="org-sh-escaped-newline">\</span>
426 426
     python-distro-info mbr qemu-user-static binfmt-support <span class="org-sh-escaped-newline">\</span>
427 427
     u-boot-tools qemu
428
-wget https://freedombone.net/downloads/freedombone-mesh-source.tar.gz
429
-wget https://freedombone.net/downloads/freedombone-mesh-source.tar.gz.sig
430
-gpg --verify freedombone-mesh-source.tar.gz.sig
431
-sha256sum freedombone-mesh-source.tar.gz
432
-912a881e32c2846337f19d60bc4685f745b252858b8bccb5d07d009e67c80c33
433
-tar -xzvf freedombone-mesh-source.tar.gz
428
+wget https://freedombone.net/downloads/freedombone-mesh-13-09-2016.tar.gz
429
+wget https://freedombone.net/downloads/freedombone-mesh-13-09-2016.tar.gz.sig
430
+gpg --verify freedombone-mesh-13-09-2016.tar.gz.sig
431
+sha256sum freedombone-mesh-13-09-2016.tar.gz
432
+3e279f8ed762afb682bec6bd463830087354dd2f24020f3b0de51143585ab0ed
433
+tar -xzvf freedombone-mesh-13-09-2016.tar.gz
434 434
 <span class="org-builtin">cd</span> freedombone
435 435
 git checkout stockholm
436 436
 sudo make install
@@ -504,9 +504,9 @@ The resulting image can be copied to a microSD card, inserted into a Beaglebone
504 504
 </div>
505 505
 </div>
506 506
 
507
-<div id="outline-container-org0dd6ba9" class="outline-2">
508
-<h2 id="org0dd6ba9">How to use it</h2>
509
-<div class="outline-text-2" id="text-org0dd6ba9">
507
+<div id="outline-container-org98bc9ef" class="outline-2">
508
+<h2 id="org98bc9ef">How to use it</h2>
509
+<div class="outline-text-2" id="text-org98bc9ef">
510 510
 <p>
511 511
 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.
512 512
 </p>
@@ -516,9 +516,9 @@ After a minute or two if you are within wifi range and there is at least one oth
516 516
 </p>
517 517
 </div>
518 518
 
519
-<div id="outline-container-orgcbdc987" class="outline-3">
520
-<h3 id="orgcbdc987">Set the Date</h3>
521
-<div class="outline-text-3" id="text-orgcbdc987">
519
+<div id="outline-container-org3d3477e" class="outline-3">
520
+<h3 id="org3d3477e">Set the Date</h3>
521
+<div class="outline-text-3" id="text-org3d3477e">
522 522
 <p>
523 523
 On the ordinary internet the date and time of your system would be set automatically via NTP or TLSdate. 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.
524 524
 </p>
@@ -528,9 +528,9 @@ On the ordinary internet the date and time of your system would be set automatic
528 528
 </p>
529 529
 </div>
530 530
 </div>
531
-<div id="outline-container-org9983db5" class="outline-3">
532
-<h3 id="org9983db5">Check network status</h3>
533
-<div class="outline-text-3" id="text-org9983db5">
531
+<div id="outline-container-org886baba" class="outline-3">
532
+<h3 id="org886baba">Check network status</h3>
533
+<div class="outline-text-3" id="text-org886baba">
534 534
 <p>
535 535
 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.
536 536
 </p>
@@ -554,9 +554,9 @@ When you are finished close the window and then select the <i>Network Restart</i
554 554
 </div>
555 555
 </div>
556 556
 
557
-<div id="outline-container-org0e7ae54" class="outline-3">
558
-<h3 id="org0e7ae54">Chat System</h3>
559
-<div class="outline-text-3" id="text-org0e7ae54">
557
+<div id="outline-container-orgedf766e" class="outline-3">
558
+<h3 id="orgedf766e">Chat System</h3>
559
+<div class="outline-text-3" id="text-orgedf766e">
560 560
 <p>
561 561
 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.
562 562
 </p>
@@ -615,9 +615,9 @@ At present video doesn't work reliably, but text and voice chat do work well.
615 615
 </div>
616 616
 </div>
617 617
 
618
-<div id="outline-container-orgec6a3f3" class="outline-3">
619
-<h3 id="orgec6a3f3">Sharing Files</h3>
620
-<div class="outline-text-3" id="text-orgec6a3f3">
618
+<div id="outline-container-org66e069c" class="outline-3">
619
+<h3 id="org66e069c">Sharing Files</h3>
620
+<div class="outline-text-3" id="text-org66e069c">
621 621
 <p>
622 622
 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.
623 623
 </p>
@@ -632,9 +632,9 @@ You can make files publicly available on the network simply by dragging and drop
632 632
 </div>
633 633
 </div>
634 634
 
635
-<div id="outline-container-org6b7abb6" class="outline-3">
636
-<h3 id="org6b7abb6">Blogging</h3>
637
-<div class="outline-text-3" id="text-org6b7abb6">
635
+<div id="outline-container-org83783d7" class="outline-3">
636
+<h3 id="org83783d7">Blogging</h3>
637
+<div class="outline-text-3" id="text-org83783d7">
638 638
 <p>
639 639
 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.
640 640
 </p>