Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wpa supplicant times out
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
pvangarde
n00b
n00b


Joined: 18 May 2005
Posts: 71

PostPosted: Mon Sep 17, 2007 1:55 am    Post subject: wpa supplicant times out Reply with quote

Hello. I've been having problems connecting to my school network. It uses WPA2 and I have an atheros card, running madwifi-ng. I can connect to the network but after a couple of minutes I lose the connection. If I'm listening to internet radio, the connection stays active. Here's some info:

Code:

# lspci | grep Atheros
07:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)


Code:

# cat /etc/wpa_supplicant/wpa_supplicant.conf
fast_reauth=1
ap_scan=1
network={
        ssid="MySSID"
#       scan_ssid=1
        key_mgmt=WPA-EAP
        pairwise=CCMP
        group=CCMP
        eap=PEAP
        identity="username"
        password="password"
        phase2="auth=MSCHAPV2"
}


Here's what happens with wireless extensions:

Code:

# wpa_supplicant -Dwext -iath0 -c/etc/wpa_supplicant/wpa_supplicant.conf
Trying to associate with 00:14:1c:ad:15:15 (SSID='MySSID' freq=2412 MHz)
Associated with 00:14:1c:ad:15:15
CTRL-EVENT-EAP-STARTED EAP authentication started
CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected
OpenSSL: tls_connection_handshake - Failed to read possible Application Data error:00000000:lib(0):func(0):reason(0)
EAP-MSCHAPV2: Authentication succeeded
EAP-TLV: TLV Result - Success - EAP-TLV/Phase2 Completed
CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully
WPA: Key negotiation completed with 00:14:1c:ad:15:15 [PTK=CCMP GTK=CCMP]
CTRL-EVENT-CONNECTED - Connection to 00:14:1c:ad:15:15 completed (auth) [id=0 id_str=]
WPA: Group rekeying completed with 00:14:1c:ad:15:15 [GTK=CCMP]


After a minute the group rekeying appears and I think that's when I lose the connection.

The madwifi driver seems to stay active longer but still times out after a while.

Code:

# wpa_supplicant -Dmadwifi -iath0 -c/etc/wpa_supplicant/wpa_supplicant.conf
Trying to associate with 00:11:5c:03:1a:35 (SSID='MySSID' freq=2437 MHz)
ioctl[IEEE80211_IOCTL_SETMLME]: Invalid argument
Association request to the driver failed
Associated with 00:11:5c:03:1a:35
CTRL-EVENT-EAP-STARTED EAP authentication started
CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected
OpenSSL: tls_connection_handshake - Failed to read possible Application Data error:00000000:lib(0):func(0):reason(0)
EAP-MSCHAPV2: Authentication succeeded
EAP-TLV: TLV Result - Success - EAP-TLV/Phase2 Completed
CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully
WPA: Key negotiation completed with 00:11:5c:03:1a:35 [PTK=CCMP GTK=CCMP]
CTRL-EVENT-CONNECTED - Connection to 00:11:5c:03:1a:35 completed (auth) [id=0 id_str=]
WPA: Group rekeying completed with 00:11:5c:03:1a:35 [GTK=CCMP]


There is more than 1 access point and although I am stationary, I don't know if my card is trying to hop from one to the other.

Code:

 # eix wpa_supplicant
[I] net-wireless/wpa_supplicant
     Installed versions:  0.5.7(04:21:29 08/24/07)(dbus -gnutls -gsm -kernel_FreeBSD kernel_linux madwifi -qt3 -qt4 readline ssl)


Any input greatly appreciated.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum