This is how I have my etc/ wpa_supplicant/wpa_supplicant.conf set up
Code: Select all
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="Mobile"
psk="****"
key_mgmt=WPA-PSK
priority=1
id_str="mobile"
}
network={
ssid="Home"
psk="****"
key_mgmt=WPA-PSK
priority=2
id_str="home"
}
I have seen people referring to /etc/network/interfaces and that what "Should" be in there is this.
Code: Select all
auto lo
iface lo inet loopback
auto eth0
allow-hotplug eth0
iface eth0 inet dhcp
auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface location1 inet dhcp
iface location2 inet dhcpMine does not in fact contain that at all , mine has this...
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
Thanks