The Beaglebone Black is small, cheap, a fully open hardware design, has a hardware random number generator and consumes very little electrical power, making it suitable for all kinds of uses.
<li>A Beaglebone Black. The exact revision of the hardware isn't very important, but it should have an ethernet socket.</li>
<li>Optionally a plastic or metal case to protect the electronics.</li>
<li>An ethernet cable. Typically these are colour coded either blue or yellow. Either colour will do.</li>
<li>Either a 5v power supply with a plug which fits the Beaglebone or a USB cable and USB to mains adaptor.</li>
<li>A microSD card at least 8 gigabytes in size. In tests Sandisk class 10 works well. Prefer smaller but faster I/O rating to larger but slower.</li>
<li>A microSD card adaptor for your laptop or desktop system, so that you can copy the disk image to the card.</li>
</ul>
<p>
On your laptop or desktop prepare a microSD card image as follows. To create an image on a Debian based system:
</p>
<divclass="org-src-container">
<preclass="src src-bash">sudo apt-get install git
git clone https://github.com/bashrc/freedombone
<spanclass="org-builtin">cd</span> freedombone
git checkout stockholm
sudo make install
freedombone-image --setup debian
</pre>
</div>
<p>
Or on Arch/Parabola:
</p>
<divclass="org-src-container">
<preclass="src src-bash">sudo pacman -S git
git clone https://github.com/bashrc/freedombone
<spanclass="org-builtin">cd</span> freedombone
git checkout stockholm
sudo make install
freedombone-image --setup parabola
</pre>
</div>
<p>
If you own a domain name and want to make a system accessible via an ordinary browser then run:
</p>
<preclass="example">
freedombone-image -t beaglebone
</pre>
<p>
Or of you want a system where the services are only accessible via onion addresses.
</p>
<preclass="example">
freedombone-image -t beaglebone --onion yes
</pre>
<p>
Onion addresses have the advantage of being difficult to censor and you don't need to buy a domain or have a dynamic DNS account. An onion based system also means you don't need to think about NAT traversal type issues.
</p>
<p>
Connect the power and ethernet cable and plug it into your internet router.
Now follow the <ahref="./homeserver.html">instructions given here to copy the image to the microSD drive</a> beginning with running the <i>freedombone-client</i> command. Wherever it says "USB drive" substitute "microSD drive". When the microSD drive is ready plug it into the front of the Beaglebone.
Now power cycle by removing the power plug and then inserting it again. It should boot from the microSD drive and you should see the blue LEDs on the board flashing. If they don't fash at all for a few minutes then try copying the image to the microSD card again.
</p>
<p>
Follow the rest of the <ahref="./homeserver.html">instructions given here</a> to log in via ssh and install the system. The microSD drive <i>should remain inside the Beaglebone</i> and not be removed. This will be its main drive, with the internal EMMC not being used at all.
</p>
<p>
There are many apps available within the Freedombone system and trying to install them all is probably not a good idea, since this hardware is very resource constrained on CPU and especially on RAM. If the system seems to be becoming unstable and crashing then the most likely cause is running out of RAM, in which case you can try uninstalling some apps. It is possible to monitor RAM usage by logging in with ssh, exiting to the command line and then running the <i>top</i> command.
</p>
</div>
<divid="postamble"class="status">
<styletype="text/css">
.back-to-top {
position: fixed;
bottom: 2em;
right: 0px;
text-decoration: none;
color: #000000;
background-color: rgba(235, 235, 235, 0.80);
font-size: 12px;
padding: 1em;
display: none;
}
.back-to-top:hover {
background-color: rgba(135, 135, 135, 0.50);
}
</style>
<divclass="back-to-top">
<ahref="#top">Back to top</a> | <ahref="mailto:bob@freedombone.net">E-mail me</a>