LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-11-2009, 02:27 PM   #1
joemoer90
LQ Newbie
 
Registered: Feb 2009
Posts: 5

Rep: Reputation: 0
ath5k drivers = slow as hell internet...now so are madwifi's!!


Hi

I've been out of the linux world for a couple of years as I had to use windows stuff for work. Anyway, that's all by-the-by.

I installed Mandriva 2009 today (my linux flavour of choice) and noticed that it is now shipped with ath5k drivers for atheros chipsets. In the old days I used to just install the latest madwifi drivers which worked a treat. The ath5k module just doesn't seem to work well for me - I get very unreliable speeds and it drops a lot so I thought, no problem, I'll install madwifi drivers and I'll be away...not so. I had the same problem with madwifi's drivers.
Then after a bit of reading up I discovered that madwifi and ath5k drivers are pretty much one and the same these days (correct me if I'm wrong). So the logical move was to install old madwifi drivers (I still had a copy of the ones that used to work for me a couple of years ago). Now the problem is that they won't compile under the madrive 2009 kernel!

Arrrgh. Since I've been out of the loop for a while I'm guessing I'm not the first person to enquire about this problem/bug/whatever. Can anyone offer some advice?

Here's hoping I don't timeout while I upload this message!!
 
Old 02-11-2009, 03:54 PM   #2
rjwilmsi
Member
 
Registered: Mar 2005
Location: UK
Distribution: opensuse 12.2 x86_64
Posts: 563

Rep: Reputation: 38
I also had problems attempting to use the ath5k drivers on opensuse 11.1 and had to go back to the existing madWiFi drivers. However, even with them I still found that the maximum connection speed I could attain was not what it should be. I reported the two bugs below:

https://bugzilla.novell.com/show_bug.cgi?id=463247

https://bugzilla.novell.com/show_bug.cgi?id=463250
 
Old 02-12-2009, 02:36 AM   #3
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Works perfect on my card on my debian.

Which version of the driver?

Which card?
 
Old 02-12-2009, 04:32 AM   #4
joemoer90
LQ Newbie
 
Registered: Feb 2009
Posts: 5

Original Poster
Rep: Reputation: 0
The card is AR2413. As I said, it used to work perfectly with the old madwifi drivers.

I've tried installing version 0.9.4 of madwifi but it was just as inconsistent and slow as the ath5 drivers and as I mentioned before older versions of madwifi won't compile under the newer kernel.

Thanks for any advice
 
Old 02-12-2009, 09:17 AM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Try the madwifi openhal version maybe (0.10.5.6) ? it's for ar2425/ar5007 but I would think it should work with the older Atheros chips..

http://madwifi-project.org/ticket/1192

Works great with the ar5007 in my netbook..


Just a thought really, since nothing else has worked for you.
 
Old 02-13-2009, 07:15 AM   #6
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Isn't madwifi deprecated anymore? Wouldn't that conflict with ath5k in the kernel? Not sure I would take this path.

When I first switched to ath5k (probably 2.6.27 kernel), I got nasty bugs. I was not even able to determine my exact network chipset. This driver gave me headaches.

From this page, it looks ok for your card:
http://wireless.kernel.org/en/users/...supportedchips

At the start, they had to limit the rate but it should'nt be the case anymore. "shouldn't" because at the moment I've only tried the driver for internet (slower than LAN).
At least, my downloads run over night without interruption.

Since I switched to 2.6.28 it works pretty good.
For info, I use wicd which works like a charm.

I would dl the latest kernel and build and install it with default configuration.
 
Old 02-16-2009, 06:44 AM   #7
joemoer90
LQ Newbie
 
Registered: Feb 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks again to all replies.
It seems odd that my card is listed but it doesn't work properly with the drivers. I tried a live cd of suselinux 11.1 and had the same issue, but when I tried the latest ubuntu the card works fine.

As far as I know madwifi is not deprecated, it's just that ath5k is the driver of choice for a lot of distros recently. Anyway, I was thinking about what you said about the drivers conflicting, NX5000, and blacklisted everything in sight to do with ath5k. Still no joy so I've gone back to mandriva 2007 and installed madwifi. All seems to be well again.

Strange that hardware support should get worse with later distros rather than improve!
 
Old 02-16-2009, 10:36 AM   #8
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
As I've said, ath5k began to work for me on linux kernel 2.6.28, but you didn't talk about the kernels nor ath5k version you had tried.

uname -a will tell you


Quote:
Originally Posted by http://madwifi-project.org/
Ath5k is intended to replace MadWifi in the long run and exceed it feature-wise
And that's why I switched to ath5k.
 
Old 02-21-2009, 08:59 AM   #9
flammenwurfer
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
I'm having very similar problems with my Atheros card. I think mine has the same chipset as well. I get horribly slow speeds when I'm using Arch Linux. When I use Xubuntu it works great.

joemoer90: You say yours is working fine in Mandriva? Can you tell me what version of Madwifi and kernel you are using which work?

Thanks
 
Old 02-23-2009, 06:08 AM   #10
joemoer90
LQ Newbie
 
Registered: Feb 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Flammerwurfer: I'm using kernel 2.6.22.19 and compiled madwifi 0.9.3.3 from source. Now it works great. I don't understand why a newer kernel and latest version of madwifi cause slow/sporadic network speeds, but this has fixed the problem for me.

nx5000: I was previously using mandriva 2009 and had done all updates so I'm assuming I had the latest ath5k drivers and kernel. I'm going to re-install it on an other hard drive so I can tinker with it without breaking my main machine. I'll give an update soon (including accurate info on driver version and kernel)

Cheers all
 
Old 02-23-2009, 09:16 AM   #11
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Glad you fixed your problem.

I looked at mandriva 2009 and it includes a 2.6.27 kernel. Mandriva probably adds its own patches but it could be that the ones concerning "noise calibration" affecting your chip was not backported from 2.6.28 to 2.6.27.

So as you say, keep your current kernel, additionnaly take the latest kernel from kernel.org, blacklist everything related to madwifi (starting with ath and with wlan), comment the line blacklisting ath5k and boot.
I'd bet it will work as it does for me. (I needed wicd also)
 
Old 03-31-2009, 08:28 AM   #12
joemoer90
LQ Newbie
 
Registered: Feb 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Hi NX5000.

Out of interest I'm experimenting with mandriva 2009 with kernel 2.6.27.19 on spare hard drive as I will want to upgrade eventually. I was wondering about what you said about ath5k working for you when you upgraded the kernel to 2.6.28. Did you have to upgrade your ath5k version too or did the new kernel alone fix noise problems?

Also do you know if ath5k is available as a precompiled package (like RPM, etc) or does it have to be compiled from source? I can't seem to find any rpms out there.

Regards

joemoer90
 
Old 04-18-2010, 01:19 PM   #13
wartstew
Member
 
Registered: Apr 2002
Location: Albuquerque, NM USA
Distribution: Slackware, Ubuntu, Debian, Maemo
Posts: 464

Rep: Reputation: 30
Both ath5k and Madwifi very slow

I have very poor performing wifi performance on my Ubuntu Jaunty laptop that has an AR5212 in it.

The ath5k driver has never worked very well, as I've experimented with it for several years now.

The older Madwifi driver used to work very well, but now is also slow and has been slow for a few months now.

I've repeatably tried both the latest Ubuntu kernels as well as my own custom compiled ones (the latest being 2.6.33.2). Note that I have both drivers in the kernel but then just change the blacklisting from one to the other to select the one I try to use.

I have NOT been able get the MADWIFI kernel to compile into the 2.6.33.2 (or a few versions previous that I've tried). It bombs out with "copy_from_user() buffer size is not provably correct". I guess this is a result of strict "copy_from_user" now being checked. I just tried the latest MADWIFI SVN assembled code wth this result, but it does compile and install into the Ubuntu kernel.

Last edited by wartstew; 04-18-2010 at 05:55 PM.
 
Old 04-18-2010, 01:24 PM   #14
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
For what it's worth setting the rate manually has worked, well for me as has ndiswrapper when using mandriva. I never got ndiswrapper to work right in ubuntu, but setting the rate manually gets me everything from my ISP up to 20mb/s. I really haven't tested the range. Also with very recent kernels I haven't even had to set the rate.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 12.2 - Ath5k is slow as molassus bloodangel Linux - Networking 6 12-30-2008 06:35 PM
Samba - slow as hell rubella Linux - Networking 17 05-29-2006 04:54 AM
New Fedora Internet connection slow slow slow matrim Fedora 9 07-29-2005 01:39 PM
Why the hell is linux running so slow! plz help sendas4 Linux - General 9 08-02-2004 08:00 PM
Warning: elxlinux is slow as hell! jetblackz Linux - Software 1 03-24-2002 02:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration