Contents ...
udn網路城邦
Get LAN mac from name of LAN card
2020/09/17 15:04
瀏覽32
迴響0
推薦0
引用0
Get LAN mac from name of LAN card

lspci

02:00.0 Ethernet controller:
Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 09)

03:07.0 Ethernet controller:
Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 0c)

cat /sys/bus/pci/devices/0000\:02\:00.0/net/enp2s0/address
74:d0:2b:c8:32:6e

cat /sys/bus/pci/devices/0000\:03\:07.0/net/enp3s7/address
00:02:b3:4b:35:a8
全站分類:不分類 不分類
自訂分類:linux
上一則: ubuntu 16 nfs
下一則: disable linux auto off screen imx6ull

限會員,要發表迴響,請先登入