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