LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   autoconfig.h file - where is it? (https://www.linuxquestions.org/questions/linux-newbie-8/autoconfig-h-file-where-is-it-555473/)

jim.thornton 05-21-2007 01:13 AM

autoconfig.h file - where is it?
 
I've been trying to install my wireless network for almost a week now. I'm getting so frustrated!!!

I've downloaded the drivers/firmware from the Intel website (I have an Intell Wireless 2200BG).

In the INSTALL file, it says to goto the following location:

/lib/modules/'uname -r'/build/include/linux/autoconf.h

This file/folder doesn't exist. Can someone tell me where to find it. I'm suppose to go in this file and change some lines.

BTW, I have CentOS 5 installed.

Chryyz 05-21-2007 02:04 AM

Quote:

Originally Posted by j
/lib/modules/'uname -r'/build/include/linux/autoconf.h

Where "'uname -r" is, you're supposed to put the name of your kernel. Just cd to /lib/modules/ and ls to see what the name is, then continue as planned.

If you have multiple kernels, make sure you enter the one you're currently using >.>

samstar 05-21-2007 02:12 AM

Hi,

The intel drivers require the kernel headers and the kernel source installed in order to build the drivers. Look in your package manager program, whatever CentOS uses, for 'kernel-headers' and 'kernel-source' or something like it.

I assume that CentOS 5 that you're using is the latest version, so do not install the ieee80211 package that the intel driver's readme recommends. The ieee80211 in your system is modern enough, and should not be replaced.

Sam

PS
The error you're receiving does not mean that you need to edit any files or move anything. It just means that the two kernel packages I mentioned above are not installed yet.

jim.thornton 05-21-2007 07:50 AM

Okay... Can someone give me a step by step to installing the kernel headers and kernel source.

I really don't have a clue what I'm doing. If it wasn't for the gui, all I would be able to do is sit at the prompt and change directories :)

dasy2k1 05-21-2007 08:49 AM

open up whatever gui pakager manager centos uses (i cant remember what it is )
do a search for kernel and you should see the kernel-source or kernel-headers somwhere on the list,
install them

(if you get both on the list then insatll them both)

samstar 05-21-2007 03:06 PM

Ok, I searched around and found that a program called 'yum' is used to manage your programs. It has a GUI called 'Yum Extender'. Try looking for that in your menus. It looks like an easy interface, so just click on Install, and do a filter search for the packages. Then install the two packages.

Sam

jim.thornton 05-21-2007 11:30 PM

Thank you very much!

dasy2k1 05-22-2007 07:11 AM

ah yum, fedoras pakage manager aswell,
you can aslo isnatll stuff like kernel-source form the commandline with
# yum install kernel-source


All times are GMT -5. The time now is 05:16 AM.