interfaces
Ceci est une ancienne révision du document !
Fichier /etc/network/interfaces
Le fichier /etc/network/interfaces
permet de configurer les interfaces réseaux. Voici quelques exemples de configurations :
26/08/2016 sur un Raspberry Pi 3
L'interface wlan0
(interne au RPi3) n'est pas utilisée.
$ cat /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) # Please note that this file is written to be used with dhcpcd # For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf' # Include files from /etc/network/interfaces.d: source-directory /etc/network/interfaces.d auto lo iface lo inet loopback iface eth0 inet manual # Désactiver l'interface wlan0 (interne) sur un Raspberry Pi 3: #allow-hotplug wlan0 #iface wlan0 inet manual # wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf allow-hotplug wlan1 iface wlan1 inet manual wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
interfaces.1472215036.txt.gz · Dernière modification : 2020/08/09 12:59 (modification externe)