wpa_supplicant and WPA2

Hello *,

on our ASUS Eee-PC 1000h, there is a Ralink 2860 WLAN card.

WPA works fine using wpa_supplicant.
However, when I try to switch to WPA2, it just doesn’t connect to the router.

The router looks like this:


eeepc:~ # iwlist ra0 scan
ra0       Scan completed :
          Cell 01 - Address: 00:15:0C:CE:CE:58
                    ESSID:"XXX"
                    Mode:Managed
                    Channel:6
                    Quality:100/100  Signal level:-46 dBm  Noise level:-81 dBm
                    Encryption key:on
                    Bit Rates:11 Mb/s
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 02 - Address: 00:15:0C:3E:47:91
                    ESSID:"XXX"
                    Mode:Managed
                    Channel:6
                    Quality:96/100  Signal level:-52 dBm  Noise level:-81 dBm
                    Encryption key:on
                    Bit Rates:22 Mb/s
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK

As I said: Connecting with this wpa_supplicant.conf works:


network={
        ssid="XXX"
        proto=WPA
        scan_ssid=1
        key_mgmt=WPA-PSK IEEE8021X NONE
        pairwise=CCMP TKIP
        group=CCMP TKIP WEP104 WEP40
        psk="badboysstayout"
}

However, with this config, it doesn’t:


network={
        ssid="XXX"
        proto=WPA2
        scan_ssid=1
        key_mgmt=WPA-PSK IEEE8021X NONE
        pairwise=CCMP TKIP
        group=CCMP TKIP WEP104 WEP40
        psk="badboysstayout"
}

Anyone got a good idea?

Kind regards,

hssuhle