Traditionally configure wlan (authentication prblem)

Josef Wolf jw at raven.inka.de
Sun Apr 4 10:57:43 UTC 2010


On Fri, Apr 02, 2010 at 02:30:22PM +0200, Josef Wolf wrote:

> I am trying to configure wlan without the use of networkmanager. I want to
> do that with the traditional method for two reasons:
> 
> 1. The wlan interface should go up automatically even when nobody is logged
>    in (so networkmanager is not even running)
> 2. I prefer to configure my systems automatically (with a system similar to
>    cfengine)

I have decided to do the first setup with wicd. Once I have found out which
parameters I need to set, I'd go back to configure wpa_supplicant directly
(since this can be done non-interactively and can be automated).

So wicd find my wlan and shows general information (essid, strength, WPA2,
channel) correctly. But when I try to connect, it fails to authenticate.

This is how wicd configures and calls wpa_supplicant:

  ap_scan=1
  ctrl_interface=/var/run/wpa_supplicant
  network={
         ssid="my-essid"
         scan_ssid=0
         proto=WPA RSN
         key_mgmt=WPA-PSK
         pairwise=CCMP TKIP
         group=CCMP TKIP
         psk="passphrase-in-cleartext-deleted"
  }
 
  wpa_supplicant -B -i wlan0 \
    -c /var/lib/wicd/configurations/xxxxxxxxxxxx -D wext


This is what "iwlist wlan0 scan" shows me for my wlan:

  wlan0   Scan completed :
          Cell 01 - Address: xx:xx:xx:xx:xx:xx
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=58/70  Signal level=-52 dBm  
                    Encryption key:on
                    ESSID:"my-essid"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 22 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=xxxxxxxxxxxxxxxx
                    Extra: Last beacon: 428ms ago
                    IE: Unknown: xxxxxxxxxxxxxxxx
                    IE: Unknown: xxxxxxxxxxxxxx
                    IE: Unknown: xxxxxx
                    IE: Unknown: xxxxxx
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: xxxxxxxxxxxxxxxxxxxx
                    IE: Unknown: xxxxxxxxxxxxxxxxxxxxxxxx


Note that the TKIP is missing from the iwlist output

Any ideas?




More information about the ubuntu-users mailing list