MAC Changes? - Moto Z2 Force Questions & Answers

I'm trying to get my 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...

Related

mac address

Does anyone know how I can find out the mac address of my xda IIs ? I have a dreytek wireless router at home which uses a mac based access control list. I've tried the addresses that appear in wireless LAN manager ( BSSID and MAC ) but no joy. The only way I can connect is to switch off the access list feature completely
jeff
Hi Jeff,
Switch off the Access control, and let the XDA IIs join the wireless network. Then go into Diagnostic Tools --> View DHCP assigned addresses, and you will get a list of MAC addresses, IP addresses and hosts on the network. Match your phone's name to the MAC address.
Then you can turn access control on again and input the phone's mac address into the "allowed" list.
Thanks for the reply. I've kind of done that as you can see from the DHCP table below
DHCP server: Running
Index IP Address MAC Address Leased Time HOST ID
1 192.168.1.1 00-50-7F-23-97-CC ROUTER IP
2 192.168.1.10 00-00-00-00-00-00 BAD IP
3 192.168.1.11 00-0D-61-4E-A7-F7 0:00:04.600 hubbo
4 192.168.1.12 00-09-2D-0E-49-61 9:24:34.170
(not sure about that BADIP line ! )
I would say my MAC is 00-09-2D-0E-49-61 but it's still not working.... odd.
Is there no way that you can tell the MAC address from the phone without connecting to a network.
Here is a freeware that will allow you to find your MAC with no connection. I used it on my PDA2K.
http://www.freewareppc.com/communication/vxipconfig.shtml
Install on your device. Just turn the wifi on and run the program and it will give you the MAC and additional device info. Don't have the PPC connected to the USB or it will identify that device.
Sorted thanks, whilst in PC World I scanned for a Wireless network, and found three, hehe! Once connected used that utility to get my MAC.
Many thanks!
wifi and drayteck router
hi i see u have a draytech router how did u manage to get streaming video? i have been trying now for hours.I can get the video on my laptop without any problems but my m2000?????
i think the problem lies within the vpn settings as when i try to open http://house:8080 i get the message vpn connection required.
any help would be greatly recived (i have the vigor 2600g)
thanks in advance
delboy

[Q] Change device id for wifi?

My wife and I both have evo's. When at home on wifi my netgear wgr614v7 router seems to have issues connecting both properly. It seems to be a device name problem. Both phones have the same name, different mac addresses but the router us giving them both the same ip address. I have setup static routes to each phone, which helps get different ip's, but I'm still having connection problems with one phone when both are being used.
Is there a way to change the name that my evo broadcasts to my router?
Hers is stock and I am using Fresh's rom.
travlincablguy said:
I have setup static routes to each phone, which helps get different ip's
Click to expand...
Click to collapse
They will anyway get different IP's (I'm talking about private IP 192.168.*.*), for device id maybe someone can edit that in .wireless tether .apk for you because as far I can see that part is kind of integrated and hidden inside.
I am not using the tether function. The static route I setup ensures that every time my evo with it's mac address ending in :d2 always gets 192.168.0.6, Heather's phone is always .3.
Thanks for your input, but I don't think you understood what I was asking.
travlincablguy said:
My wife and I both have evo's. When at home on wifi my netgear wgr614v7 router seems to have issues connecting both properly. It seems to be a device name problem. Both phones have the same name, different mac addresses but the router us giving them both the same ip address. I have setup static routes to each phone, which helps get different ip's, but I'm still having connection problems with one phone when both are being used.
Is there a way to change the name that my evo broadcasts to my router?
Hers is stock and I am using Fresh's rom.
Click to expand...
Click to collapse
I'm thinking you could change the device name in the build.prop in the system folder.
Ahhah, thank you sir, I will look into that.
Edit: after looking threw build.prop I could not find the device id. Which is a bummer. I finally talked my wife out of her iphone and she is now a bit pissy about not being able to use the internet at the same time. No 3 or 4g service at the house either. We have to use an airrave to talk on the phone.
What's the device name in your router?
Also, FWIW, your router shouldn't have any problems with two different MAC addresses connecting. DHCP ID is irrelevant. It sounds more like your problem is a bad router, you're on the edge of its range, or there's something deeper wrong (ie, some other piece of network hardware). As far as I know, you can't change the DHCP Client ID on the phone. It's always been android_(sting of letters/numbers) for me, and it correlates with the Exchange device ID (if you use an Exchange account).
That is the id that shows up. I am thinking the router needs to go. I cannot live without any of the devices that I have connected to it. I do appreciate your insight.
Heh, you good sir are in luck:
http://review.cyanogenmod.com/#change,2164
http://review.cyanogenmod.com/#change,2165
CyanogenMod 7 ('unno about 6) just got a feature to let you change the DHCP client ID.

MAC Address Changing with every Reset?

Just updated my HD7 to the update with internet sharing. After this, I can confirm that every time I reboot my phone, I get a new mac address. Which prevents me from connecting to my MAC-address-filtered wifi. I've done it 6 times and gotten 6 unique MAC addresses.
Does this happen to anyone else's phone? HD7 specific? or all phones with internet sharing? My internet sharing is turned off.
That's strange, I've never heard of a device with a dynamic MAC address before. Does your phone have one printed under the battery?
Nope, just IMEI, SN and PN. No MAC address.
This must be related in internet sharing somehow.
silvertonesx24 said:
Does this happen to anyone else's phone? HD7 specific? or all phones with internet sharing? My internet sharing is turned off.
Click to expand...
Click to collapse
I can confirm this on my HD7.
MAC changes on every reboot.
I confirm too,i have the issue of mac adress changing every reboot
& my wifi is not visible since the update,My wifi is N and i can only see wifi G near me but not mine
hi
for me too : mac adress change after shutdown.
for time don't shutdown the phone to have same mac adress with my internet box.
htc support tell me that they will answer on monday.
but i think it's a big problem with this update...
Ben
That's a bit strange. Normally you can't change MAC's for yourself, only spoofing is possible. If WP is really changing the MAC adress with every reboot, WP needs a valid MAC adress block licensed from IEEE, otherwise it would be a violation against IEEE.
I thought mac address we're never aloud to change!?
Lol that's illegal as all hell, a dynamic mac address
Gotta be a glitch in the firmware surely? No way that's allowed. Your definitely sure it's not a dynamic IP address you're seeing?
Sent from my SGH-i917 using Board Express
ive also asked this question a couple of days ago right after applying the htc internet sharing update. and ive posted my question here (entry #38) and people provided good answers about it. hope this helps
Yes, mine also changes it's only when i read this thread and test my hd7 and i notice the changes.But I S is a breeze.
The issue is that some people assign static IPs to devices on their home networks, and this is done in most routers via MAC address coupling (MAC a always gets IP z and so forth). That way you can simply block all devices you and people in the residence do not own. I do it on all my machines for development reasons, cause I like knowing I can always use x IP address to get at a certain machine even if I turn it off or it's down for a while for repairs. The IP never changes as long as I continue to use that specific network card in the computer.
I don't know why they would do that. Perhaps for security reasons?
I have the same problem - cannot connect to my University WiFi network as the MAC address keeps on changing....
This is crazy!
They better get on that quick! They could get in a lot of **** for that
putting aside the weird WP7 behaviour for the moment...
MAC filtering is useless as a security measure. It's trivially spoofable by anyone who actually wants to attack your network, and causes a pain in the arse for yourself. do yourself a favour and disable it already. the only thing it might be good for is router-side internet access control of your technically challenged 8 year old who doesn't know how to use google.
just use a strong password i.e. 20+ characters alpha (upper & lower) + numeric + special characters, and proper wireless security (WPA-2 AES, or at least WPA AES) and you'll be just fine.
Confirming
That update was a bag full of $$$$ !Luckly I was able to restore through Zune,but my Bootloader (SPL) was also updated to 5.01 and no way of going back!
With regards to the missing WiFi network - make sure it's not using Channel 13. The new update seems to disable the use of Channel 13 for some reason.
There is also another issue with the changing MAC's - I believe that some "public" WiFi networks such as the cloud use the MAC to remember your device and allow it to connect...
primexx said:
putting aside the weird WP7 behaviour for the moment...
MAC filtering is useless as a security measure. It's trivially spoofable by anyone who actually wants to attack your network, and causes a pain in the arse for yourself. do yourself a favour and disable it already. the only thing it might be good for is router-side internet access control of your technically challenged 8 year old who doesn't know how to use google.
just use a strong password i.e. 20+ characters alpha (upper & lower) + numeric + special characters, and proper wireless security (WPA-2 AES, or at least WPA AES) and you'll be just fine.
Click to expand...
Click to collapse
Mac filtering is not useless as a security measure. It's not used by itself. It's used in conjunction with other methods, the same way businesses also hide their wireless network's SSID.
I'm not filtering on an Open Connection. That would be retarded.
Seriously...
GrahamWager said:
With regards to the missing WiFi network - make sure it's not using Channel 13. The new update seems to disable the use of Channel 13 for some reason.
There is also another issue with the changing MAC's - I believe that some "public" WiFi networks such as the cloud use the MAC to remember your device and allow it to connect...
Click to expand...
Click to collapse
im not sure though but im guessing so does other apps with secured log in parameters. i do have the bank of america app. right after i did the update, and after inluding the new mac to my networks allowed list of mac addresses, the boa app again posted a message saying that the device where im accessing boa has not been used previously to access the account. so im guessing that it saves all the mac addresses of devices that accessed a boa account.

[Q] Ip address switches between tmobil and DoD

So no to long ago I decided I would check the my phone's ip address and came across some questionable stuff. Here's my question:
1) How is it that my phone's ip address can change from being registered to tmobil on a 100.x.x.x address to sporadically being registered on DoD 30.x.x.x address?
2) How can it still happen even after I installed android firewall?
Conditions are always the same. I don't download any shady anything's. I pay for my rhapsody account and that's as far as my file sharing goes. I never have my WiFi enabled.
Any ideas or let me know what info you'd need to better access the situation. Thanks.
Without knowing what the allocated ip address really was, there it's really no way of knowing who the current owner of the block is, many blocks are relocated and may no longer be with who they used to be with, especially ipv4 blocks.
Not sure what android firewall would have to due with what the remote ip you are being allocated to with your dhcp network connection.
You should have no real control over what your network connection is given when you connect, other than possible controlling ipv6 vs ipv4.
krelvinaz said:
Without knowing what the allocated ip address really was, there it's really no way of knowing who the current owner of the block is, many blocks are relocated and may no longer be with who they used to be with, especially ipv4 blocks.
Not sure what android firewall would have to due with what the remote ip you are being allocated to with your dhcp network connection.
You should have no real control over what your network connection is given when you connect, other than possible controlling ipv6 vs ipv4.
Click to expand...
Click to collapse
So does this help? the firewall lets me know that even though I have set it up to refuse the block of addresses in which in resides, they're still connection to my phone.
Not sure I'm understanding you anyway. You telling me they temporarily relocate my up because they re no longer with.... yet after a few minutes , sometimes hours, I'm right back to the same ip?
What he was saying I believe is that the IPv4 allocations have been changing do to the available IP address blocks running thin. Companies were encouraged to give up IP blocks that they weren't actually using. In simple terms, a company might have originally owned a block of 100,000 IPs but never actually used more than 50,000. So they gave back a block of 50,000 so another company(s) could use them instead.
I don't believe the IP address' are static on a carrier. I'm not sure but each time you connect to the carrier network (no signal or airplane mode) you could be giving a fresh IP address. Also that is certainly the case if you are on a WiFi network. Unless you phone was set up as a static connection, you would likely receive a new lease on an IP address.
Found this which sounds similar to what you are seeing.
https://blog.wireshark.org/2010/04/t-mobile-clever-or-insane/
chipworkz said:
Found this which sounds similar to what you are seeing.
https://blog.wireshark.org/2010/04/t-mobile-clever-or-insane/
Click to expand...
Click to collapse
Exactly. Internal allocate IP's are normally Natt'd and not actuall the IP you show up on the Internet as.
When you connect to your provider for Network (not using WiFi), the provider (most likely T-Mobile) will allocate an IP to you via DHCP. That IP is what your phone uses to talk to the provider. It most likely is NOT what you look like when you hit the Internet though, that will most likely be a different IP because TMobile is most likely not providing you with an Internet routable IP.
So, right now, I turned off WiFi and I got the IP 100.143.28.84. When my phone touches the Internet though, it shows up as 206.29.182.169.
So at that point in time, my phone is using 100.143.28.84 to get to T-Mobile's network and the Internet sees my phone as 206.29.182.169. the outside IP is in TMobiles published block. And why the internal IP is also, it really doesn't matter what it is because that is not what your phone looks like when it gets to the Internet.
It is possible in your area there are different networks available internally that are given to you when you connect depending on where you physically are and what towers you are closest to. At some times you get the 100.x network and you might even get the same IP as before because of a lease of that IP to your device, but then you move to a slightly different area which is handing out 30.x addresses. All perfectly normal. and the internal IP's really don't matter much.
You can use a search of Whats My IP to see what the Internet thinks your IP is when you get there.
With some providers (Verizon for example) if you are using ipv6, you will always get a non-routable IP, meaning that if you figure out your Internet IP, an outside connection may not get back to you unless your device initiated the connection, but if you use ipv4, they gave you a temp IP that would end up with a routable IP back. You could then use that to connect to your phone using something like VNC or other service. Now days, that is much more likely not the case unless you are paying for that special IP service. I don't know if Tmobile offers that type of service, but Verizon did at least a year or two ago.
In anycase, you firewall shouldn't matter unless you don't want to access your providers network.
In lamens terms I think he's talking about an internel subnet mask
chipworkz said:
Found this which sounds similar to what you are seeing.
https://blog.wireshark.org/2010/04/t-mobile-clever-or-insane/
Click to expand...
Click to collapse
That was a very interesting article. If the author's theory is correct, T-mobile was playing some cute and dangerous IP games in 2010.

[Q] How to assign static wifi IP address?

just updated my SW3 to Android 5.1.1
my office wifi router required every client to set manual/static IP address.
any suggestion how to do this on SW3?
jalmago said:
just updated my SW3 to Android 5.1.1
my office wifi router required every client to set manual/static IP address.
any suggestion how to do this on SW3?
Click to expand...
Click to collapse
I am pretty sure you can do this in the advanced section of the wifi settings on the watch.
hi i can't find any option to set a static ip. Not on the watch and not on the dialog on the phone where i have to enter the password.
 @Joachim Winter have you tried it, cause i dont know how i should set it there?
Thanks
Something like this might work via adb assuming it's just like regular Android?
http://stackoverflow.com/questions/...tic-ip-address-using-android-debug-bridge-adb
Can't find too much info on changing WiFi configuration with adb
Assigning a static IP address would be an issue on thew watch especially if you want to use the WiFi connectivity option on other networks.
But reserving an address on your router would be a better option, meaning DHCP would always assign the same IP address to your watches MAC address. It's usually under DHCP and Address Reservation in your router settings.

Categories

Resources