当前位置: 首页 > linux > 正文

finding netcard driver type in linux

we have two ways:

1. finding netcard driver by syslog
grep -i ‘driver’ /var/log/messages
or
dmesg | grep -i driver

2.lsmod  
#try to find netcard type.

[[email protected]]# modinfo e1000
filename:       /lib/modules/2.6.9-34.ELsmp/kernel/drivers/net/e1000/e1000.ko
parm:           debug:Debug level (0=none,…,16=all)
version:        6.1.16-k3-NAPI 4BCC06D27AAC4C711223CC9
license:        GPL
description:    Intel(R) PRO/1000 Network Driver
author:         Intel Corporation, <[email protected]>

[[email protected]]# modinfo igb
filename:       /lib/modules/2.6.18-164.11.1.el5/kernel/drivers/net/igb/igb.ko
version:        1.3.16-k2
license:        GPL
description:    Intel(R) Gigabit Ethernet Network Driver
author:         Intel Corporation, <[email protected]>
srcversion:     78555F0A019E05BADBD95AA

[[email protected]]# modinfo bonding
filename:       /lib/modules/2.6.18-164.11.1.el5/kernel/drivers/net/bonding/bonding.ko
author:         Thomas Davis, [email protected] and many others
description:    Ethernet Channel Bonding Driver, v3.4.0
version:        3.4.0
license:        GPL
srcversion:     7989A7EEF2EE7B5D78C0E79
depends:        ipv6
vermagic:       2.6.18-164.11.1.el5 SMP mod_unload gcc-4.1

本文固定链接: http://2hei.net/finding_netcard_driver_type_in.html | 2hei's site

该日志由 2hei 于2010年06月29日发表在 linux 分类下,
原创文章转载请注明: finding netcard driver type in linux | 2hei's site
关键字:

finding netcard driver type in linux:目前有1 条留言

  1. 沙发
    Jimmy:

    研究越来越细了

    2010-06-29 下午 11:26