Had a bit of trouble with this at first so I thought I would share how I got it working. I bought a cheapie wifi card from TigerDirect.com called a Tornado 122 which uses the RaLink RT2500 chipset.
The specifics are:
03:08:0 Network Controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)
03:08:0 1814:0201 (rev 01)
I found Linux drivers on the ralink's website, however, I found this project to be a bit easier (handles some of the modprobe stuff and what have ya): http://rt2x00.serialmonkey.com/wiki/...itle=Main_Page
The file I used was: rt2500-1.1.0-b4.tar.gz
So first thing, I downloaded the devel package for my kernel:
yum install kernel-devel.x86_664
Then I extracted the tarbal and went into the module directory:
tar -xzf rt2500-1.1.0-b4.tar.gz
Now, this code uses a deprecated include so I had to create a shell script to change all occurances of "linux/config.h" to "linux/autoconf.h". This shell script was put into a folder called "scripts" in my home directory.
for fl in *.*; do
mv $fl $fl.old
sed 's/linux\/config.h/linux\/autoconf.h/g' $fl.old > $fl
rm -f $fl.old
I then ran the script in the Modules directory:
sh ~/scripts/fix_rt2500_driver.sh ./
And now the module builds fine:
The final step is to install it with the fedora-specific option:
Should be all ready to setup now. You can do so in GNOME from 'System' > 'Administration' > 'Network'. Click 'New', select 'Wireless connection', and choose the 'RaLink RT2500 802.11g Cardbus/mini-PCI (wlan0)' and then just 'Forward' your way through the rest of the druid.