瀏覽代碼

Customisation

Bob Mottram 9 年之前
父節點
當前提交
a660f090f2
沒有帳戶連結到提交者的電子郵件
共有 2 個文件被更改,包括 57 次插入41 次删除
  1. 4
    0
      doc/EN/mesh.org
  2. 53
    41
      website/EN/mesh.html

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

@@ -156,6 +156,10 @@ freedombone-image -t beaglebone -v mesh
156 156
 
157 157
 The resulting image can be copied to a microSD card, inserted into a Beaglebone Black and booted. Don't forget to plug in an Atheros USB wifi dongle.
158 158
 
159
+* Customisation
160
+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 *img/backgrounds* and to change the available avatars and desktop icons edit the images within *img/avatars*. Re-create disk images using the instructions shown previously.
161
+
162
+If you need particular /dconf/ commands to alter desktop appearance or behavior then see the function /mesh_client_startup_applications/ within *src/freedombone-image-customise*.
159 163
 * How to use it
160 164
 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.
161 165
 

+ 53
- 41
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:32 -->
6
+<!-- 2016-09-14 Wed 16:00 -->
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="#org364440a">What the system can do</a></td>
275
+<td class="org-left"><a href="#org1c078d0">What the system can do</a></td>
276 276
 <td class="org-left">-</td>
277
-<td class="org-left"><a href="#orgd40c490">Disk Images</a></td>
277
+<td class="org-left"><a href="#org6eeb8a9">Disk Images</a></td>
278 278
 <td class="org-left">-</td>
279
-<td class="org-left"><a href="#orgb1e3f42">Building Disk Images</a></td>
279
+<td class="org-left"><a href="#org846c266">Building Disk Images</a></td>
280 280
 <td class="org-left">-</td>
281
-<td class="org-left"><a href="#org98bc9ef">How to use it</a></td>
281
+<td class="org-left"><a href="#orgd3e14e6">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-org364440a" class="outline-2">
291
-<h2 id="org364440a">What the system can do</h2>
292
-<div class="outline-text-2" id="text-org364440a">
290
+<div id="outline-container-org1c078d0" class="outline-2">
291
+<h2 id="org1c078d0">What the system can do</h2>
292
+<div class="outline-text-2" id="text-org1c078d0">
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-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">
313
+<div id="outline-container-org6eeb8a9" class="outline-2">
314
+<h2 id="org6eeb8a9">Disk Images</h2>
315
+<div class="outline-text-2" id="text-org6eeb8a9">
316
+</div><div id="outline-container-orgc8f7234" class="outline-3">
317
+<h3 id="orgc8f7234">Client images</h3>
318
+<div class="outline-text-3" id="text-orgc8f7234">
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-orgf0d83ab" class="outline-3">
368
-<h3 id="orgf0d83ab">Router images</h3>
369
-<div class="outline-text-3" id="text-orgf0d83ab">
367
+<div id="outline-container-org9b16059" class="outline-3">
368
+<h3 id="org9b16059">Router images</h3>
369
+<div class="outline-text-3" id="text-org9b16059">
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-org5429457" class="outline-4">
375
-<h4 id="org5429457">Beaglebone Black</h4>
376
-<div class="outline-text-4" id="text-org5429457">
374
+<div id="outline-container-orgf9925aa" class="outline-4">
375
+<h4 id="orgf9925aa">Beaglebone Black</h4>
376
+<div class="outline-text-4" id="text-orgf9925aa">
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-orgb1e3f42" class="outline-2">
411
-<h2 id="orgb1e3f42">Building Disk Images</h2>
412
-<div class="outline-text-2" id="text-orgb1e3f42">
410
+<div id="outline-container-org846c266" class="outline-2">
411
+<h2 id="org846c266">Building Disk Images</h2>
412
+<div class="outline-text-2" id="text-org846c266">
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>
@@ -504,9 +504,21 @@ 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-org98bc9ef" class="outline-2">
508
-<h2 id="org98bc9ef">How to use it</h2>
509
-<div class="outline-text-2" id="text-org98bc9ef">
507
+<div id="outline-container-orgc49417b" class="outline-2">
508
+<h2 id="orgc49417b">Customisation</h2>
509
+<div class="outline-text-2" id="text-orgc49417b">
510
+<p>
511
+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.
512
+</p>
513
+
514
+<p>
515
+If you need particular <i>dconf</i> commands to alter desktop appearance or behavior then see the function <i>mesh_client_startup_applications</i> within <b>src/freedombone-image-customise</b>.
516
+</p>
517
+</div>
518
+</div>
519
+<div id="outline-container-orgd3e14e6" class="outline-2">
520
+<h2 id="orgd3e14e6">How to use it</h2>
521
+<div class="outline-text-2" id="text-orgd3e14e6">
510 522
 <p>
511 523
 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 524
 </p>
@@ -516,9 +528,9 @@ After a minute or two if you are within wifi range and there is at least one oth
516 528
 </p>
517 529
 </div>
518 530
 
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">
531
+<div id="outline-container-orgf4aebcf" class="outline-3">
532
+<h3 id="orgf4aebcf">Set the Date</h3>
533
+<div class="outline-text-3" id="text-orgf4aebcf">
522 534
 <p>
523 535
 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 536
 </p>
@@ -528,9 +540,9 @@ On the ordinary internet the date and time of your system would be set automatic
528 540
 </p>
529 541
 </div>
530 542
 </div>
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">
543
+<div id="outline-container-org572b58b" class="outline-3">
544
+<h3 id="org572b58b">Check network status</h3>
545
+<div class="outline-text-3" id="text-org572b58b">
534 546
 <p>
535 547
 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 548
 </p>
@@ -554,9 +566,9 @@ When you are finished close the window and then select the <i>Network Restart</i
554 566
 </div>
555 567
 </div>
556 568
 
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">
569
+<div id="outline-container-org608113a" class="outline-3">
570
+<h3 id="org608113a">Chat System</h3>
571
+<div class="outline-text-3" id="text-org608113a">
560 572
 <p>
561 573
 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 574
 </p>
@@ -615,9 +627,9 @@ At present video doesn't work reliably, but text and voice chat do work well.
615 627
 </div>
616 628
 </div>
617 629
 
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">
630
+<div id="outline-container-org4ee3bca" class="outline-3">
631
+<h3 id="org4ee3bca">Sharing Files</h3>
632
+<div class="outline-text-3" id="text-org4ee3bca">
621 633
 <p>
622 634
 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 635
 </p>
@@ -632,9 +644,9 @@ You can make files publicly available on the network simply by dragging and drop
632 644
 </div>
633 645
 </div>
634 646
 
635
-<div id="outline-container-org83783d7" class="outline-3">
636
-<h3 id="org83783d7">Blogging</h3>
637
-<div class="outline-text-3" id="text-org83783d7">
647
+<div id="outline-container-org787d061" class="outline-3">
648
+<h3 id="org787d061">Blogging</h3>
649
+<div class="outline-text-3" id="text-org787d061">
638 650
 <p>
639 651
 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 652
 </p>