Steps

  • Google “nanopi + wiki” and you find there the download links.
  • put nanopi-neo-core_sd_friendlycore-xenial-… onto an SD card

Setup Wifi

Connect to the Nano with a USB Serial adapter or mount the ext4 volume and edit /etc/wpa_supplicant/wpa_supplicant.conf

1
2
3
4
5
6
7
8
network={
ssid="Your wifi network"
psk="Password"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN
}

And add to /etc/network/interfaces

1
2
3
4
5
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp

Install Basic Software

Connect with ssh root@ip password fa or ssh pi@ip password pi.

1
2
3
sudo apt-get update
sudo apt-get install git curl -y
sudo apt-get install avahi-daemon -y

sudo nano /etc/avahi/services/ssh.service

1
2
3
4
5
6
7
8
9
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
  <name replace-wildcards="yes">%h</name>
  <service>
     <type>_ssh._tcp</type>
     <port>22</port>
  </service>
</service-group>

Configure hostname and timezone

1
npi-config

Test audio

1
aplay /root/Music/test.wav

Install Go

1
2
3
4
5
6
wget https://dl.google.com/go/go1.14.1.linux-armv6l.tar.gz
sudo tar -C /usr/local -xzf go1.14.1.linux-armv6l.tar.gz
echo "export PATH=\$PATH:/usr/local/go/bin:~/go/bin/" >> ~/.profile
or into .bash_profile
log out and back in
go version

Install Node.js

1
2
3
4
5
use nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
log out and back in
nvm install --lts
node -v