[Ubuntu] Slow wifi connection - Ralink

It didn’t worked out. After all the commands I was able to connect, but after few seconds it disconnected me. I undo the changes.

This is the output from sudo lshw -C network before the undo:

*-network               
       description: Wireless interface
       product: RT3290 Wireless 802.11n 1T/1R PCIe
       vendor: Ralink corp.
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: ra0
       version: 00
       serial: 54:35:30:61:3e:e9
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=RALINK WLAN latency=0 multicast=yes wireless=Ralink STA
       resources: irq:19 memory:d0610000-d061ffff
  *-network
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:05:00.0
       logical name: eth0
       version: 07
       serial: 9c:b6:54:1f:f0:28
       size: 10Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168e-3_0.0.4 03/27/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:30 ioport:2000(size=256) memory:d0404000-d0404fff memory:d0400000-d0403fff

edit: when I ran this line “sudo rmmod rt3290sta” it returned error messages - rmmod: ERROR: Module rt3290sta is not currently loaded
edit2: sometimes the test goes up to 20-25 Mbps

I’ll have a look and see if I can find any other possible fixes/drivers later, but for now I have to run … so check back tomorrow.

Okey, I will. Thanks for the help, man!

Just a thought, but have you tried simply setting a different wireless channel in the router.

and tested the speed with wireless security turned off in the router … just temporarily, so we can rule in/out encryption.

what’s the output from:

sudo iwlist scan

I am going to try it out tomorrow.

The output:

eth0      Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: E8:94:F6:B5:90:46
                    Channel:9
                    Frequency:2.452 GHz (Channel 9)
                    Quality=46/70  Signal level=-64 dBm  
                    Encryption key:on
                    ESSID:"TP-LINK_B59046"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=000000538ac023bc
                    Extra: Last beacon: 68ms ago
                    IE: Unknown: 000E54502D4C494E4B5F423539303436
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030109
                    IE: Unknown: 2A0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32043048606C
                    IE: Unknown: 2D1AEF111BFFFF000000000000000000008000000000000000000000
                    IE: Unknown: 331AEF111BFFFF000000000000000000008000000000000000000000
                    IE: Unknown: 3D1609040500000000000000000000000000000000000000
                    IE: Unknown: 341609040500000000000000000000000000000000000000
                    IE: Unknown: DD180050F2020101840003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0900037F01010000FF7F
                    IE: Unknown: DD9E0050F204104A00011010440001021057000101103B0001031047001000000000000010000000E894F6B590461021000754502D4C494E4B10230009544C2D57523834314E10240003392E3010420003312E301054000800060050F204000110110019576972656C65737320526F7574657220544C2D57523834314E100800020086103C000101104900140024E26002000101600000020001600100020001
          Cell 02 - Address: 64:70:02:46:2C:92
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=38/70  Signal level=-72 dBm  
                    Encryption key:on
                    ESSID:"Brani"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=000001455af82797
                    Extra: Last beacon: 68ms ago
                    IE: Unknown: 00054272616E69
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030106
                    IE: Unknown: 2A0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32043048606C
                    IE: Unknown: 2D1A6E1003FF00000000000000000000000000000000000000000000
                    IE: Unknown: 331A6E1003FF00000000000000000000000000000000000000000000
                    IE: Unknown: 3D1606051100000000000000000000000000000000000000
                    IE: Unknown: 341606051100000000000000000000000000000000000000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101030003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0900037F01010000FF7F
          Cell 03 - Address: 38:22:9D:9C:1C:AC
                    Channel:7
                    Frequency:2.442 GHz (Channel 7)
                    Quality=18/70  Signal level=-92 dBm  
                    Encryption key:on
                    ESSID:"misho2"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=000000ca7d8d435a
                    Extra: Last beacon: 68ms ago
                    IE: Unknown: 00066D6973686F32
                    IE: Unknown: 010882848B961224486C
                    IE: Unknown: 030107
                    IE: Unknown: 2A0100
                    IE: Unknown: 32040C183060
                    IE: WPA Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD07000C4300000000
                    IE: Unknown: 0706424720010D10
          Cell 04 - Address: 10:FE:ED:4F:A8:EA
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=14/70  Signal level=-96 dBm  
                    Encryption key:on
                    ESSID:"Liubo"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=000007ddf17f3eb4
                    Extra: Last beacon: 68ms ago
                    IE: Unknown: 00054C6975626F
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030106
                    IE: Unknown: 0706555320010B1B
                    IE: Unknown: 2A0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32043048606C
                    IE: Unknown: 2D1A6E1103FF00000000000000000000000000000000000000000000
                    IE: Unknown: 3D1606071100000000000000000000000000000000000000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101830003A4000027A4000042435E0062322F00
                    IE: Unknown: DD1E00904C336E1103FF00000000000000000000000000000000000000000000
                    IE: Unknown: DD1A00904C3406071100000000000000000000000000000000000000
                    IE: Unknown: DD0900037F01010000FF7F
                    IE: Unknown: DD990050F204104A0001101044000102103B000103104700100000000000001000000010FEED4FA8101021000754502D4C494E4B10230009544C2D57523734304E10240003342E3010420003312E301054000800060050F204000110110019576972656C65737320526F7574657220544C2D57523734304E100800020086103C000101104900140024E26002000101600000020001600100020001
          Cell 05 - Address: 38:22:9D:9C:1C:AD
                    Channel:7
                    Frequency:2.442 GHz (Channel 7)
                    Quality=18/70  Signal level=-92 dBm  
                    Encryption key:off
                    ESSID:""
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=000000ca7d8d3f1d
                    Extra: Last beacon: 1144ms ago
                    IE: Unknown: 0000
                    IE: Unknown: 010882848B961224486C
                    IE: Unknown: 030107
                    IE: Unknown: 32040C183060
                    IE: Unknown: 0706424720010D10
                    IE: Unknown: 050400010000
                    IE: Unknown: 2A0100
                    IE: Unknown: DD07000C4300000000

lo        Interface doesn't support scanning.

Okey, it’s super odd…Today when I turned on the computer, the first few tests was 40-45 Mbsp and I thought it is fixed, but after that it dropped by 10-20 Mbsp.

Then I try to change the channels, and again, it was normal for a little while and then dropped back to 10-20 Mbsp. I played with the channel width, mode, region - and again it was fine for a few tests only.

I also removed the wireless security and there was no difference.

Now I changed the channel from Auto to 13 and region to mine(it’s was US) and most of the time is 25-30, but still sometimes it dropped.

Everyone around you is on channel 6 7 and 9 … try a different channel like 11 or 3

and make sure it’s NOT set to auto

Sorry for the late reply.
I’ve tried all the channels, it seems that 6,7,13 channels are the best, they are between 15-25 Mbps, but I can’t tell for sure, because every time is different. Very rarely I have 30+ Mbsp test.

Just as a test … have you got a USB wireless adapter we could try … to rule in/out anything but the adapter/driver itself.

No, I don’t have.