LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-31-2011, 09:36 PM   #1
Pamela_Jane
LQ Newbie
 
Registered: Jul 2011
Location: Las Vegas, NV
Distribution: Bodhi Linux 2.6.39-2-generic
Posts: 1

Rep: Reputation: Disabled
Question Bodhi: internet connection slow/times out: ath9k/Atheros/TP-Link USB wireless dongle


Just re-installed Bodhi. Ran update, dist-update, set up connection and connection still slow or timing out and reporting errors in 'iwconfig'. This is 3rd re-install of this version. Have also tried 3.0 kernel and pae versions of Bodhi. Cannot get this connection up to speed and without errors. Atheros chipset ar9271.

Sorry for weird subject line and opening paragraph. Trying to make it easy to find and browse in case this gets solved and can help someone else. Not being a Linux guru, I can only hope to help others through my mistakes and ignorance.

I followed instructions to update driver listed at Linux Wireless.

In addition to following the directions at Linux Wireless, I also downloaded the GUI Program to install ath9k_htc.

No luck. My connection reports 1M/s and is reporting "invalid misc:" errors in iwconfig.

I'm running Midori browser but apt-get and wget are also downloading slowly.

I'm connecting to a Zyxel 660 series router using WPA/WPA2.

uname -r

Code:
uname -r
2.6.39-2-generic
iwconfig

Code:
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:"MyESSIDisHere"  
          Mode:Managed  Frequency:2.457 GHz  Access Point: xx:xx:xx:xx:xx:xx   
          Bit Rate=1 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=50/70  Signal level=-60 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:147   Missed beacon:0
lsusb for TP-Link, TL-WN722N dongle

Code:
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 0b38:0010  
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 003: ID 1c4f:0003 SiGma Micro 
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0cf3:9271 Atheros Communications, Inc. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lsmod | grep ath

Code:
lsmod | grep ath
ath9k_htc                    55485  0 [permanent]
mac80211                   259475  1 ath9k_htc,[permanent]
ath9k_common           13801  1 ath9k_htc,[permanent]
ath9k_hw                     311156  2 ath9k_htc,ath9k_common,[permanent]
ath                              19089  2 ath9k_htc,ath9k_hw
cfg80211                     151222  3 ath9k_htc,mac80211,ath,[permanent]
Pertinent(?) hardware installed (if you need the whole list, please let me know):

sudo lshw:
Code:
*-core
       description: Motherboard
       product: M4A88TD-M/USB3
       vendor: ASUSTeK Computer INC.
       physical id: 0
       version: Rev X.0x
       serial: 
       slot: To Be Filled By O.E.M.
     *-firmware
          description: BIOS
          vendor: American Megatrends Inc.
          physical id: 0
          version: 0902 (12/10/2010)
          size: 64KiB
          capacity: 1984KiB
--------------

 *-cpu:0
          description: CPU
          product: AMD Phenom(tm) II X6 1100T Processor
          vendor: Advanced Micro Devices [AMD]
          physical id: 4
          bus info: cpu@0
          version: 15.10.0
          serial: To Be Filled By O.E.M.
          slot: AM3
          size: 800MHz
          capacity: 3700MHz
          width: 64 bits
          clock: 200MHz

----------------------

-memory
          description: System Memory
          physical id: 34
          slot: System board or motherboard
          size: 4GiB
        *-bank:0
             description: DIMM Synchronous 1333 MHz (0.8 ns)
             product: PartNum0
             vendor: Manufacturer0
             physical id: 0
             serial: SerNum0
             slot: DIMM0
             size: 2GiB
             width: 64 bits
             clock: 1333MHz (0.8ns)
        *-bank:1
             description: DIMM Synchronous 1333 MHz (0.8 ns)
             product: PartNum1
             vendor: Manufacturer1
             physical id: 1
             serial: SerNum1
             slot: DIMM1
             size: 2GiB
             width: 64 bits
             clock: 1333MHz (0.8ns)

----------------

 *-display
                description: VGA compatible controller
                product: ATI Technologies Inc
                vendor: ATI Technologies Inc
                physical id: 5
                bus info: pci@0000:01:05.0
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pm msi bus_master cap_list rom
                configuration: driver=radeon latency=0
                resources: irq:18 memory:d0000000-dfffffff ioport:c000(size=256) memory:fe9f0000-fe9fffff memory:fe800000-fe8fffff
           *-multimedia
                description: Audio device
                product: RS880 Audio Device [Radeon HD 4200]
                vendor: ATI Technologies Inc
                physical id: 5.1
                bus info: pci@0000:01:05.1
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pm msi bus_master cap_list
                configuration: driver=HDA Intel latency=0
                resources: irq:19 memory:fe9e8000-fe9ebfff

-----------------

 *-network
       description: Wireless interface
       physical id: 1
       bus info: usb@1:3
       logical name: wlan0
       serial: xx:xx:xx:xx:xx:xx
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=ath9k_htc driverversion=2.6.39-2-generic firmware=N/A ip=xxx.xxx.xxx.xxx link=yes multicast=yes wireless=IEEE 802.11bgn
I have just enough knowledge to be dangerous so please keep that in mind.

I'm sure this is a driver or configuration problem but I am stumped as to what to fix.

Thanks for your help.
 
Old 08-02-2011, 12:06 PM   #2
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,062

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
Quote:
Originally Posted by Pamela_Jane View Post
This is 3rd re-install of this version. Have also tried 3.0 kernel and pae versions of Bodhi.
...and is reporting "invalid misc:" errors in iwconfig....

I'm running Midori browser but apt-get and wget are also downloading slowly.
I'm neither a Bodhi expert, nor an Atheros expert (either of which might be useful), but let's see if we can get you on the right track:
  • I assume that each of your three installs has produced exactly the same symptom(s).
  • I assume that the Midori/wget slow downloads are the symptom; there is nothing else wrong, and the listed apps are the only ones that you have tried.
If any of the above assumptions are wrong, please give further information.

The usual cause for slow connections are
  • ipv6
  • DNS problems

Neither of those would cause 'invalid misc' errors, but you could have some cause of 'invalid misc' and something else causing rather slow data rates.

The most obvious cause of errors would be inadequate signal strength or interference - do you have anything that might report signal strength continuously (network manager, wicd or re-sampling iwconfig)? There could very easily be a burst of interference (microwave oven, bluetooth, other wireless devices on the same or adjacent channels) and that would mean that occasionally you get errors.

Quote:
Originally Posted by Pamela_Jane View Post
Link Quality=50/70 Signal level=-60 dBm
A received level of -60 dBm sounds more than adequate, if available continuously. Either interference or 'path loss' (minor details of the radio propagation causing more dramatic changes in signal, which can happen, but, with -60 you ought to be OK...but ought isn't the same as are.)

Atheros drivers can be a bit 'touchy' (version-sensitive) so do make sure that you have a search for any other threads on this subject on this site.

Do things work well if you use a wired connection?

What about running a ping to your Zyxel - does that return a consistent and fast result? And does dig return good (fast) DNS lookup times? And ping to, eg, www.google.com, how does that look?

If you get through that without success, check for firmware updates on your Zyxel. The next would be to move on to the more difficult options, like using Wireshark to see if you can find out more about those miscellaneous errors.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Getting Netgear Wireless USB dongle WPN111 (Atheros chipset) to work on Ubuntu 6.06 mouzy93 Linux - Wireless Networking 6 09-11-2010 08:12 PM
Wireless + IPTV with Atheros ath9k zibalas Linux - Networking 23 01-09-2010 02:21 AM
super slow responce when trying to use Internet (USB dongle) Koop Linux - Hardware 1 12-27-2006 05:54 AM
internet connection kind of slow, occasionally times out or locks up agentchange Linux - Newbie 3 11-01-2006 08:05 AM
D-Link DWL-132 USB Wireless Dongle not working in FC5 cosmo289 Linux - Wireless Networking 0 09-10-2006 09:00 PM


All times are GMT -5. The time now is 09:19 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration