From 84062a6eb526dbcb0c186d5cbd1e80a3c29b3aa6 Mon Sep 17 00:00:00 2001
From: Bob Mottram
"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).
@@ -308,16 +308,16 @@ sudo dd bs=1M -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.
sudo apt-get install xz-utils wget @@ -339,29 +339,33 @@ If you have a few Beaglebone Blacks to use as routers then repeat the dd
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.
-First you will need to create an image. On a Debian based system: +First you will need to create an image. On a Debian based system (tested on Debian Jessie and Trisquel 7):
sudo su -apt-get -y install build-essential libc6-dev-i386 \ +sudo apt-get -y install build-essential libc6-dev-i386 wget \ gcc-multilib g++-multilib git python-docutils mktorrent \ vmdebootstrap xz-utils dosfstools btrfs-tools extlinux \ python-distro-info mbr qemu-user-static binfmt-support \ u-boot-tools qemu -git clone https://github.com/bashrc/freedombone +wget https://freedombone.net/downloads/freedombone-mesh-source.tar.gz +wget https://freedombone.net/downloads/freedombone-mesh-source.tar.gz.sig +gpg --verify freedombone-mesh-source.tar.gz.sig +sha256sum freedombone-mesh-source.tar.gz +912a881e32c2846337f19d60bc4685f745b252858b8bccb5d07d009e67c80c33 +tar -xzvf freedombone-mesh-source.tar.gz cd freedombone git checkout stockholm -make install +sudo make install freedombone-image -t i386 -v meshclient
dd bs=1M if=myimagefile.img of=/dev/sdX conv=fdatasync +sudo dd bs=1M if=myimagefile.img of=/dev/sdX conv=fdatasync
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.