Permanently disable Mac randomization - Google Pixel 4 XL Questions & Answers

Hi,
how can I permanently disable MAC adress randomisation?
I can set this for each connection separately but I want to disable this feature completely.
Thx

Doenerbude said:
Hi,
how can I permanently disable MAC adress randomisation?
I can set this for each connection separately but I want to disable this feature completely.
Thx
Click to expand...
Click to collapse
From this site, it would appear you cannot in Android 10: https://source.android.com/devices/tech/connect/wifi-mac-randomization
I'm curious though, what use case do you have where you want to do this?

JohnKuczek said:
From this site, it would appear you cannot in Android 10: https://source.android.com/devices/tech/connect/wifi-mac-randomization
I'm curious though, what use case do you have where you want to do this?
Click to expand...
Click to collapse
I don't like that it's the default setting. For some reason, if I change WiFi networks (away from the one that autoconnected), I have to re-enter the password and have to remember to change it back to "Use device MAC".

brandon5491 said:
I don't like that it's the default setting. For some reason, if I change WiFi networks (away from the one that autoconnected), I have to re-enter the password and have to remember to change it back to "Use device MAC".
Click to expand...
Click to collapse
Is MAC randomisation causing a problem for you? Maybe someone can help if they understand the issue.

I have several WiFi networks to deal with at work and access control is based on MAC address.
Thats no security thing, only offline networks for testing purpose. SSID changes often and I always forget to change the setting...
@brandon5491 had the same issue with WPA3 but seems to be fixed with March Update (or newer AP firmware)

I have several WiFi networks to deal with at work and access control is based on MAC address.
Thats no security thing, only offline networks for testing purpose. SSID changes often and I always forget to change the setting...
@brandon5491 had the same issue with WPA3 but seems to be fixed with March Update (or newer AP firmware)

Well iOS and Android do MAC randomisation so it will be more than just you struggling with this issue, maybe raise the problem with your work? Maybe there is a tasker addon that can turn the option off based on some rule you create.
As for stopping you, I'm not sure how? If you join a network the device will use its fixed hardware MAC address which is approved. The MAC filtering should not be enforced unless you are connected to the network.

Randomized MAC addresses and IoT Devices
JohnKuczek said:
From this site, it would appear you cannot in Android 10:
I'm curious though, what use case do you have where you want to do this?
Click to expand...
Click to collapse
For me, it makes it nearly impossible to onboard new smart devices. Lifx, Kasa, Samsung, etc all need static MAC when adding them. You have to stop the install, go change the setting on the wifi for each device, then start the install all over again.
William

Related

Monitor Froyo hotspot clients?

Hi,
Let's say I want to check, who's connected to my hotspot. I've searched for an application or terminal commands that can show this info, but didn't find anything. Is there such a thing?
Thanks,
William.
Good question, I'm interested as well.
Sent from my Nexus One using XDA App
i never tried to monitor wifi hotspot clients but i think these ways should work.
way 1:
goto terminal, type:
arp -a
this command displays all entries, since the wifi connection actually makes the phone a router, so all connected clients should have corresponding arp entry.
way 2:
goto market and download Network Discovery application, use it to scan the whole network. Also it provides port scanning function too.
(but .. this application usually crashes on my phone after scanning for long time)
Interesting, thanks. I'll test and reply.
Tested, even the basic "busybox arp" with no switches works. The result needs to go through grep or use "specify interface" switch to avoid showing the 3G data IP.
I suppose that access control has to be implemented in the kernel, so I won't mess with it - but now I have a script line to see, who's connected. Thanks
And one day someone could write a widget for it. At least modify the on/off widgets to show the number of connected clients.
Any more news on this? The network discovery app kind of worked, but it had to use wifi which disabled tethering.
I think there has to be a way to see who is connected to your hotspot at one time without disabling anything.
The Palm Pre Plus on Verizon does this automatically. There are a lot of features that phone has that I wish android would impliment...Man it would have been nice if google had bought palm
Jack_R1 said:
Tested, even the basic "busybox arp" with no switches works.
Click to expand...
Click to collapse
Is that news?
You want an app/widget for that? There is none. I've turned to the creator of the "hotspot widget" and asked him to implement counter for connected clients (which should good enough for anything I can think of), but I got no answer. I also tried to find any open-source code for such widget to modify and add the functionality, but didn't find any.
The older Eclair CM build had such app for manual control, showing MACs of connected clients.
I dont think the stock froyo tethering implements this but the wired/wireless tether apps included in 2.1 roms has the function, mac address filtering too =D

[Q] WiFi hotspot management?

On Symbian I could add all separate WiFi hotspots, routers, etc, to a big list of "Connection Points", and configure them separately. However, looks like there is no option for this on Android. Did I miss something or I really can't set up different proxy/static IP for different hotspots? I would need this feature really bad, as my school router uses a set of settings with the proxy, the home connection needs static IP (what of course does not works with the school system) and for open networks I need clean settings.
So, is there any apps or setting options to have separate set-ups for separate hotspots?
No idea, anyone?
fonix232 said:
No idea, anyone?
Click to expand...
Click to collapse
You cant do it like on symbian(never used it), you can change the settings for the wifi network, currently on and that's it...What you want is not available as far as i know.

[Q] How to set Proxy on Nexus One Gingerbread 2.3.3?

Hi all,
I need to access my campus internet through wifi. It has a given proxy adress and port. How can I access it using my unrooted nexus one?.....
Thanks,
Android does not natively support a non-transparent proxy.
GldRush98 said:
Android does not natively support a non-transparent proxy.
Click to expand...
Click to collapse
I see. So, I have no choice but to root my phone to use the proxy....
Previously I used the Firefox mobile browser to bypass proxy settings. However, the only application you can use on your phone is the Firefox browser itself.
# Run Firefox, and in address bar type: about:config. This will take you to the advanced configuration panel.
# Now you need to find proxy entries, to simplify that you can filter it out by typing proxy in the field below address bar.
# Modify network.proxy.http and network.proxy.http_port to your proxy server and port.
# Set network.proxy.type value to 1.
I am not sure if this still works but give it a try.
eky said:
I see. So, I have no choice but to root my phone to use the proxy....
Click to expand...
Click to collapse
Yeah... or as madballs (lol) posted, you can try the Firefox beta. But keep in mind, on Firefox will work... no other data services on the phone will.
It is kind of crappy they don't support it, especially when there are other roms out there that have this little function added in.
LOL, I was surprised nobody has taken this name when I registered.
I really cant understand ,, if they could add proxy settings to the browsers without rooting,,
why don't the developers add it in their apps?!?!
Go to the wifi settings there push the menu button and select advanced.
now you have a list within you can set your proxy settings over the current wifi connection.
I have tested it with my DHD at work. works perfect but hope they will connect to the same concept for proxy as by android 3.2.
There you can configure a proxy for each connection.
Cheers
Dave
And sorry for english skills...

WiFi MAC Randomization

Hello everyone! Good day!
Does anyone know if this feature is implemented in the Note 9? I could not find the setting in Developer Options but Android Documentation says its available in Android Pie.
Thanks
Google say it is inbuilt with no need for a on/off switch
https://support.google.com/fi/thread/293417?hl=en
raul6 said:
Google say it is inbuilt with no need for a on/off switch
https://support.google.com/fi/thread/293417?hl=en
Click to expand...
Click to collapse
Thus, it's not, and thankfully because I activated mac filtering on my network and it would have been a pain otherwise.
Then for Android Q
https://www.androidpolice.com/2019/...es-by-default-with-per-network-customization/
I hope it won't be mandatory because it would be a use drawback for home network security.
raul6 said:
Google say it is inbuilt with no need for a on/off switch
Click to expand...
Click to collapse
Hi Raul, I tested this on my home network but the address was not randomizng. Looks like Samsung didn't implement the option.
Nastrahl said:
I hope it won't be mandatory because it would be a use drawback for home network security.
Click to expand...
Click to collapse
Yes, that true. But there times when this is useful too. When using Public WiFi for example.
raul6 said:
Google say it is inbuilt with no need for a on/off switch
https://support.google.com/fi/thread/293417?hl=en
Click to expand...
Click to collapse
It is COMPLETELY INCORRECT. Didn't you see the 11 thumb downs and the link he provided? It's explicitly said "disabled by default". Also, is that answer from google?
The truth is, in Samsung's OS, there are 2 wifi interfaces - wlan0 and swlan0. The former uses a MAC Address initialized from /efs/wifi/.mac.info during boot, and the latter has a randomized address. Only wlan0 will be used by default (without modding the system), so the address will never be randomized.
xdauser'17 said:
It is COMPLETELY INCORRECT. Didn't you see the 11 thumb downs and the link he provided? It's explicitly said "disabled by default". Also, is that answer from google?
The truth is, in Samsung's OS, there are 2 wifi interfaces - wlan0 and swlan0. The former uses a MAC Address initialized from /efs/wifi/.mac.info during boot, and the latter has a randomized address. Only wlan0 will be used by default (without modding the system), so the address will never be randomized.
Click to expand...
Click to collapse
From the same link
"..
Matthew Wolffsohn
5/26/19
It looks like there are two misconceptions here:
To those saying the feature is disabled: No, randomisation when joining a network is disabled. The feature is always active when disconnected from a network.
..."
raul6 said:
From the same link
"..
Matthew Wolffsohn
5/26/19
It looks like there are two misconceptions here:
To those saying the feature is disabled: No, randomisation when joining a network is disabled. The feature is always active when disconnected from a network.
..."
Click to expand...
Click to collapse
It's not available in the Note 9 Exynos regardless of the WiFi connection status.
TalesFromThePlanetEarth said:
It's not available in the Note 9 Exynos regardless of the WiFi connection status.
Click to expand...
Click to collapse
Well, I guess he meant wifi probing
Starting in Android 8.0, Android devices use random MAC addresses when probing for new networks while not currently associated to a network.
Click to expand...
Click to collapse
These are also from the link I mentioned in my previous message. I've seen that before I found this thread, and it's another thing.
Its working on android Q Note 9 exynos

Use your phone's VPN in your computer without root.

I have seen a lot of people wondering about how to use your phone's vpn in pc. If you're one of them, than keep reading.
To do this you do not need root
Works on any computer OS
Works on home wifi or data hotspot
When your PC is connected with your WiFi or hotspot, it's sends all the request directly, regardless of your phone's vpn, wheather it is on or off. When you turn on the phone's VPN, all the traffic from your phone goes through the VPN, and we have to divert your PC's traffic through the same route.
There are a lot of different ways to do this, but we will use proxy method.
Download an app called proxy server (<1MB), you can find it in PlayStore or here on XDA. Or any other app would do, it just needs to have the capability to create a proxy server.
So (for Proxy server app) all you have to do is (first time setup)-
Open the app.
Click on the add button at the top, give it a name.
Remember the port and go back.
On the dialogue, click save.
Click on Info at the top, note the wifi ip, go back.
Click on Start at the top to start the server.
Go to PC's browser (or network proxy, if you want to tunnel everything) settings.
Put the proxy server ip (the wifi ip noted earlier) and the port.
Turn on your phone's VPN
Enjoy :good:
If you're using hotspot, go to pc's network settings or ipconfig (google if you don't know how) to find out the gateway, that will be your proxyserver ip.
Just in case it seems to be a lot of steps, know that, you only have to setup once, after that its pretty much start and stop on both your phone and PC. I have an addon installed in my browser (proxy toggle) so basically it's a single-click step.
I'm no scientist, so I don't know all the billions of methods to do this, but this is just a good old method that's going unnoticed somehow. I'm just trying to help people here by sharing it here. If you already knew it, good for you. If you didn't, congratulations and good luck.
:good:
Please
ssaikia3 said:
I have seen a lot of people wondering about how to use your phone's vpn in pc. If you're one of them, than keep reading.
To do this you do not need root
Works on any computer OS
Works on home wifi or data hotspot
When your PC is connected with your WiFi or hotspot, it's sends all the request directly, regardless of your phone's vpn, wheather it is on or off. When you turn on the phone's VPN, all the traffic from your phone goes through the VPN, and we have to divert your PC's traffic through the same route.
There are a lot of different ways to do this, but we will use proxy method.
Download an app called proxy server (<1MB), you can find it in PlayStore or here on XDA. Or any other app would do, it just needs to have the capability to create a proxy server.
So (for Proxy server app) all you have to do is (first time setup)-
Open the app.
Click on the add button at the top, give it a name.
Remember the port and go back.
On the dialogue, click save.
Click on Info at the top, note the wifi ip, go back.
Click on Start at the top to start the server.
Go to PC's browser (or network proxy, if you want to tunnel everything) settings.
Put the proxy server ip (the wifi ip noted earlier) and the port.
Turn on your phone's VPN
Enjoy :good:
If you're using hotspot, go to pc's network settings or ipconfig (google if you don't know how) to find out the gateway, that will be your proxyserver ip.
Just in case it seems to be a lot of steps, know that, you only have to setup once, after that its pretty much start and stop on both your phone and PC. I have an addon installed in my browser (proxy toggle) so basically it's a single-click step.
I'm no scientist, so I don't know all the billions of methods to do this, but this is just a good old method that's going unnoticed somehow. I'm just trying to help people here by sharing it here. If you already knew it, good for you. If you didn't, congratulations and good luck.
:good:
Click to expand...
Click to collapse
Can you explain me how does vpn work?
I mean when I connected to my home wifi, I connected with my pc( Desktop ) too.
So I mean do I still need vpn to use Internet?
Thanks!!!!
ssaikia3 said:
I have seen a lot of people wondering about how to use your phone's vpn in pc. If you're one of them, than keep reading.
To do this you do not need root
Works on any computer OS
Works on home wifi or data hotspot
When your PC is connected with your WiFi or hotspot, it's sends all the request directly, regardless of your phone's vpn, wheather it is on or off. When you turn on the phone's VPN, all the traffic from your phone goes through the VPN, and we have to divert your PC's traffic through the same route.
There are a lot of different ways to do this, but we will use proxy method.
Download an app called proxy server (<1MB), you can find it in PlayStore or here on XDA. Or any other app would do, it just needs to have the capability to create a proxy server.
So (for Proxy server app) all you have to do is (first time setup)-
Open the app.
Click on the add button at the top, give it a name.
Remember the port and go back.
On the dialogue, click save.
Click on Info at the top, note the wifi ip, go back.
Click on Start at the top to start the server.
Go to PC's browser (or network proxy, if you want to tunnel everything) settings.
Put the proxy server ip (the wifi ip noted earlier) and the port.
Turn on your phone's VPN
Enjoy :good:
If you're using hotspot, go to pc's network settings or ipconfig (google if you don't know how) to find out the gateway, that will be your proxyserver ip.
Just in case it seems to be a lot of steps, know that, you only have to setup once, after that its pretty much start and stop on both your phone and PC. I have an addon installed in my browser (proxy toggle) so basically it's a single-click step.
I'm no scientist, so I don't know all the billions of methods to do this, but this is just a good old method that's going unnoticed somehow. I'm just trying to help people here by sharing it here. If you already knew it, good for you. If you didn't, congratulations and good luck.
:good:
Click to expand...
Click to collapse
More explanations are needed thanks
Ewaret said:
Can you explain me how does vpn work?
I mean when I connected to my home wifi, I connected with my pc( Desktop ) too.
So I mean do I still need vpn to use Internet?
Thanks!!!!
Click to expand...
Click to collapse
I think it'd be better if you go watch a video on YouTube, explaining "what is a vpn" . If I try to explain you here, chances are you're going to get confused even more.
sl13kp said:
More explanations are needed thanks
Click to expand...
Click to collapse
Start VPN in phone
Start proxyserver app in phone
Set the proxy IP and port in your PC browser
It's a 3 step process. If you still need help, you should ask more specifically, a generic "more explanation needed" doesn't pin point where should I start.

Categories

Resources