commun:raspberry_pi
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| commun:raspberry_pi [2018/11/25 17:19] – [wpa_supplicant] francois | commun: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 ''/ |
| + | | ||
| ===== 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 / | + | <file ini / |
| [Unit] | [Unit] | ||
| - | Description=Wifi | + | Description=Wifi |
| - | 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=/ | PIDFile=/ | ||
| + | |||
| + | # Re-essai si échec. Tempo de 30 secondes | ||
| + | Restart=always | ||
| + | RestartSec=30 | ||
| [Install] | [Install] | ||
| Ligne 100: | Ligne 109: | ||
| Ensuite créer le fichier d' | Ensuite créer le fichier d' | ||
| - | <file ini / | + | <file ini / |
| [Unit] | [Unit] | ||
| Description=Wifi Network | Description=Wifi Network | ||
| After=wpa_supp.service | After=wpa_supp.service | ||
| + | |||
| + | StartLimitIntervalSec=200 | ||
| + | StartLimitBurst=5 | ||
| [Service] | [Service] | ||
| Ligne 109: | Ligne 121: | ||
| Type=forking | Type=forking | ||
| PIDFile=/ | PIDFile=/ | ||
| + | |||
| + | Restart=always | ||
| + | RestartSec=30 | ||
| [Install] | [Install] | ||
| WantedBy=default.target | WantedBy=default.target | ||
| </ | </ | ||
commun/raspberry_pi.1543166389.txt.gz · Dernière modification : (modification externe)
