Fairly generic device running a fairly stock Android 6.0 (it is rooted, though).
Every time it connects to a wireless router, it reports a new mac address (changing the last six digits).
The problem: This device never leaves its home base (it will never connect to an outside router), and I need to forward certain WAN ports from the router to this device. Of course, the router (a brand new Huawei) can only forward by mac address, not by IP address. so each new connection basically requires logging into the router and manually updating its configuration (a time consuming and error-prone process). I could live with a different mac address on each boot (since the device is seldom rebooted), but one with each wifi connection is just too much.
I understand the benefits of random mac addresses for devices that connect to a number of access points, but the implementation (with no user control) feels very Apple like ("We know what's best for you. You have to do it our way, and don't get any choice in the matter").
Is there some way of getting a static mac address when I want one (which for this device, is always)?
Related
I've been having issues for a month or two and it seems as though I've finally discovered that usually once they start, the highest assigned IP address has always been 192.168.0.11..
Even when I go into the terminal and change my mac address,I still can't get a different IP. Doing the same on my pc and the router is passing out offers in the 20's... Its the story of my life, any fixes??
PS, is it possible to attain closed networks password key with an android?
Is any one out there able to verify if this is or isn't true?
It certainly seems to be the case on hero with both a 2.2 and a 1.5 rom, with what ever router is attached to some open wireless network that I can't afford at the moment.
Cloned2 said:
I've been having issues for a month or two and it seems as though I've finally discovered that usually once they start, the highest assigned IP address has always been 192.168.0.11..
Even when I go into the terminal and change my mac address,I still can't get a different IP. Doing the same on my pc and the router is passing out offers in the 20's... Its the story of my life, any fixes??
PS, is it possible to attain closed networks password key with an android?
Click to expand...
Click to collapse
If you look carefully at the IP address 192.168.0.11, it's a wrong IP, check here for those router default IP addresses.
Is anyone aware of an app that I can install on my Nexus One, that when used in conjunction with a server app on a pc, will allow me to see the IP address's of my PC's on my phone. I realize this will most likely only work when my phone is on the same network.
The reason I ask is that I have an old laptop running Boxee hooked up to an old CRT TV(can't afford a newer LCD TV). This works fine for watching video's, but the image quality is such that trying to do anything else such as web browsing(Hulu) or system updates is damn near impossible. So if I have to do anything other than Boxee, I'm just going to VNC into the system. The problem is that the router does not allow for setting up static IP's, and it's not my router so I can't install DD-WRT on it, and it also has a habit of changing the client's IP address in the middle of a session. So if I could install a small server app on the PC that would broadcast it's current IP address, I could then easily pull it up on my phone.
Network Mapper by Ian Hawkins does what u want. And it doesnt need a server app.
Another option is to define a static IP without even involving the router. Just set the IP, gateway, netmask, and DNS servers on your boxee laptop manually, and it will continue to work even without the routers consent! The router isn't likely to be smart enough to actually map the addresses it handed out to the traffic it is routing, so it will just blindly pass the traffic.
Chances are, the router is set up to hand out addresses within a certain region - 192.168.1.100 to 192.168.1.150, or something like that. Most of the time, they will just forward all traffic that is in the entire 192.168.1.x range (or at least some reasonable subnet) What you can do is pick an address that won't be handed out by DHCP (192.168.1.2 or 192.168.1.250 or something), and set that manually on boxee. You'll be able to tell pretty quickly if it works! On the off-chance that the router DOES care, you can also try picking an address that is within the range of addresses being handed out, but on the upper end. Realistically, those almost never get used!
Static IP support on the router is nice because you don't have to do any configuration on the client, but if you're willing to put that configuration in (one time), you can get the same results. Worth trying out! That's what we all used to do before routers got fancy (and hacked) to include those cool features.
dyndns updater keeps it in sync and you can always log in online and see your ip address if your router has randomized it
Pc monitor gives you pretty much everything about the pc, including current external ip
Sent from my HTC Glacier using Tapatalk
Se7enLC said:
Another option is to define a static IP without even involving the router. Just set the IP, gateway, netmask, and DNS servers on your boxee laptop manually, and it will continue to work even without the routers consent! The router isn't likely to be smart enough to actually map the addresses it handed out to the traffic it is routing, so it will just blindly pass the traffic.
Chances are, the router is set up to hand out addresses within a certain region - 192.168.1.100 to 192.168.1.150, or something like that. Most of the time, they will just forward all traffic that is in the entire 192.168.1.x range (or at least some reasonable subnet) What you can do is pick an address that won't be handed out by DHCP (192.168.1.2 or 192.168.1.250 or something), and set that manually on boxee. You'll be able to tell pretty quickly if it works! On the off-chance that the router DOES care, you can also try picking an address that is within the range of addresses being handed out, but on the upper end. Realistically, those almost never get used!
Static IP support on the router is nice because you don't have to do any configuration on the client, but if you're willing to put that configuration in (one time), you can get the same results. Worth trying out! That's what we all used to do before routers got fancy (and hacked) to include those cool features.
Click to expand...
Click to collapse
Tried all that recently and it never worked properly.
zachary.hilliker said:
Pc monitor gives you pretty much everything about the pc, including current external ip
Sent from my HTC Glacier using Tapatalk
Click to expand...
Click to collapse
This is perfect, thanks.
I only skimmed through the topic but try fing. It might help.
Sent from my MB860 using xda premium
I am having an issue at office. The wifi router seems to be blocking all Android Devices (i.e administrator has intentionally done it) except for PC & Notebook. For example we have a access point with the name of "ROLEX", if i connect to this access point using my android device then it never works but if i try with my notebook then it connects without any issue. We are facing this issue with almost all android devices.
So is it a way to fool the wifi router that my android device is actually a PC and allows me to connect.
fear_matrix said:
I am having an issue at office. The wifi router seems to be blocking all Android Devices (i.e administrator has intentionally done it) except for PC & Notebook. For example we have a access point with the name of "ROLEX", if i connect to this access point using my android device then it never works but if i try with my notebook then it connects without any issue. We are facing this issue with almost all android devices.
So is it a way to fool the wifi router that my android device is actually a PC and allows me to connect.
Click to expand...
Click to collapse
Are you sure the router is specifically blocking android devices? Have you tried connecting an iPhone or just about any other Wifi capable device that's from outside of the office and haven't notified the IT department of? It feels more likely that the IT dept. is simply doing mac address restrictions where only devices with specific mac addressed are allowed to connect to the network.There also could be an inherent compatibility issues between the phones and the router, that there is no actual blocking going on at all.
imzjustplayin said:
Are you sure the router is specifically blocking android devices? Have you tried connecting an iPhone or just about any other Wifi capable device that's from outside of the office and haven't notified the IT department of? It feels more likely that the IT dept. is simply doing mac address restrictions where only devices with specific mac addressed are allowed to connect to the network.There also could be an inherent compatibility issues between the phones and the router, that there is no actual blocking going on at all.
Click to expand...
Click to collapse
I did my homework before positing this. Its blocking all the portable devices like Iphone & Android. I also thought it might be a MAC address restrictions but i did spoofed my MAC address of my Android device but still it doesn't seems to be working. I wonder how that Wifi Router is blocking all the portable devices
fear_matrix said:
I did my homework before positing this. Its blocking all the portable devices like Iphone & Android. I also thought it might be a MAC address restrictions but i did spoofed my MAC address of my Android device but still it doesn't seems to be working. I wonder how that Wifi Router is blocking all the portable devices
Click to expand...
Click to collapse
the only thing I can think of is to find out what make and model router they're using and read the instruction manual/google questions like "blocking mobile devices from network MXHA-281" (MXHA-281 being the model number for example).
Are you manually adding in the SSIDs or are the devices finding the router on their own? If they're finding it on their own and can't connect, not sure what to tell you except to find out if that model router supports such features.
I'm trying to get my Moto Z2 connected by IPSec to my LAN. Part of that is I want to have it always get a known IP address.
Well the mechanism that most DHCP servers use is setting the MAC to assign a known IP. But checking the logs I find that the Z2 changes MAC every time I establish a new VPN connexion! WTH?
I mean, normally I would see this as a benefit, but I need to be able to pin down what is what so I can give it its rightful IP address, so I can find it later.
When I check interfaces with ipconfig, there are about a dozen of them, and the one getting the VPN IP is tun0.
Nogat 7.1.1, rooted. Anyone know what's going on here?
No one's getting random MACs...
Samsung Galaxy S10e, Android 10 stock.
I am currently a patient at an acute care facility and I use the public Wi-Fi here. Recently, changes were made to the Wi-Fi here, I understand that a new router was installed. Since then, I have been trying to access the Wi-Fi with the correct password, but I get a message that sign in is required and when I click it, I am forwarded to a page that does not load. If I select the menu option to use network as is, I seem to be connected but have no access.
In the past, when accessing this Wi-Fi, I was forwarded to a web page where I had to click a button, and then got access. That page has been gone for quite some time now and the Wi-Fi connected without any issues
Others accessing the Wi-Fi do not seem to have this issue. I tried numerous things to fix this issue, such as deleting the Wi-Fi connection and re-enabling it and resetting the network connection. The only thing that I found that resolves this issue is turning off the randomization of the MAC address and setting it to use the phone Mac address.
For privacy reasons, I would prefer to use the randomized MAC address. If for some reason my phone is being blocked on this network, which is the only thing I can think of, in my limited knowledge of how this works, it would seem my phone Mac address would it be blocked but not a randomized MAC address, because it changes.
My old Galaxy S4 running CyanogenMod Android 6 connects to the Wi-Fi fine, but I don't believe the MAC address is randomized on Android 6, if this is the reason, though this seems unlikely to me as every newer phone would have an issue, since they randomize the MAC address by default
Can anyone supply me any info on this?
@rsngfrce
If the randomized MAC address ( e.g. 32:8c:27:26:72:34 ) doesn't contain the original OEM code in its first 6 hex-numbers you might face a lot of authentication issue.
jwoegerbauer said:
@rsngfrce
If the randomized MAC address ( e.g. 32:8c:27:26:72:34 ) doesn't contain the original OEM code in its first 6 hex-numbers you might face a lot of authentication issue.
Click to expand...
Click to collapse
Thanks for your reply. The phone is doing the randomizing as a function of Android and I would have to assume that it would maintain the original OEM code in its first six hex-numbers if this is required (and I have read about that issue). I never had this issue until the new router was installed and I am unaware of anyone else having an issue.