Table des matières

RaspberryPi

Installer Raspbian

Installer Raspbian en CLI : https://raspbian-france.fr/installer-raspbian-premier-demarrage-configuration/

Pour activer SSH avant le premier démarrage, créer un fichier 'ssh' à la racine de la partition boot.

Changer dès le début le clavier en azerty

  1. Internationalisation options > Change Keyboard Layout
  2. Laisser le type de clavier par défaut
  3. Choisir le clavier français

Pour modifier le mot de passe root : sudo passwd

Installation

Installer plusieurs OS sur son Raspberry

À des fins de tests, privilégier BerryBoot pour gagner en flexibilité.

https://raspbian-france.fr/comment-installer-plusieurs-os-sur-la-raspberry-pi-avec-berryboot/

https://www.berryterminal.com/doku.php/berryboot

Configuration

Configuration réseau

Pour éviter tout conflit, il est préférable de désinstaller le paquet network-manager.

Exemple de configuration en DHCP avec une interface WiFi et une interface filaire :

download
auto lo
iface lo inet loopback

auto enxb827eb57ffbf
allow-hotplug enxb827eb57ffbf
iface enxb827eb57ffbf inet dhcp

auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

Configuration wpa_supplicant

  1. Chiffrer son mot de passe Wifi :
    wpa_passphrase ssid MyPassword
  2. Configurer /etc/wpa_supplicant/wpa_supplicant.conf avec le mot de passe hashé :
    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    update_config=1
    country=FR
    
    network={
            ssid="my-ssid"
            psk="MyPasswoardHashed"
            key_mgmt=WPA-PSK
    }

Créer un Media Center

Application : https://kodi.tv/ OS : https://osmc.tv/