I am using the following command
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
and my file looks like this
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=GB
network={
ssid="your ssid here"
psk="your psk here"
key_mgmt=WPA2-PSK
}
Obviously with the correct ssid and pass... However, when I run sudo ifconfig or wget it doesn't connect to the internet. Is there something I am missing?
This is a pi zero w
Is there something else missing for it to work?
when I run sudo ifconfig or wget it doesn't connect to the internet. Please add the output ofifconfig(no sudo) to your question. – Dirk Dec 03 '18 at 18:59sudo iw wlan0 infoandsudo iw wlan0 link. – Ingo Dec 03 '18 at 19:51/sbin/wpa_supplicant -B -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 -Dnl80211– Dougie Dec 03 '18 at 21:42ifconfigis deprecated. – Milliways Dec 03 '18 at 22:57