I am using Kali image (2.1.2). I tried to connect to open WiFi network editing the file
iface lo inet loopback
iface eth0 inet dhcp
iface wlan0 inet dhcp
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?