Only create a tox user on mesh clients
This commit is contained in:
parent
540bd701a0
commit
80c3f6ef43
|
@ -30,7 +30,7 @@ wget https://freedombone.net/downloads/mesh-client-i386.img.xz
|
|||
wget https://freedombone.net/downloads/mesh-client-i386.img.xz.sig
|
||||
gpg --verify mesh-client-i386.img.xz.sig
|
||||
sha256sum mesh-client-i386.img.xz
|
||||
eaf87dcbb17b7d8328fde56005d396d423e51390e4163385c0ee8cfa0844d6f3
|
||||
06de9011625141188055fd87b585a0945cd5b77cf4d0ac2d080dc6ce4424a36c
|
||||
unxz mesh-client-i386.img.xz
|
||||
sudo dd bs=1M if=mesh-client-i386.img of=/dev/sdX conv=fdatasync
|
||||
#+end_src
|
||||
|
@ -41,13 +41,13 @@ If you're in an emergency and don't have Atheros wifi dongles then there is also
|
|||
|
||||
#+begin_src bash
|
||||
sudo apt-get install xz-utils wget
|
||||
wget https://freedombone.net/downloads/mesh-client-i386-insecure.img.xz
|
||||
wget https://freedombone.net/downloads/mesh-client-i386-insecure.img.xz.sig
|
||||
gpg --verify mesh-client-i386-insecure.img.xz.sig
|
||||
sha256sum mesh-client-i386-insecure.img.xz
|
||||
2aa1552d695485505b6a145857e5cebb7dc365dbf9614488f474bf5ac1149473
|
||||
unxz mesh-client-i386-insecure.img.xz
|
||||
sudo dd bs=1M if=mesh-client-i386-insecure.img of=/dev/sdX conv=fdatasync
|
||||
wget https://freedombone.net/downloads/mesh-client-insecure-i386.img.xz
|
||||
wget https://freedombone.net/downloads/mesh-client-insecure-i386.img.xz.sig
|
||||
gpg --verify mesh-client-insecure-i386.img.xz.sig
|
||||
sha256sum mesh-client-insecure-i386.img.xz
|
||||
5d9108093d687c7353e078061197f5121d472ff608b60deb81a4b1c6dbfcce7b
|
||||
unxz mesh-client-insecure-i386.img.xz
|
||||
sudo dd bs=1M if=mesh-client-insecure-i386.img of=/dev/sdX conv=fdatasync
|
||||
#+end_src
|
||||
|
||||
** Router images
|
||||
|
@ -59,7 +59,7 @@ wget https://freedombone.net/downloads/mesh-router-beaglebone-black.img.xz
|
|||
wget https://freedombone.net/downloads/mesh-router-beaglebone-black.img.xz.sig
|
||||
gpg --verify mesh-router-beaglebone-black.img.xz.sig
|
||||
sha256sum mesh-router-beaglebone-black.img.xz
|
||||
7e90e0489eff70d7211b2b9b891ba6da20670bedbbe6db3edbb41bc54f7c8679
|
||||
2f01bad37a209b54a6d0f4b1a457be51aad8e9878a42c6922d33092a39ecabb7
|
||||
unxz mesh-router-beaglebone-black.img.xz
|
||||
sudo dd bs=1M if=mesh-router-beaglebone-black.img of=/dev/sdX conv=fdatasync
|
||||
#+end_src
|
||||
|
|
|
@ -470,13 +470,13 @@ function create_tox_user {
|
|||
touch /home/${MY_USERNAME}/.first_boot
|
||||
fi
|
||||
|
||||
toxid -u $MY_USERNAME -n data
|
||||
chown -R ${MY_USERNAME}:${MY_USERNAME} /home/${MY_USERNAME}/.config/tox
|
||||
|
||||
if [ ! -d /home/$MY_USERNAME/Desktop ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
toxid -u $MY_USERNAME -n data
|
||||
chown -R ${MY_USERNAME}:${MY_USERNAME} /home/${MY_USERNAME}/.config/tox
|
||||
|
||||
chmod +x /home/$MY_USERNAME/Desktop/*.desktop
|
||||
chown ${MY_USERNAME}:${MY_USERNAME} /home/$MY_USERNAME/Desktop/*
|
||||
echo $'Created Tox user' >> $INSTALL_LOG
|
||||
|
|
|
@ -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-08-31 Wed 14:18 -->
|
||||
<!-- 2016-08-31 Wed 15:43 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title></title>
|
||||
|
@ -256,12 +256,12 @@ for the JavaScript code in this tag.
|
|||
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.
|
||||
</p>
|
||||
|
||||
<div id="outline-container-org092f9d1" class="outline-2">
|
||||
<h2 id="org092f9d1">Ready made images</h2>
|
||||
<div class="outline-text-2" id="text-org092f9d1">
|
||||
</div><div id="outline-container-orgbbb82fc" class="outline-3">
|
||||
<h3 id="orgbbb82fc">Client images</h3>
|
||||
<div class="outline-text-3" id="text-orgbbb82fc">
|
||||
<div id="outline-container-org2ca2ea1" class="outline-2">
|
||||
<h2 id="org2ca2ea1">Ready made images</h2>
|
||||
<div class="outline-text-2" id="text-org2ca2ea1">
|
||||
</div><div id="outline-container-org6c5e880" class="outline-3">
|
||||
<h3 id="org6c5e880">Client images</h3>
|
||||
<div class="outline-text-3" id="text-org6c5e880">
|
||||
<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).
|
||||
</p>
|
||||
|
@ -290,28 +290,28 @@ If you're in an emergency and don't have Atheros wifi dongles then there is also
|
|||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">sudo apt-get install xz-utils wget
|
||||
wget https://freedombone.net/downloads/mesh-client-i386-insecure.img.xz
|
||||
wget https://freedombone.net/downloads/mesh-client-i386-insecure.img.xz.sig
|
||||
gpg --verify mesh-client-i386-insecure.img.xz.sig
|
||||
sha256sum mesh-client-i386-insecure.img.xz
|
||||
2aa1552d695485505b6a145857e5cebb7dc365dbf9614488f474bf5ac1149473
|
||||
unxz mesh-client-i386-insecure.img.xz
|
||||
sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">if</span>=mesh-client-i386-insecure.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync
|
||||
wget https://freedombone.net/downloads/mesh-client-insecure-i386.img.xz
|
||||
wget https://freedombone.net/downloads/mesh-client-insecure-i386.img.xz.sig
|
||||
gpg --verify mesh-client-insecure-i386.img.xz.sig
|
||||
sha256sum mesh-client-insecure-i386.img.xz
|
||||
5d9108093d687c7353e078061197f5121d472ff608b60deb81a4b1c6dbfcce7b
|
||||
unxz mesh-client-insecure-i386.img.xz
|
||||
sudo dd <span class="org-variable-name">bs</span>=1M <span class="org-variable-name">if</span>=mesh-client-insecure-i386.img <span class="org-variable-name">of</span>=/dev/sdX <span class="org-variable-name">conv</span>=fdatasync
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge3a4e42" class="outline-3">
|
||||
<h3 id="orge3a4e42">Router images</h3>
|
||||
<div class="outline-text-3" id="text-orge3a4e42">
|
||||
<div id="outline-container-org67e3a98" class="outline-3">
|
||||
<h3 id="org67e3a98">Router images</h3>
|
||||
<div class="outline-text-3" id="text-org67e3a98">
|
||||
<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-org5ab7672" class="outline-4">
|
||||
<h4 id="org5ab7672">Beaglebone Black</h4>
|
||||
<div class="outline-text-4" id="text-org5ab7672">
|
||||
<div id="outline-container-org54e0719" class="outline-4">
|
||||
<h4 id="org54e0719">Beaglebone Black</h4>
|
||||
<div class="outline-text-4" id="text-org54e0719">
|
||||
<div class="org-src-container">
|
||||
|
||||
<pre class="src src-bash">sudo apt-get install xz-utils wget
|
||||
|
@ -333,9 +333,9 @@ If you have a few Beaglebone Blacks to use as routers then repeat the <i>dd</i>
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfbacb16" class="outline-2">
|
||||
<h2 id="orgfbacb16">To build the disk image yourself</h2>
|
||||
<div class="outline-text-2" id="text-orgfbacb16">
|
||||
<div id="outline-container-org11ba31a" class="outline-2">
|
||||
<h2 id="org11ba31a">To build the disk image yourself</h2>
|
||||
<div class="outline-text-2" id="text-org11ba31a">
|
||||
<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>
|
||||
|
@ -426,9 +426,9 @@ The resulting image can be copied to a microSD card, inserted into a Beaglebone
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb1a953b" class="outline-2">
|
||||
<h2 id="orgb1a953b">How to use it</h2>
|
||||
<div class="outline-text-2" id="text-orgb1a953b">
|
||||
<div id="outline-container-orgba0cf51" class="outline-2">
|
||||
<h2 id="orgba0cf51">How to use it</h2>
|
||||
<div class="outline-text-2" id="text-orgba0cf51">
|
||||
<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>
|
||||
|
|
Loading…
Reference in New Issue