composants:rpi_browser

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
composants:rpi_browser [2018/09/11 17:37] mhcomposants:rpi_browser [2018/09/12 18:01] – [Ressources] mh
Line 47: Line 47:
 </code> </code>
  
 +Pour se connecter automatiquement à un réseau il faut éditer le fichier /etc/network/interfaces et rajouter les informations suivantes :
 +
 +<code>
 +auto wlan0
 +iface wlan0 inet dhcp
 +    wireless-essid mySSID
 +    wireless-key key
 +</code>
 +
 +pour un réseau protégé cela peut-être :
 +
 +<code>
 +auto wlan0
 +iface wlan0 inet dhcp
 +    wpa-ssid "my SSID"
 +    wpa-psk key
 +</code>
 +
 +Dans ces cas il faut peut-être générer un fichier /etc/wpa_supplicant.conf avec la commande suivante :
 +
 +<code>
 +wpa_passphrase "Mon SSID avec espaces" >> /etc/wpa_supplicant.conf
 +macléWPA
 +</code>
 +
 +//Attention, cette commande doit être lancée en root pour fonctionner, pas en sudo. Aussi, le macléWPA doit être entré après la commande. Cela permet de générer la clé hexadécimal à partir de la phrase WPA. Si l'ESSID ne comporte pas de mot de passe, les guillemets ne sont pas nécessaire.//
 +
 +La Raspberry Pi n'a pas de mot de passe par défaut pour root. Pour en créer un :
 +<code>
 +sudo passwd root
 +</code>
 +
 +//Attention, ne pas le perdre !//
  
  
Line 57: Line 90:
   *[[https://blog.niteo.co/raspberry-pi-boot-to-browser/|Raspberry Pi boot to browser]]   *[[https://blog.niteo.co/raspberry-pi-boot-to-browser/|Raspberry Pi boot to browser]]
   *[[https://elinux.org/RPiconfig#Video_mode_options|RPi Config in boot, video options]]   *[[https://elinux.org/RPiconfig#Video_mode_options|RPi Config in boot, video options]]
 +  *[[http://www.blackmoreops.com/2014/09/18/connect-to-wifi-network-from-command-line-in-linux/|Se connecter en wifi en ligne de commande]] 
 +  *[[https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md|Configuring wireless on Rpi]] 
 +  *[[https://unix.stackexchange.com/questions/92799/connecting-to-wifi-network-through-command-line#92810|CLI wifi connection setup]] 
 +  *[[https://superuser.com/questions/42460/can-you-explain-how-to-understand-what-the-iwconfig-command-displays-in-ubuntu/295972#295972|Understanding iwconfig command]] 
 +  *[[https://unix.stackexchange.com/questions/128439/good-detailed-explanation-of-etc-network-interfaces-syntax#128662|/etc/network/interfaces explained]] 
 +  *[[https://raspberrypi.stackexchange.com/questions/39785/dhcpcd-vs-etc-network-interfaces#41187|dhcpcd vs /etc/network/interfaces]]
 ===== Divers ===== ===== Divers =====
  
  • composants/rpi_browser.txt
  • Last modified: 2020/06/01 16:35
  • by 127.0.0.1