wireless disconnect problem

Alexander alejck
Sun Jan 18 17:49:44 PST 2009


Hi,

I run gentoo on a macbook and use wpa_supplicant for wireless. I can
connect fine
but periodically I will lose the connection and I can't tell why. This happens
on a lot of different networks, and it does not seem to have to do
with the network.

This is an example of the wpa_cli output when this happens.

<2>CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
<2>Trying to associate with 00:e0:98:de:43:a3 (SSID='04Z412540775'
freq=2437 MHz)
<2>Associated with 00:e0:98:de:43:a3
<2>WPA: Key negotiation completed with 00:e0:98:de:43:a3 [PTK=CCMP GTK=TKIP]
<2>CTRL-EVENT-CONNECTED - Connection to 00:e0:98:de:43:a3 completed
(reauth) [id=1 id_str=]
<2>CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
<2>Trying to associate with 00:e0:98:de:43:a3 (SSID='04Z412540775'
freq=2437 MHz)
<2>Associated with 00:e0:98:de:43:a3
<2>WPA: Key negotiation completed with 00:e0:98:de:43:a3 [PTK=CCMP GTK=TKIP]
<2>CTRL-EVENT-CONNECTED - Connection to 00:e0:98:de:43:a3 completed
(reauth) [id=1 id_str=]

and this is the /var/log/output for the same period:

Jan 18 20:33:09 bb wpa_cli: interface ath0 DISCONNECTED
Jan 18 20:33:10 bb dhcpcd[29320]: ath0: received SIGTERM, stopping
Jan 18 20:33:10 bb wpa_cli: interface ath0 CONNECTED
Jan 18 20:33:11 bb dhcpcd[30216]: ath0: dhcpcd 4.0.2 starting
Jan 18 20:33:11 bb dhcpcd[30216]: ath0: broadcasting for a lease
Jan 18 20:33:12 bb dhcpcd[30216]: ath0: offered 192.168.1.46 from 192.168.1.1
Jan 18 20:33:12 bb dhcpcd[30216]: ath0: checking 192.168.1.46 is
available on attached networks
Jan 18 20:33:17 bb dhcpcd[30216]: ath0: acknowledged 192.168.1.46 from
192.168.1.1
Jan 18 20:33:17 bb dhcpcd[30216]: ath0: leased 192.168.1.46 for 86400 seconds
Jan 18 20:33:17 bb wpa_cli: interface ath0 DISCONNECTED
Jan 18 20:33:18 bb dhcpcd[30231]: ath0: received SIGTERM, stopping
Jan 18 20:33:18 bb wpa_cli: interface ath0 CONNECTED
Jan 18 20:33:19 bb dhcpcd[31128]: ath0: dhcpcd 4.0.2 starting
Jan 18 20:33:19 bb dhcpcd[31128]: ath0: broadcasting for a lease
Jan 18 20:33:20 bb dhcpcd[31128]: ath0: offered 192.168.1.46 from 192.168.1.1
Jan 18 20:33:20 bb dhcpcd[31128]: ath0: checking 192.168.1.46 is
available on attached networks
Jan 18 20:33:25 bb dhcpcd[31128]: ath0: acknowledged 192.168.1.46 from
192.168.1.1
Jan 18 20:33:25 bb dhcpcd[31128]: ath0: leased 192.168.1.46 for 86400 seconds


This is my setup:

Kernel: 2.6.24-gentoo-r8 with the mactel patches.

madwifi: module built from source svn version r3635.

wpa_supplicant 0.5.7 (latest stable on gentoo amd64).

wireless card: Network controller: Atheros Communications, Inc. AR5418
802.11a/b/g/n Wireless PCI Express Adapter (rev 01)

How do I begin to troubleshoot this problem?

Thanks,

Alexander



More information about the Hostap mailing list