Bob Mottram пре 7 година
родитељ
комит
0175ca74f2

+ 5
- 0
doc/EN/mesh_usage.org Прегледај датотеку

@@ -67,6 +67,11 @@ sudo openvpn myclient.ovpn
67 67
 
68 68
 Where /myclient.ovpn/ comes from your VPN provider and with the password "/freedombone/".
69 69
 * Connecting two meshes over the internet via a VPN tunnel
70
+
71
+#+BEGIN_CENTER
72
+[[file:images/mesh_architecture_vpn.jpg]]
73
+#+END_CENTER
74
+
70 75
 Maybe the internet exists, but you don't care about getting any content from it and just want to use it as a way to connect mesh networks from different geographical locations together.
71 76
 
72 77
 In your home directory on a system connected via ethernet to an internet router you'll find a file called *vpn.tar.gz*. If you want another mesh to be able to connect to yours then send them this file and get them to uncompress it into their home directory also on an internet gateway machine. If they have an external IP address or domain name for your router then they will be able to VPN connect using the *Connect Meshes* icon. They should also forward port 653 from their internet router to the mesh gateway machine.

BIN
img/mesh_architecture1.jpg Прегледај датотеку


BIN
img/mesh_architecture2.jpg Прегледај датотеку


BIN
img/mesh_architecture3.jpg Прегледај датотеку


BIN
img/mesh_architecture_vpn.jpg Прегледај датотеку


+ 53
- 45
website/EN/mesh_usage.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
-<!-- 2017-10-27 Fri 13:10 -->
6
+<!-- 2017-10-27 Fri 14:28 -->
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>&lrm;</title>
@@ -247,17 +247,17 @@ for the JavaScript code in this tag.
247 247
 <center><h1>Mesh Network: How to use it</h1></center>
248 248
 
249 249
 <ul class="org-ul">
250
-<li><a href="#org5965bc8">Boot trouble</a></li>
251
-<li><a href="#org6fc4c27">Set the Date</a></li>
252
-<li><a href="#org9452f90">Check network status</a></li>
253
-<li><a href="#org1e9178e">Connecting to the internet</a></li>
254
-<li><a href="#org7235347">Connecting two meshes over the internet via a VPN tunnel</a></li>
255
-<li><a href="#org78b4990">Mobile devices (phones, etc)</a></li>
256
-<li><a href="#org5e54363">Chat System</a></li>
257
-<li><a href="#orgf66d5cf">Collaborative document editing</a></li>
258
-<li><a href="#org9df5e68">Social Network</a></li>
259
-<li><a href="#orgf9d3758">Sharing Files</a></li>
260
-<li><a href="#org04f400a">Blogging</a></li>
250
+<li><a href="#org6a43d4d">Boot trouble</a></li>
251
+<li><a href="#org03f4d8a">Set the Date</a></li>
252
+<li><a href="#org55f29f9">Check network status</a></li>
253
+<li><a href="#org802070f">Connecting to the internet</a></li>
254
+<li><a href="#orgd9dffae">Connecting two meshes over the internet via a VPN tunnel</a></li>
255
+<li><a href="#org62a60b3">Mobile devices (phones, etc)</a></li>
256
+<li><a href="#org216d212">Chat System</a></li>
257
+<li><a href="#orgfe4d63b">Collaborative document editing</a></li>
258
+<li><a href="#org76f234d">Social Network</a></li>
259
+<li><a href="#org6154f04">Sharing Files</a></li>
260
+<li><a href="#orga4dae6b">Blogging</a></li>
261 261
 </ul>
262 262
 
263 263
 <p>
@@ -268,9 +268,9 @@ When you first boot from the USB drive the system will create some encryption ke
268 268
 After a minute or two if you are within wifi range and there is at least one other user on the network then you should see additional icons appear on the desktop, such as <i>Other Users</i> and <i>Chat</i>.
269 269
 </p>
270 270
 
271
-<div id="outline-container-org5965bc8" class="outline-2">
272
-<h2 id="org5965bc8">Boot trouble</h2>
273
-<div class="outline-text-2" id="text-org5965bc8">
271
+<div id="outline-container-org6a43d4d" class="outline-2">
272
+<h2 id="org6a43d4d">Boot trouble</h2>
273
+<div class="outline-text-2" id="text-org6a43d4d">
274 274
 <p>
275 275
 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.
276 276
 </p>
@@ -280,9 +280,9 @@ After the system has booted successfully the problem should resolve itself on su
280 280
 </p>
281 281
 </div>
282 282
 </div>
283
-<div id="outline-container-org6fc4c27" class="outline-2">
284
-<h2 id="org6fc4c27">Set the Date</h2>
285
-<div class="outline-text-2" id="text-org6fc4c27">
283
+<div id="outline-container-org03f4d8a" class="outline-2">
284
+<h2 id="org03f4d8a">Set the Date</h2>
285
+<div class="outline-text-2" id="text-org03f4d8a">
286 286
 <p>
287 287
 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.
288 288
 </p>
@@ -292,9 +292,9 @@ On the ordinary internet the date and time of your system would be set automatic
292 292
 </p>
293 293
 </div>
294 294
 </div>
295
-<div id="outline-container-org9452f90" class="outline-2">
296
-<h2 id="org9452f90">Check network status</h2>
297
-<div class="outline-text-2" id="text-org9452f90">
295
+<div id="outline-container-org55f29f9" class="outline-2">
296
+<h2 id="org55f29f9">Check network status</h2>
297
+<div class="outline-text-2" id="text-org55f29f9">
298 298
 <p>
299 299
 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.
300 300
 </p>
@@ -317,9 +317,9 @@ When you are finished close the window and then select the <i>Network Restart</i
317 317
 </p>
318 318
 </div>
319 319
 </div>
320
-<div id="outline-container-org1e9178e" class="outline-2">
321
-<h2 id="org1e9178e">Connecting to the internet</h2>
322
-<div class="outline-text-2" id="text-org1e9178e">
320
+<div id="outline-container-org802070f" class="outline-2">
321
+<h2 id="org802070f">Connecting to the internet</h2>
322
+<div class="outline-text-2" id="text-org802070f">
323 323
 <div class="org-center">
324 324
 
325 325
 <div class="figure">
@@ -350,9 +350,17 @@ Where <i>myclient.ovpn</i> comes from your VPN provider and with the password "<
350 350
 </p>
351 351
 </div>
352 352
 </div>
353
-<div id="outline-container-org7235347" class="outline-2">
354
-<h2 id="org7235347">Connecting two meshes over the internet via a VPN tunnel</h2>
355
-<div class="outline-text-2" id="text-org7235347">
353
+<div id="outline-container-orgd9dffae" class="outline-2">
354
+<h2 id="orgd9dffae">Connecting two meshes over the internet via a VPN tunnel</h2>
355
+<div class="outline-text-2" id="text-orgd9dffae">
356
+<div class="org-center">
357
+
358
+<div class="figure">
359
+<p><img src="images/mesh_architecture_vpn.jpg" alt="mesh_architecture_vpn.jpg" />
360
+</p>
361
+</div>
362
+</div>
363
+
356 364
 <p>
357 365
 Maybe the internet exists, but you don't care about getting any content from it and just want to use it as a way to connect mesh networks from different geographical locations together.
358 366
 </p>
@@ -379,9 +387,9 @@ From a deep packet inspection point of view the traffic going over the internet
379 387
 </div>
380 388
 </div>
381 389
 
382
-<div id="outline-container-org78b4990" class="outline-2">
383
-<h2 id="org78b4990">Mobile devices (phones, etc)</h2>
384
-<div class="outline-text-2" id="text-org78b4990">
390
+<div id="outline-container-org62a60b3" class="outline-2">
391
+<h2 id="org62a60b3">Mobile devices (phones, etc)</h2>
392
+<div class="outline-text-2" id="text-org62a60b3">
385 393
 <div class="org-center">
386 394
 
387 395
 <div class="figure">
@@ -411,9 +419,9 @@ On some android devices you may need to move the downloaded APK file from the <b
411 419
 </p>
412 420
 </div>
413 421
 </div>
414
-<div id="outline-container-org5e54363" class="outline-2">
415
-<h2 id="org5e54363">Chat System</h2>
416
-<div class="outline-text-2" id="text-org5e54363">
422
+<div id="outline-container-org216d212" class="outline-2">
423
+<h2 id="org216d212">Chat System</h2>
424
+<div class="outline-text-2" id="text-org216d212">
417 425
 <p>
418 426
 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.
419 427
 </p>
@@ -472,9 +480,9 @@ At present video doesn't work reliably, but text and voice chat do work well.
472 480
 </div>
473 481
 </div>
474 482
 
475
-<div id="outline-container-orgf66d5cf" class="outline-2">
476
-<h2 id="orgf66d5cf">Collaborative document editing</h2>
477
-<div class="outline-text-2" id="text-orgf66d5cf">
483
+<div id="outline-container-orgfe4d63b" class="outline-2">
484
+<h2 id="orgfe4d63b">Collaborative document editing</h2>
485
+<div class="outline-text-2" id="text-orgfe4d63b">
478 486
 <p>
479 487
 The mesh system includes the ability to collaboratively edit various sorts of documents using CryptPad. CryptPad is an almost peer-to-peer system in that it is designed for a client/server environment but that the server aspect of it is very minimal and limited to orchestrating the connected clients. With CryptPad installed on each mesh peer it effectively enables peer-to-peer collaborative editing. Documents are ephemeral and forgotten unless they're exported or copy-pasted to permanent storage.
480 488
 </p>
@@ -505,9 +513,9 @@ If you have the chat system running you can then copy and paste the URL for your
505 513
 </div>
506 514
 </div>
507 515
 
508
-<div id="outline-container-org9df5e68" class="outline-2">
509
-<h2 id="org9df5e68">Social Network</h2>
510
-<div class="outline-text-2" id="text-org9df5e68">
516
+<div id="outline-container-org76f234d" class="outline-2">
517
+<h2 id="org76f234d">Social Network</h2>
518
+<div class="outline-text-2" id="text-org76f234d">
511 519
 <p>
512 520
 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.
513 521
 </p>
@@ -542,9 +550,9 @@ The Secure Scuttlebutt protocol which Patchwork is based upon is intended to be
542 550
 </div>
543 551
 </div>
544 552
 
545
-<div id="outline-container-orgf9d3758" class="outline-2">
546
-<h2 id="orgf9d3758">Sharing Files</h2>
547
-<div class="outline-text-2" id="text-orgf9d3758">
553
+<div id="outline-container-org6154f04" class="outline-2">
554
+<h2 id="org6154f04">Sharing Files</h2>
555
+<div class="outline-text-2" id="text-org6154f04">
548 556
 <p>
549 557
 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.
550 558
 </p>
@@ -559,9 +567,9 @@ You can make files publicly available on the network simply by dragging and drop
559 567
 </div>
560 568
 </div>
561 569
 
562
-<div id="outline-container-org04f400a" class="outline-2">
563
-<h2 id="org04f400a">Blogging</h2>
564
-<div class="outline-text-2" id="text-org04f400a">
570
+<div id="outline-container-orga4dae6b" class="outline-2">
571
+<h2 id="orga4dae6b">Blogging</h2>
572
+<div class="outline-text-2" id="text-orga4dae6b">
565 573
 <p>
566 574
 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.
567 575
 </p>