How to connect to hidden SSID

Jouni Malinen j at
Sun Apr 17 15:24:55 PDT 2016

On Mon, Apr 18, 2016 at 01:05:01AM +0300, Flavius Lazar wrote:
> I have to be able to connect to a hidden SSID and to a "normal" SSID
> without being able to make a difference between the two of them. I
> checked the wpa_supplicant configurations, but it's not clear to me
> how should I configure it.
> I tried to set ap_scan=2 and then scan_ssid=1 for the configured
> network and I managed to connect to a hidden SSID. What impact do they
> have when they're configured and I'm connecting to a "normal" SSID (I
> know scan_ssid=1 adds latency to scanning, but what about ap_scan=2)?
> My card supports only wext driver and wpa_supplicant 0.7.3 (I know it's old...).

scan_ssid=1 is the best way of doing that, but you would need to use the
nl80211 driver interface. In practice, I would not even bother trying to
make this work with WEXT (it's been obsolete for years..) and
wpa_supplicat 0.7.3 is indeed old, so if you want more help with this,
I'd update both the kernel (if needed, for nl80211 support) and
wpa_supplicant first.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list