LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   MA111 USB adapter driver "make config" fail (https://www.linuxquestions.org/questions/linux-wireless-networking-41/ma111-usb-adapter-driver-make-config-fail-282713/)

theonlydrew 01-26-2005 10:48 PM

MA111 USB adapter driver "make config" fail
 
Debian Sarge 2.6.8 with
MA111 NETGEAR USB Adapter

well Im having a bit of trouble, with building the drivers. I thought that after I APT-GET "linux-wlan-ng" I had the drivers and i could restart, but i guess im wrong there. like the readme says the "linux-wlan-ng is nothing without the kernel drivers, so you must build your own (seeing as how i couldnt apt-get one for kernel 2.6.8). So I am following this guide online here at linuxquestions.
http://www.linuxquestions.org/questi...icle&artid=239

It told me I needed to have my kernel sources so
I apt-get install'ed:

kernel-headers-2.6.8-386
kernel-source-2.6.8
kernel-tree-2.6.8

So when thats done I start on the "make config", But when ever I do the "make config" for linux-wlan-ngand fill in the part where my kernel sources should be, i type "/usr/src/" because in that folder I have kernel-headers, kernel-patches, kernel-source, kernel-kbuild

However, the "make config" fails saying that "Linux source tree /usr/src/ is imcomplete or missing!

What do I do? I know I have apt-get install'ed kernel-tree-2.6.8
:newbie:
And if I type in "/usr/src/kernel-source-2.6.8" then it says: "The kernel header files are present, but not the full source code." But I know I apt-get installed the kernel-source-2.6.8 and gunzipped it.

theonlydrew 01-26-2005 10:53 PM

I was reading in the README of the wlan-ng-0.2.0 folder and found this:

To build linux-wlan-ng you will need:
- Configured kernel source code for the kernel you are running.
Ideally, this will be the resulting tree after building your own
kernel. Configured means that you have at least run 'make config',
'make menuconfig', or 'make xconfig'. If you are trying to build
linux-wlan-ng for a previously existing kernel binary (one you did
not build yourself), look for help on the mailing lists because it
can be tricky. I always run against kernels I've built myself, so I'm
not much help in this area.



So not only do I have to build the module, but i also need to rebuild a kernel? All this for a driver? Im confused? I thought I could just "apt-get install" linux-wlan-ng and have the drivers and be done with it, reboot and it would work. I just want it to work, and im willing to learn a little or a i guess a lot. So maybe im a little mixed up on the whole driver,module, kernel, new hardware situation. I should probably read a book or something. Any suggestions of where to start? Or if I can be helped with what I have so far.


All times are GMT -5. The time now is 01:04 PM.