How to change the MAC address of wlan0 in DORMANT mode?
-
I opened a terminal and typed "ip link".
wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 3000
It shows "link/ether" and then the permanent MAC address.
wlan1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group qlen 3000
It shows "link/ether" and then the MAC address.
I was experimenting with "macchanger" on my Pixel 3a to change the MAC addresses of the devices and all worked except for "waydroid0" and "wlan0". I brought the network down and tried "sudo ip link set wlan0 mode default". Then I succesfully changed the MAC address for "wlan0". I then brought the network back up, did "ip link", and saw that "wlan0" had the permanent MAC address back and was labeled "DORMANT" again. All other device addresses kept the changed MAC addresses ("waydroid0" did not change).
Is there a way to change the MAC address of "wlan0"? Is "waydroid0" going to have a permanent by design MAC address?