LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   USB WiFi Antenna (https://www.linuxquestions.org/questions/linux-hardware-18/usb-wifi-antenna-4175495865/)

69Rixter 02-22-2014 12:46 PM

USB WiFi Antenna
 
Good Afternoon:

I have a Ralink RT3070 USB WiFi antenna. I thought I'd installed the drivers via the CD. However, I'm not so sure. Where do I go to find if such drivers were installed and working? I belive I can get them(the drivers)from Linux. If I need them, how do I download/install them through Linux?
[HP2000-210us 12.04.1LTS Ubuntu]

Thank You:
Rick

rokytnji 02-22-2014 06:43 PM

Here is a command I use to troubleshoot and give wireless info in a thread with your logo (ubuntu) in your profile. It will give more info so
members can respond better to your thread.

Code:

sudo echo uname: && uname -a -m -p && echo lspci: && lspci -knn && echo lsusb: && lsusb && echo lsusb -t: && lsusb -t && echo lsmod: && lsmod && echo ifconfig: && ifconfig && echo ifconfig -a: && ifconfig -a && echo iwconfig: && iwconfig && echo resolv.conf: && cat /etc/resolv.conf && echo route: && route -n && echo ip link show: && ip link show  && echo inxi -Fxz: && inxi -Fxz

hilyard 02-23-2014 02:34 PM

I think you scared him off, rok!
FYI, here is a less intimidating link.
lol!

69Rixter 02-23-2014 03:12 PM

Command readout
 
To: rokytnji

Thank You for responding. Here's the readout of that command. I'm not if sure the last 4 lines refer to "Ralink" drivers? Please explain readout.
THANX:
RICK

Linux rick-HP-2000-Notebook-PC 3.8.0-36-generic #52~precise1-Ubuntu SMP Mon Feb 3 21:54:46 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
lspci:
00:00.0 Host bridge [0600]: Intel Corporation Core Processor DRAM Controller [8086:0044] (rev 02)
Subsystem: Hewlett-Packard Company Device [103c:3674]
Kernel driver in use: agpgart-intel
00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02)
Subsystem: Hewlett-Packard Company Device [103c:3674]
Kernel driver in use: i915
Kernel modules: i915
00:16.0 Communication controller [0780]: Intel Corporation 5 Series/3400 Series Chipset HECI Controller [8086:3b64] (rev 06)
Subsystem: Hewlett-Packard Company Device [103c:3674]
Kernel driver in use: mei
Kernel modules: mei

69Rixter 02-23-2014 03:42 PM

To hilyard:

I've been to this "site"/post previously. Ahm... you're talking to a novice when it's suggested I build/modify a kernel/driver or command. I'm not saying I couldn't do it, however, I'd want someone right there 'looking over my shoulder" making sure I did it correctly, before I'd attempt such an action. The antenna came with a mini-CD that, I thought, had the drivers on it to download/install. However, I'm not sure I DO HAVE them installed and need to know where I go to in order to check/verify their status. If I should need to get them from LINUX(which I've been told I can), then I'd need a link to the site where I can get/install them. I THANK YOU and/or anyone who would pass along pertinent information. It's always appreciated!!

THANX:
RICK

sgosnell 02-23-2014 05:21 PM

The drivers should be available in Ubuntu's software center, along with anything else you might need. Ubuntu does use private repositories for some stuff, and you might have to find one of those, but the drivers should be in the main Ubuntu repositories. If you don't know how to use the software center, you need to learn.

Emerson 02-23-2014 06:10 PM

Quote:

I thought I'd installed the drivers via the CD.
As a word of warning - do not install anything by hand unless you really know what you are doing.

hilyard 02-23-2014 06:55 PM

@69Rixter -- I understand. rokytnji wants u to install inxi in order to better 'see' your system. It would help you to do so, as well, if available in ubuntu repos. I have not checked into 'buntu repos regarding ralink, of late, either.

Drivers on CD are most probably *.exe files or whatever MS is using nowadays. They, in turn, will do little good on a linux install, anyway.

I don't know how many installs and reinstalls of the OS I have done, so I do not shy away from it. Doing regular backups helps ease the mind when the unexpected happens or I just screw up a dist-upgrade in Debian Unstable, say. As such, I encourage you to learn the basic command line procedures for your particular distro or distro family. One of the best tutorials on package management I've seen is techieMoe's.

get into the terminal and enter the following, as an intro into APT --
PHP Code:

sudo apt-get update && sudo apt-cache search ralink more 

after done searching for your ralink info on one page, hit space bar for the next.

What you're after may well be within the repositories of your distro.

Best wishes!

69Rixter 02-25-2014 02:41 PM

hEY All:

Here's what I've 'discovered". Opened up "readme" in mini-CD (came w/antenna). As I guessed, drivers are not installed. Seems I must acquire them from Linux. So, went to LinuxSoftwareCenter and "searched"LINUX 2.4 & 2.6 Series drivers (as per CD instructions). It gave me SmartArray pkg(cpqarrayd) package to install. Yet, I'm pretty sure the "drivers" are NOT in that pkg. Is this correct? I'm going to 'search" for such drivers, but can anyone give me advice about where to get and how to install those drivers...and when I do, is it required to install SmartArray as well?
Thanx:
Rick

sgosnell 02-25-2014 06:41 PM

I don't use Ubuntu, nor that hardware, so I don't know what package the drivers are in. They may be only on the manufacturer's site. Hard to tell, and I don't have the time or ambition to do the search for you now.

69Rixter 02-25-2014 08:37 PM

To sgosnell

Ahm....so why even reply? Did I come right out and ask you, personally, to reply. NO, I didn't. Sorry it was such a bother to you and really annoyed you had nothing positive to offer.

RICK

Emerson 02-25-2014 08:44 PM

Can you please post lsusb output?

colorpurple21859 02-25-2014 09:26 PM

according to this https://help.ubuntu.com/community/Ha...orkCardsEdimax the rt3070 should work. This tells how to get working http://ubuntuforums.org/showthread.php?t=2154070

69Rixter 02-25-2014 09:40 PM

to : hilyard & rokytnji

I went to UbuntuSoftwareCenter and searched for inxi. Nothing came up. OK, enlighten me to what this is;where I get it; and how to download/install and use it. Or rather, just point me in the direction of it users manual and download site. I've never heard of it.

Thanx Fellas:
RICK

69Rixter 02-25-2014 09:49 PM

To Emerson:

I thought I had posted this before. Hmmmm...anyway, here it is. Please respond and let me know what the readout is telling you. I went to the CD that came w/ the antenna and I understood it to say I hadn't gotten the drivers installed. But, I'll wait on your summation before trying anything further. [HP2000-210us Ubuntu 12.04.01]


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 023: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
Bus 001 Device 009: ID 05c8:021e Cheng Uei Precision Industry Co., Ltd (Foxlink)
Bus 001 Device 004: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth

Thanks Emerson:
RICK

Emerson 02-25-2014 09:49 PM

Deleted.

Emerson 02-25-2014 09:55 PM

According to this your device is supported but may require firmware to work. Please see your dmesg for relevant information. Hint: running grep on dmesg will make it much easier.

69Rixter 02-25-2014 10:11 PM

Emerson:

Thanx much. Ahhh... see someone else told me the drivers are installed. However when I went to the CD that came with the antenna, I got the understanding that they hadn't installed???? OK, so now, I run this dmesg and it will inform me as to what I need to do? Please explain "running grep on dmesg?

THANK YOU:
RICK

rokytnji 02-26-2014 04:32 PM

Quote:

Originally Posted by 69Rixter (Post 5124751)
to : hilyard & rokytnji

I went to UbuntuSoftwareCenter and searched for inxi. Nothing came up. OK, enlighten me to what this is;where I get it; and how to download/install and use it. Or rather, just point me in the direction of it users manual and download site. I've never heard of it.

Thanx Fellas:
RICK

Dude. Sorry I did not respond sooner. I had to put my wife on a plane and I am flying solo this week so fun and games.

Just for reference

Code:

@biker:~
$ inxi -Fxz
System:    Host: biker Kernel: 3.13.3-antix.1-amd64-smp x86_64 (64 bit, gcc: 4.8.2)
          Desktop: IceWM 1.3.7 Distro: antiX-13.2_x64-full Luddite 4 November 2013
Machine:  System: Acer product: Aspire T180 version: R01-B3
          Mobo: Acer model: EM61SM/EM61PM Bios: Phoenix version: R01-B3 date: 02/07/2007
CPU:      Single core AMD Athlon 64 3800+ (-UP-) cache: 512 KB flags: (lm nx sse sse2 sse3 svm) bmips: 2008.86 clocked at 1000.00 MHz
Graphics:  Card: NVIDIA C61 [GeForce 6100 nForce 405] bus-ID: 00:0d.0
          X.Org: 1.12.4 driver: nvidia Resolution: 1920x1080@60.0hz
          GLX Renderer: GeForce 6100 nForce 405/integrated/SSE2 GLX Version: 2.1.2 NVIDIA 304.119 Direct Rendering: Yes
Audio:    Card: NVIDIA MCP61 High Definition Audio driver: snd_hda_intel bus-ID: 00:05.0
          Sound: Advanced Linux Sound Architecture ver: k3.13.3-antix.1-amd64-smp
Network:  Card: Marvell 88E8056 PCI-E Gigabit Ethernet Controller driver: sky2 ver: 1.30 port: ac00 bus-ID: 03:00.0
          IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 2160.4GB (6.6% used) 1: id: /dev/sda model: ST3160812AS size: 160.0GB
          2: id: /dev/sdb model: ST2000DM001 size: 2000.4GB
Partition: ID: / size: 48G used: 16G (33%) fs: ext4 ID: swap-1 size: 6.29GB used: 0.00GB (0%) fs: swap
Sensors:  System Temperatures: cpu: 40.0C mobo: N/A gpu: 0.0:
          Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 108 Uptime: 1:23 Memory: 529.4/2761.8MB Runlevel: 5
          Gcc sys: 4.8.2 Client: Shell (bash 4.2.45) inxi: 1.9.18

That is what inxi is. It is just a script that spits out info on your machine in terminal like cpuz would in Windows.
First hit in google search for "install inxi ubuntu"

http://askubuntu.com/questions/28463...tion-on-ubuntu

Ok. Covered that. So that you can help your self and learn something in the process. Also because my priorities while the wife is gone are drinking and motorcycle riding. Plus I am gonna turn you on to a Ubuntu Google Search Engine.

Linky

This should be a easy fix in Ubuntu. Now if you were runny Puppy Linux or TinyCore. It might be a different story.

Happy Trails, Rok.

Emerson 02-26-2014 06:03 PM

dmesg command prints the kernel message buffer in a terminal. You can scroll up and down with Ctrl+PgUp and Ctrl+PgDown. What you see is very useful information about your system initialization as kernel is loading. Any time you have hardware issues you should inspect dmesg output. There is grep utility which can be used to search and filter output of any command, it can search also in its own. For instance, if there is a kernel driver looking for firmware it will be in dmesg output. For instance, to see all lines containing 'firmware' you can pipe dmesg output to grep:
Code:

dmesg | grep -i firmware

69Rixter 02-26-2014 07:42 PM

To colorpurple21859:

Well, neither of those sites were helpful.If you read post concerning my particular device/WiFi card(Rt3070) you'll note it says "should work out-of-box-...just plug it in"--well, obviously, that's NOT the case. Anyway, Thanx for replying.

LATER:
RICK

69Rixter 02-26-2014 07:47 PM

To rokytjni:

THANX...learning a little more each day/post!!

Take Care:
Rick

69Rixter 02-26-2014 07:49 PM

Emerson:

Thanx. See, this is what I'm asking....and learning. THANK YOU to Emerson and each and all who've replied/helped out!!

LATER:
RICK

thorkelljarl 02-27-2014 08:09 AM

RT3070...

This seems to be the right download from Ralink/Mediatek


http://www.mediatek.com/en/downloads...0rt3572rt3070/

69Rixter 02-27-2014 12:25 PM

THORKELLJARI:

THANK YOU. Well, I've been told that I do have the drivers downloaded. there have been suggestions I need to apply certain other modules, or perhaps add-ons that will activate/enhance the performance. I just don't know!!?? Perhaps I should add that, lately, I've been having some 'quirks" with Ubuntu itself. So, the problems may lie within it's system and, therefore, not the fault of the external antenna. See, I just don't know. I'll check out the "site" you've suggested and get back to you.

THANK YOU:
Rick

colorpurple21859 02-27-2014 02:49 PM

Go to here
http://packages.ubuntu.com/precise/a...mware/download
and click on this to download the firmware for your wireless card.
security.ubuntu.com/ubuntu
Transfer the .deb file to your ubuntu system and install.

69Rixter 02-27-2014 04:38 PM

hey colorpurple21859:

Ok, went to page, read it, and need some clarification. What I read/gather from site is,...???? I'm NOT sure what I'm downloading/installing. Is it a pkg mgr? Is it needed software for Ralink??? Does Ralink need additional software to work to it's specs? I won't download/install just anything... I need to know. Please don't take offense. I do want this ordeal with external antenna fixed and working at it's optimum. Thank You for your reply
Take Care:
Rick

rokytnji 02-27-2014 06:00 PM

Quote:

I won't download/install just anything...
I dare ya. :)

Going by what you have not posted.

Code:

lsusb -t
to see if the raylink driver is installed or not in your kernel.

Code:

uname -a
The firmware is not supplied in Linux distros because of legal issues. If you have the driver. But not the firmware. The usb wifi won't work.

It wont hurt to download and install the file. I bet if you left click on it. Gdebi will open since you say you are running Ubuntu 12.04.
You will need a reboot to make sure the install takes.
Then try network manager in Ubuntu to connect your wireless.

If yo8u are afeared. Keep the download in a folder. Open synaptic. Look for it in the search box (name is in the folder you have the deb in). Pick uninstall if it does not work.

Use the pdf for Ubuntu 12.04 to teach you a few things. Happy Trails, Rok

Edit: I have been marking other members posts as helpful as they have been very useful in this thread. md5sum check the all deb in terminal before installing with gdebi.

Code:

@biker:~
$ cd Music
@biker:~/Music
$ ls
Buckethead - Soothsayer.mp3  Music      The_Rolling_Stones-Doom_And_Gloom.mp3
lonely - world.mp3          Streaming  zip_files
@biker:~/Music
$ md5sum Buckethead\ -\ Soothsayer.mp3
5003cadbe06045ec52a06dea5a27fb3e  Buckethead - Soothsayer.mp3


colorpurple21859 02-27-2014 07:07 PM

The firmware is needed for your wireless driver to work. You will need to restart your computer after installing the firmware for the usb to work. Firmware is software that is loaded to the device by the driver for the device to work. Most distros have a package that includes firmware for several different devices instead of having a firmware package for each individual device. The package I pointed you too was based on the information you had provided about the distro your are using and the wireless usb your trying to get working.

Emerson 02-27-2014 07:23 PM

Unloading and reloading the module will do, faster than rebooting.

colorpurple21859 02-27-2014 07:48 PM

Quote:

Unloading and reloading the module will do, faster than rebooting.
That is true but sometime I think restart is better.

Emerson 02-27-2014 08:03 PM

Restart is good for testing a newly built system to see if all changes to configuration survive reboot.

69Rixter 02-28-2014 09:33 AM

To colorpurple 21859:

First of all, THANK YOU for replying and all of your assitience. OK, I'm understanding that your latest reply is saying I must ALSO add firmware to the kernel/module? Is that correct? If so, wouldn't/shouldn't that operation be on the CD sent w/ antenna? but, really, shouldn't that already be loaded into or with the drivers? Hey, correct me if I'm thinking wrong! I'm somewhat a novice and have plenty, as your well aware, to learn.
Take care:
RICK


To Emerson.

Remove/reload the 'module"??? Do you mean driver(s)? Appreciate your replying/time/effort. Much THANX!!!
Take care:
RICK

69Rixter 02-28-2014 12:03 PM

colorpurlple21859:

Thanx for clarification. OK, will do as directed. Will post results. Appreciate your help/replying.

Take care:
Rick

thorkelljarl 02-28-2014 04:40 PM

The module and firmware...

Yes, you do need both a kernel module for the chip in this device and the right firmware.

Newer versions of linux(newer kernel) may have the module build in, ready to be told to load with the command "modprobe", but may require that you also install the firmware. This may either be as a package from a repository, which may be the case for Ubuntu 12.04, or from a download from the chip maker(Ralink).

However you may have to download both the module and firmware from Ralink and compile everything yourself. If you need to download the firmware from Ralink, you may find a README or guide included that could help.

I can’t tell you exactly what to do. I use openSUSE, and the firmware was in a package after I added a repository.

When you have everything installed, you can use "lsmod" to see the loaded modules.

With a pci card that required a module and firmware, this is what is loaded for my wireless as an example.

Code:

rt2x00pci              14519  1 rt2800pci
rt2x00lib              54995  3 rt2800pci,rt2800lib,rt2x00pci
mac80211              555683  3 rt2800lib,rt2x00pci,rt2x00lib
cfg80211              208570  2 rt2x00lib,mac80211

Remember that after you configure the device, you must still set up and make the wireless connection.

thorkelljarl 02-28-2014 05:59 PM

.deb...

There are resources for Debian, but which version corresponds to Ubuntu 12.04 I don't know.

http://pkgs.org/download/firmware-ralink

This seems what is in the packages. It covers your chip.

https://packages.debian.org/de/squeeze/firmware-ralink

hilyard 03-01-2014 02:19 PM

inxi installation on ubuntu

Works for 12.04 LTS --
have to go to Cathbard

69Rixter 03-01-2014 07:17 PM

To: thorkelljari:

OK, this I will do. Appreciate you responding. Soon, I'll get back and post the results. THANX much!!

To: hilyard: As usual, THANX for the info .

THANK YOU and TAKE CARE:
Rick


All times are GMT -5. The time now is 11:29 AM.