Catchall example network block?

Jouni Malinen jkmaline
Sun Aug 20 09:13:37 PDT 2006


> On Saturday 19 August 2006 06:18, Roy Marples wrote:
> > network={
> >         ssid=

> > Note, you don't actually need to have the ssid= line, key_mgmt=NONE is
> > sufficient.

> > This has also highlighted a bug. When this block is used, wpa_cli status
> > does not report an ssid - just can empty string. Would be nice if it filled
> > in the ssid of the AP.

> Does ssid="" do the same thing, but also return the ssid string of AP?

No. All three cases 'ssid=', 'ssid=""', and not including ssid at all
are identical.

> Thats what I've been using in the "connect to any open wlan" network block, 
> and have not noticed the empty string phenomenon that you describe (but have 
> not looked for it often either).

The status information (wpa_cli status) would have shown an empty SSID
in these cases because it reports the value from configuration data.

I added some code for requesting the current SSID from the driver if no
SSID is configured in the network block. This should resolve this with
most drivers.

-- 
Jouni Malinen                                            PGP id EFC895FA




More information about the Hostap mailing list