je suis en train de configurer mon raspberry pi2 sous raspbian pour qu'il fonctionne avec une ip static.
Sur les wiki et autres forum, je vois partout qu'il faut aller dans /ect/network/interfaces et de modifier la ligne
Code : Tout sélectionner
iface eth0 inet dhcpCode : Tout sélectionner
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.1Pourriez vous me dire quoi modifier dans mon /ect/network/interfaces ?
Actuellement j'ai :
Code : Tout sélectionner
auto lo
iface lo inet loopback
auto eth0
allow-hotplug eth0
iface eth0 inet manual
auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
auto wlan1
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf