L’Internet des Objets
14.3 Armbian
Une mauvaise alimentation est une des premères causes de troubles pour Armbian.
armbianmonitor Usage: armbianmonitor [-h] [-b] [-c $path] [-d $device] [-D] [-m] [-p] [-r] [-u] ############################################################################ Use armbianmonitor for the following tasks: armbianmonitor -c /path/to/test performs disk health/performance tests armbianmonitor -d monitors writes to $device armbianmonitor -D tries to upload debug disk info to improve armbianmonitor armbianmonitor -m provides simple CLI monitoring - scrolling output armbianmonitor -M provides simple CLI monitoring - fixed-line output armbianmonitor -n provides simple CLI network monitoring - scrolling output armbianmonitor -N provides simple CLI network monitoring - fixed-line output armbianmonitor -p tries to install cpuminer for performance measurements armbianmonitor -r tries to install RPi-Monitor armbianmonitor -u tries to upload armbian-hardware-monitor.log for support purs armbianmonitor -v tries to verify installed package integrity armbianmonitor -z runs a quick 7-zip benchmark to estimate CPU performance ############################################################################
14.3.1 Installation
dd if=Armbian_20.02.1_Nanopi-r1_buster_current_5.4.20.img \ | pv| dd of=/dev/sdc
Après l’installation, la carte Ethernet prend son adresse par DHCP. Le serveur ssh est actif. Le mot de passe par défaut de root est 1234.
Le script armbian-config permet de commencer la configuration.
Ensuite, nand-sata-install permet d’installer sur l’eMMC. Il faut le lancer et les questions guide le processus. La carte SD est identifiée comme /dev/mmcblk0, l’eMMC, comme /dev/mmcblk1.
Login script shows : board name with large text, distribution base, kernel version, system load, uptime, memory usage, IP address, CPU and drive temperature, ambient temperature from Temper if exits, SD card usage, battery conditions and number of updates to install
Le port USB OTG présente une connexion série.
Bienvenue avec minicom 2.7.1 OPTIONS: I18n Compilé le May 6 2018, 08:02:47. Port /dev/ttyACM1, 15:27:54 Tapez CTRL-A Z pour voir l'aide concernant les touches spéciales nanopi-r1 login: Login timed out after 60 seconds. Armbian 20.02.1 Buster ttyGS0 nanopi-r1 login: [1] 14474 done display NanoPi_R1-layout.jpg nanopi-r1 login: nanopi-r1 login: nanopi-r1 login: nanopi-r1 login: nanopi-r1 login: arno Mot de passe : _ _ ____ _ ____ _ | \ | | _ \(_) | _ \/ | | \| | |_) | | | |_) | | | |\ | __/| | | _ <| | |_| \_|_| |_| |_| \_\_| Welcome to Armbian buster with Linux 5.4.31-sunxi System load: 0.27 0.08 0.02 Up time: 45 min Local users: Memory usage: 9 % of 998MB IP: 192.168.0.35 10.2.1.1 10.3.1.1 CPU temp: 25C Usage of /: 16% of 7.1G arno@nanopi-r1:~$