Mac Address Spoofing : Unable to connect to WIFI after Mac Change - Moto G Q&A, Help & Troubleshooting

-- I'm using Moto 1Gen device.
-- Rooted the device
-- Changed the mac using an application from playstore
-- After the change, The device is unable to connect to any AP/Wifi
-- I have confirmed the MAC update also via the netcfg command, but android settings -> wifi-> advanced shows old mac address
-- I have revised my router logs and surprise, after update the MAC address, the router is receiving requests with the stock MAC address.
How to fix this?

Related

[Q] Bluetooth tethering Android - Mac doesn't work

This problem is on both cm12s (oneplus) and stock android (5.0 and 5.1 on nexus 5)
Obviously I can pair with my Mac (latest Mac OS) and click "connect to network" there. This shows up correctly in the status bar of my phone (1 device connected to Internet sharing through bluetooth).
Now the problem is when I check the status of the PAN network on my Mac, it says "self assigned IP address" and renewing the DHCP lease doesn't work. I assume I can change the address to "manual" but there must be a better way? I've tried on 2 different macbooks, no difference. Also, how can I find the internal ip/gateway on Android to even try the manual IP address?
I don't have any issues with bluetooth tethering to my other Android devices.

cant connect to wifi after mac spoofing please help

i want to change my mac address but after mac spoofing my device does not connect to wifi
my device is rooted
i have installed busy box
but when i try to change mac adress using any app like mac address ghost , mac address spoofing etc
but when i change the mac address the app says mac address succlesfully changed but does not conect to wifi
but when i change my mac address to orginal it works well but i want to change my mac adress and use wifi
i tried to forget the network and recconect wifi ...still does not work
i tried to connect to other network still does not connect and i tried to connect in other ways but still does not connect
plz help

May update changed MAC address

I just received and installed the latest release (00WW_4.15C) and by default it chooses a random MAC address. As my router is using static DHCP based on MAC, I had no wifi connection, I had to reset the settings... it is SSID based, so for my home network I keep the real MAC, but all others still use random MAC.
You can disable Android's MAC randomisation in every Wifi network's "advanced" settings section.

Privacy: How to set a random MAC address upon every Wi-Fi connection

Privacy: How to set a random MAC address upon every Wi-Fi connection
I post this for two reasons, the first being I just learned this and therefore I want others to benefit from my newfound knowledge:
"Every time your device connects to a new network it can use a randomized MAC address. Why is this important? To put it simply: Privacy."​which seems to apply to a variety of Android releases:
"Starting in Android 8.0, Android devices use randomized MAC addresses when probing for new networks while not currently associated with a network. MAC randomization prevents listeners from using MAC addresses to build a history of device activity, thus increasing user privacy."​
And the second reason is that those who know more than I do can further add technical value to this topic.
What I did on Android 11 was I changed the following two settings which I believe add to privacy.
Android11-Settings > Connections > Wi-Fi > GearIcon > Advanced > MAC Address Type
Set to either {Randomized MAC} or top {Phone MAC}
Settings > Developer options > Networking > Enhanced Wi-Fi MAC randomization
Turn either {ON} or {OFF}
"Change this phone's MAC address each time it connects to a network that has MAC randomization turned on."
One caveat is the following:
"Once a random MAC address is used for a given network profile, the mobile device will continue to use the same random MAC address even after the user deletes the network profile and recreates the SSID/network profile."
Another caveat is the following:
"There is a bit which gets set in the OUI portion of a MAC address to signify a randomized / locally administered address. The quick synopsis is look at the second character in a MAC address, if it is a 2, 6, A, or E it is a randomized address."
If you're aware of additional technical information on this privacy topic, please add it to this thread so that we all benefit from your knowledge.
Thanx,
I did option 2 - Settings - Developer Options - Networking - Enhanced Wi-Fi MAC Randomization - as to On, and I tried googling where to find your first option 'Randomized MAC' on Android 11, but I can't find a solution as to why I don't see that 'Randomized MAC' option there on my Samsung Galaxy S21 Ultra, it is updated.
May you possibly tell me if you know of whether if I should have both your suggested options enabled and why I maybe can't see option 1 for me?
Hi, I cant find the setting Privacy - Use Randomized MAC on my Galaxy Note 8 but on my Mi Mix 2S, this option is there. Tried MacRandomizationEnabler module on Magisk but there's no changes. Tried it on various Roms Q/R/S for Note 8 but cant seem to get it to appear.
helionexusbiz said:
Thanx,
I did option 2 - Settings - Developer Options - Networking - Enhanced Wi-Fi MAC Randomization - as to On, and I tried googling where to find your first option 'Randomized MAC' on Android 11, but I can't find a solution as to why I don't see that 'Randomized MAC' option there on my Samsung Galaxy S21 Ultra, it is updated.
May you possibly tell me if you know of whether if I should have both your suggested options enabled and why I maybe can't see option 1 for me?
Click to expand...
Click to collapse
Try going in WiFi setting while being connected to a WiFi network. You will see a 'gear' icon beside the connected WiFi name. click on that then click on 'advanced'. Hope you will find what you are looking for.
Though I might be too late to reply, but anyway. I just got into (and presumably out of) this mess.
I think I might know where other people might be having issues...
Some routers are set to recognize devices by their MAC address (which won't work anymore with MAC randomization).
First, let me state unequivocally that I have been successfully using MAC randomization on Android 11 (which randomizes per SSID and only changes that randomization under certain circumstances) and I've been successfully using MAC randomization on Android 12 (which randomizes on every connection if you set the Developer options for that).
But I changed a few other (unrelated!) Wi-Fi settings that others might not be setting; (but maybe they matter?).
I don't think most of those Wi-Fi changes I've made are needed for MAC randomization to work per connection, though, as I did them only because I have other tools (like scrcpy and vysor and webdav which you can see in the screenshots below) which work best with a static IP address on the phone (and I hide my router broadcasts for privacy reasons - and yes - I said privacy and not security as Google/Mozilla/Kismet/Wigle/etc. still get your SSID even if you add "_nomap" and "_optout_" to that SSID).
But that's what I think may be DIFFERENT in my setup than in your setup (but I would think my setup would be harder to set up than for most people since my router doesn't broadcast the SSID and my phone doesn't try to reconnect to that SSID when I leave the home due to geofencing tricks).
Anyway, the things I did different from (perhaps?) most people are:
I set Developer options to Enhanced Wi-Fi MAC randomization
(Enhanced Wi-Fi MAC randomization = on)
I set the Android Wi-Fi to request a static IP address
(IP settings = Static)
I set the router to address reservation for that IP address
(Address Reservation = on)
I set the Android Wi-FI to not attempt to reconnect upon failure
(Auto reconnect = off)
I set Developer options to allow wireless debugging
(Wireless debugging = on)
But I want to stress that almost all those Wi-Fi settings I changed that may be different from others weren't necessarily for the MAC randomization feature to work but for other Wi-Fi privacy and functionality features to work, including:
Causing a new Wi-Fi MAC randomization on every connection
Not broadcasting the home Wi-Fi SSID (on the phone) whenever I'm away from home
Not broadcasting the Wi-Fi SSID (on the router) when I'm at home (in addition to using "_optout_" & "_nomap" names).
Mounting the entire phone (root & external SD included) as a read/write drive letter on Windows over Wi-Fi (using WebDav)
Mirroring the Android phone on Windows over Wi-Fi so that I can use the Windows keyboard & mouse & clipboard on the phone (using Vysor and/or Scrcpy) & so that I can just slide an APK from Windows to Android over Wi-Fi to install it onto Android
etc.

Assigning a static IP address to a phones hotspot

How can I assign a static IP address to my phones hotspot?
I use the hotspot on my Samsung M31 to connect my laptop running Windows 10 to the internet.
I also have Oracle's Virtual Box VM running a few test websites on the laptop on Ubuntu Server 22.04, which need a static IP address to access.
A few days back when I ran ipconfig at the Windows command prompt, it showed my wireless IP address as 192.168.166.135. Today, it show as 192.168.35.125. Meaning, all my sites are now broken. Is there a way to stop the hotspot from changing IP addresses?
Can someone please help?
Thanks,
normanscr said:
How can I assign a static IP address to my phones hotspot?
I use the hotspot on my Samsung M31 to connect my laptop running Windows 10 to the internet.
I also have Oracle's Virtual Box VM running a few test websites on the laptop on Ubuntu Server 22.04, which need a static IP address to access.
A few days back when I ran ipconfig at the Windows command prompt, it showed my wireless IP address as 192.168.166.135. Today, it show as 192.168.35.125. Meaning, all my sites are now broken. Is there a way to stop the hotspot from changing IP addresses?
Can someone please help?
Thanks,
Click to expand...
Click to collapse
I don't know the answer to your question directly as your situation is more complicated than is mine but I will try to help in so much as you can at least check what your current settings are.
My setup is only similar to yours in that I have apps (such as vysor & scrcpy) on Windows which are expecting a static IP address from my phone. However, where my setup differs from yours is I'm not using my phone as a hotspot - the router is assigning the IP addresses.
However, maybe what I've learned by randomizing my MAC address on each connection can help you - where I say maybe - as I your situation is using the phone as a hotspot and mine is passively accepting the IP address handed to the phone by the router.
In Android 11, the phone's Wi-Fi radio MAC address can be randomized per SSID, in which case the "address reservation" feature of most routers (often incorrectly called "static" IP addresses) won't work as intended. Worse, in Android 12, in Developer options, you can set a switch to randomize the Wi-Fi radio MAC address of the phone on every connection, regardless of the SSID.
Hence, you have to set the "static" IP address request in the phone itself, so that the router will respect that request for a static IP address.
(As an extra complexity, my SSID broadcast is hidden for privacy reasons (not for security - but privacy), which complicates things only a tiny bit as you have to turn off auto-reconnect for privacy.)
See the images below where maybe (but maybe not!) this information will help you track down why in your (hotspot) case, this static IP address requrest isn't being honored in your hotstpot setup.
normanscr said:
How can I assign a static IP address to my phones hotspot?
I use the hotspot on my Samsung M31 to connect my laptop running Windows 10 to the internet.
I also have Oracle's Virtual Box VM running a few test websites on the laptop on Ubuntu Server 22.04, which need a static IP address to access.
A few days back when I ran ipconfig at the Windows command prompt, it showed my wireless IP address as 192.168.166.135. Today, it show as 192.168.35.125. Meaning, all my sites are now broken. Is there a way to stop the hotspot from changing IP addresses?
Can someone please help?
Thanks,
Click to expand...
Click to collapse
Hi ,
if You are the lucky owner of a rooted phone you can try this:
How do I assign a permanent static IP address to hotspot in Android 10
I would like to assign a permanent static IP address to hotspot in Android 10 (Unofficial LineageOS 17.1 for Natrium by LuK1337, rooted with Magisk v20.3 and updated to Jan 11, 2020 build). Now whenever I turn on the hotspot, it assigns a...
forum.xda-developers.com
To assign a static IP address to your phone's hotspot:
Go to your phone's settings and find the hotspot or tethering settings.
Look for the option to set the IP address as "Static" or "Manual."
Enter the desired IP address, subnet mask, gateway, and DNS server information.
Save the settings and restart the hotspot.
For more details, you can check out https://1921681.mobi/192-168-100-1/. Hope this helps.

Categories

Resources