My MAC address keeps changing when ever I turn off the phone or turn on/off the wifi card. It's a big deal because I have to register my device on my network at school, and if it keeps changing it doesn't know who I am.

  • Does it switch between two values or many? (And just to confirm, it's definitely not your IP address that's changing?) – Matthew Read Sep 6 '11 at 21:05
  • Definitely not my ip :) it keeps the manufactor id at the beginning (the first 6 digits) but the last ones are all random – thegreyspot Sep 7 '11 at 14:40

Poking around on google there are a lot of other folks with this problem (MAC address is re-generated on wifi/phone resets). It seems to mostly be Motorola hardware.

Normally a MAC address is burned into the WiFi device. So it seems very, very odd to generate MAC addresses on the fly like this. Too much software (technically incorrectly) relies on MAC addresses as a stable identifier for an endpoint, so this seems likely to cause more problems than it fixes...

Here's a post about the problem from 2010: https://supportforums.motorola.com/thread/38758

The only useful recommendation I saw on the internet was the obtuse 'WiFi Fixer' app, that is known to work around some problems on early Android wifi handsets. I saw no concrete evidence that it 'fixes' this problem.

Alternatively, you could look into the tools for MAC spoofing (AFAICT, these all require a rooted phone). Then just "spoof" a stable address all the time. Here's a highly manual method: http://blog.thecodecracker.com/hacks/spoof-mac-address-in-android/


Maybe this will help some lost soul in the future. It turns out, that in the WiFi advanced options (next to proxy and DHCP options) there's now a feature that randomizes the MAC address (enabled by default!!!).

If I only knew this, before I lost so much time diagnosing my WiFi setup...


Do the MAC addresses repeat, or are they new randomly generated ones every time? It sounds like whatever ROM you're using has MAC spoofing enabled by default.

  • Random, except first 6 digits. I have been on stock rom and had same result thanks! – thegreyspot Sep 7 '11 at 14:41
  • absolutely sounds like spoofing then to me. the first 6 digits are the company identifier (OUI) I believe, so that would explain why that stays the same. – Ryan Conrad Sep 8 '11 at 17:49
  • i mean obviously it is being spoofed. But I have gone back to SBF and installed liberty and apex and they all have the same problem with the mac address – thegreyspot Sep 10 '11 at 15:42
  • 3
    This is a comment not an answer. – Firelord Nov 3 '15 at 13:17

Did you know that you can long press the connection? It was just that simple.

  1. Go to Settings and tap on Wi-Fi.
  2. Turn on the Wi-Fi and connect to a network.
  3. Long press on the connected network and select Modify Network.
  4. Check Show Advance Options.
  5. On IP Settings drop down menu, select Static.
  6. Assign IP of your choice but leave other variable untouched.

This may not be a total fix for businesses and educational establishments, because an IP address with need to be assigned. But for personal devices, this is a life saver!

For further information on this see, visit the article How to Fix Failed to Obtaining IP Address Error in Android.

  • Hello. Please know that you should not expect preventing or restricting the members of this community from editing your post (within the reason the editing is meant for as stated in the help center). It is one of the foundations upon which StackExchange communities are built, so that only what matters the most remains in the post. I understand you might negatively consider my edit against your stated direction. You might feel the temptation to revert the edit, but please know that doing this might rob you with the editing privileges on this post itself. Thank you for contributing here though. :) – Firelord Jun 26 '19 at 15:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.