Moving to image distribution via dat
This will scale much better
This commit is contained in:
parent
d6d4e61d6f
commit
60c89bc7eb
|
@ -38,7 +38,8 @@ The MultiWriter tool is also available within mesh client images, so that you ca
|
|||
Install some prerequisites:
|
||||
|
||||
#+begin_src bash
|
||||
sudo apt-get install xz-utils wget
|
||||
sudo apt-get install xz-utils nodejs
|
||||
sudo npm install -g dat
|
||||
#+end_src
|
||||
|
||||
To download images with dat:
|
||||
|
@ -48,13 +49,6 @@ dat clone dat://e2ed9767d6ab64f4c43a2adbce65af225133fec7ba95737f0a2f6ae292ba358e
|
|||
cd e2ed9767d6ab64f4c43a2adbce65af225133fec7ba95737f0a2f6ae292ba358e
|
||||
#+end_src
|
||||
|
||||
Or to download images directly with wget (may be slower):
|
||||
|
||||
#+begin_src bash
|
||||
wget https://freedombone.net/downloads/v31/freedombone-meshclient-i386.img.xz
|
||||
wget https://freedombone.net/downloads/v31/freedombone-meshclient-i386.img.xz.sig
|
||||
#+end_src
|
||||
|
||||
Check the signature:
|
||||
|
||||
#+begin_src bash
|
||||
|
@ -76,7 +70,8 @@ If you're in an emergency and don't have Atheros wifi dongles then there is also
|
|||
Install some prerequisites:
|
||||
|
||||
#+begin_src bash
|
||||
sudo apt-get install xz-utils wget
|
||||
sudo apt-get install xz-utils nodejs
|
||||
sudo npm install -g dat
|
||||
#+end_src
|
||||
|
||||
To download images with dat:
|
||||
|
@ -86,13 +81,6 @@ dat clone dat://6d1b73d13b6f9b5c481c6dfd64be6aa58e1cd2d153a6bb04bbc177999ee9925e
|
|||
cd 6d1b73d13b6f9b5c481c6dfd64be6aa58e1cd2d153a6bb04bbc177999ee9925e
|
||||
#+end_src
|
||||
|
||||
Or to download images directly with wget (may be slower):
|
||||
|
||||
#+begin_src bash
|
||||
wget https://freedombone.net/downloads/v31/freedombone-meshclient-insecure-i386.img.xz
|
||||
wget https://freedombone.net/downloads/v31/freedombone-meshclient-insecure-i386.img.xz.sig
|
||||
#+end_src
|
||||
|
||||
Check the signature:
|
||||
|
||||
#+begin_src bash
|
||||
|
@ -115,12 +103,31 @@ Routers are intended to build network coverage for an area using small and low c
|
|||
|
||||
The above picture shows 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).
|
||||
|
||||
Install some prerequisites:
|
||||
|
||||
#+begin_src bash
|
||||
sudo apt-get install xz-utils wget
|
||||
wget https://freedombone.net/downloads/v31/freedombone-mesh_beaglebone-armhf.img.xz
|
||||
wget https://freedombone.net/downloads/v31/freedombone-mesh_beaglebone-armhf.img.xz.sig
|
||||
gpg --verify freedombone-mesh_beaglebone-armhf.img.xz.sig
|
||||
sudo apt-get install xz-utils nodejs
|
||||
sudo npm install -g dat
|
||||
#+end_src
|
||||
|
||||
To download images with dat:
|
||||
|
||||
#+begin_src bash
|
||||
dat clone dat://a4e79e49c6e77b919d4ae4827037e813ef1ba2734c342d0d78146ce16a819ebb/
|
||||
cd a4e79e49c6e77b919d4ae4827037e813ef1ba2734c342d0d78146ce16a819ebb
|
||||
#+end_src
|
||||
|
||||
Check the signature:
|
||||
|
||||
#+begin_src bash
|
||||
gpg --verify freedombone-mesh_beaglebone-armhf.img.sig
|
||||
unxz freedombone-mesh_beaglebone-armhf.img.xz
|
||||
#+end_src
|
||||
|
||||
Then clone to the microSD drive, where sdX is your device name:
|
||||
|
||||
#+begin_src bash
|
||||
sudo dd if=/dev/zero of=/dev/sdX bs=32M count=8
|
||||
sudo dd bs=32M if=freedombone-mesh_beaglebone-armhf.img of=/dev/sdX conv=fdatasync,sync,noerror
|
||||
#+end_src
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<title></title>
|
||||
<!-- 2018-06-15 Fri 17:40 -->
|
||||
<!-- 2018-06-16 Sat 11:38 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="generator" content="Org-mode" />
|
||||
<meta name="author" content="Bob Mottram" />
|
||||
|
@ -209,7 +209,8 @@ Install some prerequisites:
|
|||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">sudo apt-get install xz-utils wget
|
||||
<pre class="src src-bash">sudo apt-get install xz-utils nodejs
|
||||
sudo npm install -g dat
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
|
@ -224,17 +225,6 @@ cd e2ed9767d6ab64f4c43a2adbce65af225133fec7ba95737f0a2f6ae292ba358e
|
|||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Or to download images directly with wget (may be slower):
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">wget https://freedombone.net/downloads/v31/freedombone-meshclient-i386.img.xz
|
||||
wget https://freedombone.net/downloads/v31/freedombone-meshclient-i386.img.xz.sig
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Check the signature:
|
||||
</p>
|
||||
|
@ -271,7 +261,8 @@ Install some prerequisites:
|
|||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">sudo apt-get install xz-utils wget
|
||||
<pre class="src src-bash">sudo apt-get install xz-utils nodejs
|
||||
sudo npm install -g dat
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
|
@ -286,17 +277,6 @@ cd 6d1b73d13b6f9b5c481c6dfd64be6aa58e1cd2d153a6bb04bbc177999ee9925e
|
|||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Or to download images directly with wget (may be slower):
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">wget https://freedombone.net/downloads/v31/freedombone-meshclient-insecure-i386.img.xz
|
||||
wget https://freedombone.net/downloads/v31/freedombone-meshclient-insecure-i386.img.xz.sig
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Check the signature:
|
||||
</p>
|
||||
|
@ -341,13 +321,46 @@ Routers are intended to build network coverage for an area using small and low c
|
|||
The above picture shows 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>
|
||||
|
||||
<p>
|
||||
Install some prerequisites:
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">sudo apt-get install xz-utils wget
|
||||
wget https://freedombone.net/downloads/v31/freedombone-mesh_beaglebone-armhf.img.xz
|
||||
wget https://freedombone.net/downloads/v31/freedombone-mesh_beaglebone-armhf.img.xz.sig
|
||||
gpg --verify freedombone-mesh_beaglebone-armhf.img.xz.sig
|
||||
<pre class="src src-bash">sudo apt-get install xz-utils nodejs
|
||||
sudo npm install -g dat
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
To download images with dat:
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">dat clone dat://a4e79e49c6e77b919d4ae4827037e813ef1ba2734c342d0d78146ce16a819ebb/
|
||||
cd a4e79e49c6e77b919d4ae4827037e813ef1ba2734c342d0d78146ce16a819ebb
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Check the signature:
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">gpg --verify freedombone-mesh_beaglebone-armhf.img.sig
|
||||
unxz freedombone-mesh_beaglebone-armhf.img.xz
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Then clone to the microSD drive, where sdX is your device name:
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">sudo dd if=/dev/zero of=/dev/sdX bs=32M count=8
|
||||
sudo dd bs=32M if=freedombone-mesh_beaglebone-armhf.img of=/dev/sdX conv=fdatasync,sync,noerror
|
||||
</pre>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue