Modifications

Sauter à la navigation Sauter à la recherche
aucun résumé de modification
Ligne 4 : Ligne 4 :     
== Préambule ==
 
== Préambule ==
If you burned the OS image successfully, you should see a folder named '''boot''' appear on your main computer. If it doesn't, try removing and reinserting the SD card. If it still doesn't, try burning the image again.
+
Si vous avez gravé la carte correctement, vous devriez voir un répertoire/partition nommée '''boot''' dans le navigateur de fichier de votre ordinateur. Si vous ne le voyez pas, essayez d'éjecter puis réinsérer la carte SD card. Si '''boot''' n'est toujours pas visible alors essayez à nouveau de graver l'image.
   −
There are three text files we will create/edit in '''boot'''.
+
Il y a 3 fichiers qui doivent être édités/créés sur '''boot'''.
# '''wpa_supplicant.conf''' - wifi settings
+
# '''wpa_supplicant.conf''' - fichier de configuration WiFi.
# '''config.txt''' - global system settings
+
# '''config.txt''' - configuration globale du système
# '''ssh''' - an empty text file to enable ssh
+
# '''ssh''' - un fichier vide pour activer ssh (connexion terminal à distance via shell sécurisé)
   −
We are going to edit these directly on the SD card before putting it in the Pi Zero. This way you can edit these files using your favorite graphical text editor on your main computer. Try to avoid using a word processor though.
+
Nous allons éditer ces fichiers directement sur la carte SD avant de la mettre dans notre Pi Zero. De la sorte, vous pouvez éditer ces fichiers avec votre éditeur de texte préféré directement depuis votre ordinateur. N'utilisez pas de traitement texte pour éditer ces fichiers.
   −
== Configure WiFi ==
+
== Configuration WiFi ==
The Pi Zero W has built in WiFi so nothing additional is required. If you are using the original Pi Zero, you will need some form of {{pl|207|WiFi Adapter}} and a way to connect it: {{pl|756|cable}} or {{pl|892|adapter}}.
+
Le Pi Zero W dispose d'une antenne WiFi intégrée (pas besoin de matériel supplémentaire). Si vous utilisez un Pi Zero original alors il sera nécessaire d'ajouter un {{pl|207|adaptateur WiFi}} et de quoi le connecter: {{pl|756|câble}} ou {{pl|892|mini adaptateur OTG}}.
   −
The WiFi configuration file does not exist and needs to be created. The name of the file should be '''wpa_supplicant.conf''' and its contents will get copied to the system folder at boot time. It will then be deleted. So this a one time only process. If you want to try again, you have to recreate the file and reboot.
+
Le fichier de configuration WiFi n'est pas présent et doit être créé. Le nom du fichier doit être '''wpa_supplicant.conf''' et sont contenu sera dupliqué dans le répertoire système au moment du boot (il sera ensuite effacé). Ce processus ne doit être fait qu'une seule fois. Si vous voulez faire un nouvel essai, il faudra re-créer le fichier et rebooter le Pi.
   −
The contents of the file should be as shown below. Replace '''YOURSSID''' and '''YOURPASSWORD''' with whatever is used for your network setup.
+
Le contenu du fichier doit être similaire à ceci. Remplacer '''VOTRE-SSID''' et '''VOTRE-MOT-DE-PASSE''' avec les informations nécessaires pour vous connecter sur votre réseau WiFI.
    
<syntaxhighlight lang="python">
 
<syntaxhighlight lang="python">
Ligne 25 : Ligne 25 :     
network={
 
network={
     ssid="YOURSSID"
+
     ssid="VOTRE-SSID"
     psk="YOURPASSWORD"
+
     psk="VOTRE-MOT-DE-PASSE"
 
     scan_ssid=1
 
     scan_ssid=1
 
}
 
}
Ligne 32 : Ligne 32 :       −
{{ambox|text= Don't put any spaces around the = in this file. It doesn't like that.}}
+
{{ambox|text= Ne placez pas d'espace autour des = dans le fichier. Cela corrompt la configuration.}}
   −
Like this:
+
Comme ceci:
    
{{ADFImage|Pi-Zero-Headless-Editer-Fichier-01.jpg|640px}}
 
{{ADFImage|Pi-Zero-Headless-Editer-Fichier-01.jpg|640px}}
   −
Save file and move on to next step. (<a href="https://raspberrypi.stackexchange.com/a/37921">more details here</a>)
+
Sauvez le fichier et passez à l'étape suivante. (<a href="https://raspberrypi.stackexchange.com/a/37921">Vous trouverez plus de détails ici</a>)
 +
 
 +
== Activer UART ==
 +
L'UART permet d'établir une connexion série avec le Pi Zero par l'intermédiaire du GPIO. Cette UART est équipé d'un processus permettant d'établir une connexion shell via la liaison série.
 +
 
 +
Un fichier nommé '''config.txt''' existe déjà. Nous allons en éditer le contenu pour ajouter du texte à la fin.
   −
== Enable UART ==
+
Activer l'UART sur le connecteur GPIO permet de brancher un câble console USB pour faire du dépannage quand cela est nécessaire.
The file called '''config.txt''' already exists, we are just going to edit its contents. We will add some text to the bottom to enable the UART on the GPIO header pins. This allows a USB console cable to be attached later for troubleshooting.
      
{{ADFImage|Pi-Zero-Headless-Editer-Fichier-02.jpg|640px}}
 
{{ADFImage|Pi-Zero-Headless-Editer-Fichier-02.jpg|640px}}
   −
Open the file in a text editor and add the following text to the bottom.
+
Ouvrez le fichier dans un éditeur de texte et ajouter les lignes suivantes en fin de fichier.
    
<syntaxhighlight lang="python">
 
<syntaxhighlight lang="python">
# Enable UART
+
# Activer l'UART
 
enable_uart=1
 
enable_uart=1
 
</syntaxhighlight>
 
</syntaxhighlight>
Ligne 56 : Ligne 60 :  
{{ADFImage|Pi-Zero-Headless-Editer-Fichier-03.jpg|640px}}
 
{{ADFImage|Pi-Zero-Headless-Editer-Fichier-03.jpg|640px}}
   −
Save it and move on to next step. (<a href="https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=141195">more details here</a>)
+
Sauvez le fichier et passez à l'étape suivante. ([https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=141195 plus de détails ici])
   −
== Enable SSH ==
+
== Activer SSH ==
 
SSH used to be enabled by default, but was then (Nov 2016) turned off by default. This was due to security concerns since the pi user id and password are well known. However, you'll likely want this enabled so you can remotely connect to the Pi Zero.
 
SSH used to be enabled by default, but was then (Nov 2016) turned off by default. This was due to security concerns since the pi user id and password are well known. However, you'll likely want this enabled so you can remotely connect to the Pi Zero.
  
29 918

modifications

Menu de navigation