|
By kayoss717 at 2006-03-25 04:41
|
|
To install and run ndiswrapper on Fedora Core 5, it take a little tweaking above and beyond what is in the official installation wiki. The first think you need to do is go to http://people.redhat.com/davej/kerne...5/RPMS.kernel/ and get the latest kernel AND kernel-devel. If you are using firefox, when you click on the download, just open them with the default package installer, and they will be installed. Otherwise, save them and install them with yum. Be sure that you are using the most recent kernel when you start installing ndiswrapper. IMPORTANT: Make sure you have the right kernel-devel file installed for whatever kernel you are using!!!
1. Now, create a directory in your home folder called Ndiswrapper. (mkdir Ndiswrapper)
2. Now, download the latest stable Ndiswrapper release from http://sourceforge.net/projects/ndiswrapper/
Note: if you have already tried to install it, just change to the directory where you unzipped it and run: make uninstall
3. Move the tar file into your Ndiswrapper directory and unzip it (tar -xzfv (filename))
4. Change to the new ndiswrapper directory and run: make distclean
5. If there are no errors, type:
make install KSRC=/usr/bin/kernels/<kernel version here>
6. Open the file /etc/modprobe.conf in a text editor (kwrite /etc/modprobe.conf, or gedit /etc/modprobe.conf) and add the line:
alias wlan0 ndiswrapper
to the top of the file. Make sure there is a blank line at the end of the file, save it, and exit the editor.
7. Now you need to find your window's driver (it is a .inf file). Copy this file into your ndiswrapper directory with all of the rest of the files.
8. Type: ndiswrapper -l
If there are any drivers listed, remove them with: ndiswrapper -e (driver name)
Now, type: ndiswrapper -i (driver name).inf
9. Do ndiswrapper -l and check to make sure that it lists your driver and says "driver installed, hardware present"
10. Type: depmod -a
11. Type: modprobe ndiswrapper
Now you should be ready to set up your wireless card
To do that:
1. ifconfig eth0 down (to make sure your comp is forced to use the wireless card)
2. ifconfig wlan0 up
3. iwconfig wlan0 key (key type, i.e. open) (key here)
4. iwconfig wlan0 essid (network name here)
5. dhclient wlan0
Troubleshooting:
1. I get the error message:
make -C driver install
make[1]: Entering directory `/home/stroh/Desktop/ndiswrapper-1.10/driver'
Can't find kernel sources in /lib/modules/2.6.15-1.2054_FC5/build;
give the path to kernel sources with KSRC=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/home/stroh/Desktop/ndiswrapper-1.10/driver'
make: *** [install] Error 2
when I try make install
Solution:
it is looking in the wrong place for your kernel sources. FC5 puts the kernel sources in /usr/src/kernels, so be sure and follow step 5 above.
2. It says I have an "invaid module format" when I type modprobe ndiswrapper
Solution:
You do not have the proper kernel-devel file installed for the kernel that you are using. Type uname -r to get your kernel version and go to http://people.redhat.com/davej/kerne...5/RPMS.kernel/
and download the corresponding kernel-devel file and install it.
3. I get the message "invalid driver" when I ndiswrapper -l
Solution:
You have the wrong driver. This is most common with the bcmwl5.inf driver. Be sure to note that there is a bcmwl5 and a bcmwl5a driver. My card takes the bcmwl5a.inf file to work correctly (Dell TruMobile 1450). Also, be sure that you aren't using a .ini file.
Good luck
|
|
89 comments
|
read full thread
|