LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I hate being a newbie but HELP PLZ! (https://www.linuxquestions.org/questions/linux-newbie-8/i-hate-being-a-newbie-but-help-plz-379365/)

WindowBreaker 11-12-2005 07:43 PM

Treehead:
I solved the problem by compiling a new kernel. I was using Slackware 10.2, but the compiled sources for that kernel were not on the computer, and that is what ndiswrapper needs.

I read in the ndiswrapper documentation that all the kernel source headers should be available. The way you make them available is by compiling the kernel.

The steps on compiling a 2.6.x kernel for slackware are outlined in the LQ tutorial at:
http://www.linuxquestions.org/questi...icle&artid=408

Here is a play-by-play you can try (as root):
* Note that these are basically the steps outlined in the article referenced above. If you're confused as to what a certain step does and want to learn more, I recommend reading the article.

# cd /usr/src
# wget http://www.kernel.org/pub/linux/kern...2.6.10.tar.bz2
# tar xvjf linux-2.6.10.tar.bz2 (this creates a directory named linux-2.6.10)
# cd linux-2.6.10
# wget ftp://ftp.slackware.no/linux/slackwa.../config-2.6.10
# mv config-2.6.10 .config
# make menuconfig
# make bzImage
# make modules
# make modules_install
# cp arch/i386/boot/bzImage /boot/bzImage-2.6.10
# cp System.map /boot/System.map-2.6.10
# vi /etc/lilo.conf

Modify lilo, and add the following lines for the new kernel:
image = /boot/bzImage-2.6.10
root = /dev/hda1 (*This must be the root partition on your system)
read-only
label = Slack_2.6.10

The re-run lilo to update the MBR:
# /sbin/lilo

Then reboot and select the new kernel, labeled "Slack_2.6.10".

The cd into the ndiswrapper source directory, do a "make distclean" and "make uninstall", and start over with:
# make
# make install


I hope this works for you like it did for me. Ndiswrapper is a very cool project. If you have any questions I can try to help best I can.

Cheers

WindowBreaker 11-12-2005 07:49 PM

chrisortiz wrote:

"oh, that big complicated post he made just ment he used a different kernel =)"

chrisortiz:

Which of the 5 sentences in my post was big and/or complicated?

And the trick wasn't using a "different" kernel as you said, it was using a kernel "with all the precompiled sources available", as I said.

Anyways, I posted more details for treehead, and I hope that will help him get ndiswrapper up and going.

treehead 11-13-2005 09:09 AM

cheers!
 
Quote:

Originally posted by WindowBreaker
Treehead:
I solved the problem by compiling a new kernel. I was using Slackware 10.2, but the compiled sources for that kernel were not on the computer, and that is what ndiswrapper needs.
;this is what i was looking for. i didn't understand the distinction between having 'compiled a new kernel from source' and having the 'compiled kernel sources available' for ndiswrapper. i will read more on this. :study:

Quote:

Originally posted by WindowBreaker
I read in the ndiswrapper documentation that all the kernel source headers should be available. The way you make them available is by compiling the kernel.

The steps on compiling a 2.6.x kernel for slackware are outlined in the LQ tutorial at:
http://www.linuxquestions.org/questi...icle&artid=408

Here is a play-by-play you can try (as root):
;excellent excellent information. i'll try the play-by-play and i'll be sure to read the LQ tutorial as well! thank you and cheers back!

;treehead


All times are GMT -5. The time now is 03:56 AM.