Under Linux, you use term called modules for device drivers. The driver can be loaded or unloaded as per your requirement using commands. Each driver or module gives the Linux information on how to control that particular Ethernet card. The name of each module (driver) is listed in the /etc/modules.conf file.
Command to find out Ethernet card driver name
You can try any one of the following command to find out your Ethernet card driver:
# dmesg | grep 'Ethernet driver'
Output:
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
Or search a file called /var/log/dmesg:
# grep 'Ethernet driver' /var/log/dmesg
Output:
8139too Fast Ethernet driver 0.9.27 8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
You can also get driver name from config file:
# grep eth0 /etc/modules.conf
Output:
alias eth0 8139too
OR
# vi /etc/modules.conf
Search for eth0 string.
In above example 8139too is driver loaded for eth0. You can find out more information about this driver using modinfo command:
# modinfo 8139too
modinfo program to show information about a Linux Kernel module. You can also find out all loaded modules or drivers using lsmod command:
# lsmod | less
lsmod is a program to show the status of modules in the Linux Kernel.
See also:
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop











![Linux Command To Find SATA Link Speed Such as 1.5 / 3.0 / 6.0 Gbps [ Hard Disk ]](http://s13.cyberciti.org/images/shared/rp/3/29.jpg)

{ 4 comments… read them below or add one }
The “ethtool” program has an option which will show the driver your Ethernet device is using:
ethtool is the way to go, in my opinion. It also shows you bus information, which coupled with lspci can clarify which actual network card is using which driver.
Vivek!
A broken url in this page: http://theos.in/exploring-linux-kernel.html
To find out the exact name of the Ethernet card that you are using :
# lspci | grep -i Ethernet
02:00.0 Ethernet controller: Intel Corporation 82545EM Gigabit Ethernet Controller (Copper) (rev 01)
02:01.0 Ethernet controller: Intel Corporation 82545EM Gigabit Ethernet Controller (Copper) (rev 01)