--
You received this message because you are subscribed to the Google Groups "Simian Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simian-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
def IsOnIosWap(): """Checks if the wireless connection is to an iOS WAP tether.
Returns: Boolean. True if iOS WAP is connected, False otherwise. """ # iOS WAP looks like a 172.20.10/28 network with a default gateway of 172.20.10.1
gateway = GetNetworkGateway('172.20.10/28') if not gateway: return False
ip = GetDefaultGateway()
if ip != '172.20.10.1': return False else: return True
That may work for some enterprises. Many probably have devices which stay primarily on premises. In our environment, we see many devices that never see the corp network, via VPN ever, after initial deployment, but we still want to manage them.
That said, beyond the UI/UX challenge of opt-in, this wouldn't be too difficult to plug into Simian's preflight.
// mobile
So it sounds like you have three choices:
Hi Justin,Building simian works fine now with requests added to setup.py. Thank you.This new functionality is really promising, but it doesn't work out of the box for iPhone WAP detection, at least not for my iPhone 6 – that's all I've had a chance to test with so far. It seems likely the problem is that we can't rely on iPhones having consistent MAC addresses. IsOnIosWap checks that the ARP lookup of the default gateway (iPhone) MAC starts with ac:de:48. Unfortunately my iPhone's MAC doesn't contain anything close to this string. I'm no expert in mac address alloction/use by manufacturers, but I can't find any resource online that indicates ac:de:48 is an iPhone-specific string either. I'll get some more MAC data from my iPhone-toting colleagues tomorrow to see if this bears out, but it seems likely it will.I changed this function to return False if the default gateway != 172.20.10.1, removed the MAC address check, and everything worked as expected:
-Brian--
You received this message because you are subscribed to the Google Groups "Simian Discuss" group.
I tested this on four iPhones yesterday. Not the biggest sample size, but I tethered to each one and determined the MAC of the iPhone gateway via ARP. No consistency observed between MACs.Also, maybe we actually are seeing iOS8+ MAC randomization here, because I don't see the same MAC that ARP reports (6e:7c:5f) in Settings on the iPhone (4c:7c:5f)
--