LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-22-2005, 11:16 PM   #1
justintime32
Member
 
Registered: Sep 2004
Distribution: SimplyMepis 3.3 (Debian testing/unstable)
Posts: 123

Rep: Reputation: 15
NdisWrapper Question


I'm trying to install NdisWrapper on my laptop, since my wireless card isn't supported by linux. I followed all the steps, but I found out that the kernel source wasn't in the /usr/src folder. Is there an easier way to install this, like an RPM or something? If not, where is the Kernel source on mandrake 10.1?
 
Old 02-22-2005, 11:33 PM   #2
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Make SURE your urpmi sources are set up. See my sig for directions.

Then determine the name/version of your installed kernel.

e.g.

uname -a

Now there is one minor problem....

urpmi kernel-source

will automatically download and install the LATEST kernel available on the repositories.

This may not correspond to what you have installed!

So you can either exactly specify the kernel source you wish to install (browse the urpmi ftp sites in a browser to see) or go ahead and install the updated kernel.

Keep this in mind.

BTW: If you have NOT set up your URPM sources you can

urpmi kernel-source

which will install the version from your CD/DVD's. It should correspond to the original kernel.

Finally you can also mount the disk(s) them

cd /mnt/cdrom/xxxx

To get to the RPM/Media directory and

rpm -Uvh kernel-source-xxx.rpm

again making sure that you are installing the kernel-source for the installed kernel.
 
Old 02-23-2005, 10:54 AM   #3
justintime32
Member
 
Registered: Sep 2004
Distribution: SimplyMepis 3.3 (Debian testing/unstable)
Posts: 123

Original Poster
Rep: Reputation: 15
Well, right not I have the kernel 2.6.8.1-10mdk installed. Would that mean I should type in "urpmi kernel-2.6.8.1-10mdk" ?
 
Old 02-23-2005, 11:16 AM   #4
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Your best bet would be to look at the ftp repositories and find the kernel-source rpm which you need.

You can do this from any browser or ftp client.

The repositories are nothing more than anonymous FTP sites (or in some cases http sites).
 
Old 02-23-2005, 11:21 AM   #5
justintime32
Member
 
Registered: Sep 2004
Distribution: SimplyMepis 3.3 (Debian testing/unstable)
Posts: 123

Original Poster
Rep: Reputation: 15
Could I not add in the sources and do it from the CD?
I mean not follow the steps in your sig and just do "uprmi kernel-source"?
 
Old 02-23-2005, 11:28 AM   #6
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Yes, if you have not updated the kernel since you set up Mandrake.

If you have not then the kernel-source rpm on the CD's will do fine.

Just mount the disk and find the RPM, change to the directory containing the source then

rpm -Uvh kernel-source-xxx.xxx.rpm
 
  


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
Ndiswrapper question stress Linux - Wireless Networking 5 11-28-2005 11:07 AM
NdisWrapper Question justintime32 Mandriva 2 04-01-2005 01:33 PM
ndiswrapper Question efanning Linux - Wireless Networking 7 02-02-2005 02:18 AM
Question about ndiswrapper Axi0n Slackware 4 10-30-2004 11:21 PM
ndiswrapper question. digitalkid1128 Linux - Wireless Networking 2 07-02-2004 07:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 12:34 PM.

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