I have read dozens of topics and sites and found no solusion to my issue.
My setup is:
RB4011IGS+RM
2x UAP-AC-Lite
CSS326-24G-2S+RM
The issue: on iPhones (2 separate devices) from time to time internet is gone. like frozen for some time. Sometimes it get back after 1-2min sometimes I need to click on wifi to disconect and connect again - internet is back. What is important - at that moment the wifi works fine - for example I am able to reach my amplifi via IP address. Iphone shows that wifi connected but no wifi.
I started with UAP-AC-Lite - only 2,4ghz, then 5ghz, dozens of different options - nothing helped.
Then after realizing that wifi works (able to connect to other devices in home network by IP) I think it’s more on router side then on access points.
When I catch the moment when there is no internet on router in ARP I cannot ping the device - packets are lost. And then after reseting wifi on phone - eveything ok again.
Happening on all iOS phones (XS, 14). On my son Android it seems to be ok.
LAN connection (via cable) - works all the time (laptop, PC)
Laptop on the same wifi - works fine with no stops.
If other devices works fine, and laptop connected to mikrotik dont have any isuses with internet connection - this is not Mikrotik problem, this is unifi problem.
You can log in to your unifi via ssh and get view logs, and see what is happened when your device lost connection..
If iphone shows wifi connected, but no internet - this can be DNS problem, phone cannot reach dns server, and show that no internet avilable.
Many UniFi users was have problems with Apple devices when unifi AP configured not correctly, wrong country choosen, AP not updated. 3 years ago i bought 10 unifi ac lr, and 3 of them was have problem with connectivity, drop devices, reboots and so on, so i replaced them by new one.
thanks for this. This was also my thinking at the beginning. But the more I dig the more I think this might be rather the router. I have two of these AP and issues are on both of them. Configs on APs side checked many times.
Yes - its only on iPhones. I even restored to default one of them - and issue is sill there.
Please remember that when there is no internet on iPhone (from wifi) I can still access local IP side from aplifier - via local IP adress - which is connected by cable to switch. Meaning the ethernet connection is present BUT internet not enymore.
You might want to try setting the “netmask” in your /ip/dhcp-server/network to 24. Sometime the remote DHCP don’t like if that’s not set. Mikrotik doesn’t default to setting one, but I’ve see more than a few similar problems solved by setting one. Can’t say specifically with UBNT, but easy to try.
Also, if you set a static IP on the iPhone’s Wi-Fi interface, does it work? That confirm it’s something about DHCP over the Wi-Fi, not a more general network issue.
Thanks but no change. Generally DHCP seems to be working as the device is still connected to ethernet and can connect to other device in local network via IP adresss. BUT no internet at that time..
One more information. When the Internet is freezed on iPhone:
it is not possible to ping the device from router (see attachment)
after few seconds it’s normal again
During this time phone can reach other devices in the same network (amplifier) and also router (page with login/pass is opened).
No idea.. what should I check next?
And still → it’s not one iphone: both devices have the same issue.