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










你可能感兴趣的:(网卡驱动,modinfo)