On Sun, Jul 28, 2002 at 07:03:13PM -0700, Stephen Turner wrote: > well im not quite sure what module my nic uses, it is an onboard nic and i > just install the mb drivers and the nic goes with it, i havent had to > manually install it yet due to debians easy detect however if im gonna > make my own kernel ill need it, is there a way i can figure out the > running kernel for my nic? i know of lsmod but im not sure if its in there If a module is loaded, then lsmod should show it. As the nic is onboard, I would guess that you could look up some information about the model from checking your manuals, or by opening up your system and reading it off the board. The network modules are located in /lib/modules/{$KERNEL_VERSION}/net or /lib/modules/{$KERNEL_VERSION}/kernel/net (it depends upon the kernel version). What could could be done to determine the nic's module: 1) # lsmod > some_file 2) eliminate the !nic modules from list (eg. rtc, lp, uart401) 3) what you have left should be the loaded nic modules I like to know the actual model of all the components to my systems so that if I need to change to a different module for some reason, I know which one to try. (a while ago this system had a borked nic, it's module was pcnet_cs. After I received it's replacement (it was under warranty), I had to change to axnet_cs. Same model, different version, differnt module) -- Seneca seneca-cunningham@rogers.com
Attachment:
pgpYGlhmbItLH.pgp
Description: PGP signature