Hi everyone. I got the very same error as the topic starter, on BananaPi Pro.|
I fixed it and BananaPi successfully enters wireless network.
In my case, the reason was incorrect configuration of /etc/network/interfaces file. I had "wpa-ssid" and "wpa-psk" parameters set at this file, which is not correct.
Correct is only to refer to wpa supplicant:
iface wlan0 inet dhcp
pre-up wpa_supplicant -B -i wlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
pre-down killall -q wpa_supplicant
My wpa_supplicant.conf file looks like fillowing: