Greetings...I'm trying to determine the MAC address of my HTC TP2's 3G radio. I am setting up a firewall rule to only alow a specific MAC address to pass for specific services. Any ideas as to how to determine the MAC address of the internal radio?
Thanks,
Chris
chrisb009 said:
Greetings...I'm trying to determine the MAC address of my HTC TP2's 3G radio. I am setting up a firewall rule to only alow a specific MAC address to pass for specific services. Any ideas as to how to determine the MAC address of the internal radio?
Thanks,
Chris
Click to expand...
Click to collapse
MAC of the 3g radio...? Certainly you mean the wlan radio.
When I enable wifi in WinMo, there's an "advanced" button at the bottom. Then choose wi-fi info, IP and MAC.
Response....
Not the WiFi radio...the 3g radio as I need access outside my network through a UTM. I guess the first question should have been, is there a MAC associated with the 3g radio?
Thanks,
Chris
chrisb009 said:
Not the WiFi radio...the 3g radio as I need access outside my network through a UTM. I guess the first question should have been, is there a MAC associated with the 3g radio?
Thanks,
Chris
Click to expand...
Click to collapse
Odd.
I'd guess there is, but I've never heard of anyone caring about it lol. IP probably wouldn't work so well either, what about hostname or smth else?
What if you lose your phone?
I'll see what I can dig up.
Edit - wait... if your packets are going thru a layer-3 router (which undoubtedly they are at some point) the MAC will be lost. So this won't work at all, even if you did find the MAC of your phone.
Response...
I couldn't find anything through searches....The IP would be of a dynamic nature so I couldn't use it however the thought about a host name is an idea. I'll have to inspect the packets to determine if a host name is present. On my inital inspection I captured a MAC however that MAC seems to be dynamic and did change a few times using one of two MAC'S thoughout the capture. Also...during the capture I captured IPv6 MAC's....not IPv4. I'm just wondering if the CDMA network assigns a dynamic MAC instead of using a hardware based MAC? I would find this highly unlikely however it could be a possibility.
Thanks,
Chris
chrisb009 said:
I couldn't find anything through searches....The IP would be of a dynamic nature so I couldn't use it however the thought about a host name is an idea. I'll have to inspect the packets to determine if a host name is present. On my inital inspection I captured a MAC however that MAC seems to be dynamic and did change a few times using one of two MAC'S thoughout the capture. Also...during the capture I captured IPv6 MAC's....not IPv4. I'm just wondering if the CDMA network assigns a dynamic MAC instead of using a hardware based MAC? I would find this highly unlikely however it could be a possibility.
Thanks,
Chris
Click to expand...
Click to collapse
Please read my edit about layer-3 routers. I'm having this same problem at work, in relation to sniffing VoIP RTP streams passively. When crossing a layer-3 router/switch, the MAC is lost in transit.
Response...
I believe I finally nailed down the actual MAC address. My packet monitor was set for the monitoring a different port on the switch.....should have been set for X1 instead of X0. I'll make the changes to the firewall and all should be good. This exercise is for a handheld utilizing a SIP client tied into my VoIP server....I only allow specific SIP clients to access my VoIP server....helps prevent hacking and unauthorized phone use.
Thanks,
Chris
Response...
I'll report back my findings after I make the configuration changes.....I am assuming this will work as I already have this in place for all SIP providers currently in use.
Thanks,
Chris
Findings....
Ok...one small detail I forgot.....is that MAC addresses change with each hop. With that being said.....the only way to "filter" incoming packets is to filter by IP address. I currently filter all SIP related protocols by carrier/provider IP address. Now this creates an issue due to the fact handhelds outside of the network will have dynamic IP's assigned by the cellular carrier. I'll have to continue to research this....I believe the only work around might be a VPN tunnel originating from the handheld into the network.
Thanks,
Chris
chrisb009 said:
Ok...one small detail I forgot.....is that MAC addresses change with each hop. With that being said.....the only way to "filter" incoming packets is to filter by IP address. I currently filter all SIP related protocols by carrier/provider IP address. Now this creates an issue due to the fact handhelds outside of the network will have dynamic IP's assigned by the cellular carrier. I'll have to continue to research this....I believe the only work around might be a VPN tunnel originating from the handheld into the network.
Thanks,
Chris
Click to expand...
Click to collapse
That's what I told you, twice now...
Actually..
You mentioned loosing the MAC address across a layer 3 router....the MAC address is lost across any router regardless of it's layer capability thus I will implement a different solution.
Chris
chrisb009 said:
You mentioned loosing the MAC address across a layer 3 router....the MAC address is lost across any router regardless of it's layer capability thus I will implement a different solution.
Chris
Click to expand...
Click to collapse
What router operates only at the layer-2 level? lol.
Hello
this is a bit odd, but when i try to change the DHCP to static in WIFI settings, the "connect" button becomes unavailable. Why would that be and how to fix it ?
I'm on S ii 989 with the Jedi Mind Trick 9.
thank you
dbabo said:
Hello
this is a bit odd, but when i try to change the DHCP to static in WIFI settings, the "connect" button becomes unavailable. Why would that be and how to fix it ?
I'm on S ii 989 with the Jedi Mind Trick 9.
thank you
Click to expand...
Click to collapse
Is the ip youre assigning available? Have you logged into your router to make sure you dont have an ip conflict? Have you released the lease on your DHCP IP in your router before trying to assign a static one? Are you assigning the correct gateway and subnet mask?
blackangst said:
Is the ip youre assigning available? Have you logged into your router to make sure you dont have an ip conflict? Have you released the lease on your DHCP IP in your router before trying to assign a static one? Are you assigning the correct gateway and subnet mask?
Click to expand...
Click to collapse
blackangst,
>]Is the ip youre assigning available?
yes, i enter the same IP that this device used with the stock. this includes the net mask and dns.
the behavior is odd , because the "save" ( or whatever the name on the button is ) goes inactive the moment i change the DHCP to "static"...
ohh. i'm stupid . Net length is not exactly the mask... Doh. (http://forum.xda-developers.com/showthread.php?t=1062792).
life is good. Question is resolved.
Has anyone managed to set a static IP address for a WiFi connection? I long press on a WiFi connection, active or inactive, and change DHCP to Static. But the save button is grayed out. In fact, it's grayed out even before I change anything. I've tried changing the IP to a different one that I know is outside the range of DCHP addresses on my router, and that doesn't make a difference.
meyerweb said:
Has anyone managed to set a static IP address for a WiFi connection? I long press on a WiFi connection, active or inactive, and change DHCP to Static. But ...................
Click to expand...
Click to collapse
try to retype the password,
then u should be able to save the setting
Thanks! I should have thought of that.
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.
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...