I am using Kali image (2.1.2). I tried to connect to open WiFi network editing the file
auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp auto wlan0 allow-hotplug wlan0 iface wlan0 inet dhcp wpa-ssid "openWiFi" wpa-psk ""
It doesn't work. I also tried replacing
wpa-psk "" with
wpa-psk. MAC address of RPi is whitelisted.
How to connect to open WiFi, provided only SSID?