You are not logged in.

#1 2009-07-10 14:20:17

nebri
Member
Registered: 2009-01-03
Posts: 30

ath5k Wireless Card Deauthenticating reason 7

Alright so last month or so I was installing windows 7, and accidently nuked my arch linux partition. (CRAP!). Since then I was kind of lazy didn't get around to setting it up back up in till today. So last month I had arch linux running just perfectly, but with a fresh install my wireless card just doesnt seem to be co-operating.

using the livecd I would set up my wireless connection without any problems, and I did a complete net install. Rebooting into the new install and the wireless connection craps out as soon as any activity flows out of it. Below is the dmesg.

wlan0: authenticate with AP 00:03:7f:fe:00:02
wlan0: authenticated
wlan0: associate with AP 00:03:7f:fe:00:02
wlan0: RX AssocResp from 00:03:7f:fe:00:02 (capab=0x11 status=0 aid=1)
wlan0: associated
wlan0: deauthenticated (Reason: 7)
wlan0: direct probe to AP 00:03:7f:fe:00:02 try 1
wlan0: direct probe to AP 00:03:7f:fe:00:02 try 2
wlan0: direct probe to AP 00:03:7f:fe:00:02 try 3
wlan0: direct probe to AP 00:03:7f:fe:00:02 timed out
wlan0: direct probe to AP 00:03:7f:fe:00:02 try 1
wlan0: direct probe to AP 00:03:7f:fe:00:02 try 2
wlan0: direct probe to AP 00:03:7f:fe:00:02 try 3
wlan0: direct probe to AP 00:03:7f:fe:00:02 timed out
wlan0: direct probe to AP 00:03:7f:fe:00:02 try 1
wlan0: direct probe to AP 00:03:7f:fe:00:02 try 2
wlan0: direct probe to AP 00:03:7f:fe:00:02 try 3
wlan0: direct probe to AP 00:03:7f:fe:00:02 timed out
wlan0: direct probe to AP 00:03:7f:fe:00:02 try 1
wlan0: direct probe to AP 00:03:7f:fe:00:02 try 2
wlan0: direct probe to AP 00:03:7f:fe:00:02 try 3
wlan0: direct probe to AP 00:03:7f:fe:00:02 timed out

As you can see, it does indeed connect, and using dhcpcd I even get my ip address. soon as I try to do anything with it, (even a simple ping) it deauthenticates and then just keeps timing out.

Now this is a fresh install, I have no idea which package is causing this whether it's the kernel or the wpa_supplicant package. But for sure I had zero problems with the packages on my livecd. the livecd is at least 3 months old I'd say.

Offline

#2 2009-07-10 20:27:50

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: ath5k Wireless Card Deauthenticating reason 7

what kernel do you use ? What chipset do you have exactly ? Did you try it with madwifi driver, according to the archwiki?
what does the lsmod | grep ath5 say ? What's in the iwconfig?

How do you try to connect, from commandline or wicd or any other ?

Offline

#3 2009-07-10 20:47:36

nebri
Member
Registered: 2009-01-03
Posts: 30

Re: ath5k Wireless Card Deauthenticating reason 7

lspci

05:06.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)

I was connecting with straight up commandline using iwconfig, and wpa_supplicant.

the driver I was using is the ath5k that comes with the linux kernel now.

as a temporary fix I've downgraded my linux kernel to 2.6.29, it works perfectly with that kernel. However soon as I kick it up to 2.6.30 it goes to hell.

before the recent ath5k driver support that comes with the kernel, I used to use the madwifi drivers, and prefer to stay away from using those again as the ATH5K seem to do a better job for me. Although if I must I'll give the madwifi drivers another shot as currently I've only downgraded the kernel, and am missing my nvidia drivers terribly sad.

Offline

#4 2009-07-11 13:38:37

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: ath5k Wireless Card Deauthenticating reason 7

madwifi is now developing ath5k.

I have been having some weird issues with wicd latelly and the newest .30 kernel release. But manually (w/o wpa/wep) setting up the network (static ip) has worked for a complete bisect of the net/ drivers/net/ dirs, 2.6.29 - 2.6.30. I was unable to find any sort of issue, never tried dhcp though. The problem seemed to be the wicd daemon, that would somehow lock the card from being used until I killed wicd. wicd was set to automatically connect on boot, so I had originally thought the kernel was the issue as downgrading immediately fixed the problem.

I am still not sure what to make out of it. What's also weird is I have a atheros card (ath9k driver) in my desktop pc and it works perfectly with .30 and wicd 1.6.

Offline

#5 2009-07-11 13:44:08

nebri
Member
Registered: 2009-01-03
Posts: 30

Re: ath5k Wireless Card Deauthenticating reason 7

well I"m not using any sort of daemon to connect to the wifi network, just wrote a simple bash script to enable the wifi via commandline like I always have. Going down to the .29 kernel instead of .30, works like a charm. I'd have to think the driver has changed for the worse in .30

Offline

#6 2009-07-11 17:41:18

nebri
Member
Registered: 2009-01-03
Posts: 30

Re: ath5k Wireless Card Deauthenticating reason 7

Alright well I discovered a couple issues when tweaking my system.

First off and this was absolutely huge, I noticed a bunch of my packages after pacman -syu were not at thier correct version numbers. Changing my mirror from portafixe to another mirror in the US updated a bunch of packages to thier latest version that portafixe simply wasn't. this included my linux kernel headers. (which would have no doubht caused many other issues that I either didn't notice or were bound to happen).

after that I noticed my wifi was still farked up. So I decided that I'd give good old madwifi another go. pacman -s madwifi

modprobe -r ath5k
modprobe ath_pci

the old madwifi module seems to be working better then the newer ath5k in linux kernel 2.6.30.1 so far this is the best solution that I can find and is what I'm using. I've had no disconnects since switching.

I hope this helps a lot of other people out there too, running some google searches it's not only arch plagued by this problem. it seems to be widespread to all the distros that took up the 2.6.30 kernel.

Offline

#7 2009-07-13 09:14:55

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: ath5k Wireless Card Deauthenticating reason 7

There are other similar posts about ath5k and ath9k in the kernel-section of this forum. I'm one of them and still using .29 for this reason.

Zl.

Offline

Board footer

Powered by FluxBB