Sample Header Ad - 728x90

Random/change MAC address for WiFi hotspot on Android 11

1 vote
0 answers
1691 views
On Android 11, MAC address randomizations works fine when connecting the phone as a client to a WiFi network. However, I'm looking for a solution to randomize (or specify) the MAC address when sharing the internet connections to others using a WiFi hotspot. For testing purposes, I use a OnePlus 5T with LineageOS dumpling (Android 11) which is rooted with Magisk. I've tried setting the MAC address as I would in a normal Linux environment with ip link set dev wlan1 address XX:XX:XX:XX:XX:XX. This does not work, however. ip a shows the custom MAC, but capturing the beacon frames emitted by the hotspot feature, the original MAC is still the source.
Asked by user915245 (11 rep)
Jan 24, 2022, 12:25 PM
Last activity: Jan 24, 2022, 06:51 PM