T
T
timur1022018-06-13 21:33:03
WiFi
timur102, 2018-06-13 21:33:03

Why won't PI Zero W connect to WIFI network?

I have a router and PI Zero W with Kali Linux. For example, SSID = name, PASSWD = 12345678
I write in the file /etc/wpa_supplicant/wpa_supplicant.conf

network={
    ssid="name"
    psk="12345678"
}

In cmd I write:
wpa_supplicant -Dnl80211 -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf

But I see an error
No network configuration found for the current AP
....

And how now to join my router? Maybe there are other methods for Kali Linux?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nafigat, 2018-06-15
@timur102

Surely the problem is with the wpa_supplicant.conf file. It makes sense to explicitly specify at least the value of the key_mgmt parameter:
network={
ssid="YourNetworkSSID"
psk="Your Network's Passphrase"
key_mgmt=WPA-PSK
}
Also be sure to make sure that the UNIX format/encoding of this file is correct. Use, for example, notepad++ Literally:
"Make sure to create the wpa_supplicant.conf file in a text editor set to UNIX encoding (if you're doing this from Windows)."

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question