Does ssid="any" work?

Jouni Malinen j
Wed Dec 19 19:28:37 PST 2007

On Thu, Dec 20, 2007 at 01:44:16PM +1100, hce wrote:

> I am running wpa_supplicant version 0.5.8. If I set ssid="MyAP", it
> works. But, if I set ssid="any" in wpa_supplicant.conf, then calling
> wpa_supplicant -Dwext -i eth1 -c /etc/wpa_supplicant.conf &", it
> failed, stopped at "WEXT auth param 5 value 0x1 - Added interface
> eth1Hack: state = 0x7". What I was missing?

I would assume wpa_supplicant was trying to follow what the
configuration file asked, i.e., trying to get the driver to use network
with a three-octet SSID 'any'. This is not the way to configure a
wildcard SSID which, I would assume, is what you were actually trying to
configure here.

> Basically, I don't want to specify a hardcoded ssid, so I can bring
> the wifi up in a street open AP. Is it possible, or it is not
> supported?

Did you look at the end of the example configuration file which gives an
example network block for wildcard match for SSID (plaintext APs)? Just
leave the ssid parameter out or set it to an empty string and you'll get
this behavior.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list