Skip to contentSkip to conversation

Help! Diagnosing problem with ath9k, wpa_supplicant and WPA2/AES

ath9k-devel B Gates 1 participant 1 message Oct 9, 2008

lore
Share & tools
lore

B Gates

author
#0 lore raw

I am trying to configure a htpc with the D-link DWA-556 wireless card. Current Configuration

Fedora 8
linux kernel 2.6.27-rc9
wpa_supplicant

Asus wl-500w router
D-link DWA-556 wireless card.

wpa_supplicant.conf
-----------------------------------------
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel

network = {
         wpa-ssid="test"
         wpa-ap-scan=1
         wpa-proto=WPA RSN
         wpa-pairwise=TKIP CCMP
         wpa-group=TKIP CCMP
         wpa-key-mgmt=WPA-PSK
         wpa-psk="my key"
}

If I configure my asus router for WPA and TKIP, everything works great. I stay connected for days without a problems.

However, if I configure the router for WPA2 and AES, I get random connectivity. I do not have a keyboard or mouse attached. I connect through ssh and a cygwin window. When I reboot the computer (after the configuration change at the router), I can connect through ssh. Sometimes the connection will last 5 minutes, sometimes 20 minutes and sometimes one or two minutes. All of a sudden the terminal window will stop responding to keypresses. The terminal will drop the connection. I can wait 2 or 3 minutes and relogin through the terminal window. I can stay connected for a few more minutes and all of a sudden the connection is dropped. The odd thing is, if I try to relogin after the drop, I get a connection timeout error. If I wait a few minutes, I can reconnect with no problems.

How do I debug random connection drops with ath9k, wpa_supplicant and WPS2/AES? I have tried watching the log files (tail -f /var/log/messages and tail -f /var/log/wpa_suppilcant). There is nothing in the logs before or after the lockup.

thanks for reading this far
Darrel