Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Whats the command to find Nic cards serial numbers in linux?

Tags:

linux

nic

Whats the command to find Nic cards serial numbers in linux ? I tried dmidecode options and lshow

may be I missed some thing

like image 282
allamiro Avatar asked Oct 15 '25 21:10

allamiro


2 Answers

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)
like image 137
Bradley Kreider Avatar answered Oct 18 '25 12:10

Bradley Kreider


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.

like image 43
Ben Voigt Avatar answered Oct 18 '25 10:10

Ben Voigt



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!