Community discussions

MikroTik App
 
rxmd
just joined
Topic Author
Posts: 22
Joined: Thu Mar 02, 2017 8:39 am

CAPsMAN - can't get 5GHz band on wAP ac to work

Wed Aug 29, 2018 8:10 am

Hi,
I'm using a RB750Gr3 as CAPsMAN and a wAP ac as CAP. I have a problem getting the wAP ac to broadcast on both bands. Devices can only the 2.4GHz SSID. I've been following the Wiki and threads here (this, this). I am trying to provision the two radios separately.

See the CAPsMAN configuration below. The wAP ac has only ever been configured as CAP using the button. To me the configuration looks fine, and I'm not seeing any errors (such as "no supported channel"). But I'm new to CAPsMAN, probably I'm missing something obvious?
[admin@MikroTik] /caps-man channel
add band=2ghz-b/g/n control-channel-width=20mhz name=channel2G
add band=5ghz-a/n/ac control-channel-width=20mhz name=channel5G
/caps-man datapath
add bridge=bridge1 name=datapath1
/caps-man security
add authentication-types=wpa-psk,wpa2-psk encryption=aes-ccm group-encryption=aes-ccm \
    name=securityHome1 passphrase=V0llh0nk
/caps-man configuration
add channel=channel2G country=kazakhstan datapath=datapath1 name=cfgHome2G security=\
    securityHome1 ssid=WifiTest2G
add channel=channel5G country=kazakhstan datapath=datapath1 name=cfgHome5G security=\
    securityHome1 ssid=WifiTest5G
/caps-man manager
set enabled=yes upgrade-policy=suggest-same-version
/caps-man provisioning
add action=create-dynamic-enabled comment="802.11gn - 2,4 GHz " hw-supported-modes=gn \
    master-configuration=cfgHome2G name-format=prefix-identity name-prefix=homeAPgn
add action=create-dynamic-enabled comment="802.11ac - 5GHz" hw-supported-modes=ac \
    master-configuration=cfgHome5G name-format=prefix-identity name-prefix=homeAPac
 
User avatar
baragoon
Member Candidate
Member Candidate
Posts: 294
Joined: Thu Jan 05, 2017 10:38 am
Location: Kyiv, UA
Contact:

Re: CAPsMAN - can't get 5GHz band on wAP ac to work

Wed Aug 29, 2018 9:06 am

/caps-man interface export
?
 
rxmd
just joined
Topic Author
Posts: 22
Joined: Thu Mar 02, 2017 8:39 am

Re: CAPsMAN - can't get 5GHz band on wAP ac to work

Wed Aug 29, 2018 9:25 am

[admin@MikroTik] > /caps-man interface export
# aug/29/2018 12:24:48 by RouterOS 6.42.7
# software id = 7R0I-PYJV
#
# model = RouterBOARD 750G r3
# serial number = xxx
[admin@MikroTik] > 
 
User avatar
baragoon
Member Candidate
Member Candidate
Posts: 294
Joined: Thu Jan 05, 2017 10:38 am
Location: Kyiv, UA
Contact:

Re: CAPsMAN - can't get 5GHz band on wAP ac to work

Wed Aug 29, 2018 9:56 am

Try to create interfaces. This is my example:
/caps-man interface
add arp=enabled channel.band=2ghz-onlyn channel.reselect-interval=1d configuration=cfg2 disabled=no l2mtu=1600 mac-address=XX:XX:XX:XX:XX:X7 master-interface=none mtu=1500 \
    name=cap-wlan2 radio-mac=XX:XX:XX:XX:XX:X7
add channel.band=5ghz-n/ac configuration=cfg5 disabled=no l2mtu=1600 mac-address=XX:XX:XX:XX:XX:X6 master-interface=none name=cap-wlan5 radio-mac=XX:XX:XX:XX:XX:X6
 
rxmd
just joined
Topic Author
Posts: 22
Joined: Thu Mar 02, 2017 8:39 am

Re: CAPsMAN - can't get 5GHz band on wAP ac to work

Wed Aug 29, 2018 10:07 am

Try to create interfaces. This is my example:
/caps-man interface
add arp=enabled channel.band=2ghz-onlyn channel.reselect-interval=1d configuration=cfg2 disabled=no l2mtu=1600 mac-address=XX:XX:XX:XX:XX:X7 master-interface=none mtu=1500 \
    name=cap-wlan2 radio-mac=XX:XX:XX:XX:XX:X7
add channel.band=5ghz-n/ac configuration=cfg5 disabled=no l2mtu=1600 mac-address=XX:XX:XX:XX:XX:X6 master-interface=none name=cap-wlan5 radio-mac=XX:XX:XX:XX:XX:X6
But shouldn't CAPsMAN create interfaces dynamically when I'm provisioning the radio with action=create-dynamic-enabled? I see interfaces in the CAP Interfaces view in Winbox:
interfaces.PNG
You do not have the required permissions to view the files attached to this post.
 
nescafe2002
Forum Veteran
Forum Veteran
Posts: 897
Joined: Tue Aug 11, 2015 12:46 pm
Location: Netherlands

Re: CAPsMAN - can't get 5GHz band on wAP ac to work

Wed Aug 29, 2018 10:14 am

Check the status tab of the 5Ghz interface. Is it in state running-ap? What channel?
 
User avatar
karlisi
Member
Member
Posts: 433
Joined: Mon May 31, 2004 8:09 am
Location: Latvia

Re: CAPsMAN - can't get 5GHz band on wAP ac to work

Wed Aug 29, 2018 10:57 am

See the CAPsMAN configuration below. The wAP ac has only ever been configured as CAP using the button. To me the configuration looks fine, and I'm not seeing any errors (such as "no supported channel"). But I'm new to CAPsMAN, probably I'm missing something obvious?
[admin@MikroTik] /caps-man channel
add band=2ghz-b/g/n control-channel-width=20mhz name=channel2G
add band=5ghz-a/n/ac control-channel-width=20mhz name=channel5G
Try this
/caps-man channel
add band=2ghz-b/g/n name=channel2G
add band=5ghz-onlyac name=channel5G
 
rxmd
just joined
Topic Author
Posts: 22
Joined: Thu Mar 02, 2017 8:39 am

Re: CAPsMAN - can't get 5GHz band on wAP ac to work

Wed Aug 29, 2018 11:00 am

Check the status tab of the 5Ghz interface. Is it in state running-ap?
Both are in status running-ap. The 2.4GHz interface has last link up & down times, the 5GHz interface doesn't:
interfaces-cap.PNG
You do not have the required permissions to view the files attached to this post.
 
rxmd
just joined
Topic Author
Posts: 22
Joined: Thu Mar 02, 2017 8:39 am

Re: CAPsMAN - can't get 5GHz band on wAP ac to work

Wed Aug 29, 2018 11:05 am

Try this
/caps-man channel
add band=2ghz-b/g/n name=channel2G
add band=5ghz-onlyac name=channel5G
Thank you, but no change... :(
 
User avatar
xvo
Forum Guru
Forum Guru
Posts: 1237
Joined: Sat Mar 03, 2018 1:12 am
Location: Moscow, Russia

Re: CAPsMAN - can't get 5GHz band on wAP ac to work

Wed Aug 29, 2018 11:12 am

Your 5GHz is running on 5785 MHz (157 Channel) - not all devices and not in all countries support channels 149,153,157,161.
Try changing to 5150 – 5250 MHz
 
rxmd
just joined
Topic Author
Posts: 22
Joined: Thu Mar 02, 2017 8:39 am

Re: CAPsMAN - can't get 5GHz band on wAP ac to work

Wed Aug 29, 2018 11:37 am

Your 5GHz is running on 5785 MHz (157 Channel) - not all devices and not in all countries support channels 149,153,157,161.
Try changing to 5150 – 5250 MHz
Interesting, thanks. When I try to set the channel manually, it looks like the change never gets pushed to the AP:
[admin@MikroTik] > /caps-man channel export                        
# aug/29/2018 14:32:33 by RouterOS 6.42.7
# software id = 7R0I-PYJV
#
# model = RouterBOARD 750G r3
# serial number = xxx
/caps-man channel
add band=2ghz-b/g/n control-channel-width=20mhz name=channel2G
add band=5ghz-onlyac control-channel-width=20mhz extension-channel=disabled frequency=5240 \
    name=channel5G
[admin@MikroTik] > /caps-man interface print detail
Flags: M - master, D - dynamic, B - bound, X - disabled, I - inactive, R - running 
 0 MDBR name="cap6" mac-address=CC:2D:E0:1D:B5:A9 arp-timeout=auto 
        radio-mac=CC:2D:E0:1D:B5:A9 master-interface=none configuration=cfgHome2G 
        l2mtu=1600 current-state="running-ap" current-channel="2452/20-Ce/gn(20dBm)" 
        current-rate-set="CCK:1-11 OFDM:6-54 BW:1x-2x SGI:1x-2x HT:0-15" 
        current-basic-rate-set="CCK:1-11" current-registered-clients=1 
        current-authorized-clients=1 

 1 MDB  name="cap7" mac-address=CC:2D:E0:1D:B5:A8 arp-timeout=auto 
        radio-mac=CC:2D:E0:1D:B5:A8 master-interface=none configuration=*4 l2mtu=1600 
        current-state="running-ap" current-channel="5785/20-eeCe/ac(30dBm)" 
        current-rate-set="OFDM:6-54 BW:1x-4x SGI:1x-4x HT:0-23 VHTMCS:SS1=0-9,SS2=0-9,SS3=0-
                 9" 
        current-basic-rate-set="OFDM:6" current-registered-clients=0 
        current-authorized-clients=0 
[admin@MikroTik] >
I also see a strange value in the configuration field on the cap7 interface; could it be that the interface is provisioned incorrectly and does not get its configuration from CAPsMAN at all? What would be the way to diagnose this?
 
User avatar
xvo
Forum Guru
Forum Guru
Posts: 1237
Joined: Sat Mar 03, 2018 1:12 am
Location: Moscow, Russia

Re: CAPsMAN - can't get 5GHz band on wAP ac to work

Wed Aug 29, 2018 12:43 pm

Try specifying the target for provision not by some wide criteria, but by MAC address of the CAP directly.
When you will be sure, that config itself is working right on the cap, you can then play with the provison method.
 
rxmd
just joined
Topic Author
Posts: 22
Joined: Thu Mar 02, 2017 8:39 am

Re: CAPsMAN - can't get 5GHz band on wAP ac to work

Wed Aug 29, 2018 6:04 pm

OK, so I've been experimenting a bit and the problem seems to be related to the country settings. I am currently in Kazakhstan, but when I set the country to Kazakhstan on the 5GHz configuration, it stops working.

Here's a working CAPsMAN configuration that has everything set correctly (country is set to Kazakhstan). Everything works, except the 5GHz radio.
/caps-man channel
add band=2ghz-onlyn control-channel-width=20mhz extension-channel=disabled name=channel2
add band=5ghz-n/ac control-channel-width=20mhz extension-channel=eC name=channel5 \
    skip-dfs-channels=yes
/caps-man datapath
add bridge=bridge1 client-to-client-forwarding=yes name=datapath1
/caps-man security
add authentication-types=wpa2-psk encryption=aes-ccm group-encryption=aes-ccm name=\
    security1 passphrase=xxx
/caps-man configuration
add channel=channel2 country=kazakhstan datapath=datapath1 mode=ap name=WifiTest2 \
    security=security1 ssid=WifiTest2
add channel=channel5 country=kazakhstan datapath=datapath1 mode=ap name=WifiTest5 \
    security=security1 ssid=WifiTest5
add channel=channel2 country=kazakhstan datapath=datapath1 mode=ap name=WifiTest25 \
    security=security1 ssid=WifiTest
add channel=channel5 country=kazakhstan datapath=datapath1 mode=ap name=WifiTest52 \
    security=security1 ssid=WifiTest
/caps-man manager
set enabled=yes upgrade-policy=suggest-same-version
/caps-man provisioning
add action=create-dynamic-enabled master-configuration=WifiTest52 name-format=prefix \
    name-prefix=cap-ap5- radio-mac=xx:xx:xx:xx:xx:x8 slave-configurations=WifiTest5
add action=create-dynamic-enabled master-configuration=WifiTest25 name-format=prefix \
    name-prefix=cap-ap2- radio-mac=xx:xx:xx:xx:xx:x9 slave-configurations=WifiTest2
The 5GHz interface, however, reports "no supported channel":
[admin@MikroTik] > /caps-man interface print detail where name=cap-ap5-1
Flags: M - master, D - dynamic, B - bound, X - disabled, I - inactive, R - running 
 0 MDBI ;;; no supported channel
        name="cap-ap5-1" mac-address=xx:xx:xx:xx:xx:x8 arp-timeout=auto 
        radio-mac=xx:xx:xx:xx:xx:x8 master-interface=none configuration=WifiTest52 
        current-state="no-channel" 


Now, if I change nothing but the country setting (replacing "kazakhstan" by "germany", for example) it begins to work:
/caps-man configuration
add channel=channel2 country=kazakhstan datapath=datapath1 mode=ap name=WifiTest2 \
    security=security1 ssid=WifiTest2
add channel=channel5 country=germany datapath=datapath1 mode=ap name=WifiTest5 security=\
    security1 ssid=WifiTest5
add channel=channel2 country=kazakhstan datapath=datapath1 mode=ap name=WifiTest25 \
    security=security1 ssid=WifiTest
add channel=channel5 country=germany datapath=datapath1 mode=ap name=WifiTest52 security=\
    security1 ssid=WifiTest


If you compare this to the example above, you'll find that the only thing that has changed is the country setting.
The 5GHz interface comes up fine (channel 48, 5240 MHz, for indoor use), and devices begin to see the 5GHz SSID:
[admin@MikroTik] > /caps-man interface print detail where name=cap-ap5-1
Flags: M - master, D - dynamic, B - bound, X - disabled, I - inactive, R - running 
 0 MDB  name="cap-ap5-1" mac-address=xx:xx:xx:xx:xx:x8 arp-timeout=auto 
        radio-mac=xx:xx:xx:xx:xx:x8 master-interface=none configuration=WifiTest52 
        l2mtu=1600 current-state="running-ap" current-channel="5240/20-eC/ac/P(23dBm)" 
        current-rate-set="OFDM:6-54 BW:1x-2x SGI:1x-2x HT:0-23 VHTMCS:SS1=0-9,SS2=0-9,SS3=0-
                 9" 
        current-basic-rate-set="OFDM:6 BW:1x HT:0-7" current-registered-clients=0 
        current-authorized-clients=0 
Now what's the best way to work around this problem with the country settings? I'm pretty sure that 5GHz radio is allowed in Kazakhstan, but I have found no way to configure it properly.
 
User avatar
xvo
Forum Guru
Forum Guru
Posts: 1237
Joined: Sat Mar 03, 2018 1:12 am
Location: Moscow, Russia

Re: CAPsMAN - can't get 5GHz band on wAP ac to work  [SOLVED]

Wed Aug 29, 2018 9:27 pm

/interface wireless info> country-info    
country: kazakhstan
  ranges: 2402-2482/b,g,gn20,gn40(20dBm)
          2417-2457/g-turbo(20dBm)
          902-927/b,g,g-turbo,gn20,gn40(30dBm)
So, just use "no-country-set".
 
rxmd
just joined
Topic Author
Posts: 22
Joined: Thu Mar 02, 2017 8:39 am

Re: CAPsMAN - can't get 5GHz band on wAP ac to work

Thu Aug 30, 2018 6:40 am

/interface wireless info> country-info    
country: kazakhstan
  ranges: 2402-2482/b,g,gn20,gn40(20dBm)
          2417-2457/g-turbo(20dBm)
          902-927/b,g,g-turbo,gn20,gn40(30dBm)
So, just use "no-country-set".


Thank you. It sends me into channel 157 again, so I'll just configure channels manually.
I've sent a message to support regarding the regulatory domain information.
 
pbaumgartner
just joined
Posts: 15
Joined: Mon Apr 25, 2016 1:59 pm

Re: CAPsMAN - can't get 5GHz band on wAP ac to work

Sat Jan 04, 2020 10:51 pm

So, just use "no-country-set".
Thank you - I had the same Problem on "cAP ac" and "wAP ac" for Country regulation AUSTRIA - Any idea why this works, when configured without capsman, but stops working when managed by CapsMan?
CapsMAN: CRS326-24G-2S+ / 6.46.1 (stable)
CAPs 1: RBwAPG-5HacT2HnD / 6.46.1 (stable)
CAPs 2: RBcAPGi-5acD2nD / 6.46.1 (stable)

Who is online

Users browsing this forum: Ahrefs [Bot], onnyloh, Plnt and 26 guests