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.
Related
Hi everyboy, I have an Blue Angel with WM6.5.3 from sun_dream. I can't connect to my home wifi or any wifi. I configured my router like this:
DHCP off
Wirless all
WPA-PSK
TKIP
64bit
I can't connect even to open wifi accespoints(hotspots).
I start the wirelss manager, tap on wirelss on and after that the wireless network appears. I click connect and nothing happens. In the network manager the connectios is available, i click connect, it says connecting and than again it says available.(any hot sopt or the home network, for that at home i entered the mac into the router and have written the ip an dns to the phone wirelss card)
Pleas help, it is a great phone i like it but this is the only problem i have.
PS: I even commanded an bluetooth gps unit. Is there any way to change the hardware and install an "g" wireless card?
Shouldn't DHCP on your WiFi router be set to 'On' and also for the phone as well. It will select an IP address for your device, which will then pick it up.
Otherwise you will have to allocate an IP address on the router, and then set the phone to the same address. If they don't match it won't work
It's a lot easier to let DHCP do all the donkey work. In most public areas DHCP is used as it is a 'Start it and forget it' system.
I set dhcp off because i assign an ip adress to every pc manualy and even have an mac filter where again the ip is written. I set the same ip on the phone as i had written it in the router config.
I can't acces even public wireless spots. I have the problem that it says the connection is available and then it says connecting and instead of connected it says avaialble.
Where do I set the LAN (WiFi) Computer name in the Captivate. My router has functions that require either the host name or the IP address of the host. Using the host name for DHCP clients makes it a lot easier to configure some of these settings. The way I'm currently doing it by reserving an IP address for the MAC address of the Captivate WiFi NIC.
I can see where the host name can be changed for Bluetooth, but not for WiFi.
Good question, I dont know. So far from what I've seen when looking in my wifi router while connected, the phone doesnt have a "name". The name field is just blank, all it shows me is the mac address of the phone, and the IP address assigned to the phone.
I've looked under wifi settings and advanced wifi settings and dont see anything.
For all the users that are having WIFI issues with the Android Illuminate 1.x Honeycomb ROM and Wifi.
First Forget your existing Wifi connection in the wifi setup and then when you go to reconnect modify the connection settings IP setting to be Static and not DHCP as the wifi issues are related to DHCP connections and not getting an IP address.
Pick an address high enough that it will not interfere with any of your existing devices and then set you IP Address manually
exp: IP 192.168.18.188
GW 192.168.18.1
Network Prefix ie 24 for 255.255.255.0
then set your DNS servers
DNS 192.168.18.1
DNS 4.2.2.2 or what ever your DNS servers are
This worked for me and I have a solid connection to my wifi. Note I also setup a static reservation in my netgear router to reserve my address from being assigned to another device. Good Luck
jocallag997 said:
For all the users that are having WIFI issues with the Android Illuminate 1.x Honeycomb ROM and Wifi.
First Forget your existing Wifi connection in the wifi setup and then when you go to reconnect modify the connection settings IP setting to be Static and not DHCP as the wifi issues are related to DHCP connections and not getting an IP address.
Pick an address high enough that it will not interfere with any of your existing devices and then set you IP Address manually
exp: IP 192.168.18.188
GW 192.168.18.1
Network Prefix ie 24 for 255.255.255.0
then set your DNS servers
DNS 192.168.18.1
DNS 4.2.2.2 or what ever your DNS servers are
This worked for me and I have a solid connection to my wifi. Note I also setup a static reservation in my netgear router to reserve my address from being assigned to another device. Good Luck
Click to expand...
Click to collapse
Except that this workaround is no help on any network you don't have control over (i.e. public wifi systems), unless they have allowed static IPs in a certain range (unlikely).
They just need to fix the issue in the ROM. I don't have this problem with BoS 4.X, btw.
Well my original post was clearly meant for users on their own home wireless networks, not Wifi Hotspots.
But irregardless the problem is now resolved since the Wifi problem root cause is there being not enough space left in the system partition and some binaries not being copied over during the update.zip flash process.
I took out the 11.5mb \system\media\bootanimation.zip and replaced it with the one from TNT Lite 4.4 which is only 2.2mb. This allowed enough free space for all the binaries to be copied over and it also fixed the problem of the Honeycomb not being rooted.
Prior to the reflash I also reformatted my \system, \cache and \sdcard partitions to make sure everything was replaced reflashed the update.zip. Which I had to mount the \sdcard from Clockwork Mod and copy over the update.zip and recovery folder. I was able to flash the Update.zip with no errors and it completed fully.
Now Wifi works and my device is rooted and I was able to restore all my apps with Titanium Backup Root and all is well.
Now I will be able to surf at all those Public Hotspots I was waiting too.
I have a better fix for the wifi issue. Delete bootanimation.zip file before you flash.
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.
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.