corby
Joined: 22 Jul 2005 Posts: 204
|
Posted: 06/18/07 - 08:27 Post subject: |
|
|
How can I know which module is used by which ethernet controller? I have an adapter which appears as et02, so how can I see its characteristics? After being involved in one WiFi project I realized that controlling adapters via modules would be cool. I am using Debian distribution, with lot of a plug-ins. You know, with Windows, you can access these things easily, but not in a Linux. How to list all modules in the console? Thanks!
|
|
ole
Joined: 11 Dec 2005 Posts: 206
|
Posted: 07/05/07 - 22:25 Post subject: |
|
|
| Linux has a different design. Its not like windows, where you have a core. In Linux, there is a modular design. I am talking about kernel. Only few kernels are being loaded in a certain moment. Use command sbin/lsmode/ to list all modules. You will se module name, size, date, and much more. For some of the modules you will also see which port it controls. Not all modules are being loaded, this information is also available in the same window. Use moprobe to load each module. Its being loaded from certain location, like /lib/modules. For each one there is different directory. To check which adapter is being controlled by wich module, use modprobe. Rmmod will unload your kernel, and modinfo will tell you all information you would like to know. |
|