Hidden wifi in network/interfaces
I had a little trouble connecting to hidden wpa2 psk with
network/interfaces. First of all since network name is empty, you can’t use
wpa_passphrase to has with your real hidden name.
And this a configuration I ended with:
auto wlan0 iface wlan0 inet dhcp wpa-ssid NETNAME wpa-scan-ssid 1 wpa-psk password
As you can see the magic line is
wpa-scan-ssid 1 and without it you just will never find you hidden “” empty name Wi-Fi. Also I’m pretty sure you can hash password with empty(“”) ssid name, but I didn’t tried it.