Extra mesh images

This commit is contained in:
Bob Mottram 2016-09-01 12:09:18 +01:00
parent 84062a6eb5
commit 61e6f13541
No known key found for this signature in database
GPG Key ID: 0452CC7CEA982E38
4 changed files with 55 additions and 24 deletions

View File

@ -26,7 +26,12 @@ Mesh networks are useful as a quick way to make a fully decentralised communicat
* Ready made images
** Client images
"Client" isn't exactly the right term, but it's a mesh peer with a user interface. These images can be copied to a USB drive, then you can plug it into a laptop/netbook/desktop machine and boot from it. You will probably also need an Atheros USB wifi dongle, because most built-in wifi usually requires proprietary firmware. In the commands below substitute /dev/sdX with the USB drive device, excluding any trailing numbers (eg. /dev/sdb).
#+BEGIN_CENTER
[[file:images/mesh_netbook.jpg]]
#+END_CENTER
"Client" isn't exactly the right term, but it's a mesh peer with a user interface. These images can be copied to a USB drive, then you can plug it into a laptop/netbook/desktop machine and boot from it. You will probably also need an Atheros USB wifi dongle (the black protruding object on the left side of the netbook in the picture above), because most built-in wifi usually requires proprietary firmware. In the commands below substitute /dev/sdX with the USB drive device, excluding any trailing numbers (eg. /dev/sdb).
#+begin_src bash
sudo apt-get install xz-utils wget
@ -57,6 +62,12 @@ sudo dd bs=1M if=mesh-client-insecure-i386.img of=/dev/sdX conv=fdatasync
** Router images
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.
*** Beaglebone Black
#+BEGIN_CENTER
[[file:images/mesh_router.jpg]]
#+END_CENTER
The above picture show a Beaglebone Black with the image copied onto a microSD card (there's no need to do anything with the internal EMMC). A USB Atheros wifi adaptor with a large antenna is attached and in this case power is from the mains, although it could be from a battery or solar power system capable of supplying 5 volts and maybe 1A (depending upon how active the router is).
#+begin_src bash
sudo apt-get install xz-utils wget
wget https://freedombone.net/downloads/mesh-router-beaglebone-black.img.xz

BIN
img/mesh_netbook.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

BIN
img/mesh_router.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2016-09-01 Thu 11:31 -->
<!-- 2016-09-01 Thu 12:09 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title></title>
@ -257,19 +257,27 @@ Mesh networks are useful as a quick way to make a fully decentralised communicat
</p>
<ul class="org-ul">
<li><a href="#org58fc760">Ready made images</a></li>
<li><a href="#orgd79f2a2">To build the disk image yourself</a></li>
<li><a href="#org1a1359a">How to use it</a></li>
<li><a href="#org335ce77">Ready made images</a></li>
<li><a href="#org8ec9dda">To build the disk image yourself</a></li>
<li><a href="#org35cf463">How to use it</a></li>
</ul>
<div id="outline-container-org58fc760" class="outline-2">
<h2 id="org58fc760">Ready made images</h2>
<div class="outline-text-2" id="text-org58fc760">
</div><div id="outline-container-org8b67c9e" class="outline-3">
<h3 id="org8b67c9e">Client images</h3>
<div class="outline-text-3" id="text-org8b67c9e">
<div id="outline-container-org335ce77" class="outline-2">
<h2 id="org335ce77">Ready made images</h2>
<div class="outline-text-2" id="text-org335ce77">
</div><div id="outline-container-orge903e3b" class="outline-3">
<h3 id="orge903e3b">Client images</h3>
<div class="outline-text-3" id="text-orge903e3b">
<div class="org-center">
<div class="figure">
<p><img src="images/mesh_netbook.jpg" alt="mesh_netbook.jpg" />
</p>
</div>
</div>
<p>
"Client" isn't exactly the right term, but it's a mesh peer with a user interface. These images can be copied to a USB drive, then you can plug it into a laptop/netbook/desktop machine and boot from it. You will probably also need an Atheros USB wifi dongle, because most built-in wifi usually requires proprietary firmware. In the commands below substitute /dev/sdX with the USB drive device, excluding any trailing numbers (eg. /dev/sdb).
"Client" isn't exactly the right term, but it's a mesh peer with a user interface. These images can be copied to a USB drive, then you can plug it into a laptop/netbook/desktop machine and boot from it. You will probably also need an Atheros USB wifi dongle (the black protruding object on the left side of the netbook in the picture above), because most built-in wifi usually requires proprietary firmware. In the commands below substitute /dev/sdX with the USB drive device, excluding any trailing numbers (eg. /dev/sdb).
</p>
<div class="org-src-container">
@ -308,16 +316,28 @@ sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-n
</div>
</div>
<div id="outline-container-orgcde0031" class="outline-3">
<h3 id="orgcde0031">Router images</h3>
<div class="outline-text-3" id="text-orgcde0031">
<div id="outline-container-org9a0e1eb" class="outline-3">
<h3 id="org9a0e1eb">Router images</h3>
<div class="outline-text-3" id="text-org9a0e1eb">
<p>
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.
</p>
</div>
<div id="outline-container-org7419bac" class="outline-4">
<h4 id="org7419bac">Beaglebone Black</h4>
<div class="outline-text-4" id="text-org7419bac">
<div id="outline-container-orgccbedbf" class="outline-4">
<h4 id="orgccbedbf">Beaglebone Black</h4>
<div class="outline-text-4" id="text-orgccbedbf">
<div class="org-center">
<div class="figure">
<p><img src="images/mesh_router.jpg" alt="mesh_router.jpg" />
</p>
</div>
</div>
<p>
The above picture show a Beaglebone Black with the image copied onto a microSD card (there's no need to do anything with the internal EMMC). A USB Atheros wifi adaptor with a large antenna is attached and in this case power is from the mains, although it could be from a battery or solar power system capable of supplying 5 volts and maybe 1A (depending upon how active the router is).
</p>
<div class="org-src-container">
<pre class="src src-bash">sudo apt-get install xz-utils wget
@ -339,9 +359,9 @@ If you have a few Beaglebone Blacks to use as routers then repeat the <i>dd</i>
</div>
</div>
<div id="outline-container-orgd79f2a2" class="outline-2">
<h2 id="orgd79f2a2">To build the disk image yourself</h2>
<div class="outline-text-2" id="text-orgd79f2a2">
<div id="outline-container-org8ec9dda" class="outline-2">
<h2 id="org8ec9dda">To build the disk image yourself</h2>
<div class="outline-text-2" id="text-org8ec9dda">
<p>
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.
</p>
@ -436,9 +456,9 @@ The resulting image can be copied to a microSD card, inserted into a Beaglebone
</div>
</div>
<div id="outline-container-org1a1359a" class="outline-2">
<h2 id="org1a1359a">How to use it</h2>
<div class="outline-text-2" id="text-org1a1359a">
<div id="outline-container-org35cf463" class="outline-2">
<h2 id="org35cf463">How to use it</h2>
<div class="outline-text-2" id="text-org35cf463">
<p>
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.
</p>