瀏覽代碼

Checking mesh signal

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

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

157
 * How to use it
157
 * How to use it
158
 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.
158
 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.
159
 
159
 
160
+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 /Tox Chat/.
161
+
160
 ** Set the Date
162
 ** Set the Date
161
 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.
163
 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.
162
 
164
 
163
 *Right click on the date* in the top right corner of the screen. Select *preferences*, then click the *Time Settings* button. You can then select the date from the calendar and set the time, then click the *Set System Time* button. Enter the default password, which is /freedombone/.
165
 *Right click on the date* in the top right corner of the screen. Select *preferences*, then click the *Time Settings* button. You can then select the date from the calendar and set the time, then click the *Set System Time* button. Enter the default password, which is /freedombone/.
166
+** Check network status
167
+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.
168
+
169
+If after a few minutes you still don't see the /Tox Chat/ icon appear on the desktop then there might be a problem with the wifi configuration. Press *ALT* and *F2*, type /mate-terminal/ and press enter, then use the following commands. If you are prompted for a password then the default one is /freedombone/.
170
+
171
+#+begin_src bash
172
+sudo batman restart
173
+sudo batman data
174
+#+end_src
175
+
176
+If everything is working then you should see that the sent and received byte counts are changing as data moves around the network.
177
+
178
+If you have a mobile phone with F-droid then you can install the /Wifi Analyser/ app. Look for the SSID called "mesh" and this will give a good indication of what the signal strength is like and whether there are other overlapping wifi systems which might be causing collisions.
179
+
164
 ** Chat System
180
 ** Chat System
165
 
181
 
166
 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 Tox chat and users icons appear. Select the users icon and you should see a list of users on the mesh. Select the Tox chat 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.
182
 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 Tox chat and users icons appear. Select the users icon and you should see a list of users on the mesh. Select the Tox chat 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.

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

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
-<!-- 2016-09-10 Sat 10:10 -->
6
+<!-- 2016-09-10 Sat 13:23 -->
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>
272
 </colgroup>
272
 </colgroup>
273
 <tbody>
273
 <tbody>
274
 <tr>
274
 <tr>
275
-<td class="org-left"><a href="#org5d0df6a">What the system can do</a></td>
275
+<td class="org-left"><a href="#org3892624">What the system can do</a></td>
276
 <td class="org-left">-</td>
276
 <td class="org-left">-</td>
277
-<td class="org-left"><a href="#org65c8cc7">Disk Images</a></td>
277
+<td class="org-left"><a href="#org7e70836">Disk Images</a></td>
278
 <td class="org-left">-</td>
278
 <td class="org-left">-</td>
279
-<td class="org-left"><a href="#org5f5fcbf">Building Disk Images</a></td>
279
+<td class="org-left"><a href="#org4225664">Building Disk Images</a></td>
280
 <td class="org-left">-</td>
280
 <td class="org-left">-</td>
281
-<td class="org-left"><a href="#org78e5a11">How to use it</a></td>
281
+<td class="org-left"><a href="#org4ebc45f">How to use it</a></td>
282
 </tr>
282
 </tr>
283
 </tbody>
283
 </tbody>
284
 </table>
284
 </table>
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.
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
 </p>
288
 </p>
289
 
289
 
290
-<div id="outline-container-org5d0df6a" class="outline-2">
291
-<h2 id="org5d0df6a">What the system can do</h2>
292
-<div class="outline-text-2" id="text-org5d0df6a">
290
+<div id="outline-container-org3892624" class="outline-2">
291
+<h2 id="org3892624">What the system can do</h2>
292
+<div class="outline-text-2" id="text-org3892624">
293
 <ul class="org-ul">
293
 <ul class="org-ul">
294
 <li>Discovery of other users on the network</li>
294
 <li>Discovery of other users on the network</li>
295
 <li>Text based chat, one-to-one and in groups</li>
295
 <li>Text based chat, one-to-one and in groups</li>
306
 </div>
306
 </div>
307
 </div>
307
 </div>
308
 
308
 
309
-<div id="outline-container-org65c8cc7" class="outline-2">
310
-<h2 id="org65c8cc7">Disk Images</h2>
311
-<div class="outline-text-2" id="text-org65c8cc7">
312
-</div><div id="outline-container-orgfe437c1" class="outline-3">
313
-<h3 id="orgfe437c1">Client images</h3>
314
-<div class="outline-text-3" id="text-orgfe437c1">
309
+<div id="outline-container-org7e70836" class="outline-2">
310
+<h2 id="org7e70836">Disk Images</h2>
311
+<div class="outline-text-2" id="text-org7e70836">
312
+</div><div id="outline-container-org3d544e9" class="outline-3">
313
+<h3 id="org3d544e9">Client images</h3>
314
+<div class="outline-text-3" id="text-org3d544e9">
315
 <div class="org-center">
315
 <div class="org-center">
316
 
316
 
317
 <div class="figure">
317
 <div class="figure">
360
 </div>
360
 </div>
361
 </div>
361
 </div>
362
 
362
 
363
-<div id="outline-container-orgc3430d5" class="outline-3">
364
-<h3 id="orgc3430d5">Router images</h3>
365
-<div class="outline-text-3" id="text-orgc3430d5">
363
+<div id="outline-container-orgeb70ad7" class="outline-3">
364
+<h3 id="orgeb70ad7">Router images</h3>
365
+<div class="outline-text-3" id="text-orgeb70ad7">
366
 <p>
366
 <p>
367
 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.
367
 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.
368
 </p>
368
 </p>
369
 </div>
369
 </div>
370
-<div id="outline-container-orgdfe4034" class="outline-4">
371
-<h4 id="orgdfe4034">Beaglebone Black</h4>
372
-<div class="outline-text-4" id="text-orgdfe4034">
370
+<div id="outline-container-org885cdd5" class="outline-4">
371
+<h4 id="org885cdd5">Beaglebone Black</h4>
372
+<div class="outline-text-4" id="text-org885cdd5">
373
 <div class="org-center">
373
 <div class="org-center">
374
 
374
 
375
 <div class="figure">
375
 <div class="figure">
403
 </div>
403
 </div>
404
 </div>
404
 </div>
405
 
405
 
406
-<div id="outline-container-org5f5fcbf" class="outline-2">
407
-<h2 id="org5f5fcbf">Building Disk Images</h2>
408
-<div class="outline-text-2" id="text-org5f5fcbf">
406
+<div id="outline-container-org4225664" class="outline-2">
407
+<h2 id="org4225664">Building Disk Images</h2>
408
+<div class="outline-text-2" id="text-org4225664">
409
 <p>
409
 <p>
410
 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.
410
 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.
411
 </p>
411
 </p>
500
 </div>
500
 </div>
501
 </div>
501
 </div>
502
 
502
 
503
-<div id="outline-container-org78e5a11" class="outline-2">
504
-<h2 id="org78e5a11">How to use it</h2>
505
-<div class="outline-text-2" id="text-org78e5a11">
503
+<div id="outline-container-org4ebc45f" class="outline-2">
504
+<h2 id="org4ebc45f">How to use it</h2>
505
+<div class="outline-text-2" id="text-org4ebc45f">
506
 <p>
506
 <p>
507
 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.
507
 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.
508
 </p>
508
 </p>
509
+
510
+<p>
511
+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>Tox Chat</i>.
512
+</p>
509
 </div>
513
 </div>
510
 
514
 
511
-<div id="outline-container-org9eb60ac" class="outline-3">
512
-<h3 id="org9eb60ac">Set the Date</h3>
513
-<div class="outline-text-3" id="text-org9eb60ac">
515
+<div id="outline-container-org4f09e47" class="outline-3">
516
+<h3 id="org4f09e47">Set the Date</h3>
517
+<div class="outline-text-3" id="text-org4f09e47">
514
 <p>
518
 <p>
515
 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.
519
 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.
516
 </p>
520
 </p>
520
 </p>
524
 </p>
521
 </div>
525
 </div>
522
 </div>
526
 </div>
523
-<div id="outline-container-org0b7814c" class="outline-3">
524
-<h3 id="org0b7814c">Chat System</h3>
525
-<div class="outline-text-3" id="text-org0b7814c">
527
+<div id="outline-container-orgb84219e" class="outline-3">
528
+<h3 id="orgb84219e">Check network status</h3>
529
+<div class="outline-text-3" id="text-orgb84219e">
530
+<p>
531
+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.
532
+</p>
533
+
534
+<p>
535
+If after a few minutes you still don't see the <i>Tox Chat</i> icon appear on the desktop then there might be a problem with the wifi configuration. Press <b>ALT</b> and <b>F2</b>, type <i>mate-terminal</i> and press enter, then use the following commands. If you are prompted for a password then the default one is <i>freedombone</i>.
536
+</p>
537
+
538
+<div class="org-src-container">
539
+
540
+<pre class="src src-bash">sudo batman restart
541
+sudo batman data
542
+</pre>
543
+</div>
544
+
545
+<p>
546
+If everything is working then you should see that the sent and received byte counts are changing as data moves around the network.
547
+</p>
548
+
549
+<p>
550
+If you have a mobile phone with F-droid then you can install the <i>Wifi Analyser</i> app. Look for the SSID called "mesh" and this will give a good indication of what the signal strength is like and whether there are other overlapping wifi systems which might be causing collisions.
551
+</p>
552
+</div>
553
+</div>
554
+
555
+<div id="outline-container-org7807e29" class="outline-3">
556
+<h3 id="org7807e29">Chat System</h3>
557
+<div class="outline-text-3" id="text-org7807e29">
526
 <p>
558
 <p>
527
 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 Tox chat and users icons appear. Select the users icon and you should see a list of users on the mesh. Select the Tox chat 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.
559
 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 Tox chat and users icons appear. Select the users icon and you should see a list of users on the mesh. Select the Tox chat 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.
528
 </p>
560
 </p>
581
 </div>
613
 </div>
582
 </div>
614
 </div>
583
 
615
 
584
-<div id="outline-container-org451f3ef" class="outline-3">
585
-<h3 id="org451f3ef">Sharing Files</h3>
586
-<div class="outline-text-3" id="text-org451f3ef">
616
+<div id="outline-container-org00287ce" class="outline-3">
617
+<h3 id="org00287ce">Sharing Files</h3>
618
+<div class="outline-text-3" id="text-org00287ce">
587
 <p>
619
 <p>
588
 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.
620
 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.
589
 </p>
621
 </p>
598
 </div>
630
 </div>
599
 </div>
631
 </div>
600
 
632
 
601
-<div id="outline-container-orgd923182" class="outline-3">
602
-<h3 id="orgd923182">Blogging</h3>
603
-<div class="outline-text-3" id="text-orgd923182">
633
+<div id="outline-container-org6888134" class="outline-3">
634
+<h3 id="org6888134">Blogging</h3>
635
+<div class="outline-text-3" id="text-org6888134">
604
 <p>
636
 <p>
605
 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.
637
 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.
606
 </p>
638
 </p>