Install drivers for Ralink Rt3070

Asked by Rick Miller

Morning :

   I use a Ralink Rt3070 USB WiFi antenna. It came with a mini-CD to 'install drivers". I've extracted and I thought I'd installed those drivers. Where must I go to check and see if, indeed, those drivers have been installed? I normally get a 3 (of 4) bar reading of the WiFi signal strength indicator. However, if drivers are not installed, then could it (the antenna) just be 'relaying" the signal , even if the drivers are not installed? If so, then this would/could be the answer to why downloading is such a slow process? This might be a bit confusing, if so, please ask for further explanation. [HP2000-210us 12.04.01LTSUbuntu]
Thank You:
RICK

P.S. To Andrew: (a.k.a. actionparsnip)

   Your suggestion about bitorrent did not solve the problem. The problem I'm having is getting the torrent to 'open" in the client server so that it can be extracted/downloaded. Thanx for your input!
Rick

Question information

Language:
Turkish Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Daniel Letzeisen
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Have you tried Trusty in LiveCD/LiveUSB to test?

Revision history for this message
Rick Miller (69rixter) said :
#2

Afternoon Andrew:.

    Trusty..? Isn't "Trusty" the newest O.S? What am I missing here? Ahm...would this be a test that should be on the CD itsself? I'm just not familiar with what your suggesting. I'll look for "TRUSTY" on the CD. Hope this is what I'm seeking. Have any further suggestions on the problem with Trans Bitorrent?
THANX:
RICK

Revision history for this message
Daniel Letzeisen (dtl131) said :
#3

Were Linux drivers on the CD? You can't use Windows Vista/7/8 drivers (and using XP drivers would require hacking with ndiswrapper).

If you are getting connectivity, then it sounds like some driver is in use. To check the status, try to give output from these commands:
sudo update-usbids #you don't need to show output from this one
iwconfig
rfkill list all
lsmod
lsusb

Sometimes, with these ralink adapters, you have to pass nohwcrypt=1 to get decent speed.

Revision history for this message
Rick Miller (69rixter) said :
#4

Hey Daniel:

   WOW!!! Well, here's the readout you requested. Sure hope it means something to you because I'm kinda lost. Oh, I don't understand the last sentence in your post???(have to pass nohwcrypt=1). Thanx for responding, Thanx for any help you may pass along. It is appreciated.
Take It Easy:
RICK

wlan1 IEEE 802.11bgn ESSID:"attwifi"
          Mode:Managed Frequency:2.412 GHz Access Point: 00:1A:1E:F9:23:01
          Bit Rate=36 Mb/s Tx-Power=20 dBm
          Retry long limit:7 RTS thr:off Fragment thr:off
          Power Management:on
          Link Quality=70/70 Signal level=-39 dBm
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:3 Invalid misc:0 Missed beacon:0

eth0 no wireless extensions.

lo no wireless extensions.

wlan0 IEEE 802.11bgn ESSID:off/any
          Mode:Managed Access Point: Not-Associated Tx-Power=16 dBm
          Retry long limit:7 RTS thr:off Fragment thr:off
          Power Management:off

rick@rick-HP-2000-Notebook-PC:~$ rfkill list all
0: hp-wifi: Wireless LAN
 Soft blocked: no
 Hard blocked: no
1: hp-bluetooth: Bluetooth
 Soft blocked: no
 Hard blocked: no
2: hci0: Bluetooth
 Soft blocked: no
 Hard blocked: no
3: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no
5: phy2: Wireless LAN
 Soft blocked: no
 Hard blocked: no
rick@rick-HP-2000-Notebook-PC:~$ lsmod
Module Size Used by
snd_hrtimer 12744 1
bnep 18399 2
rfcomm 47922 12
parport_pc 28284 0
ppdev 17113 0
binfmt_misc 17540 1
rt2800usb 27045 0
uvcvideo 82214 0
rt2800lib 67510 1 rt2800usb
crc_ccitt 12707 1 rt2800lib
rt2x00usb 20808 1 rt2800usb
videobuf2_core 40815 1 uvcvideo
rt2x00lib 55630 3 rt2800usb,rt2800lib,rt2x00usb
videodev 130172 2 uvcvideo,videobuf2_core
arc4 12573 4
videobuf2_vmalloc 13056 1 uvcvideo
videobuf2_memops 13202 1 videobuf2_vmalloc
ath9k 152184 0
btusb 22431 0
bluetooth 247324 24 bnep,rfcomm,btusb
mac80211 631450 4 rt2800lib,rt2x00usb,rt2x00lib,ath9k
snd_hda_codec_realtek 80100 1
joydev 17613 0
snd_hda_intel 44339 3
snd_hda_codec 141761 2 snd_hda_codec_realtek,snd_hda_intel
i915 621562 3
ath9k_common 14053 1 ath9k
coretemp 13596 0
ath9k_hw 422564 2 ath9k,ath9k_common
snd_hwdep 13668 1 snd_hda_codec
snd_pcm 102477 2 snd_hda_intel,snd_hda_codec
ath 24123 3 ath9k,ath9k_common,ath9k_hw
drm_kms_helper 49597 1 i915
snd_seq_midi 13324 0
snd_rawmidi 30417 1 snd_seq_midi
microcode 23075 0
snd_seq_midi_event 14899 1 snd_seq_midi
drm 287796 4 i915,drm_kms_helper
cfg80211 526422 4 rt2x00lib,ath9k,mac80211,ath
snd_seq 61930 3 snd_seq_midi,snd_seq_midi_event
psmouse 97902 0
mei 45974 0
snd_timer 29989 3 snd_hrtimer,snd_pcm,snd_seq
hp_wmi 18092 0
snd_seq_device 14497 3 snd_seq_midi,snd_rawmidi,snd_seq
sparse_keymap 13890 1 hp_wmi
lpc_ich 17144 0
rtsx_pci_ms 13180 0
i2c_algo_bit 13564 1 i915
snd 69533 16 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 12680 1 snd
mac_hid 13253 0
memstick 16605 1 rtsx_pci_ms
serio_raw 13215 0
video 19652 1 i915
snd_page_alloc 18798 2 snd_hda_intel,snd_pcm
wmi 19256 1 hp_wmi
lp 17799 0
parport 46562 3 parport_pc,ppdev,lp
rtsx_pci_sdmmc 17800 0
r8169 68904 0
ahci 25879 2
libahci 31636 1 ahci
rtsx_pci 34530 2 rtsx_pci_ms,rtsx_pci_sdmmc
rick@rick-HP-2000-Notebook-PC:~$ lsusb
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 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 006: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
Bus 001 Device 004: ID 05c8:021e Cheng Uei Precision Industry Co., Ltd (Foxlink)
Bus 001 Device 005: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth

THOSE WHO CAN...DO!!! THOSE WHO CAN'T...USUALLY ARE YOUR SUPERVISORS

Revision history for this message
Daniel Letzeisen (dtl131) said :
#5

The kernel module (driver) in use is rt2800usb, so that's okay.

Try these commands and reboot:
echo "options rt2800usb nohwcrypt=1" | sudo tee -a /etc/modprobe.d/rt2800usb.conf
sudo depmod -a

If it still doesn't help, undo the the change:
sudo rm /etc/modprobe.d/rt2800usb.conf
sudo depmod -a

Your next step would be to try a newer kernel or try a LiveUSB of Ubuntu 14.04/Trusty to see if it's a bug in the kernel module that has been resolved since the release of Ubuntu 12.04...

Revision history for this message
Daniel Letzeisen (dtl131) said :
#6

Another shot in the dark would be to try plugging the WiFI in a different USB ports so it's not on the same Bus as your other devices:

Bus 001 Device 006: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
Bus 001 Device 004: ID 05c8:021e Cheng Uei Precision Industry Co., Ltd (Foxlink)
Bus 001 Device 005: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth

It shouldn't make a difference in theory, but I've seen stranger things...

Revision history for this message
Rick Miller (69rixter) said :
#7

To: Daniel:

   Hey, I appreciate the help. Here's what I've done. Went back to CD and opened/read 'readme" file. It seems, as I suspected, the 'drivers" are not installed. Do they come w/the CD? I'm not so sure and am still trying to "decipher" what all the CD is saying. I did manage to find the drivers needed and those are- Linux 2.4 & 2.6 series. Now, when I went to "softwarecenter" and searched for such drivers, it directed me to SmartArray(cpqarrayd) to install. However, I don't believe the needed drivers are in that package. So, I'll search and try to find/download suggested drivers and after doing so, is it required to install SmartArray to activate/use those drivers? Man, I need some good advice here. This is getting just too aggravating because it really SHOULDN'T be this difficult/involved!! (shoud it?) Anyone wish to help me out on this. I'd really APPRECIATE it. Daniel, THANK YOU for replying. Hopefully, all the info I've provided and your/anyone's help will get me on my way to correcting this situation/issue. [HP2000-210us Ubuntu 12.04.01]

THANX ALL:
RICK

THOSE WHO CAN....DO!! THOSE WHO CAN'T USUALLY END UP YOUR SUPERVISOR

Revision history for this message
Daniel Letzeisen (dtl131) said :
#8

The driver is ALREADY INSTALLED.....

Did you try any of the commands/ideas I suggested in my previous comments?

Revision history for this message
Rick Miller (69rixter) said :
#9

Evening Daniel:

   No, I hadn't tried any of those commands because I'm understanding that the drivers didn't get installed. When I read the CD info, I was understanding that I did't get them installed and this is the discrepancy.. (?) Now, let's go back to the commands you've suggested. Just which ones in particular are you referring to? And please show me where in the readout it shows the drivers/installed? Oh, no..., using any other ports on the laptop is not helpful. But, I'd tried that before. In the mini-CD it goes into a very long and detailed explanation of how to 'build" the drivers, but I'm not about to try that as I'm not comfortable with the amount of details/commands it would take. Shouldn't there be a simple, quick and efficient way to go about all this. Your certain I did get the drivers installed? If so, then I've got far bigger problems to contend with.
THANX:
RICK

Revision history for this message
Daniel Letzeisen (dtl131) said :
#10

You're making it too difficult. There is no need to build your own drivers. They have been included in the kernel for a few years now (and Ubuntu has included the binary firmware since Ubuntu 11.x days). If there was no driver, then you wouldn't have a "wlan1" interface or any connectivity...

In particular, this is the wireless chipset:
Bus 001 Device 006: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter

That chipset is supported by rt2800 usb module, which lsmod command showed as loaded.

Ok................ so now that that's established, run these two commands and restart:
echo "options rt2800usb nohwcrypt=1" | sudo tee -a /etc/modprobe.d/rt2800usb.conf
sudo depmod -a

Let me know if they help, hurt or do nothing.

Revision history for this message
Rick Miller (69rixter) said :
#11

Daniel:

   Ran commands. I do not detect any noticable changes. Let me ask, OK, I did get the drivers installed(as you said), so since they were installed, why then am I experiencing such problems?i.e. extremely slow downloads, intermittent signal strength, sometimes very little or no signal strength at all ( example, last Thurs was about 5ft from WiFi transmitter/router and had a hell of a time getting a signal) yet, those around me were doing just fine? In another post someone said I might have to "configure" the module? OK, I'm at a loss there. Ever hear of such a thing? I guess what it all boils down to is that I feel/know this device is not working to said performance standards/levels. Again, as always, I feel there is a simple soulution, yet, as always, I'm at a loss as to what the answer is. I've read the "install" part of CD and still don't know what could be causing these problems. Let me ask this. First, the reason I'm using the external antenna is the WiFi chip in laptop went bad. I got the external antenna because it's SUPPOSED to "receive" signal over greater distances AND have a better/faster download/upload rate. None of these claims have laid true...as yet. Let me ask this.....would/should I remove old, defective WiFi chip? I thought this device would overide any internal device!(?) Is there a "switch" I need to trigger to disable the internal WiFi? I don't know....just throwing out ideas.
THANK YOU:
RICK

Revision history for this message
Daniel Letzeisen (dtl131) said :
#12

Isn't your old wireless chip built into the motherboard? I don't know if it's removable..

Why are you experiencing such problems? I don't know for sure. It's possibly a bug in the driver (for example: https://bugzilla.kernel.org/show_bug.cgi?id=62781 ), so the next thing I would do is get a CD or USB of Lubuntu Trusty and test it in live environment:
http://cdimage.ubuntu.com/lubuntu/releases/trusty/beta-1/

If issue is solved there, it's probably a bug that's been fixed since the Ubuntu 12.04 days. If it's not solved there, then I would try the adapter on a Windows or Mac system to rule out the possibility of defective hardware.

"In another post someone said I might have to "configure" the module?"
That's very vague. The kernel module/driver only has one parameter (nohwcrypt), and you've already tried changing it.

Revision history for this message
Rick Miller (69rixter) said :
#13

Morning Daniel:

   Thanx for replying. No, the wifi chip is not installed in MB. It's a seperate "chip" that's easily removed. About the size of a postage stamp w/ 2 very small connecting wires that(I'm assuming) lead to the MB. Why am I having these "issues"? Well, you nor I have figured that out. I am not dissing you, it's just the more we delve into this problem, the more questions we come up with. I'm beginning to wonder if the 'problem" is within the O.S, since I've been having weird "issues" with it as of late. Yet, too, there could be a piece of hardware failing. I think my next step should be to take the laptop to a shop and have the entire hardware system analyized.(?) Is there a test or set of tests that can be run to evaluate the entire spectrum of hardware? Is there a comprehensive evaluation that I could run? The only things I can do, that I know of, is test RAM and HDD. Yes, I agree, the sugg-
estion of "configuring" the module is somewhat confusing. You did say I "tried changing" the module???? I wasn't aware. You suggest I run a live LUBUNTU Trusty. Correct me if I'm wrong, isn't Trusty the 'latest" version of Ubuntu? (i.e. 14.04)? And, my curiousity here, why Lubuntu?. Well, my friend, you've invested quite a bit of time/effort on my behalf and for that I am grateful. Too bad we don't live near each other so we could get together and I could buy you a few drinks. (at least). Thanx for all you help.
Take care:
Rick

Revision history for this message
Daniel Letzeisen (dtl131) said :
#14

Yes, Trusty is the latest OS. That's why both actionparsnip and I have suggested you test it...
Why Lubuntu? Well, it doesn't really matter what flavor you choose, but Lubuntu is the smallest image to download (not counting the minimal CD) and it still fits on a CD IIRC.

When I said "defective hardware", I was referring to only the Wi-fi antenna. Other bad hardware would cause other/additional symptoms than simply a poor Wifi connection.

Before taking it to a shop (which may or may not know a shred about Linux) and spending $$$ to chase shadow problems, you should do everything possible to test yourself, which includes
1. Testing latest driver (i.e. latest kernel)
2. Testing a different OS

If you're incapable of doing those things, then go ahead and take it to a shop, but number 1 is really easy if you have a CD burner or USB stick...

Revision history for this message
Rick Miller (69rixter) said :
#15

Dainiel:

   OK, nix the shop. I did run the 'systems test" progam by Ubuntu. Not as comprehensive as I'd wish, but did show the major 'systems" to be in proper working order. OK, I'll go on and do some more "testing". Also, I've been informed I DO need a 'firmware" pkg. for the antenna and was shown where to get it. Did we touch on this subject at any time? If so, I've completely glossed over it. Yes, have multiple jump drives and can/have downloaded O.S's previously to said drives. (You won't have to hold my hand for this operation)!!! LOL LOL As always, Daniel, Mucho Grasias...I owe you!
RICK

Revision history for this message
Rick Miller (69rixter) said :
#16

Hey:

   Just forget all this for awhile. The PROBLEM is in the O.S's itself and has been from the outset. The O.S has had a failure right from the initial installation and I don't know what it is, but yesterday, it startded doing more 'weird" things. I've had it. I don't care about all this gotta do this and gotta do that . The PROBLEM is UBUNTU 12.04. Somehow, got a corrupt distro right from the beginning. NOONE, I repeat NOONE should have to dick around with their comp's O.S. as much as I've had to. 12.04 has been a complete failure from the get-go.

Rick

Revision history for this message
Best Daniel Letzeisen (dtl131) said :
#17

CAPS LOCK THERAPY? LOLOL

Revision history for this message
Rick Miller (69rixter) said :
#18

Thanks Daniel Letzeisen, that solved my question.

Revision history for this message
Rick Miller (69rixter) said :
#19

Afternoon Daniel:

   LOL LOL Ahmm...I was refering to the 'CAPS LOCK THERAPY". but that's OK. I'm not too sure about what else (if anything) must be done to ensure the external WiFi antenna is performing at it's optimim. Right now, I'm having 'issues" AGAIN with the O.S. I haven't yet switched to LinuxMint simply because I've got to find somewhere to put my files before wiping/install. Don't have enough pendrives ; the ones I have are already full. I've read and reread the "readme" file that's on the disc the antenna came with. I'm under the impression I have to do more than just install the drivers,(and others have suggested) but until I have another, BETTER O.S than 12.04, I'm not going to do anything. Thanks for the laugh and all your help. Both were appreciated. Perhaps you'll hear from when I have new system installed.
Take Care:
Rick