Very slow speed with usb n-13 in ubuntu

justiceer

Honorable
Nov 12, 2012
21
0
10,510
Installed linux but now its extremely slow, should work well because in windows works well so problem of drivers in linux maybe. Sometimes it freezes with no reason and i have turn off wifi and on to connect.
 
Solution
Ralink/Mediatek RT3072

Unfortantely this driver (really the manufacturer as a whole) kind of sucks on linux. You can try different module parameters, disable hardware encryption "nohwcrypt=1" but this is probably the default anyway.

Best bet is to purchase devices with atheros or intel chipset that have known good linux drivers like this one:
https://www.thinkpenguin.com/gnu-linux/penguin-wireless-n-usb-adapter-gnu-linux-tpe-n150usb
https://www.thinkpenguin.com/gnu-linux/penguin-wireless-n-pci-card-v5-w-full-low-profile-brackets

Avoid chips that are "draft-n" like the AR9170 (like my dwa-160)

If you search (wikidevi is good for searching) you can sometimes find other devices (commonly tp-link) that have the same chipsets for a bit...
00:00.0 Host bridge: Intel Corporation Core Processor DMI (rev 11)
00:03.0 PCI bridge: Intel Corporation Core Processor PCI Express Root Port 1 (rev 11)
00:08.0 System peripheral: Intel Corporation Core Processor System Management Registers (rev 11)
00:08.1 System peripheral: Intel Corporation Core Processor Semaphore and Scratchpad Registers (rev 11)
00:08.2 System peripheral: Intel Corporation Core Processor System Control and Status Registers (rev 11)
00:08.3 System peripheral: Intel Corporation Core Processor Miscellaneous Registers (rev 11)
00:10.0 System peripheral: Intel Corporation Core Processor QPI Link (rev 11)
00:10.1 System peripheral: Intel Corporation Core Processor QPI Routing and Protocol Registers (rev 11)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 05)
00:1a.1 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 05)
00:1a.2 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 05)
00:1a.7 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05)
00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 05)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 05)
00:1d.1 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 05)
00:1d.2 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 05)
00:1d.3 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 05)
00:1d.7 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation 5 Series Chipset LPC Interface Controller (rev 05)
00:1f.2 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA IDE Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
00:1f.5 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 2 port SATA IDE Controller (rev 05)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Barts PRO [Radeon HD 6850]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Barts HDMI Audio [Radeon HD 6800 Series]
02:00.0 IDE interface: Marvell Technology Group Ltd. Device 91a3 (rev 11)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03)
04:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03)
05:03.0 Multimedia audio controller: C-Media Electronics Inc CMI8788 [Oxygen HD Audio]
05:05.0 IDE interface: Integrated Technology Express, Inc. IT8213 IDE Controller
3f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-Core Registers (rev 04)
3f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 04)
3f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 04)
3f:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 04)
3f:03.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller (rev 04)
3f:03.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Target Address Decoder (rev 04)
3f:03.4 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Test Registers (rev 04)
3f:04.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Control Registers (rev 04)
3f:04.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Address Registers (rev 04)
3f:04.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Rank Registers (rev 04)
3f:04.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Thermal Control Registers (rev 04)
3f:05.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Control Registers (rev 04)
3f:05.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Address Registers (rev 04)
3f:05.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Rank Registers (rev 04)
3f:05.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Thermal Control Registers (rev 04)

 
p55a-ud3
i5 750 2.67 quadcore
6850 1GB ati
GSKILL 8GB DDR3 1600MHz ripjaw

btw, after a while the display has some wierd bright colors, should i use other drivers instead of the free sourse/tested one?
 
Guys, the computer works fine, i even had the computer with the usb near the router and worked fine. Now i put my computer with the usb like 10 meters and its very slow sometimes doesnt connect, while in i windows have no problems. Clearly drivers or setting of wifi no?

yes usb n-13 its wifi usb.
 
lsusb:

Bus 002 Device 002: ID 0b05:1784 ASUSTek Computer, Inc. USB-N13 802.11n Network Adapter (rev. A1) [Ralink RT3072]
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 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 011 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 010 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0951:1653 Kingston Technology Data Traveler 100 G2 8 GiB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 003: ID 0458:0708 KYE Systems Corp. (Mouse Systems)
Bus 005 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

lsmod:

Module Size Used by
ctr 13049 1
ccm 17773 1
rfcomm 69509 0
bnep 19624 2
bluetooth 446409 10 bnep,rfcomm
6lowpan_iphc 18702 1 bluetooth
arc4 12608 2
rt2800usb 27189 0
rt2x00usb 20742 1 rt2800usb
rt2800lib 89076 1 rt2800usb
rt2x00lib 55307 3 rt2x00usb,rt2800lib,rt2800usb
mac80211 652777 3 rt2x00lib,rt2x00usb,rt2800lib
cfg80211 494362 2 mac80211,rt2x00lib
hid_generic 12559 0
crc_ccitt 12707 1 rt2800lib
usbhid 52616 0
hid 110426 2 hid_generic,usbhid
gpio_ich 13586 0
snd_hda_codec_hdmi 47548 1
radeon 1412941 3
coretemp 13441 0
kvm 452047 0
snd_hda_intel 30469 2
snd_hda_controller 30228 1 snd_hda_intel
snd_oxygen 21036 2
snd_hda_codec 139682 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_controller
snd_oxygen_lib 41467 1 snd_oxygen
snd_hwdep 17698 1 snd_hda_codec
snd_mpu401_uart 14169 1 snd_oxygen_lib
snd_seq_midi 13564 0
snd_seq_midi_event 14899 1 snd_seq_midi
serio_raw 13483 0
i7core_edac 24139 0
snd_rawmidi 30876 2 snd_mpu401_uart,snd_seq_midi
edac_core 56549 2 i7core_edac
snd_pcm 104112 5 snd_hda_codec_hdmi,snd_oxygen_lib,snd_hda_codec,snd_hda_intel,snd_hda_controller
lpc_ich 21093 0
snd_seq 63074 2 snd_seq_midi_event,snd_seq_midi
snd_seq_device 14497 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 29562 2 snd_pcm,snd_seq
snd 79468 20 snd_oxygen,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_oxygen_lib,snd_hda_codec,snd_hda_intel,snd_mpu401_uart,snd_seq_device
ttm 93588 1 radeon
drm_kms_helper 61574 1 radeon
parport_pc 32741 1
drm 311018 6 ttm,drm_kms_helper,radeon
ppdev 17671 0
i2c_algo_bit 13413 1 radeon
mac_hid 13227 0
soundcore 15047 2 snd,snd_hda_codec
lp 17759 0
parport 42348 3 lp,ppdev,parport_pc
shpchp 37047 0
pata_acpi 13053 0
uas 27255 0
pata_it8213 13106 0
ahci 34062 0
r8169 71694 0
usb_storage 66545 2 uas
libahci 32424 1 ahci
mii 13934 1 r8169


 
Ralink/Mediatek RT3072

Unfortantely this driver (really the manufacturer as a whole) kind of sucks on linux. You can try different module parameters, disable hardware encryption "nohwcrypt=1" but this is probably the default anyway.

Best bet is to purchase devices with atheros or intel chipset that have known good linux drivers like this one:
https://www.thinkpenguin.com/gnu-linux/penguin-wireless-n-usb-adapter-gnu-linux-tpe-n150usb
https://www.thinkpenguin.com/gnu-linux/penguin-wireless-n-pci-card-v5-w-full-low-profile-brackets

Avoid chips that are "draft-n" like the AR9170 (like my dwa-160)

If you search (wikidevi is good for searching) you can sometimes find other devices (commonly tp-link) that have the same chipsets for a bit cheaper.
 
Solution