LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Help with kernel source for stk16 kerntel? (https://www.linuxquestions.org/questions/fedora-35/help-with-kernel-source-for-stk16-kerntel-410116/)

carmeli 01-31-2006 04:02 PM

Help with kernel source for stk16 kerntel?
 
Hi, I'm trying to get my wireless card to work with my laptop, so I got ndiswrapper. I was able to get it to do a make install with the 2.6.11 kernel but got the warning about 4k stacks.

SO I downloaded kernel-2.6.14-1.1656_FC4.stk16 and the associated .src rpm. I installed both of them, but when I run the make install for ndiswrapper it says it can't find the kernel sources. Is there something else I need to do after installing

kernel-2.6.14-1.1656_FC4.stk16.src.rpm?

I tried to use rpmbuild to build the sources but that didn't seem to work either. Any pointers to some docs or appropriate how tos would be appreciated.

-Ira

jcliburn 01-31-2006 06:41 PM

The kernel headers and such needed by most modules should be found at /usr/src/kernels/`uname -r`.

After installing the kernel source rpm, did you go to /usr/src/redhat/SPECS and run

rpmbuild -bp --target $(arch) kernel-2.6.spec

That should unpack, distribute, and patch the vanilla kernel.

carmeli 02-01-2006 04:01 PM

Yay
 
I tried that rpmbuild command, but was still unable to get ndiswrapper to work. However, I modified the command to this:

rpmbuild -ba --target $(arch) kernel-2.6.spec

and it built everything, and then I installed the devel kernel package it made, and after that ndis compiled correctly, and I was able to scan my wireless network for cells. However I have found that we use cisci leap at my work, and it doesn't look like I have support for that at the moment.

-Ira


All times are GMT -5. The time now is 06:33 PM.