日期:2014-05-16  浏览次数:20686 次

在Linux下,在网络没有配置好前,如何查看网卡的MAC地址?

在Linux下,在网络没有配置好前,如何查看网卡的MAC地址?

使用 dmesg 与 grep 命令来实际,如下:

[root@localhost ~]# dmesg | grep eth
e1000 0000:02:01.0: eth0: (PCI:66MHz:32-bit) 00:0c:29:5b:f7:c2
e1000 0000:02:01.0: eth0: Intel(R) PRO/1000 Network Connection