Acceder au rasberry via ssh, et config de base

Acceder en ssh

1. Trouver l'ip (ici pour ex, 192.168.0.14),

2. puis ssh pi@192.168.0.14
le pw par défaut est raspberry (cf http://www.instructables.com/id/Use-ssh-to-talk-with-your-Raspberry-Pi/).
Si on avait déja une clef pour cette ip, il nous indique la commande: sudo ssh-keygen -f "/home/user/.ssh/known_hosts" -R 192.168.0.14

Changer le pw avec
sudo -i
passwd pi

et lancer les maj (sudo apt-get update) et rebooter avec shutdown -r now

==== AUTHENTICATING FOR org.freedesktop.login1.reboot ===
Authentication is required for rebooting the system.
Multiple identities can be used for authentication:
 1.  ,,, (pi)
 2.  root
Choose identity to authenticate as (1-2): 2
Password: Failed to execute operation: Connection timed out
Must be root.

il faut choisir 1

conf de base

sudo raspi-config 

ouvre une interface graphique de config pour changer de langue, maj de cet outil... cf https://www.raspberrypi.org/documentation/configuration/raspi-config.md

par ex, dans Advance option, on peux changer le hostname (que j'ai raccourci).

Installer écran LCD

http://www.waveshare.com/wiki/3.5inch_RPi_LCD_(A)
https://www.raspberrypi.org/documentation/hardware/display/troubleshooti...

Quelle version linux est installée ?

uname -r
4.4.11-v7+

lsb_release -r
Release:    8.0

 

 

"sudo raspi-config" ouvre une interface graphique de config