Hello Oliver,
here's the content of my /etc/network/interfaces (I never changed it, it's the default), but instead of modifying /etc/network/interfaces, I modify /etc/wpa_supplicant/wpa_supplicant.conf (second file below) - I followed explanations found on Internet.
pi@raspberrypi:~ $ cat /etc/network/interfaces
Code: Select all
# 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
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
pi@raspberrypi:~ $ sudo cat /etc/wpa_supplicant/wpa_supplicant.conf
Code: Select all
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=FR
network={
ssid="put your ssid here"
scan_ssid=1
key_mgmt=WPA-PSK
psk="put your password here"
}
NB : country=FR has been added automatically by sudo raspi-config (Internationalization options / Wifi country).
Regards,
GD