Linux - NewbieThis 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
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 am trying to get my computer to recognize my DWL-122 in mandrake 9.2. I have downloaded the driver from www.linux-wlan.com and have successfully unpacked it and all. At a point in the './Configure' command it asks for the path to the kernel source (with the default bein [usr/src/linux]).
being the newbie that i am i go ahead and accept the default.
It comes back with a message saying 'usr/src/linux is incomplete or missing'. upon inspection of the /usr/src/ directory i see that there is nothing in it. OK so there is my problem. I am assuming that /usr/src/linux is the location of the kernel source. I believe that when i installed MDK 9.2 the kernel source was not installed.
Where do i get it from -- ie what disk is it on and what is the path of it
What are the commands that i need to get it from the cd to the /usr/src/linux directory.
If the @#$% Mandrake Club boolshiat doesn't let you download without an account you can get the files from other sites like pbone. http://rpm.pbone.net/
Easy load up package installer and type kernel. Match the kernel version when you type "cat /proc/version" at bash or console screen. Next you need to install gcc compiler. Also match the same version compiler that mandrake compiled the kernel with. Usually its gcc version 3.2.
Sure, just download the source for your version, which the command "uname -r" will tell you. I believe the original 9.2 kernel was 2.4.22-10mdk. The newer kernels fix bugs and security vulnerabilities, however, and there are also customized versions for specific purposes. I'm using 2.4.22-26mm, for example, which is the preemptive multimedia version.
Originally posted by Patbuzz86 cant i make it work with the kernel i already have?
mmm....No offense you are that stubborn. The KERNEL SOURCE is on the CDs. Just run Mandrake Installer package and type kernel. Check the source code package. geez...what is so hard about that.
yeah thankyou im not that lazy i did check thank you very much. No need to get crazy on me im sorry that i have only been on a linux machine for about a week, so there! now you can go back to your little world where you are the ruler and condem everybody that asks a simple question, Electro!
I found it its on the second CD. The files are kernel22-source-2.2.20-9mdk.i586.rpm, kernel-multimedia-source-2.4.22-21mm.1mdk.i586.rpm, or kernel-tmb-source-2.4.22-21.tmb.1mdk.i586.rpm.
It will be stupid if Mandrake did not include the kernel source code because they include a few compilers.
well as you can see it is clearly not me and as 'crito' already said he doesnt think that mandrake included the source on the download edition -- of which i have. and number two i see that you are using mandrake 9.0 as i am using mandrake 9.2, do you think there might just be a difference?
i downloaded this file:
kernel-2.4.22.10mdk-1-1mdk.i586.rpm
from a website and went to install it on my linux machine but the software installer came back and said that these files have already been installed.
now what?
As to whether 9.2 included the kernel source, all I can say for sure is sources are on CDs #4 and #5 of the powerpack edition I purchased. I've heard others complain about the download edition not including those CDs however, and I took their word for it. It was discussed on one of the other Linux boards LQ competes with so I won't link to the thread, but you can find it easily with google.
HAHA i finally did it i am on the internet on my linux machine! YEAH -- thanks for your help everyone and especially Crito for showing me where to get the kernel source!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.