Community discussions

MikroTik App
 
Dan2000
just joined
Topic Author
Posts: 2
Joined: Mon Aug 19, 2019 6:11 pm

Wlan connection loss every 10 minutes

Mon Aug 19, 2019 6:24 pm

Hi,

I have the following problem with the RB4011iGS+5HacQ2HnD device:

The router is running in station mode and connected to a NON-MikroTik AP via 5GHz. The MT router initiates every 10 minutes a background scan and the connection is lost briefly afterwards.

Config:

0 R name="wlan1" mtu=1500 l2mtu=1600 mac-address=XX:XX:XX:XX:XX:XX arp=enabled interface-type=QCA9984 mode=station ssid="XXX_5GHz" frequency=auto band=5ghz-a/n/ac channel-width=20/40/80mhz-XXXX secondary-channel=auto scan-list=default wireless-protocol=802.11
vlan-mode=no-tag vlan-id=1 wds-mode=disabled wds-default-bridge=none wds-ignore-ssid=no bridge-mode=enabled default-authentication=yes default-forwarding=yes default-ap-tx-limit=0 default-client-tx-limit=0 hide-ssid=no security-profile=default compression=no

Log:

11:14:09 wireless,info XX:XX:XX:XX:XX:XX@wlan1: lost connection, no beacons received
11:14:20 wireless,debug wlan1: must select network
11:14:20 wireless,debug YY:YY:YY:YY:YY:YY: on 5500 AP: yes SSID YYY caps 0x1111 rates 0xOFDM:6-54 BW:1x-4x SGI:1x-4x HT:0-31 VHTMCS:SS1=0-9,SS2=0-9,SS3=0-9,SS4=0-9 basic 0xOFDM:6,12,24 BW:1x VHTMCS:SS1=0-7,SS2=0-7,SS3=0-7,SS4=0-7 MT: no
11:14:20 wireless,debug XX:XX:XX:XX:XX:XX on 5500 AP: yes SSID XXX caps 0x511 rates 0xOFDM:6-54 BW:1x-4x SGI:1x-4x HT:0-31 VHTMCS:SS1=0-9,SS2=0-9,SS3=0-9,SS4=0-9 basic 0xOFDM:6 BW:1x VHTMCS:SS1=0-7 MT: no
11:14:20 wireless,info XX:XX:XX:XX:XX:XX@wlan1 established connection on 5500000, SSID XX
11:24:21 wireless,debug wlan1: start background scan
11:24:27 wireless,info XX:XX:XX:XX:XX:XX@wlan1: lost connection, no beacons received
11:24:38 wireless,debug wlan1: must select network

and so on ... background scan every 10m and then loss of connection.

Signal strength:

Channel 5500/20-Ceee/ac/DP
Wireless Protocol 802.11
Tx Rate 936Mbps-80MHz/4S
Rx Rate 780Mbps-80MHz/3S/SGI
SSID XXX
BSSID XX:XX:XX:XX:XX:XX
Tx/Rx Signal Strength -51 dBm
Tx/Rx Signal Strength Ch0 -63 dBm
Tx/Rx Signal Strength Ch1 -55 dBm
Tx/Rx Signal Strength Ch2 -60 dBm
Tx/Rx Signal Strength Ch3 -57 dBm
Noise Floor -105 dBm
Signal To Noise 56 dB


Any insight is highly appreciated !
 
Dan2000
just joined
Topic Author
Posts: 2
Joined: Mon Aug 19, 2019 6:11 pm

Re: Wlan connection loss every 10 minutes

Mon Aug 19, 2019 11:24 pm

More info:

Manually triggering a background scan, same issue arises:

He scans for 10s, then loss of connection and error message background scan not supported in this state.

Seems to me definitely MikroTik device related. He triggers every 10 mins a background scan, which fails and leads to a disconnect.

Any idea how to switch off the automatic background scan in station mode ?

If there is no solution, will return the device to vendor asap and go for other brand.
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 2978
Joined: Mon Apr 08, 2019 1:16 am

Re: Wlan connection loss every 10 minutes

Thu Aug 22, 2019 10:26 am

Hi, I had a similar problem with my connection in the hAP ac Lite dropping almost every hour, triggered by that background scan. (Testing hAP Lite, hAp ac Lite, hAp ac2, wAP ac, Omnitik ac, SXTsq ac for WDS, bridge and PtMP)

Yesterday I stopped the "searching for a better AP" on the hAp ac Lite, and the disconnects did not happen anymore.

On the hAP ac Lite, as 'station bridge' in one of the 'virtual AP', I entered "interface wireless set station-roaming=disabled" . Verified setting with "interface wireless print advanced".

I hope my hAP ac Lite is a "sticky client" now for this PtMP setup.
 
public4mac
just joined
Posts: 3
Joined: Mon Jun 22, 2020 2:26 am
Location: Paris, France

Re: Wlan connection loss every 10 minutes

Sun Mar 14, 2021 6:37 pm

Hi, I had a similar problem with my connection in the hAP ac Lite dropping almost every hour, triggered by that background scan. (Testing hAP Lite, hAp ac Lite, hAp ac2, wAP ac, Omnitik ac, SXTsq ac for WDS, bridge and PtMP)

Yesterday I stopped the "searching for a better AP" on the hAp ac Lite, and the disconnects did not happen anymore.

On the hAP ac Lite, as 'station bridge' in one of the 'virtual AP', I entered "interface wireless set station-roaming=disabled" . Verified setting with "interface wireless print advanced".

I hope my hAP ac Lite is a "sticky client" now for this PtMP setup.
Thanks @bpwl,
This solved my problem too. I discovered afterward that this is officially documented :https://wiki.mikrotik.com/wiki/Manual:I ... on-Roaming
 
User avatar
jbl42
Member Candidate
Member Candidate
Posts: 214
Joined: Sun Jun 21, 2020 12:58 pm

Re: Wlan connection loss every 10 minutes

Mon Mar 15, 2021 11:24 pm

This solved my problem too. I discovered afterward that this is officially documented :https://wiki.mikrotik.com/wiki/Manual:I ... on-Roaming

Still it's weird MT Devices in station mode lose connections during background scans. Latency spikes during BG scan are to be expected (that's why gamers using WiFi disable BG scans in Windows to fight "ping spikes"), but the station to AP connection should not get lost.

Millions of Smartphones and PCs do WiFi background scans by default do search for better APs without losing connection. They are also smart enough to postpone BG scans while WMM prioritized VoIP/Video traffics is transported. And support 802.11k/v neighbor hood reports greatly reducig the need for BG scans.
Last edited by jbl42 on Mon Mar 15, 2021 11:30 pm, edited 1 time in total.
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 2978
Joined: Mon Apr 08, 2019 1:16 am

Re: Wlan connection loss every 10 minutes

Mon Mar 15, 2021 11:29 pm

FYI: release notes 6.46.7 LT says: *) wireless - changed "station-roaming" default setting from "enabled" to "disabled";
 
Wyz4k
Member Candidate
Member Candidate
Posts: 240
Joined: Fri Jul 10, 2009 10:23 am

Re: Wlan connection loss every 10 minutes

Fri Aug 26, 2022 8:33 am

For what it's worth I just found an issue between an RB922 running 6.48.6 and wap R AC 6 running 6.49.6 in mesh config the mesh connection kept breaking every 2-3 minutes. I tracked this down to a script that was doing a background scan every 2-3 minutes.

From here it gets interesting.

This script has been running with a duration=13s for years on the RB922s without breaking the mesh, but as soon as the duration exceeds 10s (on the wap r ac) it causes the mesh connection to be dropped and reformed.

I'll submit this to MikroTik in a support ticket.

Who is online

Users browsing this forum: GoogleOther [Bot], grusu, sinisa and 38 guests