Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in 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 am trying to install a driver for my linksys wpc11 wireless network PCMIA card in Mandrake linux 9.2. The directions for the driver say:
"Linux source directory [/usr/src/Linux]:" by default this should be where your kernel is located, if it's located in a different place please input the path. Else hit Enter
but I tried hitting enter and guessing other paths and that didn't work (it said the file was missing). So I downloaded the 2.4.27 kernel from kernel.org and extracted that into /usr/src/. Then I made a link called /usr/src/linux to point to the extracted folder. But now when i get to the step where it asks me for my source directory, it says
Kernel header files are present, but not the full source code.
I googled my problem and found a link on this board where someone said to type in "urpmi kernel source" (I have no idea what this means, but I tried it) and it told me:
Following packages contain source:
gtksourceview
ligbtksourceview-1.0_0
perl-BSD-Resource
Can someone tell me how I can install the full kernel source code? This is the first time i've ever used linux and i'm really clueless about it. Thanks!
I have installed mandrake 10.0 on my computer. But I think the way to install this is very similar with yours.
in a shell console, type this :
[root@localhost vincent]# /usr/sbin/rpmdrake --root
the system will prompt you for the root pasword.
A new window will pop up.
In the search field of that window, type 'kernel' then the 'find' button.
The system will provide you with a list of file starting by 'kernel-....'
Select the one which looks like 'kernel-source-2.4.22-10mdk' . I guess you should this this one specifically. Then install it by following the instructions the will de displayed.
Source should be installed at the end of the process in: /usr/src/linux-2.4.22-10mdk/
I am referring to the way I installed this on my Mandrake 10.
Hope it is the same way on our version.
Hope this help
Regards,
Vincent
So i tried starting the advice above and i think it worked fine, but when i tried to configure the driver, again /usr/src/linux was "incomplete or missing." So I restarted my computer to go back to XP and when the computer asked me if i wanted to start up linux or windows, i noticed that there was an added option called "2422-1mt" which i'm guessing had something to do with the 2.4.22-1 kernel i had just installed off the cd. I selected that and pressed enter and it started scrolling all of these things and it looked like it was installing/booting up something. Then it asked me for a password but whenever I went to type it in the screen switched over to black. Then it turned blue and the computer said, "I cannot load the X interface, would you like to try to configure it?" So i tried doing that and eventually it said it was going to reboot and try to load the X but this basically failed. So now i think i have a vegetable for an operating system. Would it be wise to just install a different version of linux?
Also, i think i don't have enough room on the partition that i made for linux. Should i download partitionMagic and resize it? And is there any way i can do this without paying $70 for the program?
Thanks so much for your guys' help... i think i'm screwing this up big time.
HI everyone,
I have repeated this answer before too and I don't understand why mandrake won't install the kernal source file along with the software.
The source files are missing in Mandrake Linux and you need to install it manually. It is called kernel-source-2.4.25-2.i586.rpm This file can be downloaded from the web or from mandrake download servers. If you have the Mandrake Linux 10.0 then it can be found in the 3 or 4 disk, I don't remember because it has been a long time. PLEASE DON'T INSTALL THE KERNEL VERSION 2.6 because it seems to be incompatible with wireless drivers. So install the 2.4.xx kernel source file and everything will be fine after that.
I had this problem earlier too and that is why when I installed Mandrake 10.0 I installed it in with the kernel version as 2.4 to stop further discrepencies.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.