WiFi MAC address spoofing
I am setting up Replicant 6.0-0003 on my Galaxy S3 (i9300) and so far it's working great! (Many thanks to everyone who has contributed to the project!)
Now I am configuring wifi, and trying to randomize the device's MAC address before associating with the access point. In other versions of android I was able to do this in terminal:
svc wifi enable
ip link set dev wlan0 address MY_MAC_ADDRESS
ifconfig wlan0 hw ether MY_MAC_ADDRESS
after which the new address would be visible through
ip link show wlan0
But using this method on replicant the MAC address does not change :(. There are no errors in console or logcat.
I am using the phone's internal wifi chip with the proprietary firmware extracted from the LineageOS zip file, as explained in
(of course not great to have to use proprietary blobs)
Does anyone know how to spoof MAC address on this phone / this version of Replicant?