tag:blogger.com,1999:blog-3993498847203183398.post8341578288883403089..comments2024-03-28T09:19:27.451+00:00Comments on RevK<sup>®</sup>'s ramblings: Progress on iPhone roamingRevKhttp://www.blogger.com/profile/12369263214193333422noreply@blogger.comBlogger23125tag:blogger.com,1999:blog-3993498847203183398.post-7165426772724246682017-04-26T03:50:50.072+01:002017-04-26T03:50:50.072+01:00I think iPhones do weird ARP tricks (before DHCP!)...I think iPhones do weird ARP tricks (before DHCP!) when they connect to a new network—that couldn't have anything to do with this could it? https://cafbit.com/entry/rapid_dhcp_or_how_doblobhttps://www.blogger.com/profile/14751547551407804080noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-29831839649013114132017-04-17T15:01:40.532+01:002017-04-17T15:01:40.532+01:00"Ubiquiti think that any packet from the phon..."Ubiquiti think that any packet from the phone which thinks it is associated should cause a de-auth from the AP which should cause the phone to re-connect."<br /><br />802.11w? If the deauth isn't being accepted for some reason (like the iPhone expecting an authenticated deauth packet rather than an insecure legacy one) that might explain this...<br /><br />(Hoping you get to the bottom of this. I'm another of the non-Firebrick users having exactly the same issue with my Unifi...)jas88https://www.blogger.com/profile/05563592458314214904noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-26906184010475465252017-04-17T09:40:19.095+01:002017-04-17T09:40:19.095+01:00By the way... if the phone's network stack is ...By the way... if the phone's network stack is still alive , then I'd expect to see a bunch of Probe Request frames when you press the Home button, if you watch in monitor mode from a laptop sniffing the air promiscuously. But it might not send the Src Mac that you normally see. Martinhttps://www.blogger.com/profile/03996533690674798085noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-18307488807223759582017-04-17T09:17:54.178+01:002017-04-17T09:17:54.178+01:00Can you take Pcap on quiet network segment when th...Can you take Pcap on quiet network segment when this happens? And maybe run arp-scan from wired segment and reconcile the Macs & IPs? I am wondering if the phone has switched to a new Mac due to its crazy privacy feature (anti-Mac tracking). Or is that only used when scanning for networks (802.11 Probe Request broadcasts)? Maybe worth arp pinging its normal Mac too. Martinhttps://www.blogger.com/profile/03996533690674798085noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-36575928570079874432017-04-16T09:35:38.150+01:002017-04-16T09:35:38.150+01:00Since the AP says the phone isn't connected an...Since the AP says the phone isn't connected and the phone appears to not be transmitting any packets (it should at least be sending DHCP requests), it stands to reason that the phone's wifi firmware probably also thinks it isn't connected. My money is on the OS getting confused and thinking the wifi is associated when it isn't. The OS would be generating packets to be transmitted, but since the wifi isn't actually associated the firmware would probably just drop them.Steve Hillhttps://www.blogger.com/profile/09798286430189689578noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-84332509757734191062017-04-15T06:52:12.662+01:002017-04-15T06:52:12.662+01:00You can get some extra info from the iPhone using ...You can get some extra info from the iPhone using the console (install XCode and use the Devices window or just install the Apple Configurator from the app store and you can access it this way)<br /><br />If you have access to an apple developer account you can install the wifi debugging profile (it generates logs and extra console logging) and/or perform on-device tcpdump/wireshark.<br /><br />https://developer.apple.com/bug-reporting/profiles-and-logs/ - you can probably find these without a developer account if you hunt around (e.g. https://useyourloaf.com/blog/remote-packet-capture-for-ios-devices/)<br /><br />You don't need a rooted phone for any of that.Dave Lhttps://www.blogger.com/profile/12265918329300131273noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-74859439703869777912017-04-11T20:01:23.623+01:002017-04-11T20:01:23.623+01:00(Marginally) off topic - I hadn't realised tha...(Marginally) off topic - I hadn't realised that having a controller present impacted roaming around a set of Unifi APs. I only ever fire up the controller here just to check all is well and to do upgrades.<br /><br />So does the controller notice when a client is moving towards another AP and trigger the current one to actively reject the client somehow?Anonymoushttps://www.blogger.com/profile/00434430719717192188noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-54466360029985727842017-04-11T15:16:50.604+01:002017-04-11T15:16:50.604+01:00Sorry - not sure of the case you are covering, the...Sorry - not sure of the case you are covering, the DHCP server is the gateway router (albeit a couple of miles away). It is common in domestic set-up for DHCP server to be the gateway router. If that is AWOL for any reason, then access to APs is not really an issue! Even so the APs having an IP, or not, has no real impact on their function, just management.RevKhttps://www.blogger.com/profile/12369263214193333422noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-56544076378785657982017-04-11T15:10:24.457+01:002017-04-11T15:10:24.457+01:00DHCP server is in PI space/datacentre then?
If no...DHCP server is in PI space/datacentre then?<br /><br />If not then hours seem a bit short for a home DHCP daemon. <br /><br />Something goes wrong (power cut/whatever) & you're not home but wife is & APs lose local lan connectivity?<br /><br />Don't get me wrong my wife is a s/w engineer but she wouldn't have a clue where to start on that - and we're talking Unifi here, not some generic router :)<br /><br />I just pool the infrastructure seperately with different lease times.<br /><br />NB - this is irrelevant to the Unifi problem for anyone reading this. We digress :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-11019659053659732152017-04-11T14:06:36.394+01:002017-04-11T14:06:36.394+01:00Default settings. All the IPs are sticky, so even ...Default settings. All the IPs are sticky, so even if off line for days it will get same IP when it comes back, so no real need to change defaults.RevKhttps://www.blogger.com/profile/12369263214193333422noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-43885304981297184522017-04-11T14:00:38.420+01:002017-04-11T14:00:38.420+01:00If this was happening you'd see it in the Even...If this was happening you'd see it in the Events/Alerts section of the controller. The UAP would show as having disconnected/connected - sometimes you just see the " Connected" message but when the heartbeat from a UAP goes AWOL then you'll see it in controller logs.<br /><br />Also its important to note that the Unifi kit doesn't REQUIRE a controller to be present to function as simple WAPs. Once provisioned they'll generally work forever although roaming will not be as seamless (unless its Gen1 kit with ZHO, bizarrely that just works regardless) & obviously you lose the site-wide management ability.<br /><br />As an aside Adrian, why do you have infrastructure items (UAPs) on such a short lease? Mine are all 7 days, its not like they're going anywhere :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-51858046694414475082017-04-11T12:50:57.564+01:002017-04-11T12:50:57.564+01:004x4 MU-MIMO hence the good coverage.
At prices ar...4x4 MU-MIMO hence the good coverage.<br /><br />At prices around £250-275 (trade, ex-VAT) and no 5-packs available yet then I think I can wait a while :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-80117643285598212332017-04-11T12:38:38.745+01:002017-04-11T12:38:38.745+01:00This SSID is only on 5GHz, but I am pretty sure te...This SSID is only on 5GHz, but I am pretty sure testing long ago showed it was no different on 2.4GHz. HD looks nice, may do some time if we ever crack this issue.RevKhttps://www.blogger.com/profile/12369263214193333422noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-39089971294514047672017-04-11T12:35:01.634+01:002017-04-11T12:35:01.634+01:00There is a slight hole in the coverage on most UAP...There is a slight hole in the coverage on most UAPs when mounted horizontally - to the right of the "U" on the front IIRC - but at 2.2m it'll make bugger all difference.<br /><br />Sorry if you've said all this before but the iphone is connecting on 5GHz and forcing it to connect at 2.4GHz makes no odds?<br /><br />Radiation patterns for the UAPs :<br /><br />https://help.ubnt.com/hc/en-us/articles/115005212927-UniFi-UAP-Antenna-Radiation-Patterns<br /><br />Looks like the HD is the one to get for max coverage, Lite for multiple APs so they don't overlap too much. Well at 5GHz anyway.<br /><br />Do keep us updated on this, there's been a few threads on the Ubiquiti forums over the years regarding iphones & problems...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-40824614811507397582017-04-11T12:11:41.565+01:002017-04-11T12:11:41.565+01:00Yeh, I did not realise it would do that as I did n...Yeh, I did not realise it would do that as I did not touch that SSID, but now I know. There is a way to list the SSIDs and signal strength the iPhone ca see, which I did not think to check, sorry. Will next time. But yes, it is normally full signal strength and was 2.2m from the AP which is in the middle of ceiling.RevKhttps://www.blogger.com/profile/12369263214193333422noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-78340038571874080532017-04-11T12:03:18.766+01:002017-04-11T12:03:18.766+01:00I don't think making a config change will help...I don't think making a config change will help find this as any config change results in reprovisioning all the APs. That in turn causes them to be briefly unavailable, hence causing clients to reconnect.<br /><br />Is the signal strength normally at "full" when its in that position in your study? Not an Apple user myself but I assume (like Android) you can get the actual signal level in dBm rather than some vague bars? :)<br /><br />I only ask as I've seen phones (mainly droids) which have wifi "issues" show full signal when they're having issues & I know fine well there's no way they've got a full signal. Wife's Motorola was a classic example - signal level in dBm stayed the same everywhere when its wifi went titsup. Wifi on/off was the usual bodge. This had nothing to do with Unifi kit BTW, just wondering...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-72402312540402588902017-04-11T08:10:47.236+01:002017-04-11T08:10:47.236+01:00They are 2 hour lease, 1 hour renewal, but I serio...They are 2 hour lease, 1 hour renewal, but I seriously doubt it. I'll see if Ubiquiti think that is worth a try.RevKhttps://www.blogger.com/profile/12369263214193333422noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-31204156682329861342017-04-11T08:07:37.800+01:002017-04-11T08:07:37.800+01:00What is the DHCP lease time for the AP IP addresse...What is the DHCP lease time for the AP IP addresses? Could it be that when the APs attempt to renew their IP address it somehow barfs the control connection (CAPWAP?) to the controller, but doesn't drop the session to the client?<br />I'll admit that I have no experience of the Unifi APS, so it is just guesswork from experience with enterprise WiFi systems. <br />Do you get this problem if *everything* (AP, switches, clients) is static configured (ie NO DHCP at all)?<br /><br />Just a thought...Michaelhttps://www.blogger.com/profile/03170515601401994597noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-28986408071726729252017-04-11T07:38:08.571+01:002017-04-11T07:38:08.571+01:00Static in that they don't change, but assigned...Static in that they don't change, but assigned using DHCP.RevKhttps://www.blogger.com/profile/12369263214193333422noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-39345110407796833862017-04-11T06:58:23.124+01:002017-04-11T06:58:23.124+01:00Are the APs themselves on static IPs? Are the APs themselves on static IPs? Anonymoushttps://www.blogger.com/profile/01357052575076124231noreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-21675683559566253122017-04-10T23:20:13.628+01:002017-04-10T23:20:13.628+01:00That might require a jailbroken device which would...That might require a jailbroken device which would require a reboot.<br /><br />Or maybe it would work with XCode from a Mac. I don't know.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-44138432188512853972017-04-10T23:18:53.836+01:002017-04-10T23:18:53.836+01:00> At this point, I am keeping the phone on char...> At this point, I am keeping the phone on charge in here in the broken state as long as possible, and have set up firewall access for Ubiquti engineers to have full access the APs and the controller and see what they can find. I hope they find more clues to the problem, but I appreciate it is tricky with some issues like this.<br /><br />DedicationAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3993498847203183398.post-51416412325818987502017-04-10T20:07:15.087+01:002017-04-10T20:07:15.087+01:00Could it be worth seeing if the iPhone prints anyt...Could it be worth seeing if the iPhone prints anything useful to the console?Michael Nightingalehttps://www.blogger.com/profile/11877450837623753238noreply@blogger.com