导读: 在Linux下,在网络没有配置好前,如何查看网卡的MAC地址? 使用 dmesg 与 grep 命令来实际,如下: [plain] view plaincopy [root@localhost~]#dmesg|grepeth e10000000:02:01.0:eth0:(PCI:66MHz:32-bit)00:0c:29:5b:f7:c2 e10000000:02:01.0:eth0:Intel(R)P...
在Linux下,在网络没有配置好前,如何查看网卡的MAC地址?
使用 dmesg 与 grep 命令来实际,如下:
[plain] view plaincopy
[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