Community discussions

MikroTik App
 
frytek1986
just joined
Topic Author
Posts: 6
Joined: Sun Dec 11, 2022 1:26 am

RB4011IGS+RM - wifi issue on iOS

Sun Dec 11, 2022 1:39 am

Hello all,

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.

Where should I look now... ? help me:)
 
frytek1986
just joined
Topic Author
Posts: 6
Joined: Sun Dec 11, 2022 1:26 am

Re: RB4011IGS+RM - wifi issue on iOS

Wed Dec 14, 2022 10:30 pm

Anyone?🙂
 
Dude2048
Member Candidate
Member Candidate
Posts: 212
Joined: Thu Sep 01, 2016 4:04 pm

Re: RB4011IGS+RM - wifi issue on iOS

Wed Dec 14, 2022 10:52 pm

Start with posting your config with hide-sensitive.
 
MikroUser
newbie
Posts: 47
Joined: Sat Sep 07, 2013 1:56 pm

Re: RB4011IGS+RM - wifi issue on iOS

Thu Dec 15, 2022 12:25 am

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.

I recomend you start topic at ubiquity community
 
frytek1986
just joined
Topic Author
Posts: 6
Joined: Sun Dec 11, 2022 1:26 am

Re: RB4011IGS+RM - wifi issue on iOS

Thu Dec 15, 2022 12:27 am

config:
# dec/14/2022 23:25:38 by RouterOS 6.49.7
# software id = M8HW-E02C
#
# model = RB4011iGS+
# serial number = D4440CD2161D
/interface bridge
add admin-mac=48:8F:5A:2D:58:A8 ageing-time=6h auto-mac=no comment=defconf name=bridge protocol-mode=none
/interface ethernet
set [ find default-name=ether10 ] poe-out=off
/interface ethernet switch port
set 0 default-vlan-id=0
set 1 default-vlan-id=0
set 2 default-vlan-id=0
set 3 default-vlan-id=0
set 4 default-vlan-id=0
set 5 default-vlan-id=0
set 6 default-vlan-id=0
set 7 default-vlan-id=0
set 8 default-vlan-id=0
set 9 default-vlan-id=0
set 10 default-vlan-id=0
set 11 default-vlan-id=0
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=dhcp ranges=192.168.88.10-192.168.88.254
/ip dhcp-server
add address-pool=dhcp disabled=no interface=bridge lease-time=23h59m name=defconf
/user group
set full policy=local,telnet,ssh,ftp,reboot,read,write,policy,test,winbox,password,web,sniff,sensitive,api,romon,dude,tikapp
/interface bridge port
add bridge=bridge comment=defconf interface=ether2
add bridge=bridge comment=defconf interface=ether3
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=ether5
add bridge=bridge comment=defconf interface=ether6
add bridge=bridge comment=defconf interface=ether7
add bridge=bridge comment=defconf interface=ether8
add bridge=bridge comment=defconf interface=ether9
add bridge=bridge comment=defconf interface=ether10
add bridge=bridge comment=defconf interface=sfp-sfpplus1
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
/ip address
add address=192.168.88.1/24 comment=defconf interface=ether2 network=192.168.88.0
add address=89.174.202.30/24 interface=ether1 network=89.174.202.0
/ip dhcp-client
add comment=defconf interface=ether1
/ip dhcp-server lease
add address=192.168.88.194 client-id=1:0:a0:de:87:15:ca mac-address=00:A0:DE:87:15:CA server=defconf
add address=192.168.88.254 client-id=1:d0:50:99:5c:c7:8c mac-address=D0:50:99:5C:C7:8C server=defconf
add address=192.168.88.127 mac-address=00:1B:9C:0A:68:6D server=defconf
add address=192.168.88.253 client-id=1:74:83:c2:36:83:12 mac-address=74:83:C2:36:83:12 server=defconf
add address=192.168.88.252 client-id=1:68:d7:9a:76:51:3b mac-address=68:D7:9A:76:51:3B server=defconf
/ip dhcp-server network
add address=192.168.88.0/24 comment=defconf gateway=192.168.88.1
/ip dns
set allow-remote-requests=yes servers=8.8.8.8
/ip dns static
add address=192.168.88.1 comment=defconf name=router.lan
/ip firewall filter
add action=accept chain=input comment="defconf: accept established,related,untracked" connection-state=established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=invalid
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=accept chain=input comment="defconf: accept to local loopback (for CAPsMAN)" dst-address=127.0.0.1
add action=drop chain=input comment="defconf: drop all not coming from LAN" in-interface-list=!LAN
add action=accept chain=forward comment="defconf: accept in ipsec policy" ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related
add action=accept chain=forward comment="defconf: accept established,related, untracked" connection-state=established,related,untracked
add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid
add action=drop chain=forward comment="defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat connection-state=new in-interface-list=WAN
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=out,none out-interface-list=WAN
/ip route
add distance=1 gateway=XX.XXX.XXX.X
/system clock
set time-zone-name=Europe/Warsaw
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN
 
frytek1986
just joined
Topic Author
Posts: 6
Joined: Sun Dec 11, 2022 1:26 am

Re: RB4011IGS+RM - wifi issue on iOS

Thu Dec 15, 2022 12:32 am

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.

I recomend you start topic at ubiquity community
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.
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3272
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: RB4011IGS+RM - wifi issue on iOS

Thu Dec 15, 2022 1:26 am

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 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.
 
frytek1986
just joined
Topic Author
Posts: 6
Joined: Sun Dec 11, 2022 1:26 am

Re: RB4011IGS+RM - wifi issue on iOS

Wed Dec 28, 2022 11:19 pm

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..
 
frytek1986
just joined
Topic Author
Posts: 6
Joined: Sun Dec 11, 2022 1:26 am

Re: RB4011IGS+RM - wifi issue on iOS

Mon Jan 02, 2023 11:00 pm

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.
You do not have the required permissions to view the files attached to this post.
 
Jack121GT
just joined
Posts: 1
Joined: Wed Jul 19, 2023 2:03 pm

Re: RB4011IGS+RM - wifi issue on iOS

Tue Aug 15, 2023 10:25 am

After pulling my hair and searching everywhere , I solved it by enabling and then disable the airplane mode option. https://thegeekpage.com/how-to-fix-no-i ... ne-solved/

Who is online

Users browsing this forum: neki, yosmithy and 23 guests