Does ssid="any" work?

hce webmail.hce at gmail.com
Wed Dec 19 22:49:53 EST 2007


On Dec 20, 2007 2:28 PM, Jouni Malinen <j at w1.fi> wrote:
> 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.

I tried that, it did not work, stopped at "WEXT auth param 5 value 0x1
- Added interface eth1Hack: state = 0x7". Please see following my
wpa_supplicant.conf for an open AP, is there anything wrong there?

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1

network={
    ssid=""
    key_mgmt=NONE
}

Thanks Jouni,

Kind Regards,

Jim



More information about the HostAP mailing list