If you are searching for wireless lan configuration in Fedora Core 6, a detailed description is available here. Though Fedora 7 – Moonshine detect the Ralink rt2500 Level One WNC-0301 wireless lan card, the network doesn’t work properly with default drivers. You may be able to connect sometime, but some other time it may not function properly. Because ralink drivers are not yet stable. See the discussions here. So, here is a step by step complete reference to how to make it work properly.
Step 1: Download the latest CVS release of Ralink rt2500 drivers from here.
Step 2: Unload the kernel module for rt2500 drivers
[root@bordeaux kulbirsaini] rmmod rt2500pci [Enter]
Step 3: Go to the directory /lib/modules/2.6.21-1.3194.fc7/kernel/drivers/net/wireless/mac80211/rt2x00 and take backup of the current rt2500pci driver module.
[root@bordeaux rt2x00] mv rt2500pci.ko back.rt2500pci.ko [Enter]
Step 4: Untar the download driver tar ball and change to the directory ./rt2500-cvs-XXXXXXXXXX/Module/
[root@bordeaux Module] make [Enter]
[root@bordeaux Module] make install-fedora [Enter]
Step 5: Open /etc/modprobe.conf file and add a line
Save the file and load the rt2500 driver.
[root@bordeaux kulbirsaini] modprobe rt2500 [Enter]
Step 6: Go to the directory /etc/sysconfig/network-scripts/ and create a file named ifcfg-wmaster0. Copy the contents of ifcfg-wlan0 to the ifcfg-wmaster0. If you don’t have ifcfg-wlan0 file, then issue command ‘neat’ as root and add new wireless device with appropriate configurations and ifcfg-wlan0 will be created in the process.
Step 7: Activate the device, what else ???
PS1 : You can refer to my ifcfg-wlan0 and ifcfg-wmaster0 files.
PS2 : You can ask for more details on any issues in the any of the above steps.
Well … Yesterday I switched from Fedora Core 4 to Fedora Core 6. The main problem was the wireless lan. As I was using ndiswrapper for wlan in FC4, I tried compiling it for FC6. But FC6 doesn’t have build packages so it didn’t work out. Then I installed the kernel-devel packages from here. Now the build packages were not a problem. I installed ndiswrapper from here. Now while installing ndiswrapper it gave an error that your kernel is using 4k stack, while for windows driver you need to have a kernel with 16k stack. I googled and searched the 16k stack version for my kernel but didnt get one. I used to download 16k stack kernel from here. But 16k stack kernel is not yet out for FC6. So its almost impossible for me to get ndiswrapper to work if I dont want to mess up with the patched and all.
Then I thought of using the native drivers for rt2500 (Level One wnc-0301). I downloaded the drivers from here.
The step by step installation is here ….
Install the kernel-devel package from the above specified site.
[root@localhost ~]# rpm -ivh kernel-devel-yourkernel.rpm
Untar the drivers.
[root@localhost ~]# tar -xvzf rt2500-1.1.0-b4.tar.gz
Change the directory to Module
[root@localhost ~]# cd rt2500-1.1.0-b4/Module/
compile the modules
If this gives error like this
make: Entering directory '/usr/src/kernels/2.6.18-1.2798.fc6-xen-i686'
CC [M] /home2/Softwares/Drivers/rt2500-1.1.0-b4/Module/rtmp_main.o
In file included from /home2/Softwares/Drivers/rt2500-1.1.0-b4/Module/rtmp_main.c:50:
/home2/Softwares/Drivers/rt2500-1.1.0-b4/Module/rt_config.h:58:40: error: linux/config.h: No such file or directory
make: *** [/home2/Softwares/Drivers/rt2500-1.1.0-b4/Module/rtmp_main.o] Error 1
make: *** [_module_/home2/Softwares/Drivers/rt2500-1.1.0-b4/Module] Error 2
make: Leaving directory '/usr/src/kernels/2.6.18-1.2798.fc6-xen-i686'
rt2500.ko failed to build!
make: *** [module] Error 1
Then open the file rt_config.h and comment the line #include<linux/config.h> and again compile by issuing make.
If you get a different error try to debug if you know c-programming a bit.
Step 4. [Do as root]
Install the module
[root@localhost ~]# make install-fedora
Step 5 [Do as root]
Configure the wlan card.
Now select a new connection and wireless and the the Ralink driver. Thats it. Activate the wlan0.
Hope this help a bit.
More suggestions are welcome.
Edit : If you are looking for wireless configuration in Fedora 7, here is a reference.
Yesterday after a lot of trials with Fedora Core 5 to activate my wireless LAN card, I switched to Fedora Core 4, which looked much more stable than FC5. Actually with FC5, I mainly faced problems with gui , my mouse which is Microsoft USB mouse and my wlan card which is level one Ralink RT2500. In FC5, I tried both with ndiswrapper and madwifi but nothing worked out for me. Also my mouse was not working well. I can click things but the pointer was not visible like microsoft gave me a invisible mouse or this microsoft mouse don’t want to work with Linux. After installing FC4, I felt very comfortable with guis and my mouse. They worked fine. But now there were two problems. One is that FC4 was not able to detect my soundcard and the wlan was not working again. Anyway soundcard is not a big problem, as it worked in FC5, I’ll make it work with some up-gradation or things like that. But the major problem is wlan. And here goes the methods which I tried to activate my wlan card.
Method 1. With rpms
I downloaded these rpms
from the site atrpms and tried installing them but they failed the dependency /boot/vmlinuz-2.6.16-1.2111_FC4 , then i tried to find this rpm everywhere on google , rpmfind etc …. but I could not find it. Then I installed it with –nodeps option and configured according to the data given here .
But in vain.
Method 2. With ndiswrapper using Microsoft Windows XP drivers
I downloaded the ndiswrapper-1.16 from sourceforge.
I untarred it and used these commands.
Please don’t forget to the read the INSTALL and README files in the ndiswrapper-1.* directory. Then I inserted my LAN card driver cd for XP and copied the drivers directory which contains .inf and .sys files to my root directory. Then I used the commands .
ndiswrapper -i Rt2500.INF
iwconfig "wlan0" key open "wep 128 bit hex key" ESSID "IIIT WLAN"
I ran all this command and I am very happy to say that wireless LAN did not work. 🙂 Then I ran this command
and then edited this file. I entered all the data suggested here except that second line I wrote
OK. Then i ran
and edited the properties of wlan device by double clicking it and gave the 26 letters wlan key there and activated the device and it worked 😀