給這個文件/etc/NetworkNamaner/NetworkManager.conf添加如下內容code
[device] wifi.scan-rand-mac-address=yes [connection] wifi.cloned-mac-address=stable ethernet.cloned-mac-address=stable connection.stable-id=${CONNECTION}${BOOT}