DISCUSSION: Ndiswrapper in Fedora Core 5
This thread is to discuss the article titled:
Ndiswrapper in Fedora Core 5
Ok I made one mistake. On Step 5, you need to run:
make install KSRC=/usr/bin/kernels/(your kernel directory here)
You have to make sure and add the kernel directory after /kernels. It will not work if you dont. The idea is that you are telling ndiswrapper where to look for your kernels sources, so be sure to tell it the right directory, as it is likely that there are multiple ones. To find out which kernel you are using, type uname -r.
what if you do not have a kernel directory under /usr/bin
OK what do you do if the kernel is not in /usr/bin or /usr/src? :newbie:
I swear if I get wireless on my linux partition on my laptop, I'll learn linux.
Then you need to replace the /usr/bin or /usr/src part with the part where your kernel sources are. For instance, my kernel sources are in /usr/bin/kernels/[kernel name]. Unless you moved the kernel sources to another directory, or manually installed them somewhere else, this is where they should be. What happens when you try to enter the folder I mentioned, does it give you an error, or are you sure that you kernel sources are not installed there?
Thanks. Finally a great step-by-step tuturial, after testing and trying others tips on the web.
I failed as exactly forseen as described in the item 2. I use out of box Fedora Core 5, download from fedora/redhat the kernel-devel-2.6.15-1.2054_FC5 (rpm kerenl-2.6.15-1.2054_FC5 installed)
make rpm or make install seem fine after correcting/linking the kernel source path, but it fails at 'modprobe'
Thanks for any idea for any more things i can do to correct it.
"2. It says I have an "invaid module format" when I type modprobe ndiswrapper
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 people.redhat.com/davej/kernels/Fedora/FC5/RPMS.kernel
and download the corresponding kernel-devel file and install it.
I'm having trouble installing the driver.
ndiswrapper -l bcmwl5a(with or without extension)
couldn't copy bcmwl5a at /usr/sbin/ndiswrapper line 139.
I was having the same problem but discovered why it wasn't working.
My ndiswrapper directory for now is: /temp/ndiswrapper-1.11
The directory for the drivers is : /ndis
/ndis is where I placed bcmwl5a.inf, bcmwl5.inf, etc.
To install the drivers, make sure you tell ndiswrapper where the drivers are located.
So what I used is the following: ndiswrapper -i /ndis/bcmwl5.inf
Make sure when you attempt to install the drivers that you tell ndiswrapper the directory of where the drivers are at.
You can put the drivers in your ndiswrapper-1.11(or whatever version you are using)directory,
just be sure to tell ndiswrapper that they are there. Ex: ndiswrapper -i /ndiswrapper-1.11/bcmwl5.inf
After you install them, make sure that they are installed with the ndiswrapper -l command. That is a lower case l, not the number one.
Hope you have success.
I've having truouble getting this to work. I've installed the latest kernel and kernel-devel, but when I run the make install KSRC.... I get the below error:
Been following this thread for a while. I have never had this much problems before w/ the other versions of FC, but this one is proving difficult. Now I am encountering something totally new, and never really heard of. here's the output for my make install
[root@localhost ndiswrapper-1.13]# make install KSOURCE=/usr/src/kernels/2.6.16-1.2088_FC5-i686
make -C driver install
make: Entering directory `/home/jadavis1/ndiswrapper-1.13/driver'
make -C /lib/modules/2.6.16-1.2080_FC5/build SUBDIRS=/home/jadavis1/ndiswrapper-1.13/driver \
make: Entering directory `/usr/src/kernels/2.6.16-1.2080_FC5-i686'
CC [M] /home/jadavis1/ndiswrapper-1.13/driver/hal.o
CC [M] /home/jadavis1/ndiswrapper-1.13/driver/iw_ndis.o
CC [M] /home/jadavis1/ndiswrapper-1.13/driver/loader.o
CC [M] /home/jadavis1/ndiswrapper-1.13/driver/misc_funcs.o
CC [M] /home/jadavis1/ndiswrapper-1.13/driver/ndis.o
CC [M] /home/jadavis1/ndiswrapper-1.13/driver/ntoskernel.o
/home/jadavis1/ndiswrapper-1.13/driver/ntoskernel.c: In function ‘KeClearEvent’:/home/jadavis1/ndiswrapper-1.13/driver/ntoskernel.c:1738: warning: value computed is not used
CC [M] /home/jadavis1/ndiswrapper-1.13/driver/ntoskernel_io.o
CC [M] /home/jadavis1/ndiswrapper-1.13/driver/pe_linker.o
CC [M] /home/jadavis1/ndiswrapper-1.13/driver/pnp.o
CC [M] /home/jadavis1/ndiswrapper-1.13/driver/proc.o
CC [M] /home/jadavis1/ndiswrapper-1.13/driver/wrapndis.o
CC [M] /home/jadavis1/ndiswrapper-1.13/driver/wrapper.o
CC [M] /home/jadavis1/ndiswrapper-1.13/driver/usb.o
CC [M] /home/jadavis1/ndiswrapper-1.13/driver/divdi3.o
LD [M] /home/jadavis1/ndiswrapper-1.13/driver/ndiswrapper.o
Building modules, stage 2.
LD [M] /home/jadavis1/ndiswrapper-1.13/driver/ndiswrapper.ko
make: Leaving directory `/usr/src/kernels/2.6.16-1.2080_FC5-i686'
*** WARNING: Kernel is compiled with 4K stack size option (CONFIG_4KSTACKS); many Windows drivers will not work with this option enabled. Disable CONFIG_4KSTACKS option, recompile and install kernel
mkdir -p /lib/modules/2.6.16-1.2080_FC5/misc
install -m 0644 ndiswrapper.ko /lib/modules/2.6.16-1.2080_FC5/misc
/sbin/depmod -a 2.6.16-1.2080_FC5
make: Leaving directory `/home/jadavis1/ndiswrapper-1.13/driver'
make -C utils install
make: Entering directory `/home/jadavis1/ndiswrapper-1.13/utils'
gcc -g -Wall -DUTILS_VERSION=\"1.8\" -o loadndisdriver loadndisdriver.c
install -D -m 755 loadndisdriver /sbin/loadndisdriver
install -D -m 755 ndiswrapper /usr/sbin/ndiswrapper
install -D -m 755 ndiswrapper-buginfo /usr/sbin/ndiswrapper-buginfo
NOTE: Windows driver configuration file format has changed since 1.5. You must re-install Windows drivers if they were installed before.
make: Leaving directory `/home/jadavis1/ndiswrapper-1.13/utils'
mkdir -p -m 0755 /usr/share/man/man8
install -m 644 ndiswrapper.8 /usr/share/man/man8
As you can see, it lists something about a 4K stack size option w/ CONFIG_4KSTACKS, but I do not know where that is. it also warns that a value is not used. If anyone can help, please do. I really am starting to miss my wireless on my laptop :)
yum install gcc
yum install gcc++
i cant find my kernel sources in /usr/src/kernels or in /usr/bin is there a way i can find where they are?
sry double post
|All times are GMT -5. The time now is 05:17 AM.|