In 2019 it's outdated !
This procedure explains how to setup an Internet Cube and configure it for Neutrinet. It is based on this document: https://repo.labriqueinter.net/
If, for some reason, you're re-installing a cube and you want to re-use a certificate, you can find them on a running (or dead) cube as user.crt, user.key, ca-server.crt and credentials in /etc/openvpn/keys.
This is the strict minimum you need:
You can find details about the components and buy them here
You'll also need:
In order to install the latest version of Yunohost on the SD card, we'll use a simple script that does the hard work for you.
Open a terminal, then:
$ mkdir ~/internet-cube-install $ cd ~/internet-cube-install $ wget https://repo.labriqueinter.net/install-sd.sh $ chmod 0755 install-sd.sh
First remove the SD card from your computer if present.
In your terminal, run (add the -2 argument if you use a Lime2 and not a Lime1 and -e if you wan a fully encrypted file system) :
$ ./install-sd.sh [-e] [-2]
And follow the on screen instructions. It will: - detect your SD card - download the latest Yunohost image - verify its integrity - install the image on your SD card (all data on the SD card will be lost)
Remove the SD card from your computer when it's done.
In order to connect to your Cube, you need to find its IP address on your local network.
In your terminal, run:
$ ./install-sd.sh -l
The output should look like this:
Internet Cubes found on the network: 1. YunoHost Admin: https://192.168.1.46 SSH Access: ssh email@example.com HyperCube Debug: http://192.168.1.46:2468/install.html
In this example, the IP address of your Cube on the local network is: 192.168.1.46
If the script cannot find your cube, try again a couple of minutes later.
To connect to your Cube as root, in your terminal, run:
$ ssh firstname.lastname@example.org
(Please replace 192.168.1.46 with the IP address of your Cube found in the previous step) The root password of your Cube is: olinux
You'll be asked to change it. Please choose a strong password and do not loose it.
Now that you're connected to your Cube via SSH, you will download the configuration script and run it:
root@olinux:~# wget https://raw.githubusercontent.com/labriqueinternet/configuration_scripts/master/neutrinet.sh root@olinux:~# chmod 0755 neutrinet.sh root@olinux:~# ./neutrinet.sh
And follow the on screen instructions. Important: at some point during the installation, the script will prompt your for an “Administration password”. This password is: neutrinet
It will: - ask you for:
- update the system - finish the Yunohost configuration - install the following Yunohost apps:
Those passwords have been set to 'neutrinet' (without quotes) during the install process.
$ ssh email@example.com $ passwd
## Configure the DNS records of your domain
See this page.
We try to keep a list of issues we face at https://wiki.neutrinet.be/cube/problems If you have issues, or maybe you were able to find a fix for an issue, do not hesitate to contact us.