Routeros 7.20.2
I’m having a weird issue: I think I deleted by mistake one of the wifi interfaces (the 5Ghz one) and it “auto-created” it automatically. May be capsman did it, I’m not sure. The fact is it’s created as “dynamic” (note the D flag) and don’t let me to modify any setting or create a slave. What can I do to restore the normal behavior?
This is the output of print detail for this interface:
3 MDBR default-name="wifi2" name="wifi2" l2mtu=1560 mac-address=DC:2C:xx:xx:xx:xx arp- timeout=auto radio-mac=DC:2C:xx:xx:xx:xx configuration=anv
configuration.ssid="anv"
security.authentication-types=wpa2-psk,wpa3-psk .group-encryption=ccmp .passphrase="xxxxxxxxxx” ft=yes
datapath.bridge=bridge
You can't delete an interface, unless it is virtual or dynamic (AFAIK).
Where is the interface deleted?
Can you share configs involved (CAPsMAN and CAPS?)?
/export file=anynameyoulike
Remove serial and any other private info, post as Preformatted text by using the </> button.
Think you are running 7.20.2, correct? Otherwise, please share your version ![]()
Sorry. Just modified the version. It’s indeed 7.20.2
I’m not sure but I think the problem was because I deleted the interface and it “re-appeared” as dynamic but I’m not sure it’s the cause. What I see is wifi2 is shown as dynamic and I can’t modify it’s settings.
The capsman config is this:
/interface wifi capsman
set enabled=yes interfaces=bridge package-path="" require-peer-certificate=no
upgrade-policy=none
/interface wifi cap
set enabled=yes
I tried also disabling cap in this router because I’m using it as capsman sever so I think it’s not needed here but no change. The 5Ghz interface is still shown as dynamic.
Example:
[admin@MikroTik] /interface/wifi> set [ find default-name=wifi2 ] configuration=anv configuration.country=Spain
failure: can not change dynamic interface
Looks like the interface is (manually) provisioned by the CAPsMAN.
What device are you using? Can you share the output of:
/interface wifi export
To bring a (local) interface back to its initial state, you can reset it by using command:
/interface/wifi reset wifi1
/interface/wifi reset wifi2
Oh yes, you can but not everywhere.
Happened to me already a couple of times with LTE interface.
From what I can see in Winbox you can not with ethernet interfaces (icon to remove is greyed out) but you should be able to with wifi interfaces (icon to remove is selectable).
/interface wifi export
2025-11-03 11:37:36 by RouterOS 7.20.2
software id = A6N9-5YL6
model = RBD53GR-5HacD2HnD
serial number = xxxxx
/interface wifi securityadd authentication-types=wpa2-psk,wpa3-psk disabled=no encryption=ccmp,gcmp,ccmp-256,gcmp-256 name=sec1/interface wifi
operated by CAP 48:8F:xx:xx:xx:xx%bridge, traffic processing on CAP
add configuration=anv disabled=no name=cap-wifi1 radio-mac=48:8F:xx:xx:xx:xx
operated by CAP 48:8F:xx:xx:xx:xx%bridge, traffic processing on CAP
add configuration=anv disabled=no name=cap-wifi2 radio-mac=48:8F:xx:xx:xx:xxset [ find default-name=wifi1 ] configuration=anv configuration.country=Spain .mode=ap .ssid=anv disabled=no name=wifi1-2.4 security=sec1 security.ft=yes steering.rrm=yes/interface wifi capset enabled=yes/interface wifi capsmanset enabled=yes interfaces=bridge package-path="" require-peer-certificate=no upgrade-policy=none/interface wifi configurationadd datapath.bridge=bridge disabled=no name=anv security.authentication-types=wpa2-psk,wpa3-psk .encryption=ccmp,gcmp,ccmp-256,gcmp-256 .ft=yes .group-encryption=ccmp ssid=anv/interface wifi datapathadd bridge=bridge disabled=no name=datapath-anv/interface wifi provisioningadd action=create-disabled disabled=no master-configuration=anv
I tried /interface/wifi reset wifi2. The result is this:
[admin@MikroTik] /interface/wifi> /interface/wifi reset wifi2
failure: can not change dynamic interface
Well.. Found how to solve the problem.
-
ensure capsman provision indicates “create enabled” and not “create dynamic enabled”.
-
go to radios, and provision the one with the problem.