以下是我想到的一些选项,不确定哪个是正确的。
wpa_supplicant.conf
当我作为客户端连接到接入点时,是否可以欺骗在 Android 中使用的无线接口的 MAC 地址 ?
编辑 不幸的是,Android 不支持
ifconfig eth0 hw ether 00:00:00:00:00:00
Run Code Online (Sandbox Code Playgroud)
我一直在用
ip link set eth0 address 00:00:00:00:00:00
Run Code Online (Sandbox Code Playgroud)
但这只是暂时的。在我断开连接并重新连接到接入点后,mac 会自行重置。
这里有一些选项
a) rm -f
b) rm "-f"(双引号)
c) rm '-f'(单引号)
d) 以上所有
e) 以上都不是