/archives
et ajouter dans /etc/fstab
la ligne suivante pour monter le disque dur au démarrage (la commande blkid
affiche le UUID de /dev/sda1
) : UUID=8f99812d-689d-4a29-8b1d-b4110e304869 /archives ext4 defaults,noatime 0 2
add-apt-repository ppa:jean-francois-dockes/upnpp1 apt-get update apt-get install upmpdcli upmpdcli-qobuz
Dans le répertoire /etc/
mv upmpdcli.conf upmpdcli.conf.orig wget http://download.tuxfamily.org/bz31notes/armbian/upmpdcli.conf wget http://download.tuxfamily.org/bz31notes/armbian/upmpdcli_radiolist [Qobuz : configurer qobuzuser/qobuzpass/qobuzformatid dans ''/etc/upmpdcli.conf] systemctl restart upmpdcli systemctl status upmpdcli
mpdhost = IP_de_NanoPi_NEO2
dans /etc/upmpdcli.conf
.
timedatectl timedatectl list-timezones timedatectl set-timezone Europe/Paris
systemctl stop ntp.service systemctl disable ntp.service
Créer et activer un timer /etc/systemd/system/time-sync.timer
[Unit] Description=Synchronisation de l'heure [Timer] OnBootSec=60 OnCalendar=*-*-* 23:50:00 Persistent=true [Install] WantedBy=multi-user.target
et créer le service correspondant (pas besoin de l'activer) /etc/systemd/system/time-sync.service
[Unit] Description=Synchronisation de l'heure After=network.target [Service] Type=oneshot ExecStart=/usr/sbin/ntpd -qg
et reboot
.
root@odroidxu4:~# systemctl get-default graphical.target root@odroidxu4:~# ls -l /lib/systemd/system/default.target lrwxrwxrwx 1 root root 16 Oct 27 11:03 /lib/systemd/system/default.target -> graphical.target
Changer-le en multi-user.target :
root@nanopineo2:~# systemctl set-default multi-user.target Created symlink from /etc/systemd/system/default.target to /lib/systemd/system/multi-user.target. root@odroidxu4:~# systemctl get-default multi-user.target root@odroidxu4:~# reboot
systemctl stop hostapd keyboard-setup remote-fs.target getty@tty1 serial-getty@ttyS0 systemctl disable hostapd keyboard-setup remote-fs.target getty@tty1 serial-getty@ttyS0 systemctl mask serial-getty@ttyS0
root@odroidxu4:~# lsusb Bus 006 Device 002: ID 0bda:8153 Realtek Semiconductor Corp. Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 002: ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp. Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 002: ID 0bda:8153 Realtek Semiconductor Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
bridge-utils
et configurer /etc/network/interfaces
avec iface eth0 inet manual iface enx001e0630d049 inet manual iface enx00e04c618396 inet manual auto br0 iface br0 inet dhcp hwaddress ether 00:e0:4c:61:83:96 bridge_ports enx001e0630d049 enx00e04c618396 # Local loopback auto lo iface lo inet loopback
rsync -av -e ssh --delete-after --stats /home/bz31/Documents root@192.168.0.23:/archives/sauvegarde rsync -av -e ssh --delete-after --stats /home/bz31/public_html root@192.168.0.23:/archives/sauvegarde
wget http://downloads.slimdevices.com/nightly/7.9/sc/cb4085808d35eb09ff067e1c1a9a0e9a75fe4551/logitechmediaserver_7.9.2~1530185314_arm.deb dpkg -i logitechmediaserver_7.9.2~1530185314_arm.deb