linux网卡信息和驱动研究

1.网卡自动识别网卡的模式有关吗?

Auto-negotiation: on

2   查看当前网卡信息

[root@VSMS ~]# lspci | grep -i eth(-i不敏感大小写)

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)


dmesg | tail -f

[  733.169494] r8169 0000:07:00.0: eth0: link up

[  753.930119] r8169 0000:07:00.0: eth0: link up



BUT!!! i know how to fix it!!! it‘s not provider‘s fault it‘s broken r8169 driver!!!


3RHEL/Linux下如何找出网卡驱动的内核模块名称


filename:       /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/igb/igb.ko

version:        5.0.5-k

license:        GPL

description:    Intel(R) Gigabit Ethernet Network Driver

author:         Intel Corporation, <[email protected]>

srcversion:     03B6D0C3EF1D1494B300070




5 如何得知网卡是集成网卡,还是独立网卡


tar xvfz 驱动.tar.gz

cd 驱动

chmod 755 setup.sh 可能是install.sh

然后./setup.sh 或者 install.sh


Intel Corporation I350 Gigabit


因为常用的 PCI 设备都是 PnP 标准


NVR:/ # modinfo bnx2

filename:       /lib/modules/3.0.13-0.27-default/kernel/drivers/net/bnx2.ko

firmware:       bnx2/bnx2-rv2p-09ax-6.0.17.fw

firmware:       bnx2/bnx2-rv2p-09-6.0.17.fw

firmware:       bnx2/bnx2-mips-09-6.2.1a.fw

firmware:       bnx2/bnx2-rv2p-06-6.0.15.fw

firmware:       bnx2/bnx2-mips-06-6.2.1.fw

version:        2.1.11

license:        GPL

description:    Broadcom NetXtreme II BCM5706/5708/5709/5716 Driver

author:         Michael Chan <[email protected]>

srcversion:     F471C884DCD87E491740509

alias:          pci:v000014E4d0000163Csv*sd*bc*sc*i*

alias:          pci:v000014E4d0000163Bsv*sd*bc*sc*i*

alias:          pci:v000014E4d0000163Asv*sd*bc*sc*i*

alias:          pci:v000014E4d00001639sv*sd*bc*sc*i*

alias:          pci:v000014E4d000016ACsv*sd*bc*sc*i*

alias:          pci:v000014E4d000016AAsv*sd*bc*sc*i*

alias:          pci:v000014E4d000016AAsv0000103Csd00003102bc*sc*i*

alias:          pci:v000014E4d0000164Csv*sd*bc*sc*i*

alias:          pci:v000014E4d0000164Asv*sd*bc*sc*i*

alias:          pci:v000014E4d0000164Asv0000103Csd00003106bc*sc*i*

alias:          pci:v000014E4d0000164Asv0000103Csd00003101bc*sc*i*

depends:        

supported:      yes

vermagic:       3.0.13-0.27-default SMP mod_unload modversions 

parm:           entropy:Allow bnx2 to populate the /dev/random entropy pool (int)

parm:           disable_msi:Disable Message Signaled Interrupt (MSI) (int)

NVR:/ #


下载的网卡驱动的网址:http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=3&PNid=13&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false#2









郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。