[SOLVED] Only 45 Mbps with Atheros Ar9285 (b/g/n)

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
csakcsek

[SOLVED] Only 45 Mbps with Atheros Ar9285 (b/g/n)

Post by csakcsek »

Welcome!

I use Mint 17 Cinnamon (x64) with 3.13.0-27-generic kernel, and my wifi card is only works with 45Mbps but my internet connection is 60/5 Mbps (The other notebook with Win 7 and same wifi card (in same wifi network) works great with 60/5 Mbps).

I tried the 3.13.0-24 and the 3.13.11.5 kernel and i get this same low speed. Any idea?

Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01) ==> PCI ID = 168c:002b (rev 01)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: Only 45 Mbps with Atheros Ar9285 (150Mbps b/g/n wifi car

Post by JeremyB »

Run this command and post the resulting wireless-info.txt or tar.gz file

Code: Select all

 wget -N -t 5 -T 10 http://dl.dropbox.com/u/57264241/wireless_script && chmod +x wireless_script && ./wireless_script
csakcsek

Re: Only 45 Mbps with Atheros Ar9285 (150Mbps b/g/n wifi car

Post by csakcsek »

Attached
PatH57

Re: Only 45 Mbps with Atheros Ar9285 (150Mbps b/g/n wifi car

Post by PatH57 »

Hi,

so for looks ok
Support for Atheros 802.11n
at the moment you did run the script
Speed: 65 Mb/s
let''s see (after a fresh reboot and wait a couple of minutes)

Code: Select all

dmesg | grep ath9
csakcsek

Re: Only 45 Mbps with Atheros Ar9285 (150Mbps b/g/n wifi car

Post by csakcsek »

dmesg | grep ath9

[ 14.104539] usbcore: registered new interface driver ath9k_htc
[ 15.568302] ath9k 0000:04:00.0: no hotplug settings from platform
[ 17.568818] ath9k 0000:04:00.0: no hotplug settings from platform
[ 29.317684] ath9k 0000:04:00.0: no hotplug settings from platform
PatH57

Re: Only 45 Mbps with Atheros Ar9285 (150Mbps b/g/n wifi car

Post by PatH57 »

all fine.

So how did you measure the speed? (network applet is outdated and only gives very approx. speed whereas the windows tools are "optimistic")
csakcsek

Re: Only 45 Mbps with Atheros Ar9285 (150Mbps b/g/n wifi car

Post by csakcsek »

http:/speedtest.net (with closest server)
http:/speedtest.upc.hu
http://digi.hu/meres

All 3 site gives only 45Mbps on this notebook, but the other notebook shows 60/5.
PatH57

Re: Only 45 Mbps with Atheros Ar9285 (150Mbps b/g/n wifi car

Post by PatH57 »

ok I see.(don't really believe in these tests they just give you an idea on how good the router connects to the internet, not what happens inside your wlan)
When you did run the wifi script the speed between your router and the atheros card was 65Mbs witch is ok for a home router.
now install iwscanner from the package manager run it and see how much interference you have on the wifi channel that you use.
Select on your router a free channel and your real speed will go up.
that is a test I have done a couple of weeks ago for a customer and his network (around 2000 PCs and 100 laptops, he had the same impression that the wifi was "slow") Once we configured the routers not to collide with each other it went really up)
iwScanner.png
csakcsek

Re: Only 45 Mbps with Atheros Ar9285 (150Mbps b/g/n wifi car

Post by csakcsek »

I checked with LinSSID and it show Quality: 85 So its good, i have problem with the Atheros 9285 wifi card not the router, and the router settings (Tp-Link Wr1043nd v2.1 (300Mbps router) with Gargoyle 1.6.1). And the other notebook with same wifi card have good 60/5 speed, not 45 / 5.
PatH57

Re: Only 45 Mbps with Atheros Ar9285 (150Mbps b/g/n wifi car

Post by PatH57 »

just tried LinSSID, tells me all my cards and routers are 54Mbs
The tool can only report what it gets from the interface, real measure would be to have a middle man (3rd PC hard wired) and transfer same files from each laptop to this PC and time it (500MB same file on each would give a good idea of real speed)
PatH57

Re: Only 45 Mbps with Atheros Ar9285 (150Mbps b/g/n wifi car

Post by PatH57 »

just to check

Code: Select all

sudo gedit /etc/modprobe.d/ath9k.conf
wanna make sure the new kernel you use didn't revert to hw encrypt
csakcsek

Re: Only 45 Mbps with Atheros Ar9285 (150Mbps b/g/n wifi car

Post by csakcsek »

options ath9k nohwcrypt=0
PatH57

Re: Only 45 Mbps with Atheros Ar9285 (150Mbps b/g/n wifi car

Post by PatH57 »

change it to 1 and reboot
csakcsek

Re: Only 45 Mbps with Atheros Ar9285 (150Mbps b/g/n wifi car

Post by csakcsek »

I set to 1, and make reboot but it still 45 Mbps. :(

In ath9k.conf has only this line? Becouse my conf file has only this.
PatH57

Re: Only 45 Mbps with Atheros Ar9285 (150Mbps b/g/n wifi car

Post by PatH57 »

that's the only of the atheros.

try (this is also for a lot of other cards)

Code: Select all

sudo rmmod -f iwlagn

Code: Select all

sudo modprobe iwlagn 11n_disable=1

make a transfer test (don't look at nm applet it doesn't mean anything)
csakcsek

Re: Only 45 Mbps with Atheros Ar9285 (150Mbps b/g/n wifi car

Post by csakcsek »

$ sudo rmmod -f iwlagn

rmmod: ERROR: ../libkmod/libkmod-module.c:769 kmod_module_remove_module() could not remove 'iwlagn': No such file or directory
rmmod: ERROR: could not remove module iwlagn: No such file or directory
PatH57

Re: Only 45 Mbps with Atheros Ar9285 (150Mbps b/g/n wifi car

Post by PatH57 »

just reading again your iwconfig report
wlan0 IEEE 802.11bgn ESSID:"OFFLINE"
Mode:Managed Frequency:2.427 GHz Access Point: <MAC address removed>
Bit Rate=65 Mb/s Tx-Power=16 dBm ----------->not bad
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=47/70 Signal level=-63 dBm ---------> could better
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:13 Missed beacon:0

don't think more will come out
csakcsek

Re: Only 45 Mbps with Atheros Ar9285 (150Mbps b/g/n wifi car

Post by csakcsek »

But the other laptop (same wifi card) with Windows 7 how can make 60/5 in this wireless network (with the latest driver in 2013, 10.0.0.276)? That laptop is near this laptop (half meter).
PatH57

Re: Only 45 Mbps with Atheros Ar9285 (150Mbps b/g/n wifi car

Post by PatH57 »

what is this
make 60/5
you talk all the time about?
I see in you log 65 Mbs (atheros)
csakcsek

Re: Only 45 Mbps with Atheros Ar9285 (150Mbps b/g/n wifi car

Post by csakcsek »

Yes it looks 65 Mb/s but the "b" is small, so its Mbps, but this card is 150 Mbps card (b/g/n!), not just 65. And my interent connection speed is 60 Mbps download and 5 Mbps upload, but i get only 45 Mbps download and 5 Mbps upload speed in Linux Mint.
Locked

Return to “Networking”