iwi, hidden SSID and wpa_supplicant problem

Andrew N. Below defan at zenon.net
Mon Oct 9 18:06:45 UTC 2006


Hi.

[..]
>> Oct 09 18:24:43.021948: Received 0 bytes of scan results (4 BSSes)
>> Oct 09 18:24:43.021982: Scan results: 4
>> Oct 09 18:24:43.021992: Selecting BSS from priority group 0
>> Oct 09 18:24:43.021998: 0: 00:07:0e:b8:d8:ee ssid='' wpa_ie_len=26
>> rsn_ie_len=0 caps=0x31
>> Oct 09 18:24:43.022008:    skip - SSID mismatch
> Is any of the above the AP you are looking for? (i.e. right bssid).

Yes, 00:07:0e:b8:d8:ee is.

>> Oct 09 18:24:43.022066: Setting scan request: 5 sec 0 usec
>> Oct 09 18:24:48.023226: Starting AP scan (broadcast SSID)
>> Oct 09 18:24:49.501060: Received 0 bytes of scan results (2 BSSes)
>> Oct 09 18:24:49.501070: Scan results: 2
> Strange, why would a broadcast SSID scan turn up less BSSes?  Can you make
> sure you have the dev.iwi.0.antenna sysctl set to "0"?

defanbook# sysctl dev.iwi
dev.iwi.0.%desc: Intel(R) PRO/Wireless 2200BG
dev.iwi.0.%driver: iwi
dev.iwi.0.%location: slot=2 function=0
dev.iwi.0.%pnpinfo: vendor=0x8086 device=0x4220 subvendor=0x8086
subdevice=0x2701 class=0x028000
dev.iwi.0.%parent: pci3
dev.iwi.0.radio: 1
dev.iwi.0.dwell: 100
dev.iwi.0.bluetooth: 0
dev.iwi.0.antenna: 0
dev.iwi.0.softled: 1
dev.iwi.0.ledpin: 32
dev.iwi.0.ledidle: 2700
dev.iwi.0.nictype: 1

> iwicontrol?  That's no longer useful.  If you really have
>> defanbook# uname -v
>> FreeBSD 6.2-PRERELEASE #3: Mon Oct  9 17:40:59 UTC 2006
> you should have removed net/iwi-firmware and replaced it with
> net/iwi-firmware-kmod as stated in UPDATING.

Of course, I installed net/iwi-firmware-kmod first.
When I found information about iwicontrol utility and
get it via net/iwi-firmware port. But I did not install
older modules.

So, iwicontrol shows incorrect stat for now? Is there any
other tool to get statistic from iwi device?

>> On another FreeBSD box with 6.1-release and same version of
>> wpa_supplicant, but with another USB wireless device (ural) all works
>> fine.
> I reproduced your setup with a Linksys-54abg and a 2915ABG running a
> recent RELENG_6.  Works like a charm - see attached.

Thanks for feedback, I'll try to play with my home Linksys WAG54G
ADSL WiFi router with the same auth modes.

>> Wireless connection in winxp on this laptop works fine too.
>> Any ideas?
> If you do have firmware-iwi-kmod and things are still not working properly
> you should try the following:
> 1) Disable WPA on AP and see if you can attach w/o wpa_supplicant
> 2) See if you can attach w/ wpa_supplicant (key_mgmt=NONE)
> etc. ... to find out which part really is the culprit.  Then you should
> set "sysctl debug.iwi=5" and check console output for problems.  Let me
> know how it goes.

OK, I'll do these tests ASAP.

As you can see in my previous reply, I got successfull connection,
but still have strange things while reconnecting, and sometimes
it takes a lot of time. :(

Thanks for your feedback, anyway.

--
Andrew N. Below
Zenon N.S.P.



More information about the freebsd-stable mailing list