I have nicely working connection using wpi(4) driver on Intel 3945abg wifi card setup with wpa_supplicant and so, but to add a new network I first have to know BOTH SSID and PRE-SHARED KEY to connect.

Is there some tool/way to get a list of available wifi/wireless networks around on NetBSD 5.0?

Maybe from pkgsrc?

__________________religions, worst damnation of mankind"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus TorvaldsLinux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.vermaden's:linksresourcesdeviantartspreadbsd

Umm, I don't mean to sound like a prick, but isn't this what you are looking for?

Code:

list scan (IEEE 802.11 devices only) Display the access points
and/or ad-hoc neighbors located in the vicinity. The -v
flag may be used to display long SSIDs. -v also causes
received information elements to be displayed symboli-
caly. Only the super-user can use this command.

Umm, I don't mean to sound like a prick, but isn't this what you are looking for?

Code:

list scan (IEEE 802.11 devices only) Display the access points
and/or ad-hoc neighbors located in the vicinity. The -v
flag may be used to display long SSIDs. -v also causes
received information elements to be displayed symboli-
caly. Only the super-user can use this command.

__________________religions, worst damnation of mankind"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus TorvaldsLinux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.vermaden's:linksresourcesdeviantartspreadbsd

I also tried wiconfig wpi0 -D (no matter what the man page says) but no, it does not work.

I'll also submit a bug(s) later on NetBSD MLs, propably they know these problems but do not have time ti cope with it.

It's strange, since wpa_supplicant connection seems to be reliable on NetBSD ...

__________________religions, worst damnation of mankind"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus TorvaldsLinux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.vermaden's:linksresourcesdeviantartspreadbsd

__________________
The best way to learn UNIX is to play with it, and the harder you play, the more you learn.
If you play hard enough, you'll break something for sure, and having to fix a badly broken system is arguably the fastest way of all to learn. -Michael Lucas, AbsoluteBSD