LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-12-2005, 08:43 PM   #16
WindowBreaker
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 228

Rep: Reputation: 40

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
 
Old 11-12-2005, 08:49 PM   #17
WindowBreaker
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 228

Rep: Reputation: 40
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.
 
Old 11-13-2005, 10:09 AM   #18
treehead
LQ Newbie
 
Registered: Oct 2004
Location: USA
Distribution: Slackware
Posts: 18

Rep: Reputation: 1
Thumbs up 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.

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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cedega newbie help plz Kantarell Linux - Games 2 07-23-2005 01:02 AM
Help a newbie...plz! the_sLiDe Linux - Newbie 13 09-30-2004 04:37 PM
hi all i am totally a newbie plz help me glacier1985 Linux - Newbie 1 07-07-2003 10:13 PM
Another Newbie Needs Help ... Plz Roisin_Dubh Linux - Newbie 4 06-22-2003 05:07 PM
Please help me and don't hate me because I'm a Newbie mguzman Linux - Software 1 03-17-2002 01:07 PM


All times are GMT -5. The time now is 06:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration