1) 通过mii-tool指令 [root@localhost root]# mii-tool eth0: negotiated 100baseTx-FD, link ok eth1: no link 或 [root@localhost root]# mii-tool -v eth0: negotiated 100baseTx-FD, link ok product info: vendor 00
分类: 1) 通过mii-tool指令 [root@localhost root]# mii-tool eth0: negotiated 100baseTx-FD, link ok eth1: no link 或 [root@localhost root]# mii-tool -v eth0: negotiated 100baseTx-FD, link ok product info: vendor
怎么查看当前的网络状态,这里就不着重描述,用ifconfig命令就可以.我们直接进入主题. red hat系统中的网卡配置在这个目录中:/etc/sysconfig/network-scripts 1.进入网卡配置的目录 cd /etc/sysconfig/network-scripts/ red hat和ubuntu的网卡配置是不一样的,ubuntu中将所有的配置都写在同一个文件中,而red hat是每个网卡都是独立一个文件. 所以在这里目录中可以看到这两个文件,ifcfg-eth0和ifcf
由于ifconfig命令没法看到网卡的一些状态, 以下有5种方法查看网卡状态,是否连通网线 1)# dmesg | grep eth.....e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Nonee1000: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None 2)# mii-tooleth0: negotiated 100baseTx-FD,