ubuntu18.04查看网卡mac地址 ifconfig #查看当前网卡 其中eth0 为以太网端口,wlan0为无线网卡 查看网卡的mac物理地址: cat /sys/class/net/wlan0/address waln0为本机的无线网卡