1、查看网卡使用的驱动[root@slavetwo~]#ethtool-iem1
driver:tg3
version:3.122
firmware-version:FFV7.4.8bc5720-v1.30
bus-info:0000:01:00.02、查看tg3所在位置[root@slavetwo~]#locate-rtg3.*ko
/lib/modules/2.6.32-279.el6.x86_64/kernel/drivers/net/tg3.ko因为系统内..
分类:
系统相关 时间:
2015-03-17 10:39:44
阅读次数:
253
首先下载ethtool的源码包。
剩下的事情,几条命令搞定。
tar -xzf ethtool-3.15.tar.gz
cd ethtool-3.15
./configure --host=arm-linux CC=arm-none-linux-gnueabi-gcc LDFLAGS=-static
make
cp ethtool /path/to/rootfs/bin/...
分类:
其他好文 时间:
2015-03-15 18:27:35
阅读次数:
435
Ethtool是用于查询及设置网卡参数的命令。概要:ethtoolethX//查询ethX网口基本设置ethtool–h//显示ethtool的命令帮助(help)ethtool–iethX//查询ethX网口的相关信息ethtool–dethX//查询ethX网口注册性信息ethtool–rethX//重置ethX网口到自适应模式ethtool–SethX//查询eth..
分类:
系统相关 时间:
2015-01-14 09:55:59
阅读次数:
303
drivers/net/igbvf/igbvf.h:129:15: error: duplicate member ‘page’ make[3]: *** [drivers/net/igbvf/ethtool.o] Error 1SOLUTION:---------SOLUTION:--------...
分类:
其他好文 时间:
2015-01-09 13:58:49
阅读次数:
223
1、系统基本信息查询查看内核#uname -a查看Ubuntu版本#cat /etc/issue查看内核加载的模块#lsmod查看PCI设备#lspci查看USB设备#lsusb查看网卡状态#sudo ethtool eth0查看CPU信息#cat /proc/cpuinfo显示当前硬件信息#lsh...
分类:
系统相关 时间:
2014-12-27 00:14:29
阅读次数:
259
ethtool eth0 查看 eth0对应网卡的设置ethtool -i eth0 查看 eth0网卡的驱动信息ethtool -S eth0 查看网卡的统计信息ethtool -s eth0 speed 100 duplex full autoneg off 关闭自动协商功能,将网卡设置为100...
分类:
系统相关 时间:
2014-12-22 19:31:19
阅读次数:
231
为了使用编辑文本方式配置网络服务,首先要将NetworkManager服务停止,并在服务启动项中关闭。命令:serviceNetworkManagerstopchkconfigNetworkManageroff1、修改/etc/sysconfig/network-scripts/ifcfg-bond0DEVICE=bond0BOOTPROTO=noneIPADDR=192.168.32.2NETMASK=255.255.25..
分类:
其他好文 时间:
2014-12-01 16:13:33
阅读次数:
159
查看网卡信息:ethtoolDEVNAME Settings for eth6: Supported ports: [ FIBRE ] #可以看出网卡类型:光口或电口 Supported link modes: 1000baseT/Full Supported pause frame ...
分类:
其他好文 时间:
2014-11-20 11:52:29
阅读次数:
569
现在有些主机有多个网卡如何将每一 NIC 配置同一个网段的不同IP地址:
1、用 ifconfig 查看有多少个网卡:
我的主机就有 NIC:eth0 和 eth8
在eth0 上已经配置了一个IP 现在我需要在eth8上面配置 IP地址
2、首先检查NIC 是连接良好:比如接口的灯是否闪亮,接口的线是否良好
用工具ethtool 查看:ethtoo...
分类:
系统相关 时间:
2014-10-31 15:43:27
阅读次数:
407
命令描述:ethtool是用于查询及设置网卡参数的命令。使用概要:ethtoolethx//查询ethx网口基本设置,其中x是对应网卡的编号,如eth0、eth1等等ethtool–h//显示ethtool的命令帮助(help)ethtool–iethX//查询ethX网口的相关信息ethtool–dethX//查询ethX网口注册性信息ethtool–..
分类:
其他好文 时间:
2014-09-16 10:54:11
阅读次数:
428