Community discussions

MikroTik App
 
bass
just joined
Posts: 1
Joined: Fri Jul 13, 2018 6:49 pm

Re: Mikrotik wi-fi and Iphone = problem

Fri Jul 13, 2018 7:04 pm

Set peramble-mode in wireless interface to short and check all clients connections.

فرستاده شده از FRD-L09ِ من با Tapatalk
I was just the opposite,
I set it up with long preamble with long leased time, and they able to connected just fine until now..
thats it and just it..
 
njumh
just joined
Posts: 1
Joined: Wed Sep 26, 2018 8:58 am

Re: Mikrotik wi-fi and Iphone = problem

Wed Sep 26, 2018 9:02 am

u can tray this metode

in interface wlan
at frecuency mode change to regulatory-domain
select country u base
 
UpRunTech
Member Candidate
Member Candidate
Posts: 214
Joined: Fri Jul 27, 2012 12:11 pm

Re: Mikrotik wi-fi and Iphone = problem

Wed Sep 26, 2018 11:36 pm

u can tray this metode

in interface wlan
at frecuency mode change to regulatory-domain
select country u base
Don't forget that Apple have some advice on the matter.

https://support.apple.com/en-au/HT202068
 
Lognet
just joined
Posts: 7
Joined: Fri Sep 09, 2011 1:19 am

Re: Mikrotik wi-fi and Iphone = problem

Thu Sep 27, 2018 12:43 am

Just for some of you who still have trouble with some Mikrotik wifi and apple devices...

IP Firewall tracking....OFF

That work all the way for me
 
martydingo
just joined
Posts: 2
Joined: Thu Jun 14, 2018 10:31 am

Re: Mikrotik wi-fi and Iphone = problem

Thu Sep 27, 2018 12:42 pm

We've seen this issue on a few hundred hAP ac lites.

It's WPA1 being selected, you need to have WPA2 w/ AES only in your security profiles and apple devices will work again.
 
DmitryT
just joined
Posts: 4
Joined: Wed Oct 03, 2018 11:35 am

Re: Mikrotik wi-fi and Iphone = problem

Wed Oct 03, 2018 11:40 am

Frist DHCP lease time -> 8 hours its works without disconnect
 
DJGlooM
newbie
Posts: 45
Joined: Thu May 15, 2014 2:28 am

Re: Mikrotik wi-fi and Iphone = problem

Fri Nov 02, 2018 2:00 am

you need to have WPA2 w/ AES only in your security profiles and apple devices will work again.
I have couple sites with "iphone problem" and some other sites that have apple products, but there is no problem, with the same hardware (wap or wap ac). The problem occurs randomly and present itself as "there is a phone connection to SSID, but there's no internet". You can see sometimes "disassoc sending station leaving" in log. I use WPA2 only everywhere, DHCP lease is 24 hrs. Tried to disable RSTP, IGMP spoofing etc. Tried basically everything - problem is still there. With cheap soap routers like dlink\asus there is no problem, so it's pretty hard to explain a customer why mikrotik is better there. Asked Uldis at Moscow MUM - he need specific data to reproduce in lab environment to deal with this stuff and I understand him, but the problem occurs randomly during the day and there's nothing in log to report to support. And because of that one customer just asks for HP OfficeConnect AP instead of mikrotik, that's sad.
Also there's unresolved problem with Android TVs which keep losing lease and connectivity every 5 min.
Image

If anyone want to dig my config here it is:
/caps-man channel
add band=2ghz-b/g/n control-channel-width=20mhz extension-channel=XX name=2.4-auto save-selected=yes skip-dfs-channels=yes tx-power=19
add band=5ghz-a/n/ac extension-channel=XXXX name=5-auto save-selected=yes skip-dfs-channels=yes tx-power=22
/caps-man datapath
add arp=enabled bridge=bridge-lan client-to-client-forwarding=yes local-forwarding=no name=datapath-lan
/caps-man security
add authentication-types=wpa2-psk encryption=aes-ccm group-encryption=aes-ccm group-key-update=1h name=WhiteHouse passphrase=12345678
/caps-man configuration
add channel=2.4-auto country=russia3 datapath=datapath-lan distance=indoors guard-interval=any hw-protection-mode=rts-cts hw-retries=15 keepalive-frames=enabled mode=\
    ap multicast-helper=full name=WhiteHouse rx-chains=0,1,2 security=WhiteHouse ssid=WhiteHouse tx-chains=0,1,2
add channel=5-auto country=russia3 datapath=datapath-lan distance=indoors guard-interval=any hw-protection-mode=rts-cts hw-retries=15 keepalive-frames=enabled mode=ap \
    multicast-helper=full name=WhiteHouse@5 rx-chains=0,1,2 security=WhiteHouse ssid=WhiteHouse@5 tx-chains=0,1,2
/caps-man access-list
add action=reject allow-signal-out-of-range=10s disabled=no interface=any signal-range=-120..-81 ssid-regexp=""
/caps-man manager
set enabled=yes package-path=/usbflash upgrade-policy=suggest-same-version
/caps-man manager interface
set [ find default=yes ] forbid=yes
add disabled=no interface=vlan2
/caps-man provisioning
add action=create-dynamic-enabled hw-supported-modes=a,an,ac master-configuration=WhiteHouse@5 name-format=identity
add action=create-dynamic-enabled hw-supported-modes=gn master-configuration=WhiteHouse name-format=identity
 
tippenring
Member
Member
Posts: 304
Joined: Thu Oct 02, 2014 8:54 pm
Location: St Louis MO
Contact:

Re: Mikrotik wi-fi and Iphone = problem

Fri Nov 02, 2018 4:23 pm

We stopped using Mikrotik for client wifi several years ago due to connection instability and weak signals vs other brands. We fought with it for a long time. Apple devices are especially troublesome.

We still use Mikrotik routers almost exclusively and Mikrotik radios for point to point wifi links though.
 
DJGlooM
newbie
Posts: 45
Joined: Thu May 15, 2014 2:28 am

Re: Mikrotik wi-fi and Iphone = problem

Sun Nov 25, 2018 11:53 pm

Ok now mikrotik just ignoring emails to support on this issue. Well, looks like we'll leave mikrotik only as router and wi-fi will go with other brand. This is ridiculous situation, shame on you mikrotik.
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3300
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: Mikrotik wi-fi and Iphone = problem

Mon Nov 26, 2018 8:33 am

The iPhone disconnects approx after 5-7 minutes (little more than half of the DHCP lease time).
I do not understand why Apple does not follow any standard. It seems that it tries to invent all stuff by it self.
If you pass with you iPhone an Wifi network without security, it will automatically try to connect and call home to Apple.
This is for us a resource problem. When you have a large guest network with more than 1500 active user and wfi access point everywhere we get problems with number of DHCP address. If a buss passes by one of our building, and we have a access point close to the buss stopp, all apple devices connects automatically and gets a DHCP. They do not get any longer, since they does not log inn to the web portal. Due to this we have sett the lease time just to few minutes. Then this gives the problem above with apple device timing out faster than other device. I was hinking of blocking all apple and just have it open for other devices. This is a free net so they can not complain ;)
 
Redmor
Member Candidate
Member Candidate
Posts: 256
Joined: Wed May 31, 2017 7:40 pm
Location: Italy

Re: Mikrotik wi-fi and Iphone = problem

Sat Dec 01, 2018 2:40 pm

Have problem with Mikrotik Groove A52 and all Iphone devices
Before installing Mikrotik have worked TP-link, no problems with wi-fi
We install Mikrotik and iPhone stops work normaly Internet after a while. I wrote many times tickets, tech support does not help.
I tried to change the country, the channel, the band
/interface wireless
set [ find default-name=wlan1 ] adaptive-noise-immunity=ap-and-client-mode antenna-gain=12 band=2ghz-g/n country=russia disabled=no disconnect-timeout=15s frequency=2442 \
    hw-protection-mode=rts-cts keepalive-frames=disabled mode=ap-bridge multicast-buffering=disabled name=neonmobile ssid=neonmobile.com.ua wds-ignore-ssid=yes wireless-protocol=\
    unspecified wmm-support=enabled
/interface wireless nstreme
set neonmobile enable-polling=no
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa2-psk eap-methods="" group-key-update=1h mode=dynamic-keys wpa-pre-shared-key=22220000 wpa2-pre-shared-key=22220000
add authentication-types=wpa-psk,wpa2-psk eap-methods="" management-protection=allowed name=free supplicant-identity=""
/interface wireless
add disabled=no keepalive-frames=disabled mac-address=D6:CA:6D:F0:EE:E5 master-interface=neonmobile mode=ap-bridge multicast-buffering=disabled name=Free_neonmobile \
   security-profile=free ssid="Free neonmobile.com.ua" wds-cost-range=0 wds-default-cost=0 wds-ignore-ssid=yes wps-mode=disabled
winbox_2017-03-30_12-22-36.png
winbox_2017-03-30_12-25-10.png
Disable wpa authentication and password, leave only wpa2 and disable management protection. If someone wants wpa then he should travel back in time.
I've also noticed that some devices can't connect to 2412 channel, so if you can exclude it from scan list.
 
sabel
just joined
Posts: 1
Joined: Tue Jul 24, 2018 10:44 pm

Re: Mikrotik wi-fi and Iphone = problem

Sun Dec 16, 2018 11:29 am

Has the author solved the problem?
 
TAD
just joined
Posts: 13
Joined: Tue Mar 13, 2012 12:17 pm

Re: Mikrotik wi-fi and Iphone = problem

Wed Jan 02, 2019 4:24 pm

Helo her I have juste change de radio name in my configuration and all is working well
 
Kerbia
Frequent Visitor
Frequent Visitor
Posts: 62
Joined: Wed Nov 16, 2016 3:03 pm

Re: Mikrotik wi-fi and Iphone = problem

Sat Jan 05, 2019 2:40 pm

you need to have WPA2 w/ AES only in your security profiles and apple devices will work again.
I have couple sites with "iphone problem" and some other sites that have apple products, but there is no problem, with the same hardware (wap or wap ac). The problem occurs randomly and present itself as "there is a phone connection to SSID, but there's no internet". You can see sometimes "disassoc sending station leaving" in log. I use WPA2 only everywhere, DHCP lease is 24 hrs. Tried to disable RSTP, IGMP spoofing etc. Tried basically everything - problem is still there. With cheap soap routers like dlink\asus there is no problem, so it's pretty hard to explain a customer why mikrotik is better there. Asked Uldis at Moscow MUM - he need specific data to reproduce in lab environment to deal with this stuff and I understand him, but the problem occurs randomly during the day and there's nothing in log to report to support. And because of that one customer just asks for HP OfficeConnect AP instead of mikrotik, that's sad.
Also there's unresolved problem with Android TVs which keep losing lease and connectivity every 5 min.
Image

If anyone want to dig my config here it is:
/caps-man channel
add band=2ghz-b/g/n control-channel-width=20mhz extension-channel=XX name=2.4-auto save-selected=yes skip-dfs-channels=yes tx-power=19
add band=5ghz-a/n/ac extension-channel=XXXX name=5-auto save-selected=yes skip-dfs-channels=yes tx-power=22
/caps-man datapath
add arp=enabled bridge=bridge-lan client-to-client-forwarding=yes local-forwarding=no name=datapath-lan
/caps-man security
add authentication-types=wpa2-psk encryption=aes-ccm group-encryption=aes-ccm group-key-update=1h name=WhiteHouse passphrase=12345678
/caps-man configuration
add channel=2.4-auto country=russia3 datapath=datapath-lan distance=indoors guard-interval=any hw-protection-mode=rts-cts hw-retries=15 keepalive-frames=enabled mode=\
    ap multicast-helper=full name=WhiteHouse rx-chains=0,1,2 security=WhiteHouse ssid=WhiteHouse tx-chains=0,1,2
add channel=5-auto country=russia3 datapath=datapath-lan distance=indoors guard-interval=any hw-protection-mode=rts-cts hw-retries=15 keepalive-frames=enabled mode=ap \
    multicast-helper=full name=WhiteHouse@5 rx-chains=0,1,2 security=WhiteHouse ssid=WhiteHouse@5 tx-chains=0,1,2
/caps-man access-list
add action=reject allow-signal-out-of-range=10s disabled=no interface=any signal-range=-120..-81 ssid-regexp=""
/caps-man manager
set enabled=yes package-path=/usbflash upgrade-policy=suggest-same-version
/caps-man manager interface
set [ find default=yes ] forbid=yes
add disabled=no interface=vlan2
/caps-man provisioning
add action=create-dynamic-enabled hw-supported-modes=a,an,ac master-configuration=WhiteHouse@5 name-format=identity
add action=create-dynamic-enabled hw-supported-modes=gn master-configuration=WhiteHouse name-format=identity
i see the very same crap in my logs. did you find a solution?
 
Noxyron
just joined
Posts: 3
Joined: Mon Sep 10, 2018 9:52 pm

Re: Mikrotik wi-fi and Iphone = problem

Tue Mar 12, 2019 1:23 pm

I saw a similar problem in FAQ. May be it will help to solve. Why I can't connect to MikroTik 802.11n AP with Apple Mac devices?.
 
MrDim
just joined
Posts: 7
Joined: Mon Sep 09, 2019 12:08 pm

Re: Mikrotik wi-fi and Iphone = problem

Mon Sep 09, 2019 12:21 pm

The same issue on iPad with iOS 9.3.5 on RouterOS 6.45.5 (RB951G-2HnD): after some sleep time no internet on the device. iPhone 5 iOS 10.3.4, iPhone 8 with iOS 12.1, iPhone 8 12.4.1 work fine.
Have changes Default Authenticate to yes, Group key update to 1 hour - no changes - still no internet. DHCP is set to 3 days.
The same device (iPad), but with iOS 7.1.2 worked fine for several years with Mikrotik.
 
shamet
just joined
Posts: 22
Joined: Wed Jun 27, 2018 1:16 am
Location: PL

Re: Mikrotik wi-fi and Iphone = problem

Mon Sep 23, 2019 5:06 am

I found solution by djape posted in another thread solving my problem.
I know it is old topic, but after many hours of struggle with 2 MacBook Pro not being able to get IP, complaining about IP already used by another device (when it's not) I was able to solve the problem by changing protocol-mode from rstp to stp:

/interface bridge> print
Flags: X - disabled, R - running
0 R name="bridge1" mtu=1500 actual-mtu=1500 l2mtu=1526 arp=enabled
arp-timeout=auto mac-address=XX:XX:XX:XX:XX:XX protocol-mode=stp
priority=0x8000 auto-mac=no admin-mac=XX:XX:XX:XX:XX:XX
max-message-age=20s forward-delay=15s transmit-hold-count=6
ageing-time=5m

Once changed, everything works like a charm.
I've spent hours if not days trying to figure out the problem and it looks like it was a bridge stp config.
 
User avatar
BartoszP
Forum Guru
Forum Guru
Posts: 2880
Joined: Mon Jun 16, 2014 1:13 pm
Location: Poland

Re: Mikrotik wi-fi and Iphone = problem

Mon Sep 23, 2019 12:53 pm

 
shamet
just joined
Posts: 22
Joined: Wed Jun 27, 2018 1:16 am
Location: PL

Re: Mikrotik wi-fi and Iphone = problem

Fri Sep 27, 2019 3:35 am

Using all the recommended, in this and other threads, "tips and tricks", brought me to a point where wifi was finally working on Iphone X but not anymore on Galaxy S6. Thing was STP instead of RSTP in bridge config (for Iphone).
What I finally have done was complete reset of system, update to 6.45.6, import things that I was 100% sure didn't have influence on wlan, setting all the bridges, ports etc from scratch and enabling only necessary things for wifi to work as a starting point. And guess what? It just works. Works on everything. Later I have enabled Access List, encryption etc and still works. Bridge - RSTP.
I thought to share because I think it may be good idea to start from nothing sometimes. And after all, it took me less time than playing around and checking different options.
 
UpRunTech
Member Candidate
Member Candidate
Posts: 214
Joined: Fri Jul 27, 2012 12:11 pm

Re: Mikrotik wi-fi and Iphone = problem

Fri Sep 27, 2019 5:29 am

Using all the recommended, in this and other threads, "tips and tricks", brought me to a point where wifi was finally working on Iphone X but not anymore on Galaxy S6. Thing was STP instead of RSTP in bridge config (for Iphone).
For most if not all small Mikrotik setups no devices need any kind of STP and Wifi Radios certainly don't if they are just access points for clients. xSTP is only needed in systems where there is the risk of a loop because there are multiple L2 paths in the system. I always set STP to None on my access points as a rule because it's a redundant option and there's always a risk of it causing problems.

Before anyone jumps up and down on this STP rule you always have to exercise some judgement. Single ethernet devices like a mAP or wAP are very safe to disable STP on the bridge. Devices like a cAP have some risk if eth1 and eth2 end up being plugged into the same switch, and RBx011 or hAPs always run the risk of a looped back ethernet cable.
 
proxymus
just joined
Posts: 2
Joined: Wed Aug 14, 2019 1:41 pm

Re: Mikrotik wi-fi and Iphone = problem

Thu Nov 07, 2019 11:23 am

Using all the recommended, in this and other threads, "tips and tricks", brought me to a point where wifi was finally working on Iphone X but not anymore on Galaxy S6. Thing was STP instead of RSTP in bridge config (for Iphone).
For most if not all small Mikrotik setups no devices need any kind of STP and Wifi Radios certainly don't if they are just access points for clients. xSTP is only needed in systems where there is the risk of a loop because there are multiple L2 paths in the system. I always set STP to None on my access points as a rule because it's a redundant option and there's always a risk of it causing problems.

Before anyone jumps up and down on this STP rule you always have to exercise some judgement. Single ethernet devices like a mAP or wAP are very safe to disable STP on the bridge. Devices like a cAP have some risk if eth1 and eth2 end up being plugged into the same switch, and RBx011 or hAPs always run the risk of a looped back ethernet cable.
I've the same problem with the mAP lite (STP is disabled). It is working for some time but then it stops working. The iPhone is connected to the WiFi but unable to reach anything. It is working for while again when I reboot the AP.
 
llubik
newbie
Posts: 30
Joined: Mon Mar 04, 2019 7:33 pm

Re: Mikrotik wi-fi and Iphone = problem

Sun Feb 23, 2020 11:18 pm

Everything tested, with Apple products are the same mikrotik wifi the same problems. For a few years, no solution.
 
Rix
just joined
Posts: 1
Joined: Thu Apr 09, 2020 9:39 am

Re: Mikrotik wi-fi and Iphone = problem

Thu Apr 09, 2020 10:05 am

I spent quite a bit of time looking at this, and I have found what repeatably works for me with the Apple products. I actually created this account to post this, as I thought it might help someone in the future.

Specifically, I was trying to connect an mAP to the wireless hotspot of an Apple iPhone X, and it just flat out didn't work with mostly default settings. Two things needed to be done;

1. As mentioned here, RSTP just seems to piss the iPhone off. This one was actually harder for me to find, and I may have never found it without someone here mentioning it. It doesn't really even make any sense why RSTP would be a problem at all (or related). Probably a really ugly bug/mis-interaction between Apple and Mikrotik's implementations that makes something hilarious happen from a programmer's perspective..

2. Turn RX/TX chain 1 off (use only chain 0). This disables some of the MIMO features of 802.11N. You could also try using 802.11B/G Mode instead of 802.11B/G/N but I haven't tested that.

After doing those two things, I'm able to get 20Mbps through a single radio mAP simultaneously acting as a station and an AP sitting in between the iPhone hotspot. I have a pretty odd use case that makes this desirable, so it might not apply to everyone - but if you're having trouble with an up to date Apple device (as of April 2020) try turning off the second Mimo chains. They are located in the HT menu under the wlan interface. Also, I had no problems with WMM. In this configuration I was able to pull 20Mbit/sec off the mAP (single 2.4Ghz radio) acting as a station to connect to the iPhone X hotspot, while simultaneously acting as an AP for my laptop. Pretty impressive if you ask me.

A note on Spanning Tree: You can use STP instead of RSTP, but might just as well turn it off when dealing with wireless links. DHCP comes over really slow when you have to go through the STP Blocking->Listening->Learning->Forwarding process, or times out entirely. Not a problem for advanced users or people who read this forum... But not tenable for general user population.

Quick export;

set [ find default-name=wlan1 ] allow-sharedkey=yes antenna-gain=0 band=2ghz-b/g/n channel-width=20/40mhz-Ce country="united states" disabled=no frequency=\
auto frequency-mode=superchannel rx-chains=0 ssid="" tx-chains=0 wmm-support=enabled
add disabled=no keepalive-frames=disabled mac-address=12:34:56:78:ab:cd master-interface=wlan1 multicast-buffering=disabled name=wlan2 ssid="Wayne's World" \
wds-cost-range=0 wds-default-cost=0 wps-mode=disabled
 
itmMarina
just joined
Posts: 1
Joined: Tue Aug 18, 2020 12:25 pm

Re: Mikrotik wi-fi and Iphone = problem

Tue Aug 18, 2020 12:30 pm

HI, i have a similar problem, with apple devices, they can't receive messages with whatsapp when they're connected via wifi after the device go in standby, they have to open whatsapp, open the chat and wait until 30/45 seconds to see the message.
Can someone hint me what to do?
thanks a lot
 
santyx32
Member Candidate
Member Candidate
Posts: 215
Joined: Fri Oct 25, 2019 2:17 am

Re: Mikrotik wi-fi and Iphone = problem

Tue Aug 18, 2020 4:13 pm

If someone has an AC2 you're better running OpenWRT, it works out of the box with all kinds of WiFi clients unlike ROS.
 
r00t
Long time Member
Long time Member
Posts: 674
Joined: Tue Nov 28, 2017 2:14 am

Re: Mikrotik wi-fi and Iphone = problem

Tue Aug 18, 2020 6:41 pm

If someone has an AC2 you're better running OpenWRT, it works out of the box with all kinds of WiFi clients unlike ROS.
Just a fair warning for anyone considering to try this: Flashing OpenWRT to NAND flash will wipe ROS license from the device and replace bootloader, so it will not be possible to go back.
It's possible to test it by loading it just to RAM, as long as you don't touch the flash memory it's safe...
 
srtrs
just joined
Posts: 5
Joined: Tue Jun 09, 2015 3:59 pm

Re: Mikrotik wi-fi and Iphone = problem

Wed Aug 19, 2020 12:51 am

There is no solution to this problem. Mikrotik devices are not certified by the Wi-Fi alliance.
 
santyx32
Member Candidate
Member Candidate
Posts: 215
Joined: Fri Oct 25, 2019 2:17 am

Re: Mikrotik wi-fi and Iphone = problem

Wed Aug 19, 2020 3:42 pm

If someone has an AC2 you're better running OpenWRT, it works out of the box with all kinds of WiFi clients unlike ROS.
Just a fair warning for anyone considering to try this: Flashing OpenWRT to NAND flash will wipe ROS license from the device and replace bootloader, so it will not be possible to go back.
It's possible to test it by loading it just to RAM, as long as you don't touch the flash memory it's safe...
The OpenWRT wiki clearly advices to save multiple backups of your ROS license from Winbox.
Edit: OpenWRT doesn't replaces Routerboot so you can still trigger Netinstall and get back to ROS if you saved the license key in a safe place although I haven't tried it yet since my custom OpenWRT build satisfies all my home networking needs.
Last edited by santyx32 on Wed Aug 19, 2020 3:50 pm, edited 2 times in total.
 
santyx32
Member Candidate
Member Candidate
Posts: 215
Joined: Fri Oct 25, 2019 2:17 am

Re: Mikrotik wi-fi and Iphone = problem

Wed Aug 19, 2020 3:47 pm

There is no solution to this problem. Mikrotik devices are not certified by the Wi-Fi alliance.
The alternative will be to use OpenWRT if it's supported by your device nor buying from another brand.
 
heidarren
Member Candidate
Member Candidate
Posts: 136
Joined: Mon Aug 05, 2019 9:56 am

Re: Mikrotik wi-fi and Iphone = problem

Wed Aug 19, 2020 7:35 pm

We bought Mt gears due to ROS but we have to flash it with OpenWRT for proper wireless performance, such a tragedy to hear
 
eddieb
Member
Member
Posts: 327
Joined: Thu Aug 28, 2014 10:53 am
Location: Netherlands

Re: Mikrotik wi-fi and Iphone = problem

Wed Aug 19, 2020 10:40 pm

running ROS for a couple of years in an Apple only network (IOS/IPadOS/OSX)
using 10 pc of hAP AC (RB962UiGS-5HacT2HnT) and max 250 wireless devices.
Everything works fine, no problems.
 
User avatar
yuminxxf
just joined
Posts: 4
Joined: Sat Mar 09, 2019 7:57 pm

Re: Mikrotik wi-fi and Iphone = problem

Wed Aug 19, 2020 11:08 pm

running ROS for a couple of years in an Apple only network (IOS/IPadOS/OSX)
using 10 pc of hAP AC (RB962UiGS-5HacT2HnT) and max 250 wireless devices.
Everything works fine, no problems.
Could you please post your 5GHz settings, omitting the SSID and Security part? I am currently having my iPad connecting to 5GHz, and it will not be able to access internet every 30 seconds. I am using 5GHz-onlyAC and eeCe on 5300.

Thank you.
 
santyx32
Member Candidate
Member Candidate
Posts: 215
Joined: Fri Oct 25, 2019 2:17 am

Re: Mikrotik wi-fi and Iphone = problem

Thu Aug 20, 2020 3:35 am

running ROS for a couple of years in an Apple only network (IOS/IPadOS/OSX)
using 10 pc of hAP AC (RB962UiGS-5HacT2HnT) and max 250 wireless devices.
Everything works fine, no problems.
Could you please post your 5GHz settings, omitting the SSID and Security part? I am currently having my iPad connecting to 5GHz, and it will not be able to access internet every 30 seconds. I am using 5GHz-onlyAC and eeCe on 5300.

Thank you.
Try 2048 AMSDU, mixed network mode and use the less congested channel (use the built-in frequency scanner). This won't make your WiFi any faster but you'll get a more reliable experience.
 
eddieb
Member
Member
Posts: 327
Joined: Thu Aug 28, 2014 10:53 am
Location: Netherlands

Re: Mikrotik wi-fi and Iphone = problem

Thu Aug 20, 2020 8:22 am

set [ find default-name=wlan2 ] band=5ghz-a/n/ac channel-width=20/40mhz-Ce country=netherlands disabled=no frequency=5260 installation=indoor max-station-count=50 mode=ap-bridge preamble-mode=long radio-name=funny5 security-profile=funny ssid=funny station-roaming=enabled wireless-protocol=802.11 wps-mode=disabled
almost default ...
 
User avatar
yuminxxf
just joined
Posts: 4
Joined: Sat Mar 09, 2019 7:57 pm

Re: Mikrotik wi-fi and Iphone = problem

Thu Aug 20, 2020 10:43 am

Thank you for your responses!

Try 2048 AMSDU, mixed network mode and use the less congested channel (use the built-in frequency scanner). This won't make your WiFi any faster but you'll get a more reliable experience.

I can see the AMSDU option in normal wireless conf, but could not find it in caps conf.
My 5GHz channels are totally empty, no congested channel at all.

set [ find default-name=wlan2 ] band=5ghz-a/n/ac channel-width=20/40mhz-Ce country=netherlands disabled=no frequency=5260 installation=indoor max-station-count=50 mode=ap-bridge preamble-mode=long radio-name=funny5 security-profile=funny ssid=funny station-roaming=enabled wireless-protocol=802.11 wps-mode=disabled
almost default ...

Before posting this, I have done some research. It seems that all the problem with apple device happens on 802.11ac mode. I suspect when selecting mixed modes, my iPad pro gen4 will use A/N, not AC for the full speed. Is there any way to check it?

Below is the link about the ac mode problem.
viewtopic.php?t=139608

Thanks again.
 
WeWiNet
Long time Member
Long time Member
Posts: 597
Joined: Thu Sep 27, 2018 4:11 pm

Re: Mikrotik wi-fi and Iphone = problem

Thu Aug 20, 2020 5:40 pm

Preamble = long is only needed for older devices (but still needed today for interop)
new products (like apple) prefer to use preamble=short.

So put in =both...
It might not help all your problems but can solve some.

PS: The less one touches Wifi settings, the better is my experience...
 
User avatar
yuminxxf
just joined
Posts: 4
Joined: Sat Mar 09, 2019 7:57 pm

Re: Mikrotik wi-fi and Iphone = problem

Thu Aug 20, 2020 5:57 pm

Preamble = long is only needed for older devices (but still needed today for interop)
new products (like apple) prefer to use preamble=short.

So put in =both...
It might not help all your problems but can solve some.

PS: The less one touches Wifi settings, the better is my experience...

Thanks for your information,
Seems my default caps configuration is using "both", I will post mine conf below.
# aug/20/2020 22:51:22 by RouterOS 6.47.2
# model = RB4011iGS+5HacQ2HnD
/caps-man channel
add band=2ghz-b/g/n control-channel-width=20mhz extension-channel=eC frequency=\
    2472 name=2chan
add band=5ghz-onlyac control-channel-width=20mhz extension-channel=eeCe \
    frequency=5300 name=5chan
/caps-man datapath
add bridge=uniBridge name=datapath1
/caps-man security
add authentication-types=wpa2-psk encryption=aes-ccm name=cap_sec
/caps-man configuration
add channel=2chan country=china datapath=datapath1 installation=indoor mode=ap \
    name=caps_cfg2 security=cap_sec ssid=Chapter
add channel=5chan country=china datapath=datapath1 installation=indoor mode=ap \
    name=caps_cfg5 security=cap_sec ssid=Chapter_5
/caps-man access-list
add action=accept allow-signal-out-of-range=10s disabled=no signal-range=\
    -80..120 ssid-regexp=""
add action=reject allow-signal-out-of-range=10s disabled=no signal-range=\
    -120..-81 ssid-regexp=""
/caps-man manager
set enabled=yes upgrade-policy=require-same-version
/caps-man provisioning
add action=create-dynamic-enabled hw-supported-modes=ac master-configuration=\
    caps_cfg5 name-format=identity
add action=create-dynamic-enabled hw-supported-modes=g master-configuration=\
    caps_cfg2 name-format=identity

My iPad pro gen.4 will unable to connect to internet once 30s when it connect to the 5GHz channel.
 
santyx32
Member Candidate
Member Candidate
Posts: 215
Joined: Fri Oct 25, 2019 2:17 am

Re: Mikrotik wi-fi and Iphone = problem

Thu Aug 20, 2020 7:34 pm

I can see the AMSDU option in normal wireless conf, but could not find it in caps conf.
My 5GHz channels are totally empty, no congested channel at all.
I think AMSDU is not configurable on Capsman mode but it's hardcoded to a lower value than the default 8192
Before posting this, I have done some research. It seems that all the problem with apple device happens on 802.11ac mode. I suspect when selecting mixed modes, my iPad pro gen4 will use A/N, not AC for the full speed. Is there any way to check it?

Below is the link about the ac mode problem.
viewtopic.php?t=139608

Thanks again.
Some clients require the AP to advertise all the data rates A/N/AC otherwise they would refuse to connect, btw my S10e which is WiFi 6 refuses to connect with Mikrotik's short preamble mode but it works with other vendors/OpenWRT short preamble setting.
 
elecerf
just joined
Posts: 1
Joined: Thu Aug 24, 2017 4:32 pm
Location: Paris

Re: Mikrotik wi-fi and Iphone = problem

Thu Sep 17, 2020 1:17 pm

I solved my problem yesterday with Ipad Pro 11 (2020).

My problem was in the authentication type in my security profile.

The iPad Pro doesn't like WPA2 EAP (I didn't have WPA PSK and WPA EAP enabled).

But I also made the settings recommended by Apple even if it worked very well with my MacBookPro 16:

- BAND for 5GHz = A/N/AC
- Channel Width = 20/40/80MHz XXXX
- WMM = Enable
- Groupe Key Upate = 1 hour
You do not have the required permissions to view the files attached to this post.
 
neutronlaser
Member
Member
Posts: 445
Joined: Thu Jan 18, 2018 5:18 pm

Re: Mikrotik wi-fi and Iphone = problem

Mon Sep 21, 2020 3:08 am

Contact Apple support.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11627
Joined: Thu Mar 03, 2016 10:23 pm

Re: Mikrotik wi-fi and Iphone = problem

Mon Sep 21, 2020 12:28 pm

My problem was in the authentication type in my security profile.

The iPad Pro doesn't like WPA2 EAP

Did you actually have configured everything needed for EAP (EAP methods and other related settings)? If you did not, then it's not that IPad pro doesn't like it, more likely it prefers it and it simply did not "fall back" to WPA2-PSK after it couldn't perform EAP handshake.
 
User avatar
NTheZone
just joined
Posts: 22
Joined: Fri Jun 19, 2020 8:47 pm

Re: Mikrotik wi-fi and Iphone = problem

Sun Oct 18, 2020 12:40 am

+1

Issues with the iPhone and iPad, and FaceTime. Random disconnects on 5GHz (WPA2/AES). 2.4GHz seem less problematic; but not fully tested. Turned off DFS, but still a no for Apple's portable devices. Apple's 2017 iMac desktop connecting to the same router on 5GHz running FT has zero issues.

Emailed MikroTik support. Will post back of any resolutions.
 
ipunk
just joined
Posts: 1
Joined: Mon Apr 23, 2018 8:01 am

Re: Mikrotik wi-fi and Iphone = problem

Thu Mar 11, 2021 6:08 pm

ON UPDATE IOS 14.4 THIS WI-FI CONFIG MAKE stable connection @ MY IPHONE
You do not have the required permissions to view the files attached to this post.
Last edited by ipunk on Thu Mar 11, 2021 6:20 pm, edited 2 times in total.
 
peterda
newbie
Posts: 40
Joined: Mon Jan 18, 2021 11:51 am
Location: Norway

Re: Mikrotik wi-fi and Iphone = problem

Fri Mar 12, 2021 5:04 pm

At this moment we are testing MT capsman with mixed clients.
Though i like the way capsman works, we experience instability and connection problems with mainly iDevices.
Based on what i have read on the forum here and elsewhere, we may need to cancel the evaluation and find another solution for our wireless equipment.
The thing that worries the most i the lack of input from MT itself on how instability issues can be diagnosed and solved.
Forum members giving advice; do this, do that, enable this, disable that, are not giving a greater sense of confidence that MT wireless is the solution.

Right now we will test some more but will eventually have to bite the bullet; should we stay or should we go....
 
erlinden
Forum Guru
Forum Guru
Posts: 1961
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: Mikrotik wi-fi and Iphone = problem

Fri Mar 12, 2021 11:37 pm

Right now we will test some more but will eventually have to bite the bullet; should we stay or should we go....
If you start from default Wifi settings and change the following you will be ok when it comes to stability (and you will be good to go):

2.4GHz
  • 2ghz-g/n
  • Disable extension channel
  • Reduce power to required
  • Use fixed channel
5GHz
  • 5ghz-n/ac
  • Extension channel Ce
  • Reduce power to required
  • Use fixed channel
Security
  • WAP2-AES
Rates
  • 12M & 24M basic
  • 12M, 18M, 24M, 36M, 48M, 54M supported
Datapath
  • Enable local forwarding
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3300
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: Mikrotik wi-fi and Iphone = problem

Sat Mar 13, 2021 11:24 am

ON UPDATE IOS 14.4 THIS WI-FI CONFIG MAKE stable connection @ MY IPHONE
Strange that you need to use outdated/old TKIP and not AES to make iPhone to work.

From this page: https://www.comparitech.com/blog/inform ... -aes-tkip/
WPA2 with TKIP – You should only select this option if your devices are too old to connect to the newer AES encryption type
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19363
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Mikrotik wi-fi and Iphone = problem

Sat Mar 13, 2021 9:41 pm

Right now we will test some more but will eventually have to bite the bullet; should we stay or should we go....
If you start from default Wifi settings and change the following you will be ok when it comes to stability (and you will be good to go):

2.4GHz
  • 2ghz-g/n
  • Disable extension channel
  • Reduce power to required
  • Use fixed channel
5GHz
  • 5ghz-n/ac
  • Extension channel Ce
  • Reduce power to required
  • Use fixed channel
Security
  • WAP2-AES
Rates
  • 12M & 24M basic
  • 12M, 18M, 24M, 36M, 48M, 54M supported
Datapath
  • Enable local forwarding
Lots of Iphones and macbook pro in the house my wifi settings are.
/interface wireless security-profiles
add authentication-types=wpa2-psk disable-pmkid=yes eap-methods="" mode=\
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-g/n basic-rates-b="" country=canada \
wireless-protocol=802.11 wmm-support=enabled wps-mode=disabled
set [ find default-name=wlan2 ] antenna-gain=2 band=5ghz-n/ac channel-width=\
20/40mhz-Ce country=canada disabled=no mode=ap-bridge name=Hallway5G \
 
peterda
newbie
Posts: 40
Joined: Mon Jan 18, 2021 11:51 am
Location: Norway

Re: Mikrotik wi-fi and Iphone = problem

Mon Mar 15, 2021 11:07 am

I will give it a go, cheers!

Update:
It looks like iDevices can (re)connect without any problems.
Now i need to see which setting(s) make the difference.
 
jult
Frequent Visitor
Frequent Visitor
Posts: 52
Joined: Sat Dec 26, 2020 1:16 am

Re: Mikrotik wi-fi and Iphone = problem

Sat Sep 25, 2021 5:51 pm

Latest version ROS (6.48.4) and latest Stable firmware (6.48.4), for a
- RBMetalG-52SHPacn (only set up as a 2.4GHz AP) and a
- RB4011iGS+5HacQ2HnD (as a 5GHz AP).
Both wireless APs have serious issues with iPhones, iPads and iMacs (i.e. IOS), but not ever with android phones or Intel wifi laptop nics etc.
Their main complaints are the really slow speeds they get. They tend to switch over to mobile (4G/5G) and then all goes quick as a whistle, and they've shown it to me, it's true.
I've ruled out DNS issues, those are fine. DHCP leases are long enough too.

We also run ASUS and TP-Link APs that have no issues with IOS whatsoever, but then, they have a lot newer kernels, probably even use queue-type cake, have a lot less config for wifi available and are presumably way less strict regarding weirdly chosen apple defaults?

If there's anybody from mikrotik out there who can provide their successful non-default config for iDevices, I'd gladly see them. The general mikrotik defaults do not work well for us, apparently.

I have just switched off xSTP in all bridges here, let's see what that does. Have to listen to our users before I know..
 
BitHaulers
Frequent Visitor
Frequent Visitor
Posts: 55
Joined: Thu Jun 21, 2018 11:23 am

Re: Mikrotik wi-fi and Iphone = problem

Wed Sep 29, 2021 4:47 am

The theme in this thread is most people showing their configs are using RTS/CTS.

There are a few blog posts from 2012 that show that Apple products do weird stuff with CTS.

I had major issues with Apple, and it seems they stopped when I stopped using RTS/CTS.

So anyone having issues with Apple and Mikrotik, turn off RTS/CTS completely and see if the problem goes away.
 
jult
Frequent Visitor
Frequent Visitor
Posts: 52
Joined: Sat Dec 26, 2020 1:16 am

Re: Mikrotik wi-fi and Iphone = problem

Fri Oct 01, 2021 11:16 am

The theme in this thread is most people showing their configs are using RTS/CTS.
There are a few blog posts from 2012 that show that Apple products do weird stuff with CTS.
I had major issues with Apple, and it seems they stopped when I stopped using RTS/CTS.
So anyone having issues with Apple and Mikrotik, turn off RTS/CTS completely and see if the problem goes away.
Unfortunately, that can't be it, because I have HW protection already set to None. I would suspect, all the mentions being really old, that now it is the other way around perhaps?
Maybe they're all performing badly *because* I've switched RTS/CTS off. I'll try setting it on, and see what the responses are.
 
BitHaulers
Frequent Visitor
Frequent Visitor
Posts: 55
Joined: Thu Jun 21, 2018 11:23 am

Re: Mikrotik wi-fi and Iphone = problem

Fri Oct 01, 2021 4:40 pm

I definitely had less problems (zero) with Apple products doing exactly as described in this thread since turning off RTS/CTS. However, I also enable WMM, and have full multicast buffering, and adaptive noise isolation on AP and client, and keep alive frames enabled. The problems come back if I enable RTS/CTS, and seem to be worse, the smaller the value.
 
jult
Frequent Visitor
Frequent Visitor
Posts: 52
Joined: Sat Dec 26, 2020 1:16 am

Re: Mikrotik wi-fi and Iphone = problem

Sun Oct 03, 2021 1:38 pm

adaptive noise isolation on AP and client
So you've set this for all ios clients too? How did you do this?
 
scampbell
Trainer
Trainer
Posts: 487
Joined: Thu Jun 22, 2006 5:20 am
Location: Wellington, NZ
Contact:

Re: Mikrotik wi-fi and Iphone = problem

Thu Oct 14, 2021 2:21 am

I have been using Apple and Mikrotik for years and there are only a few things needed to get a stable result..... all have been mentioned here in various locations before.....

The below assumes starting with all default Wireless AP/Bridge settings - if you have been tinkering I'd reset the wireless interface(s) and start from scratch....and dont forget to specify your country correctly, regulatory-mode and protocol=802.11 in the wireless settings.

1. DHCP Lease Time - Apple's wireless disconnects at 1/2 DHCP Lease Time. So if you leave the default to 00:10:00 it drops every 5 minutes. Increase to suitable time such as 1d 00:00:00 for a home/office or maybe 02:00:00 for a hotspot.

2. Security Profile - DO NOT USE TKIP - it drops the speed of data transfer. Only use WPA2-PSK - have not tested WPA2-EAP as that requires an external Radius. WPA is legacy and should be avoided if possible.
3. Security Profile - Group Key Update - set to 01:00:00
4. Wireless - 2.4GHZ - use only 2412, 2437 or 2462 20MHz channel for best stability. Scan and choose least congested channel.
5. Wireless - 5 GHz - avoid DFS channels, use 20.40 or 80 based on your needs. Scan and choose least congested channel.
5. Wireless and CAPSMAN - enable default forwarding/client-to-client - unless specifically not needed. This allows devices to talk directly via WiFi and is required by Sonos, Chromecast etc

Lastly, when using multiple AP's remember clients hang on to an AP until the signal is completly crap. Use Access Lists on your AP's/CAPSMAN to force clients to find a better AP.

/interface wireless access-list
add signal-range=-80..120
add authentication=no forwarding=no

/caps-man access-list
add action=accept allow-signal-out-of-range=10s client-to-client-forwarding=yes \
disabled=no interface=any signal-range=-80..120 ssid-regexp=""
add action=reject allow-signal-out-of-range=10s disabled=no interface=any \
signal-range=-120..120 ssid-regexp=""
 
gotsprings
Forum Guru
Forum Guru
Posts: 2120
Joined: Mon May 14, 2012 9:30 pm

Re: Mikrotik wi-fi and Iphone = problem

Sun Oct 17, 2021 1:53 am

I have been using Apple and Mikrotik for years and there are only a few things needed to get a stable result..... all have been mentioned here in various locations before.....

The below assumes starting with all default Wireless AP/Bridge settings - if you have been tinkering I'd reset the wireless interface(s) and start from scratch....and dont forget to specify your country correctly, regulatory-mode and protocol=802.11 in the wireless settings.

1. DHCP Lease Time - Apple's wireless disconnects at 1/2 DHCP Lease Time. So if you leave the default to 00:10:00 it drops every 5 minutes. Increase to suitable time such as 1d 00:00:00 for a home/office or maybe 02:00:00 for a hotspot.

2. Security Profile - DO NOT USE TKIP - it drops the speed of data transfer. Only use WPA2-PSK - have not tested WPA2-EAP as that requires an external Radius. WPA is legacy and should be avoided if possible.
3. Security Profile - Group Key Update - set to 01:00:00
4. Wireless - 2.4GHZ - use only 2412, 2437 or 2462 20MHz channel for best stability. Scan and choose least congested channel.
5. Wireless - 5 GHz - avoid DFS channels, use 20.40 or 80 based on your needs. Scan and choose least congested channel.
5. Wireless and CAPSMAN - enable default forwarding/client-to-client - unless specifically not needed. This allows devices to talk directly via WiFi and is required by Sonos, Chromecast etc

Lastly, when using multiple AP's remember clients hang on to an AP until the signal is completly crap. Use Access Lists on your AP's/CAPSMAN to force clients to find a better AP.

/interface wireless access-list
add signal-range=-80..120
add authentication=no forwarding=no

/caps-man access-list
add action=accept allow-signal-out-of-range=10s client-to-client-forwarding=yes \
disabled=no interface=any signal-range=-80..120 ssid-regexp=""
add action=reject allow-signal-out-of-range=10s disabled=no interface=any \
signal-range=-120..120 ssid-regexp=""
AC V1 driver.

If caps-man could control a better radio... I would be running back to caps.

But Mikrotik's current radios, are like buying a mid range access point from 2014... In 2021.

Who is online

Users browsing this forum: ivankrosl, slimmerwifi and 38 guests