Community discussions

MikroTik App
 
nabilalwan2004
just joined
Topic Author
Posts: 23
Joined: Tue May 25, 2021 9:22 pm

A lot of disconnections.  [SOLVED]

Mon Jun 28, 2021 3:15 pm

Hi,

Hope all is well.

I have this problem of disconnection of devices from wireless AP (wAP ac and cAP ac) and the log says (xx:xx@wlan1: disconnected, extensive data loss).

Kindly help me in this issue and thanks in advance.

Regards,

Nabil Alwan.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: A lot of disconnections.

Mon Jun 28, 2021 3:17 pm

...
Last edited by rextended on Mon Jun 28, 2021 3:23 pm, edited 1 time in total.
 
nabilalwan2004
just joined
Topic Author
Posts: 23
Joined: Tue May 25, 2021 9:22 pm

Re: A lot of disconnections.

Mon Jun 28, 2021 3:19 pm

I deleted from Wireless Forum, Sorry.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: A lot of disconnections.

Mon Jun 28, 2021 3:22 pm

If you do not provide more details, no one help you.
Just for "disconnected, extensive data loss" can be dozen of problems.
 
nabilalwan2004
just joined
Topic Author
Posts: 23
Joined: Tue May 25, 2021 9:22 pm

Re: A lot of disconnections.

Mon Jun 28, 2021 3:24 pm

Tell me what exact data you want, and I will try to give you.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: A lot of disconnections.

Mon Jun 28, 2021 3:32 pm

make a file pasting this on terminal:
/export hide-sensitive file=request
open the file with, for example, notepad and CENSORE with * (DO NOT DELETE ANYTHING!!!)
public IP, password, any identifiable data

Double check,

attach the file on forum for review
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: A lot of disconnections.

Mon Jun 28, 2021 10:29 pm

"extensive data loss" - local interface decided to drop connection to remote device because of inability to send data to remote after multiple failures at lowest possible rate. Possible causes - too weak signal, remote device turned off, strong interference, some other RF related issue that makes communication impossible.

Source: https://wiki.mikrotik.com/wiki/Manual:W ... Debug_Logs
 
nabilalwan2004
just joined
Topic Author
Posts: 23
Joined: Tue May 25, 2021 9:22 pm

Re: A lot of disconnections.

Tue Jun 29, 2021 8:40 am

Hi rextended,
It's just simple configuration as you will see in the attachment, and Yesterday I changed three settings hoping make things better, so far so good:
disconnect-timeout=from 3s to 15s, hw-retries=from 7 to 15, and on-fail-retry-time= from 0.10 s to 1s.

Hi Zacharias,
Thanks for your reply, I will check and reply to you ASAP.
You do not have the required permissions to view the files attached to this post.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: A lot of disconnections.

Tue Jun 29, 2021 10:25 am

First of all, upgrade to 6.47.10

then paste this on terminal without omit { }
{
/interface wireless security-profiles set NAF1 authentication-types=wpa2-psk disable-pmkid=yes management-protection=disabled
/interface wireless set wlan1 band=2ghz-g/n disconnect-timeout=3s distance=indoors hw-retries=7 on-fail-retry-time=100ms wmm-support=disabled
/interface list member remove [find where list=WAN]
/ip firewall filter remove [find]
/ip firewall nat remove [find]
}
 
nabilalwan2004
just joined
Topic Author
Posts: 23
Joined: Tue May 25, 2021 9:22 pm

Re: A lot of disconnections.

Tue Jun 29, 2021 11:50 am

OK, I will do that and let you know.
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 2983
Joined: Mon Apr 08, 2019 1:16 am

Re: A lot of disconnections.

Tue Jun 29, 2021 7:52 pm

/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-XX \
disabled=no disconnect-timeout=15s distance=indoors frequency=auto \
hw-retries=15 installation=outdoor mode=ap-bridge on-fail-retry-time=1s \
security-profile=NAF1 ssid=NAF1 wireless-protocol=802.11 wmm-support=\
enabled wps-mode=disabled
Well not very well defined this way ....
- avoid 802.11b (as told by rextended)
-channel-width=20/40mhz-XX . 40 Mhz Wide channel is mostly a problem in 2.4GHz band. And with XX you don't even control what side the extension channel is on (eg Ce or eC)
-disconnect=15s .... desperate attempt to hold on ! 15 seconds without the ability to send just one packet !?
-frequency=auto . Here all is open. What will you get? Unpredictable stability!
-hw-retries=15 .... helps to keep up the higher rates longer. The interface rate selection process will respond slowly to worsening conditions with interface rate reductions, but indeed more retries.
-on-fail-retry-time=1s , this is not helping at all. You only retry every second, instead of 10 times per second.

Check the connection quality. It is in the "registration table"! Check signal strength and SNR. Check interface rate and it's fluctuations! Do the same for the TX/RX CCQ!
(low CCQ can also be caused by obstructions, like a wall)

But start to observe the environment for a while with "Freq Usage" , and "Snooper", then select the proper channel avoiding interference based on the observation.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: A lot of disconnections.

Tue Jun 29, 2021 8:58 pm

Also wpa-psk on "n", pmkid enabled, management-protection only supported from other mikrotik device (only?), distance must be indoor, not kilometric, useless firewall rules and NAT because all interface are on LAN bridge because is only an AP.
 
nabilalwan2004
just joined
Topic Author
Posts: 23
Joined: Tue May 25, 2021 9:22 pm

Re: A lot of disconnections.

Thu Jul 01, 2021 12:56 pm

Thanks a lot for your help.

I did all of your advices, so far so good.

Regards,

Nabil Alwan.

Who is online

Users browsing this forum: oscar120584 and 38 guests