How do i find the Kernel path ?

Posted on 2005-03-16
Medium Priority
Last Modified: 2013-11-13
I've tried for 3 days now to install the linux drivers for PCMCIA wireless card, and I CAN'T MAKE IT WORK.  

Hardware Details:
- laptop = compaq 2105ca (athalon 1800, 512bm, 40gb)
- using manrake 10.0
- Mandrake Control Center sees the card as :
   Vendor : Atheros Communications
   Bus : PCI
   Description : AR5213 802.11a/b/g Wireless Adapter

Driver info :
- http://sourceforge.net/projects/madwifi
- cvs = "cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi co " (not sure if that's right)
- I can post the README file here (from the download) if it would help anyone (it's in the driver package from madwifi)

Error details:
When I extract the drivers, and type "make"  (in the "/madwifi" dir) , I get this error :
Makefile.inc:94: *** KERNELPATH must be defined.  Stop

The readme says to define the kernel path like this :  eg. KERNELPATH=/usr/src/linux-2.6.3   ... but that path doesn't exists !

I'm relatively new to linux, but know basic admin stuff.  This thing is frustrating me to no end.  Instructions ? How-to ? Tutorial ? Links ? Please help !!!!

Question by:Gitcho
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

edkim80 earned 1000 total points
ID: 13561020
cd into your /usr/src directory and look for a directory in there similar to linux-2.6.3  ( the 2.6.3 is your kernel version)
if there isn't a directory like this in there, most likely you don't have the kernel source installed.  Try searching through your distro's
rpm's and install the kernel-src rpm.  then do an export KERNELPATH=whatever.

Hope this helps

Assisted Solution

mike_mian earned 1000 total points
ID: 13562197
try this link
though it's for a thinkpad the basics are the same.


Author Comment

ID: 13571377
Thanks ... found & installed kernel source ...  but driver still isn't working properly.

[make] & [make install] were successfull, but [modprobe wlan] gives me :
FATAL: Module wlan not found.

I've opened another question for this here : http://www.experts-exchange.com/Operating_Systems/Linux/Q_21355498.html

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month15 days, 8 hours left to enroll

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question