Difference between revisions of "Preparing NanoPI M1 Plus"

From wiki.ferrari.mo.it
Jump to navigation Jump to search
Line 25: Line 25:
 
   
 
   
 
NOTE: the eth0 is unconfigured by default. If you forget to configure it in the file and reboot, the board will be inaccessible by ssh.
 
NOTE: the eth0 is unconfigured by default. If you forget to configure it in the file and reboot, the board will be inaccessible by ssh.
 +
 +
Then, remove the unwanted directories:
 +
 +
 +
 +
=== Step 3 - Install node ===
 +
 +
sudo apt-get install curl software-properties-common
 +
curl -sL https://deb.nodesource.com/setup_10.x | sudo bash -
 +
 +
apt-get install nodejs
 +
 +
=== Step 4 - Install Eywa and its packages ===
 +
 +
Copy the eywa directory to

Revision as of 15:44, 19 April 2019

Preparing NanoPI M1 Plus for Eywa

Step 1 - Flash card

Download nanopi-m1-plus_sd_debian-jessie_4.14_armhf_20181119.img from FriendlyElec shared folder.

Then, flash an SD card (we used Toshiba 16Gb) with balena Etcher (or equivalent).

The username/password of the system is root / fa .

Step 2 - Remove the unwanted packages

apt-get --yes --force-yes remove --auto-remove --purge network-manager x11-common x11-proto*

Before rebooting the system, you must configure /etc/network/interfaces with the following:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 10.10.10.17
netmask 255.255.255.0
gateway 10.10.10.254

NOTE: the eth0 is unconfigured by default. If you forget to configure it in the file and reboot, the board will be inaccessible by ssh.

Then, remove the unwanted directories:


Step 3 - Install node

sudo apt-get install curl software-properties-common
curl -sL https://deb.nodesource.com/setup_10.x | sudo bash -

apt-get install nodejs

Step 4 - Install Eywa and its packages

Copy the eywa directory to