Re: No association with WPA and kernel 2.6.23.9

François Valenduc <[email protected]> Thu, 06 Dec 2007 21:32:55 +0100
Newsgroups gmane.linux.drivers.ipw2100.devel
Message-ID <[email protected]>
François Valenduc a écrit :
> Paolo a écrit :
>   
>> On Thu, Dec 06, 2007 at 07:18:20AM +0100, Fran?ois Valenduc wrote:
>>   
>>     
>>> problem with the rf_kill switch. However, with kernel 2.6.22.14 it works
>>> and with kernel 2.6.23.9, it doesn't work. So there really seems to be a
>>> problem with the ipw2200 driver and kernel 2.6.23.9 (and newer).
>>>     
>>>       
>> hm, check in both case:
>>
>> $ modinfo ipw2200|grep ^version
>>
>> and of course:
>>
>> $ wpa_supplicant -v
>>
>> You may want to try the latest wpa_supplicant, before tinckering further.
>>
>> Failing that, if you have both kernel src tree, check
>>
>> $ diff -u linux-2.6.22/drivers/net/wireless/ipw2200.c \
>> 	linux-2.6.23/drivers/net/wireless/ipw2200.c
>> $ diff -u linux-2.6.22/drivers/net/wireless/ipw2200.h \
>> 	linux-2.6.23/drivers/net/wireless/ipw2200.h
>>
>> if no diffs show up, then the culprit is likely in changes in ieee802.
>>
>> If you're just interested in running .23.9 with a working ipw, you can try 
>> to patch .23.9 with latest tarballs from ieee80211.sf.net and 
>> ipw2200.sf.net (of course, do a suitable bakcup first, in case).
>>
>>
>> HTH
>> --
>> paolo
>>
>>
>> -------------------------------------------------------------------------
>> SF.Net email is sponsored by: The Future of Linux Business White Paper
>> from Novell.  From the desktop to the data center, Linux is going
>> mainstream.  Let it simplify your IT future.
>> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
>> _______________________________________________
>> ipw2100-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/ipw2100-devel
>>
>>
>>   
>>     
> So, I tried with a newer version of wpa_supplicant (0.6.0 instead of
> 0.5.8) and it doesn't work better. I also tried with the latest
> ieee80211 drivers (1.2.18) but that doesn't work too. I have tried WPA
> with TKIP and AES encryption and I could never connect to my router.
> However it works in unencrypted mode. Furthermore, there are well
> differences between 2.6.22.14 and 2.6.23.9 in the ipw2200 driver. The
> diff files are attached to this mail.
> As you suggested, I will open a bug on bughost.org.
>
> François
>
>
>   
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell.  From the desktop to the data center, Linux is going
> mainstream.  Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> ------------------------------------------------------------------------
>
> _______________________________________________
> ipw2100-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ipw2100-devel
I don't understand, now it's working with kernel 2.6.23 and debug
enabled. However, I find several strange lines in dmesg:

pw2200: U ipw_best_network Network 'aleblanc42 (00:1a:70:9a:3c:be)'
excluded because of privacy mismatch: off != on.
ipw2200: U ipw_wx_set_essid Setting ESSID: 'aleblanc42' (10)
ipw2200: U ipw_best_network Network 'aleblanc42 (00:1a:70:9a:3c:be)' is
a viable match.
ipw2200: U ipw_best_network Network 'SpeedTouch646432
(00:14:7f:b3:ab:6d)' excluded because of ESSID mismatch: 'aleblanc42'.
ipw2200: U ipw_best_network Network 'BGC_58 (00:12:bf:26:5c:af)'
excluded because of ESSID mismatch: 'aleblanc42'.
ipw2200: U ipw_best_network Network 'SpeedTouchD499AA
(00:90:d0:df:dc:cf)' excluded because of ESSID mismatch: 'aleblanc42'.
ipw2200: U ipw_associate_network Assocation attempt: 'aleblanc42',
channel 6, 802.11g [12], long[:long], enc=on (open) key=1.
ipw2200: U ipw_associate_network associating: 'aleblanc42' 00:1a:70:9a:3c:be
ipw2200: I ipw_rx_notification authenticated: 'aleblanc42' 00:1a:70:9a:3c:be
ipw2200: I ipw_rx_notification associated: 'aleblanc42' 00:1a:70:9a:3c:be
ipw2200: U ipw_wx_get_essid Getting essid: 'aleblanc42'
ipw2200: U ipw_wx_get_essid Getting essid: 'aleblanc42'
ipw2200: U ipw_wx_get_essid Getting essid: 'aleblanc42'

So what does the "privacy mismatch" mean ? It looks that after several
attempts, I can finally connect to my network (aleblanc42).

François Valenduc


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php