- flash the official ubuntu to an sdcard
- connect to the debug serial port and boot the board
- run
sudo npi-configand enable ssh - connect to a wifi
sudo nmcli r wifi onsudo nmcli dev wifisudo nmcli dev wifi connect "SSID" password "PASSWORD"
- check your ip address and enter it in ansible
hostsfile - copy your ssh key to the nanopi:
ssh-copy-id pi@IPADDRESS(login password is pi)
The rest of the setup is handled using ansible. It installs all the packages and configures the linux.
To setup the NanoPi-Duo using ansible run:
ansible-playbook nano-pi-duo-ros-playbook.yml