Whats the command to find Nic cards serial numbers in linux?
Whats the command to find Nic cards serial numbers in linux ? I tried dmidecode options and l开发者_运维知识库show
may be I missed some thing
I'm not sure about serial numbers, but lspci gives me the following information about my ethernet card:
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
If you haven't mucked with your MAC address since bootup, it will be globally unique. See http://www.coffer.com/mac_info/locate-unix.html
NICs aren't required to have any other serial number than that, and if they do it might not be electronically readable.
Use "ifconfig" to get each ports globally unique MAC Addresses
ifconfig -a
For all adapters
精彩评论