Configuration de Raspbian sous Raspberry Zero sans écran

Configuration de Raspbian sous Raspberry Zero sans écran.

Distribution : Raspbian Lite 2017-07-05

1/ A partir d’un ordinateur, Insérer l’adaptateur ‘carte SD‘ pour micro-SD.

2/ Graver l’image.

[~] ➔ sudo dd bs=4M if=2017-07-05-raspbian-jessie-lite.img of=/dev/mmcblk0

3/ Enlever et réinsérer l’adaptateur ‘carte SD‘.

La carte SD est monté dans les répertoires de montage :


4/ Configuration de ssh.

Créer :


Ajouter :


5/ Configuration réseau sans-fil.

Créer :


Ajouter :

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev

6/ Configuration du ‘hostname‘.

Ouvrir :


Remplacer tout par :


7/ Démonter les répertoires et enlever l’adaptateur ‘carte SD‘.

8/ Insérer la carte micro-SD dans le Raspberry Zero.

9/ Test de la connexion ssh à partir d’un autre ordinateur du réseau.

– Test ‘ping‘ :

util01@station02:~$ ping r0-1.local -c 3
PING r0-1.local ( 56(84) bytes of data.
64 bytes from pc16.home ( icmp_seq=1 ttl=64 time=8.95 ms
64 bytes from pc16.home ( icmp_seq=2 ttl=64 time=9.58 ms
64 bytes from pc16.home ( icmp_seq=3 ttl=64 time=8.96 ms
--- r0-1.local ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 8.953/9.168/9.587/0.315 ms

– Test ‘ssh‘ :

util01@station02:~$ ssh pi@r0-1.local
The authenticity of host 'r0-1.local (' can't be established.
ECDSA key fingerprint is SHA256:B3dN5hBe/HvT7CV+klwfxQMX+M6zw3KnX4EIIFBAAjo.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'r0-1.local' (ECDSA) to the list of known hosts.
Warning: the ECDSA host key for 'r0-1.local' differs from the key for the IP address ''
Offending key for IP in /home/util01/.ssh/known_hosts:19
Are you sure you want to continue connecting (yes/no)? yes
pi@r0-1.local's password: 
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Jul  5 11:48:35 2017
SSH is enabled and the default password for the 'pi' user has not been changed.
This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.
pi@r0-1:~ $

10/ Liens.

Comments are closed, but trackbacks and pingbacks are open.