LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-27-2011, 05:33 PM   #1
nolimitz
Member
 
Registered: Jul 2005
Distribution: openSUSE Tumbleweed
Posts: 73

Rep: Reputation: 15
Linksys WUSB54G Wireless adapter + CentOS


So, here goes:

I have installed CentOS 6, and, after much trouble and a whole wasted day, managed to get a D-Link DWA-140 wireless card working. Now, I want to replace it with a Linksys WUSB54G network card. Since they both have the same chipset vendor, Ralink, I assumed the steps would be similar, but I was wrong. First, the drivers from the ralink website(http://www.ralinktech.com/support.php?s=2), namely RT2500USB(RT2571/RT2572), will not, for whatever reason, compile. I followed the instructions to the letter and make complains about all sorts of errors like:
Quote:
In file included from /home/vlad/Downloads/RT25USB-SRC-V2.0.8.0/rtusb_main.c:38:
/home/vlad/Downloads/RT25USB-SRC-V2.0.8.0/rt_config.h:96:29: error: asm-i386/atomic.h: No such file or directory
/home/vlad/Downloads/RT25USB-SRC-V2.0.8.0/rtusb_main.c: In function ârt_getstatsâ:
/home/vlad/Downloads/RT25USB-SRC-V2.0.8.0/rtusb_main.c:162: error: âstruct net_deviceâ has no member named âprivâ
/home/vlad/Downloads/RT25USB-SRC-V2.0.8.0/rtusb_main.c: In function âRTUSB_get_wireless_statsâ:
/home/vlad/Downloads/RT25USB-SRC-V2.0.8.0/rtusb_main.c:196: error: âstruct net_deviceâ has no member named âprivâ
/home/vlad/Downloads/RT25USB-SRC-V2.0.8.0/rtusb_main.c: In function âCMDHandlerâ:
This is my lsusb output:
Quote:
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
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 07d1:3c09 D-Link System DWA-140 RangeBooster N Adapter(rev.B1) [Ralink RT2870]
Bus 001 Device 002: ID 13b1:000d Linksys WUSB54G v4 802.11g Adapter [Ralink RT2500USB]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I can only imagine I'm missing some files, or that somebody couldn't bother to make it actually work. Nonetheless, I read on some page that there is a project called rt2xx00 which aims to make these kinds of cards work, and the drivers are already included. So, I check the output of lsmod, and, surprise surprise, drivers are alreay loded in the kernel:
Quote:
#lsmod | grep rt2
rt2500usb 17260 0
rt2x00usb 9316 1 rt2500usb
rt2x00lib 26264 2 rt2500usb,rt2x00usb
mac80211 129050 2 rt2x00usb,rt2x00lib
cfg80211 118045 2 rt2x00lib,mac80211
rt2870sta 563059 1
To be sure, I tried to insmod the rt2500usb.ko file, and it said that the module is already loaded.

So, my question is: How can I create a network interface for the USB Wireless card, because it seems that the driver is already loaded? Or should I try to go with the ralink drivers that do not compile and fix them somehow(which I have no idea how)?

I'm sorry if i posted in the wrong subcategory. Thanks in advance for your replies
 
Old 09-28-2011, 07:35 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Hello,

Since you have a Ralink chipset, I think you should read into compat-wireless. It's what I use for all of my devices, due to being the newest worked on, cross compatibility, and supported injection and monitor modes. Pretty much, these would be the newest worked on drivers for all chipsets that are supported under the compat-wireless package. Read my blog about it, as if you do go that route, you can add a patch that supports the extra features I talked about before.

Cheers,

Josh
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Linksys WUSB54G wireless USB adapter evie_em Linux - Wireless Networking 9 09-14-2007 03:03 PM
Wireless USB adapter Linksys WUSB54G version 4 detecting as scanner on Mandriva 10 plungerjoke Mandriva 1 02-19-2006 04:15 PM
Linksys WUSB54G Wireless adapter on Madrake 10.1 download DiGiTiSeD Linux - Software 9 02-08-2006 11:35 AM
Linksys WUSB54G Wireless Network Adapter + kubuntu Airjoe Linux - Wireless Networking 1 11-15-2005 09:50 PM
How to identify v4 of Linksys wusb54g adapter? zenith1 Linux - Wireless Networking 2 09-08-2005 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration