首先,创建或编辑 /etc/NetworkManager/conf.d/100-disable-wifi-mac-randomization.conf
nano /etc/NetworkManager/conf.d/100-disable-wifi-mac-randomization.conf
插入以下内容:
[connection] wifi.mac-address-randomization=1 [device] wifi.scan-rand-mac-address=no
重启树莓派
reboot