Random connection dropping vol2

This is why it is posted in the beginner basics. I don’t understand the hostility.
Logs are empty, i have not been able to reproduce it that’s why i’m asking for any ideas to go on. What to try, where to look etc.

You have 3x wifi devices, in default configuration all connection to wireless are log into logs and when a wifi-user roam between them he can re-connect.
Maybe you not check the logs at wifi AP but in main SXT, he in logs have got empty logs because he not have wifi radio.

Just saw connection drop checked the logs on the AP’s only saw this:

MajaAP
07:50:22 wireless,info 24:1B:7A:94:74:AF@wlan1: connected, signal strength -84
07:50:54 wireless,info 24:1B:7A:94:74:AF@wlan1: disconnected, registered to other device in network
MajaAPKatusTV
07:50:23 wireless,info 24:1B:7A:94:74:AF@wlan1: disconnected, registered to other device in network
07:50:54 wireless,info 24:1B:7A:94:74:AF@wlan1: connected, signal strength -56

no logs on the SXT side on that time. Is there a specific topic i should log? Right now i log the default topics.

As you notice, SXT who is your router see only DHCP actions, traffic by him etc. but he receive that traffic from any of AP.
Only AP can detect and show in logs why the roaming not work, maybe that because MIKROTIK NOT SUPPORT ANY ROAMING at WIFI and you will always be disconnected.
Sorry, I not expert of wifi, I not use wifi at MikroTik devices and that point some other person should give you support.

You can track that logs at AP and be sure if your dropping is from client roam between routers, if yes then try search posts about roaminng, I know they are post with tuning wifi settings to be faster.

I see logs disabled in the config files

/system logging
set 0 disabled=yes
set 1 disabled=yes
set 2 disabled=yes
set 3 disabled=yes

Should be

/system logging
set 0 action=memory disabled=no prefix=“” topics=info
set 1 action=memory disabled=no prefix=“” topics=error
set 2 action=memory disabled=no prefix=“” topics=warning
set 3 action=echo disabled=no prefix=“” topics=critical

A line with “wireless” as topic is an interesting addition here

add action=memory disabled=no prefix=“” topics=wireless

Actually your ether1 is a “LAN” port. The border between WAN and LAN is in the SXT LTE, everything below that is LAN.

So in:

/interface list member
add interface=ether2 list=LAN
add interface=ether3 list=LAN
add interface=ether4 list=LAN
add interface=ether5 list=LAN
add interface=wlan1 list=LAN
add interface=ether1 list=WAN
add interface=wlan2 list=LAN

ether1 should be in the LAN list. But as ether1 is also attached to the bridge it is of no use.

The other interfaces are not important, as they are slave to bridge1. So bridge1 should be in the LAN list.
The list names WAN and LAN are used in the default config, they have no ‘meaning’ as such. They could be called “Cookie” and “Monster”.

Look for the word LAN and WAN in your config files, to see if it matters:
E.G.:
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN

You selected very well channel 1,6 and 11 on your 3 wifi devices, as seen in the config.

“Every AC lite box runs 2.4GHz on different channels to make sure they don’t overlap.”

Excellent, but what about the rest of the site survey? 2.4GHz tends to interfere well over 1 km in all directions.
The only way to now is measuring.
All tools needed are in your AP’s. “Freq usage”, “SCAN”, and “Snooper”.
If neighbors are using other channels than 1,6 or 11 you may have a quite bad wifi experience.

I also see that you have set up the 5GHz with the same SSID. Fine for operational status. But you do not want to be confused by devices selecting 5 GHz without expecting that.

The site is in the middle of a forest with the closest neighbour at least 1.5km away. When i did a survey on 2.4 and 5Ghz frequencies i saw absolutely nothing but my own devices.
Wifi interface 2 (5Ghz) is disabled so only 5Ghz is in use.

So as i understand you correctly and feel free to correct me the correct setup should be

/interface list member
add interface=ether2 list=LAN
add interface=ether3 list=LAN
add interface=ether4 list=LAN
add interface=ether5 list=LAN
add interface=wlan1 list=LAN
add interface=bridge1 list=LAN
add interface=wlan2 list=LAN

and ether1 should not be on any list?

and also a futher update my bridge on the APs atm has a seperate admin mac that is unique to the network, should this be changed back to being the same as ether1 mac address?

Right now i have enabled all the topics above. Will add the wireless topic as well.

Well as all those interfaces are a port on bridge “bridge1”, they become slave interfaces. So the really important one is “bridge1”.
No need to change back the MAC address of the bridge. Make sure your MAC addresses are unique in the network.
You have some similar devices, and it is tempting to copy/paste a configuration by doing backup/restore which will copy the MAC addresses as well.
Even EXPORT contains MAC addresses that might be imported.

That’s a very clean area. Even the trees are very good RF filters. :slight_smile:

So i added bridge1 to the LAN interface list. Quick question, if i start without default config and then just paste my configuration to the terminal. How are the interface lists even an issue if i don’t use them anywhere in the configuration?

:smiley: I could turn the question around. If you don’t use the interface list, then why do you make them? I prefer , if you make interface lists, that they are correct, unless you want to confuse yourselves or make the config hard to read for humans. And even more, those WAN/LAN interface lists are in the default configs, and are used there at several places. And so actually you are using them …

/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN

With bridge1 in the LAN list, now you can connect with WinBOX via the MAC address, if you are changing or have an inconsistent IP setup

Logging is not 100% insync, I assume …small diff in clocks or actually the disconnect is only detected after all the retries and a timeout.if the device didn’t announce it is leaving. But "registered to other device in network " looks like it did announce.

MajaAPKatusTV 07:50:23 wireless,info 24:1B:7A:94:74:AF@wlan1: disconnected, registered to other device in network
MajaAP 07:50:22 wireless,info 24:1B:7A:94:74:AF@wlan1: connected, signal strength -84
MajaAP 07:50:54 wireless,info 24:1B:7A:94:74:AF@wlan1: disconnected, registered to other device in network
MajaAPKatusTV 07:50:54 wireless,info 24:1B:7A:94:74:AF@wlan1: connected, signal strength -56

Going from MajaAPKatusTV 07:50:23 to MajaAP and then 07:50:54 moving back to MajaAPKatusTV
Looks like excellent roaming.
For the data to flow to the correct AP the RB260GSP switch number 2 has to adapt as well ! It normally learns the new path for 24:1B:7A:94:74:AF from the first packet it receives over the new path..

okay i removed the interface lists cause i do not use them and at this point i want to have a very minimal setup.

Also i was sitting for 2 hours and working and suddenly i had a disconnect and this was in the logs.

I was sitting on the couch and i did not move for hours. and RSSI is -56
saun_disconnect.png

Disconnect due to “extensive data loss”. Is disconnect because the ACK was not received in time.
What’s the process?
Every unicast transmit needs an ACK respons. Mkt AP will retry “hw-retry” times (default=7) before it considers the transmit as failed. Upon failure it will lower the interface rate and start over. If it keeps failing 3 times (=3*7 transmits) at the lowest supported interface rate it will start the time-out counter (default 3 sec) and retry each retry interval (default=0.1sec). Without succes before the end of the timeout period it will disconnect and log “extensive data loss”. The client will search for an AP and try to associate.

What stopped the transmission is not known. For a handheld device it could be your hand. Sudden interference from another device, reflections, …

One can think of many tweaks to tune this. But every modification has a negative side as well. So be carefull.

Thanks for the detailed explanation.

I had to rollback that interface list removal change. After that change the whole network went haywire.

On another note yesterday i worked with an ethernet cable attached from my laptop to OruAPSaun, everything worked like clockwork, no connectivity issues at all.

Behind wifi i cannot even make slack audio calls properly, not to mention even video calls, it’s very laggy and keeps disconnecting.

Difficult to hint what the tuning should be without seeing the “registration” information (detailed view) and its fluctuation over time. That, together with “freq usage” and “snooper” scans, would give some clue on what is causing your poor wifi experience.

Remedies are like moving the AP away from wall and furniture. Check signal strength in both directions. Avoid interference by moving channel and even by lowering bandwidth.

Sending smaller aggregation packages can avoid large retransmits (but this also lowers the max data throughput) , by reducing the A-PSMDU from 8192 to 2048.
Improving the respons time on time and jitter critical communication, by setting the user priority and enabling WMM. (enabling WMM without setting priority doesn’t help much)
http://forum.mikrotik.com/t/how-to-get-rid-of-slow-wifi-can-it-be-done/139640/1
If you start using user priority don’t forget to extend the use of A-PMDU for those other priorities except voice (7)

Very good suggestions. Although i will put the blame under hap ac lite. I did some monitoring and research and i have come to the conclusion that the transmit power for hap ac lite is very weak compared to similar products on the market like hap ac and RB951G-2HnD.

Problem with ac lite is that due to the low transmit power even the slightest blockage (walls, floors, ceilings etc) will cause a significant reduction in signal strength.

I would suggest moving on to a different AP when there is aforementioned environmental factors at play. For only 2.4 GHz i would suggest RB951G-2HnD but i would spend the extra 40€ and just get the HAP ac, it is a bit more future proof.