hap ac2 wifi-qcom-ac not working

Hi everyone,

I’m trying to apply configuration from here: https://help.mikrotik.com/docs/display/ROS/WiFi#WiFi-CAPsMAN-CAPVLANconfigurationexample:
(CAPs that support wifi-qcom-ac package and section below as well), but seems its not working as it described (or I miss something)

Seems it creates interfaces for ssid’s which should be static, also that section:
/interface wifi
set [ find default-name=wifi1 ] configuration.manager=capsman disabled=no
set [ find default-name=wifi2 ] configuration.manager=capsman disabled=no
add disabled=no master-interface=wifi1 name=wifi21
add disabled=no master-interface=wifi2 name=wifi22

is deleted after I click on provision, after provision is not possible to create new static interface either. I dont understand what is going on.

capsman and wifi config:

/interface wifi cap
set caps-man-addresses=127.0.0.1 certificate=request enabled=yes \
    lock-to-caps-man=yes slaves-static=yes
/interface wifi capsman
set ca-certificate=auto certificate=auto enabled=yes package-path="" \
    require-peer-certificate=no upgrade-policy=none
/interface wifi provisioning
add action=create-dynamic-enabled comment=5ghz disabled=no \
    master-configuration=lan slave-configurations=guest supported-bands=\
    5ghz-ac
add action=create-dynamic-enabled comment=2.4ghz disabled=no \
    master-configuration=lan slave-configurations=iot,guest supported-bands=\
    2ghz-n
    
/interface wifi datapath
add bridge=bridge disabled=no name=lan
add bridge=bridge disabled=no name=guest vlan-id=1026
add bridge=bridge disabled=no name=iot vlan-id=1025
/interface wifi security
add authentication-types=wpa2-psk,wpa3-psk disabled=no name=lan wps=disable
add authentication-types=wpa2-psk disabled=no group-encryption=ccmp name=iot \
    wps=disable
add authentication-types=wpa2-psk,wpa3-psk disabled=no name=guest wps=disable
/interface wifi configuration
add channel.skip-dfs-channels=disabled country=Hungary datapath=lan disabled=\
    no manager=capsman name=lan security=lan ssid=teszt
add channel.skip-dfs-channels=disabled country=Hungary datapath=lan disabled=\
    no hide-ssid=yes manager=capsman name=iot security=iot ssid=teszt-iot
add channel.skip-dfs-channels=disabled country=Hungary datapath=lan disabled=\
    no manager=capsman name=guest security=guest ssid=teszt-guest

bridge/vlan:

/interface bridge
add admin-mac=74:4D:28:AB:C7:EB auto-mac=no comment=defconf name=bridge \
    port-cost-mode=short vlan-filtering=yes
/interface vlan
add interface=bridge name=vlan-guest vlan-id=1026
add interface=bridge name=vlan-iot vlan-id=1025
/interface bridge port
add bridge=bridge comment=defconf ingress-filtering=no interface=ether2 \
    internal-path-cost=10 path-cost=10
add bridge=bridge comment=defconf ingress-filtering=no interface=ether3 \
    internal-path-cost=10 path-cost=10
add bridge=bridge comment=defconf ingress-filtering=no interface=ether4 \
    internal-path-cost=10 path-cost=10
add bridge=bridge comment=defconf ingress-filtering=no interface=ether5 \
    internal-path-cost=10 path-cost=10
add bridge=bridge interface=wifi3 pvid=1025
add bridge=bridge interface=wifi4 pvid=1026
add bridge=bridge interface=wifi5 pvid=1026

rsc is attached..
ac2.rsc (6.1 KB)

Couple of things to try:

  • Try without wifi datapath, something tells me that is not necessary but can cause problems.
  • Let capsman create the extra wifi interfaces itself, so start with only wifi1 and wifi2, configure vlans after capsman is running.

set datapath to empty, still none of the ssid’s are visible (wifi interfaces stay in disabled state)
how can I make them broadcast?

I’m definitely not an expert, but I’ve been trying to do the same thing (set the hAP ac^2 wifi to wifi-qcom-ac). The configuration is just out-of-the-box with a couple users added (brand new device).

  • started out by updating the routerOS to the latest as of 3/11/26 (v. 7.22)
  • tried installing wifi-qcom-ac:
    • /system package disable wireless
      /system package enable wifi-qcom-ac
      /system reboot
  • didn’t work so copied wifi-qcom-ac-7.22-arm.npk to files, rebooted, the .npk file disappeared like it should
  • still didn’t work (I started pulling hair trying to remain calm :zany_face: )
  • happened to look at logs:
    • “upgrade failed, free 1705 kB of disk space”
    • I don’t know how in the world I’m going to free up 1705 kB of disk space!

Suggestions/solutions would be greatly appreciated! Maybe the hAP ac^2 just doesn’t have enough RAM?

Scott

Edit: I’m kind of new here, so maybe I should start a new thread?

That is - unfortunately - a generic issues with devices (like the AC2) with only 16 Mb storage, the issue is not RAM (memory) as it has 128 Mb but the actual flash storage.

The space is too tight to allow for both the base RouterOS and the wifi-qcom-ac package (if you install locally from an uploaded file).

The solution (that you won't like :woozy_face:) is netinstall, which needs a particularly tricky procedure.
The netinstall will:

  • erase/delete everything on the device
  • install routerOS
  • install additional packages
  • optionally either run a selected configuration, or reset it to default (or completely remove it)

SInce the files will be uploaded and installed in one pass from the storage on your PC, the hap storage will have no need for "temporary files" and then the 16 Mb will be enough.

delete

First, you need to remove the wireless package and only then install the new package.

Thank you all for taking time to help! Learned a lot about netinstaller, but found that I probably only disabled “wireless” instead of uninstalling it. The “/system/package/ uninstall wireless“ command worked - followed by a reboot - (which I thought I’d done). That freed up enough space to install the wifi-qcom-ac package :smile:

I feel quite foolish for missing something in my steps but am quite relieved!

Another solution, which would work without netinstall, is to use version 7.19.6, where wifi-qcom-ac can be accommodated. If you can operate with that limitation on version, then fine. Otherwise, Mikrotik kit with wireless and just 16MB of storage should be retired.

Ah, good, I thought you had not enough space after having deleted the wireless package.
Happy you managed to avoid the pain of netinstall.

This brings up a couple of questions that maybe related.

  1. How can you see the files in the flash memory (the 16MB)?
  2. Maybe not a question, but I probably would have had the same issue after using netinstaller because of only disabling wireless instead of uninstalling it. I better keep reading the manual more!

Well, no.
Netinstall deletes the storage and installs to It the base OS and the package(s) you select/add to the source directory.
Of course if you (re-)add both wireless and wifi-qcom-ac ...