GE网卡型号查询
[root@hvrhub ~]# lspci | grep Ethernet
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
[root@hvrhub ~]#
查看网卡网速的另外一个命令:
[root@testb .vnc]# ethtool -i eth0
driver: r8169
version: 2.3LK-1-NAPI
firmware-version:
bus-info: 0000:03:00.0
[root@testb .vnc]# ethtool -i eth1
driver: r8169
version: 2.3LK-1-NAPI
firmware-version:
bus-info: 0000:04:06.0
[root@testb .vnc]#
ubuntu修改网卡接口名
sudo nano /etc/udev/rules.d/70-persistent-net.rules
修改下列字段便成。
NAME="eth0"和 NAME=“wlan0”
随后重启Ubuntu。