[CentOS] New wireless controller

Fri Sep 2 16:46:24 UTC 2011
Ned Slider <ned at unixmail.co.uk>

On 02/09/11 04:54, Emmett Culley wrote:
> I just installed an Asus PCE-n13 wireless card into one of my CentOS 5.6 systems.  It uses the RaLink 2680 chip set and I was able to get the driver loaded using modprobe rt2x00pci.ko.  I saw no error and now see that the module is loaded along with mac80211 and other dependencies.
>
> Now I need to know how to create the wlan0 device.  I can find nothing via Google searches on how to create that device.  I assumed the driver would do that upon loading, but now I expect some ioctl to the driver command may be required.
>
> I created an ifcfg-wlan0 file, but of course ifup wlan0 always returns device not found.
>
> Can somebody tell me where to start on getting the wlan0 device created?
>
> Emmett

Hi Emmett,

Are you sure that's the right driver?

My guess is you might want the Ralink rt2860sta driver if it's a 2680 
chipset. See here:

http://elrepo.org/tiki/kmod-rt2860sta

Anyway, to know for sure, please post the output from the following 
command (all one line):

for BUSID in $(/sbin/lspci | awk '{ IGNORECASE=1 } /net/ { print $1 }'); 
do /sbin/lspci -s $BUSID -m; /sbin/lspci -s $BUSID -n; done

Also, those Ralink wireless network drivers tend to be built with 
support for NetworkManager so you should generally enable the 
NetworkManager service (and disable network and wpa_supplicant services) 
and let NetworkManager control the device.