📜  树莓派的mac地址不断变化 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:15.635000             🧑  作者: Mango

代码示例1
Cause:  NetworkManager can randomize your mac
Solution: 
sudo touch /etc/NetworkManager/conf.d/100-disable-wifi-mac-randomization.conf
[Paste the following lines in "100-disable-wifi-mac-randomization.conf" and save]

[connection]
wifi.mac-address-randomization=1

[device]
wifi.scan-rand-mac-address=no