MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.