Re: Problem setup atheros wifi card using WPA TKIP
Pavel Roskin <[email protected]>
| Newsgroups | gmane.linux.drivers.madwifi.user |
|---|---|
| Message-ID | <1266885568.2961.53.camel@mj> |
On Sun, 2010-02-21 at 20:48 +0100, Sam Lefebvre wrote: > Can anyone help me? I’m already struggling with this problem during > weeks. Please set up your mail to send messages in plain text without HTML. It will be more readable that way, and easier to quote. > I use the Atheros based WLM54AGP23 card, and use madwifi and > wpa_supplicant to enable the card for using with WPA TKIP encryption. One possible thing is to try is ath5k instead of MadWifi. ath5k is a part of the kernel, and it should be quite good in Linux 2.6.31. You can load it by: rmmod ath_pci modprobe ath5k > sam@Alix3d3:~$ uname -a > > Linux Alix3d3 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC > 2009 i586 GNU/Linux I think it's not the latest Ubuntu kernel, so you may want to upgrade, even if it's not related to wireless drivers. > sam@Alix3d3:~$ sudo nano /etc/wpa_supplicant.conf You can use cat for that. > rl_interface=/var/run/wpa_supplicant I guess "ct" was lost. I tried your config and I had absolutely no problem connecting to an AP with TKIP as soon as I put the right ESSID and password. I tried both MadWifi (current trunk) and ath5k (current wireless-testing). > sam@Alix3d3:~$ sudo wpa_supplicant -Dwext -iath4 > -c/etc/wpa_supplicant.conf > > Trying to associate with 00:30:bd:9a:04:da (SSID='belkin54g' freq=2462 > MHz) > > Associated with 00:00:00:00:00:00 That's the first indication of trouble. I suggest that you turn off NetworkManager and kill any instances of wpa_supplicant that me be already running. I believe that's the most likely reason why wpa_supplicant is failing for you. > I get always the message 'WPA: 4-Way Handshake failed - pre-shared key > may be incorrect', and I’m sure that my password is correct typed in > the config file. I think if wpa_supplicant gets the BSSID wrong, the encryption will fail. -- Regards, Pavel Roskin ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Madwifi-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/madwifi-users