[PLUG] Re: nic support, recompiling, usw
Brian Poole
raj@cerias.purdue.edu
Sat, 29 Jul 2000 17:09:16 -0500 (EST)
> Network modules are located in /lib/modules/2.*.*/net
/lib/modules/`uname -r`/net/ to be exact..
> On Fri, 28 Jul 2000, Nels Tomlinson wrote:
>>Just out of curiousity, is there any way to determine whether that support is
>>already compiled in? I've gotten advice along this line before (just recompile
>>your kernel...) and found out after some digging that what I needed was already
>>compiled in, usually as a module. Recompiling kernels is great sport for them
>>that enjoy it, but most of us don't enjoy it, and would rather write
>>dissertations or what-have-you in our spare time.
>>
>>So, _is_ there some way to find out what has been compiled into your kernel,
>>short of recompiling and taking notes?
If you already compiled it once you can just go into the /usr/src/linux
dir and run make [,menu,x]config and check it out by flipping thru the
menus.
You could also look at /usr/src/linux/.config which will tell you what you
have chosen to compile in if the src is on the machine.
Or.. you could also look at /usr/include/linux/autoconf.h which
contains much the same information, but should always be there i believe.
Those work for both compiled in options as well as modules. If you just
need to know what modules you have compiled you can simply look at
/lib/modules/`uname -r`/ as noted before (when evaluated that will give
you the proper directory for your running kernel btw).
-b