Browse Source

Notes on boot trouble with mesh images

Bob Mottram 8 years ago
parent
commit
f9616ceedc
2 changed files with 57 additions and 47 deletions
  1. 2
    0
      doc/EN/mesh.org
  2. 55
    47
      website/EN/mesh.html

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

@@ -184,6 +184,8 @@ When you first boot from the USB drive the system will create some encryption ke
184 184
 
185 185
 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 /Other Users/ and /Chat/.
186 186
 
187
+** Boot trouble
188
+If the system doesn't boot and reports an error which includes */dev/mapper/loop0p1* then reboot with *Ctrl-Alt-Del* and when you see the grub menu press *e* and manually change */dev/mapper/loop0p1* to */dev/sdb1*, then press *Ctrl-x*. If that doesn't work then reboot and try */dev/sdc1* instead.
187 189
 ** Set the Date
188 190
 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.
189 191
 

+ 55
- 47
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 16:32 -->
6
+<!-- 2017-07-03 Mon 20:49 -->
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="#org4002965">What the system can do</a></td>
277
+<td class="org-left"><a href="#org6c34ff7">What the system can do</a></td>
278 278
 <td class="org-left">-</td>
279
-<td class="org-left"><a href="#orgab6e3a1">Disk Images</a></td>
279
+<td class="org-left"><a href="#org53db99b">Disk Images</a></td>
280 280
 <td class="org-left">-</td>
281
-<td class="org-left"><a href="#org0ea2ddf">Building Disk Images</a></td>
281
+<td class="org-left"><a href="#orgbb70dcb">Building Disk Images</a></td>
282 282
 <td class="org-left">-</td>
283
-<td class="org-left"><a href="#org4be223a">How to use it</a></td>
283
+<td class="org-left"><a href="#org33692b0">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-org4002965" class="outline-2">
297
-<h2 id="org4002965">What the system can do</h2>
298
-<div class="outline-text-2" id="text-org4002965">
296
+<div id="outline-container-org6c34ff7" class="outline-2">
297
+<h2 id="org6c34ff7">What the system can do</h2>
298
+<div class="outline-text-2" id="text-org6c34ff7">
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,13 @@ 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-orgab6e3a1" class="outline-2">
320
-<h2 id="orgab6e3a1">Disk Images</h2>
321
-<div class="outline-text-2" id="text-orgab6e3a1">
319
+<div id="outline-container-org53db99b" class="outline-2">
320
+<h2 id="org53db99b">Disk Images</h2>
321
+<div class="outline-text-2" id="text-org53db99b">
322 322
 </div>
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">
323
+<div id="outline-container-org80b6ac1" class="outline-3">
324
+<h3 id="org80b6ac1">Writing many images quickly</h3>
325
+<div class="outline-text-3" id="text-org80b6ac1">
326 326
 <p>
327 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 328
 </p>
@@ -346,9 +346,9 @@ Or on Debian based systems:
346 346
 </div>
347 347
 </div>
348 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">
349
+<div id="outline-container-org8ed3fdc" class="outline-3">
350
+<h3 id="org8ed3fdc">Client images</h3>
351
+<div class="outline-text-3" id="text-org8ed3fdc">
352 352
 <div class="org-center">
353 353
 
354 354
 <div class="figure">
@@ -395,16 +395,16 @@ sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-n
395 395
 </div>
396 396
 </div>
397 397
 
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">
398
+<div id="outline-container-org2140040" class="outline-3">
399
+<h3 id="org2140040">Router images</h3>
400
+<div class="outline-text-3" id="text-org2140040">
401 401
 <p>
402 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 403
 </p>
404 404
 </div>
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">
405
+<div id="outline-container-orga023830" class="outline-4">
406
+<h4 id="orga023830">Beaglebone Black</h4>
407
+<div class="outline-text-4" id="text-orga023830">
408 408
 <div class="org-center">
409 409
 
410 410
 <div class="figure">
@@ -441,9 +441,9 @@ There is still a software freedom issue with the Beaglebone Black, but it doesn'
441 441
 </div>
442 442
 </div>
443 443
 
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">
444
+<div id="outline-container-orgbb70dcb" class="outline-2">
445
+<h2 id="orgbb70dcb">Building Disk Images</h2>
446
+<div class="outline-text-2" id="text-orgbb70dcb">
447 447
 <p>
448 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 449
 </p>
@@ -534,9 +534,9 @@ The resulting image can be copied to a microSD card, inserted into a Beaglebone
534 534
 </div>
535 535
 </div>
536 536
 
537
-<div id="outline-container-org5d226f8" class="outline-2">
538
-<h2 id="org5d226f8">Customisation</h2>
539
-<div class="outline-text-2" id="text-org5d226f8">
537
+<div id="outline-container-org1d4456d" class="outline-2">
538
+<h2 id="org1d4456d">Customisation</h2>
539
+<div class="outline-text-2" id="text-org1d4456d">
540 540
 <p>
541 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.
542 542
 </p>
@@ -546,9 +546,9 @@ If you need particular <i>dconf</i> commands to alter desktop appearance or beha
546 546
 </p>
547 547
 </div>
548 548
 </div>
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">
549
+<div id="outline-container-org33692b0" class="outline-2">
550
+<h2 id="org33692b0">How to use it</h2>
551
+<div class="outline-text-2" id="text-org33692b0">
552 552
 <p>
553 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.
554 554
 </p>
@@ -558,9 +558,17 @@ After a minute or two if you are within wifi range and there is at least one oth
558 558
 </p>
559 559
 </div>
560 560
 
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">
561
+<div id="outline-container-org13c8163" class="outline-3">
562
+<h3 id="org13c8163">Boot trouble</h3>
563
+<div class="outline-text-3" id="text-org13c8163">
564
+<p>
565
+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.
566
+</p>
567
+</div>
568
+</div>
569
+<div id="outline-container-orgd680ecd" class="outline-3">
570
+<h3 id="orgd680ecd">Set the Date</h3>
571
+<div class="outline-text-3" id="text-orgd680ecd">
564 572
 <p>
565 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.
566 574
 </p>
@@ -570,9 +578,9 @@ On the ordinary internet the date and time of your system would be set automatic
570 578
 </p>
571 579
 </div>
572 580
 </div>
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">
581
+<div id="outline-container-org29407d2" class="outline-3">
582
+<h3 id="org29407d2">Check network status</h3>
583
+<div class="outline-text-3" id="text-org29407d2">
576 584
 <p>
577 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.
578 586
 </p>
@@ -596,9 +604,9 @@ When you are finished close the window and then select the <i>Network Restart</i
596 604
 </div>
597 605
 </div>
598 606
 
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">
607
+<div id="outline-container-org1c4b4bc" class="outline-3">
608
+<h3 id="org1c4b4bc">Chat System</h3>
609
+<div class="outline-text-3" id="text-org1c4b4bc">
602 610
 <p>
603 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.
604 612
 </p>
@@ -657,9 +665,9 @@ At present video doesn't work reliably, but text and voice chat do work well.
657 665
 </div>
658 666
 </div>
659 667
 
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">
668
+<div id="outline-container-org27f1d07" class="outline-3">
669
+<h3 id="org27f1d07">Sharing Files</h3>
670
+<div class="outline-text-3" id="text-org27f1d07">
663 671
 <p>
664 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.
665 673
 </p>
@@ -674,9 +682,9 @@ You can make files publicly available on the network simply by dragging and drop
674 682
 </div>
675 683
 </div>
676 684
 
677
-<div id="outline-container-org8f6803d" class="outline-3">
678
-<h3 id="org8f6803d">Blogging</h3>
679
-<div class="outline-text-3" id="text-org8f6803d">
685
+<div id="outline-container-orgb3e700a" class="outline-3">
686
+<h3 id="orgb3e700a">Blogging</h3>
687
+<div class="outline-text-3" id="text-orgb3e700a">
680 688
 <p>
681 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.
682 690
 </p>