Outils pour utilisateurs

Outils du site


commun:raspberry_pi

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
commun:raspberry_pi [2018/11/11 18:23] – [wpa_supplicant] francoiscommun:raspberry_pi [2018/12/02 17:39] (Version actuelle) – [wpa_supplicant] francois
Ligne 3: Ligne 3:
 ===== V4l camera module ===== ===== V4l camera module =====
  
-bcm2835-v4l2+Créer un fichier ''/etc/modules-load.d/camera.conf'' et ajouter la ligne: 
 +  bcm2835-v4l2
  
 ===== Video streaming depuis la caméra ===== ===== Video streaming depuis la caméra =====
Ligne 85: Ligne 86:
  
 Ensuite créer le fichier de démarrage automatique de wpa_supplicant: Ensuite créer le fichier de démarrage automatique de wpa_supplicant:
-<file ini /etc/systemd/system/wpa_supp.conf>+<file ini /etc/systemd/system/wpa_supp.service>
 [Unit] [Unit]
-Description=Wifi network +Description=Wifi Network 
-Before=network.target+After=network.target 
 + 
 +# Limite les re-démarrages à 5 tentatives 
 +StartLimitIntervalSec=200 
 +StartLimitBurst=5
  
 [Service] [Service]
Ligne 94: Ligne 99:
 Type=forking Type=forking
 PIDFile=/var/run/wpasupp.pid PIDFile=/var/run/wpasupp.pid
 +
 +# Re-essai si échec. Tempo de 30 secondes
 +Restart=always
 +RestartSec=30
  
 [Install] [Install]
Ligne 99: Ligne 108:
 </file> </file>
  
 +Ensuite créer le fichier d'appel dhcp:
 +<file ini /etc/systemd/system/dhcpcd_wlan0.service>
 +[Unit]
 +Description=Wifi Network
 +After=wpa_supp.service
 +
 +StartLimitIntervalSec=200
 +StartLimitBurst=5
 +
 +[Service]
 +ExecStart=/usr/bin/dhcpcd wlan0
 +Type=forking
 +PIDFile=/run/dhcpcd-wlan0.pid
 +
 +Restart=always
 +RestartSec=30
 +
 +[Install]
 +WantedBy=default.target
 +</file>
commun/raspberry_pi.1541960633.txt.gz · Dernière modification : (modification externe)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki