Author Topic: RALINK RT5370STA - Ubuntu 11.04 - only running at 54Mbps out of 150MBps  (Read 10449 times)

0 Members and 1 Guest are viewing this topic.

Offline M1NDF1R3

  • Jr. Member
  • **
  • Posts: 17
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Hello, after following a VERY handy forum topic on this site earlier today and by downloading one of Marks modified drivers i was able to get my Ralink USB WIFI dongle working after nearly 3 months of owning it... Thank you for that,

Only problem i have with the infernal thing now is its supposed to be running at 150Mbps but i cant seem to find out ANYWHERE how to get it off 54Mbps and since it as the info on this forum that got it working in the first place........ Please help me, and be gentle im not exactly the most technically competent linux user, ive only been using it for about 5 months, i can find my way around to do things if "guided" though lol

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13232
  • Karma: 323
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: RALINK RT5370STA - Ubuntu 11.04 - only running at 54Mbps out of 150MBps
« Reply #1 on: September 22, 2011, 11:53:31 pm »
It could be being caused by quite a few different things... can you send the output from the following commands, run in a terminal:-

Code: [Select]
lsusb

Code: [Select]
sudo iwlist scanning

Code: [Select]
iwconfig

Code: [Select]
sudo lshw -C network

[EDIT]

And which driver you used.

Oh, and make/model of the router it's connecting with may also be useful... or not :)
« Last Edit: September 23, 2011, 12:19:38 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline M1NDF1R3

  • Jr. Member
  • **
  • Posts: 17
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: RALINK RT5370STA - Ubuntu 11.04 - only running at 54Mbps out of 150MBps
« Reply #2 on: September 23, 2011, 12:21:53 am »
Thanks for getting back to me Mark.

The output from lsusb is as follows:
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
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 148f:5370 Ralink Technology, Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Output from iwlist scanning is as follows:
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

ra0       Scan completed :
          Cell 01 - Address: 00:1C:DF:60:87:8D
                    Protocol:802.11g
                    ESSID:"belkin54g"
                    Mode:Managed
                    Frequency:2.422 GHz (Channel 3)
                    Quality=100/100  Signal level=-35 dBm  Noise level=-92 dBm
                    Encryption key:on
                    Bit Rates:54 Mb/s
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
         
Output from iwconfig is as follows:

lo        no wireless extensions.

eth0      no wireless extensions.

ra0       Ralink STA  ESSID:"belkin54g"  Nickname:"RT2870STA"
          Mode:Managed  Frequency=2.422 GHz  Access Point: 00:1C:DF:60:87:8D   
          Bit Rate=54 Mb/s   
          RTS thr:off   Fragment thr:off
          Link Quality=100/100  Signal level:-35 dBm  Noise level:-66 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Output from sudo lshw -C network is as follows:

 *-network               
       description: Ethernet interface
       product: VT6102 [Rhine-II]
       vendor: VIA Technologies, Inc.
       physical id: 12
       bus info: pci@0000:00:12.0
       logical name: eth0
       version: 74
       serial: 00:40:ca:bf:d8:c4
       size: 10Mbit/s
       capacity: 100Mbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=via-rhine driverversion=1.5.0 duplex=half latency=64 link=no maxlatency=8 mingnt=3 multicast=yes port=MII speed=10Mbit/s
       resources: irq:10 ioport:2400(size=256) memory:20001000-200010ff
  *-network
       description: Wireless interface
       physical id: 2
       logical name: ra0
       serial: 7c:dd:90:06:dc:6c
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=RALINK WLAN ip=192.168.2.2 multicast=yes wireless=Ralink STA

The driver i installed was off a post you were assisting on where you had modified the rt5370sta driver and uploaded to dropbox (http://dl.dropbox.com/u/11876059/2011_0407_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.2_DPO.tar.bz2)

i noticed as i was getting the outputs, that iwconfig gives the nickname RT2870STA yet the chipset i have is RT5370, could that be the issue? i have no clue im just stabbing in the dark lol.

Originally i did try and install drivers for RT2870 because thats the model it said on the drivers that came on the disk, however since reading one of your posts i noted the chipset to be 5370 on the lsusb output, and as a result found your modified drivers which worked (at slower speeds granted)

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13232
  • Karma: 323
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: RALINK RT5370STA - Ubuntu 11.04 - only running at 54Mbps out of 150MBps
« Reply #3 on: September 23, 2011, 12:31:06 am »
Quote
ESSID:"belkin54g"

If this is the router your USB wireless adapter is connected to (and it is ;) )... the router only supports 54Mbps (Wireless "G")... so the USB adapter negotiates the fastest speed the router can communicate, and drops to that speed.

So I'm afraid if you want 150Mbps, you'll have to buy a Wireless "N" router. ;)

[EDIT]

And YES rt2870sta *is* the correct driver, (even though the adapter is an rt5370), but it will be using the rt5370 firmware.

So where it says:
ra0       Ralink STA  ESSID:"belkin54g"  Nickname:"RT2870STA"
Seems odd, but that is correct :)
« Last Edit: September 23, 2011, 01:12:20 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline M1NDF1R3

  • Jr. Member
  • **
  • Posts: 17
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: RALINK RT5370STA - Ubuntu 11.04 - only running at 54Mbps out of 150MBps
« Reply #4 on: September 23, 2011, 01:38:20 am »
Well, that clears that up then.. i take it there isnt some kinf of firmware upgrade i can run to enable wireless N?

well, that was easy, thank you for your help Mark. im sure ill have some other Ubuntu related ball ache in the future... in actual fact i do, but ill post on it tomorrow...

i plugged my wifes nokia in via usb on my desktop pc the other day, an error message came up (too quick to take note of what it said) now ubuntu doesnt seem to be seeing the onboard lan.... will you require the same output data?

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13232
  • Karma: 323
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: RALINK RT5370STA - Ubuntu 11.04 - only running at 54Mbps out of 150MBps
« Reply #5 on: September 23, 2011, 02:00:30 am »
Quote
i take it there isnt some kinf of firmware upgrade i can run to enable wireless N?

Nope, afraid not... even if it was technically possible, call me cynical but do you think Belkin would actually release it ? ;)

Quote
will you require the same output data?

First, have you tried a reboot ?

If we are still talkiing about *Wireless* LAN... YES, but also add the output from:
Code: [Select]
rfkill list

But if you mean it's the Wired LAN adapter that is now giving you problems...

Code: [Select]
sudo lshw -C network
and
Code: [Select]
ifconfig
« Last Edit: September 23, 2011, 12:43:43 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline M1NDF1R3

  • Jr. Member
  • **
  • Posts: 17
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: RALINK RT5370STA - Ubuntu 11.04 - only running at 54Mbps out of 150MBps
« Reply #6 on: September 24, 2011, 02:58:24 pm »
Hiya, yeah ive tried a reboot, still nothing.

It is the wired network

i have tried messing with network manager and i have noticed that "loopback" is set as the default network device, i try to change it and then go back into network manager and loopback is still default.

ive grabbed the outputs from the commands you listed and managed to get most of them but rfkill list didnt output anything.

steve@steve-Alaska:~$ sudo lshw -C network
[sudo] password for steve:
  *-network               
       description: Ethernet interface
       product: 3CSOHO100B-TX 910-A01 [tulip]
       vendor: 3Com Corporation
       physical id: 2
       bus info: pci@0000:02:02.0
       logical name: eth0
       version: 31
       serial: 00:40:2b:7c:21:4a
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list rom ethernet physical
       configuration: broadcast=yes driver=tulip driverversion=1.1.15 latency=64 maxlatency=128 mingnt=64 multicast=yes
       resources: irq:18 ioport:2000(size=256) memory:d2000000-d20003ff memory:60000000-6001ffff

steve@steve-Alaska:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:40:2b:7c:21:4a 
          inet6 addr: fe80::240:2bff:fe7c:214a/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:10 dropped:0 overruns:0 carrier:20
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:18 Base address:0x2000

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:128 errors:0 dropped:0 overruns:0 frame:0
          TX packets:128 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:9792 (9.7 KB)  TX bytes:9792 (9.7 KB)

steve@steve-Alaska:~$ rfkill list
steve@steve-Alaska:~$

 

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13232
  • Karma: 323
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: RALINK RT5370STA - Ubuntu 11.04 - only running at 54Mbps out of 150MBps
« Reply #7 on: September 24, 2011, 03:16:13 pm »
OK, I take it this is a different PC than the first one that had the Wireless issue ?

Try this...

Go to the NetworkManager panel applet (by clock), click it, and select Edit Connections, in the Wired tab, highlight the Auto eth0 entry, click the Edit button.

go to the IPv4 tab, and change:
Method:  Automatic (DHCP)

go to the IPv6 tab, and change:
Method: Ignore

Click the Save button.

If necessary, reboot.
« Last Edit: September 24, 2011, 03:28:06 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline M1NDF1R3

  • Jr. Member
  • **
  • Posts: 17
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: RALINK RT5370STA - Ubuntu 11.04 - only running at 54Mbps out of 150MBps
« Reply #8 on: September 24, 2011, 03:45:53 pm »
yeah it is a different machine, and... those are the settings i already have, the activity lights are not illuminated on the network port either since plugging in the nokia phone..

i also thought, "sod it wipe it and reinstall" so booted from my natty usb stick and low and behold the post installation  check list states my machine is not connected to the internet.

i have been into the BIOS and the onboard lan is activated AND obviously Linux can see it from the output obtained earlier but somehow it seems to be deactivated while still being active...??? IT MAKES NO SENSE!!!

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13232
  • Karma: 323
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: RALINK RT5370STA - Ubuntu 11.04 - only running at 54Mbps out of 150MBps
« Reply #9 on: September 24, 2011, 04:27:35 pm »
So let me get this straight... the wired network adapter worked until you plugged in the nokia, but a full wipe of the hard drive and reinstall of Ubuntu didn't clear the issue ?

Have you tried removing the plug from the wall, (and the battery if it's a laptop), then hitting the power button to discharge any residual power, then replugging it, and trying again ?

Have you tried toggling the Reset configuration data, or Clear DMI pool data, or similar in the BIOS ?

I take it you've tried restarting the router ?

have you tried plugging the ethernet cable into a different socket on the router ?

Are there enough free IP addresses in the routers DHCP pool ?

Have you tried setting a static IP address ?

Do you know your routers IP address ?

What are the contents of this file:
Code: [Select]
gedit /var/lib/dhcp/dhcpd.leases

What is the output from
Code: [Select]
sudo iptables -t filter --list
and
Code: [Select]
route

Is there anything useful in the system logs ?
« Last Edit: September 24, 2011, 08:01:08 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline M1NDF1R3

  • Jr. Member
  • **
  • Posts: 17
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: RALINK RT5370STA - Ubuntu 11.04 - only running at 54Mbps out of 150MBps
« Reply #10 on: October 18, 2011, 09:32:16 pm »
Hiya,

Just a quickie.... ive tried recompiling ra5370 for the latest kernel 2.6.38-12 but i get install errors 1 & 2 - i have defaulted back to 2.6.38-11 to et my dongle working again but would like to get it working under the latest kernel, any ideas?

Also in regards to the eth0 on my desktop, i honestly think im going to have to buy a new network card for it. its just not showing up on any of the outputs you got me to try.


Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13232
  • Karma: 323
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: RALINK RT5370STA - Ubuntu 11.04 - only running at 54Mbps out of 150MBps
« Reply #11 on: October 19, 2011, 02:46:21 am »
Firstly, how are you installing 2.6.38-12, as I've just set up Natty in a VM and after all the updates it's only on 2.6.38-11 ?

Secondly, why are you recompiling the driver at all ?
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline M1NDF1R3

  • Jr. Member
  • **
  • Posts: 17
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: RALINK RT5370STA - Ubuntu 11.04 - only running at 54Mbps out of 150MBps
« Reply #12 on: October 19, 2011, 12:32:09 pm »
the update to 2.6.38-12 was downloaded automatically as part of the xubuntu distro upgrade to 11.10, i recompiled the driver as running with 2.6.38-12 completely disables the RA5370 dongle. it shows up with lsusb but all other outputs only show 'eth0' and 'lo'

im manually loading 2.6.38-11 every time i boot now and my usb dongle works perfectly.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13232
  • Karma: 323
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: RALINK RT5370STA - Ubuntu 11.04 - only running at 54Mbps out of 150MBps
« Reply #13 on: October 19, 2011, 01:01:38 pm »
Ah .. OK, I'm going to have to download Xubuntu then ;)

Are you 100% sure it's 2.6.38-12 as Ubuntu 11.10 is on 3.0.0-12

Downloading Xubuntu now so I can install it in a VM, and try to work out what the problem is.
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline M1NDF1R3

  • Jr. Member
  • **
  • Posts: 17
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: RALINK RT5370STA - Ubuntu 11.04 - only running at 54Mbps out of 150MBps
« Reply #14 on: October 19, 2011, 01:05:23 pm »
ahhh, ive double checked, and yeah, 2.6.38-12 came down in an automatic update, BEFORE i installed the 11.10 distro upgrade. however with checking both Kernels, and booting with them both individually, the ra5370 doesnt work with either of them and wont install on the new Kernels either.

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal