hAP ax3 drops 2013 macbook air after a few minutes

Hi all,

I’m struggling to understand what’s going wrong here, between my hAP ax3 on RouterOS 7.8 and an old macbook air:

may/03 21:12:28 wireless,info A8:66:7F:19:EE:D3@wifi1 reauthenticating
may/03 21:12:28 wireless,info A8:66:7F:19:EE:D3@wifi1 connected, signal strength -39
may/03 21:15:03 wireless,info A8:66:7F:19:EE:D3@wifi1 disconnected, connection lost, signal strength -50
may/03 21:15:46 wireless,info A8:66:7F:19:EE:D3@wifi1 connected, signal strength -50
may/03 21:17:19 wireless,info A8:66:7F:19:EE:D3@wifi1 disconnected, connection lost, signal strength -50

/interface wifiwave2
set [ find default-name=wifi1 ] channel.band=5ghz-ax .width=20/40/80mhz configuration.mode=ap .ssid=private disabled=no
security.authentication-types=wpa2-psk,wpa3-psk .disable-pmkid=yes .group-key-update=1h
set [ find default-name=wifi2 ] channel.band=2ghz-n .width=20/40mhz configuration.mode=ap .ssid=private disabled=no
security.authentication-types=wpa2-psk,wpa3-psk .disable-pmkid=yes .group-key-update=1h

the laptop at this point was ~2m from the box, nothing in the way. The connection works initially, but then the hAP thinks the device has disconnected, while the macbook thinks it is still connected. However, it is not, and I can’t even ping the gateway.

any tips are appreciated.

You can try to configure it following the MT guide: https://help.mikrotik.com/docs/display/ROS/WifiWave2

# Creating a security profile, which will be common for both interfaces
/interface wifiwave2 security
add name=common-auth authentication-types=wpa2-psk,wpa3-psk passphrase="diceware makes good passwords" wps=disable
# Creating a common configuration profile and linking the security profile to it
/interface wifiwave2 configuration
add name=common-conf ssid=MikroTik country=Latvia security=common-auth
# Creating separate channel configurations for each band
/interface wifiwave2 channel
add name=ch-2ghz frequency=2412,2432,2472 width=20mhz
add name=ch-5ghz frequency=5180,5260,5500 width=20/40/80mhz
# Assigning to each interface the common profile as well as band-specific channel profile
/interface wifiwave2
set wifi1 channel=ch-2ghz configuration=common-conf disabled=no
set wifi2 channel=ch-5ghz configuration=common-conf disabled=no

it is handy, as you can later play with frequencies.
My config is based on profiles and works fine with MacBooks as well.
Performance is a different story :wink:

@pants Mine’s a Mac mini M1 but I have similar “disconnected, connection lost” in the logs.

On May 3, I had 516 of ‘disconnected, connection lost’ for my Mac mini. I didn’t note down which ROS it was at that time but it would have been either 7.9rc5 or 7.9.

May 4 to May 9, one each a day. Not sure what fixed it.

My wifiwave2 config since May 6 is below.

# may/09/2023 04:15:47 by RouterOS 7.9
# model = C53UiG+5HPaxD2HPaxD
/interface wifiwave2
set [ find default-name=wifi1 ] channel.band=5ghz-ax .skip-dfs-channels=disabled .width=20/40/80mhz \
    configuration.country=Malaysia .mode=ap .ssid=mtk disabled=no security.authentication-types=wpa2-psk,wpa3-psk \
    .disable-pmkid=no .encryption=ccmp,gcmp,ccmp-256,gcmp-256 .wps=push-button
set [ find default-name=wifi2 ] channel.band=2ghz-ax .skip-dfs-channels=disabled .width=20mhz configuration.country=\
    Malaysia .mode=ap .ssid=mtk disabled=no mtu=1500 security.authentication-types=wpa-psk,wpa2-psk .disable-pmkid=no \
    .encryption=ccmp,gcmp,ccmp-256,gcmp-256 .wps=push-button

/interface bridge
add admin-mac=48:A9:8A:XX:XX:XX auto-mac=no name=bridge1
/interface ethernet
set [ find default-name=ether1 ] poe-out=off
set [ find default-name=ether2 ] name=ether2-uplink
/interface bridge port
add bridge=bridge1 interface=ether1
add bridge=bridge1 interface=ether2-uplink
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether4
add bridge=bridge1 interface=ether5
add bridge=bridge1 interface=wifi1
add bridge=bridge1 interface=wifi2
add bridge=bridge1 interface=veth1-adguard
add bridge=bridge1 interface=veth2-uptimekuma
add bridge=bridge1 interface=veth3-lego
/ip dhcp-client
add interface=bridge1

How to EXE that config?