Community discussions

MikroTik App
 
PogMoThoin
newbie
Topic Author
Posts: 26
Joined: Sun Aug 14, 2011 3:18 pm

Help setting up Capsman

Tue Jul 19, 2016 10:36 pm

I'm trying to configure Capsman with CRS switch configured as a router and a wAP ac but it's failing to bring up either of the wlan on the cAP. Can someone have a quick glance over the relevant parts of my config. I'm sure i'm missing something very simple. 

This is the CRS router

/caps-man channel
add band=2ghz-onlyn extension-channel=Ce frequency=2412 name=channel1 width=40
add band=5ghz-a/n/ac extension-channel=Ceee frequency=5210 name=channel42 width=80
/caps-man datapath
add bridge=bridge1-main local-forwarding=yes name=datapath1
/caps-man security
add authentication-types=wpa-psk,wpa2-psk encryption=aes-ccm group-encryption=aes-ccm name=security1 passphrase=mytemppassword1
/caps-man configuration
add channel=channel1 country=ireland datapath=datapath1 mode=ap name=cfg1-2ghz security=security1 security.authentication-types="" security.encryption="" ssid=\
    thisismytest2ghz
add channel=channel42 country=ireland datapath=datapath1 mode=ap name=cfg2-5ghz security=security1 ssid=thisismytest5ghz
/caps-man manager
set enabled=yes
/caps-man provisioning
add action=create-dynamic-enabled master-configuration=cfg1-2ghz
add action=create-dynamic-enabled master-configuration=cfg2-5ghz


and this is the full export compact from the cAP

[admin@cAP1] > export comp
# jul/19/2016 20:26:16 by RouterOS 6.35.4
# software id = 3Z75-AZJK
#
/interface wireless
set [ find default-name=wlan1 ] ssid=MikroTik
# managed by CAPsMAN
set [ find default-name=wlan2 ] ssid=MikroTik
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/interface wireless cap
set caps-man-addresses=10.0.0.1 discovery-interfaces=ether1 enabled=yes interfaces=wlan2
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=ether1
/system clock
set time-zone-name=Europe/Dublin
/system identity
set name=cAP1
/system leds
set 0 interface=wlan1
set 1 interface=wlan2
/system routerboard settings
set cpu-frequency=720MHz protected-routerboot=disabled


 
Marino
Frequent Visitor
Frequent Visitor
Posts: 70
Joined: Sun Jun 14, 2015 7:26 pm

Re: Help setting up Capsman

Tue Jul 19, 2016 10:53 pm

add band=2ghz-onlyn extension-channel=Ce frequency=2412 name=channel1 width=40
add band=5ghz-a/n/ac extension-channel=Ceee frequency=5210 name=channel42 width=80

Delete the width on both interfaces or try changing them to 20
 
PogMoThoin
newbie
Topic Author
Posts: 26
Joined: Sun Aug 14, 2011 3:18 pm

Re: Help setting up Capsman

Tue Jul 19, 2016 11:18 pm

add band=2ghz-onlyn extension-channel=Ce frequency=2412 name=channel1 width=40
add band=5ghz-a/n/ac extension-channel=Ceee frequency=5210 name=channel42 width=80

Delete the width on both interfaces or try changing them to 20
That has not made any difference. I've now added a bridge on the wAP and added it as bridge in CAP settings. The Caps Manager and the CAP are not talking, although the CAP says it's being controlled by Caps Manager it doesn't appear to be getting any settings from it. My wlan interfaces are disabled on the cAP. Here's my exports now
[admin@Khaleesi] > caps exp
# jul/19/2016 21:15:29 by RouterOS 6.35.4
# software id = P1HH-TDH4
#
/caps-man channel
add band=2ghz-onlyn extension-channel=Ce frequency=2412 name=channel1 tx-power=30 width=20
add band=5ghz-a/n/ac extension-channel=Ceee frequency=5210 name=channel42 tx-power=10 width=20
/caps-man datapath
add bridge=bridge1-main local-forwarding=no name=datapath1
/caps-man security
add authentication-types=wpa-psk,wpa2-psk encryption=aes-ccm group-encryption=aes-ccm name=security1 passphrase=mytemppassword1
/caps-man configuration
add channel=channel1 country=ireland datapath=datapath1 mode=ap name=cfg1-2ghz rx-chains=0,1,2 security=security1 security.authentication-types="" security.encryption="" \
    ssid=thisismytest2ghz tx-chains=0,1,2
add channel=channel42 country=ireland datapath=datapath1 mode=ap name=cfg2-5ghz rx-chains=0,1,2 security=security1 ssid=thisismytest5ghz tx-chains=0,1,2
/caps-man manager
set enabled=yes
/caps-man provisioning
add action=create-dynamic-enabled hw-supported-modes=gn master-configuration=cfg1-2ghz
add action=create-dynamic-enabled hw-supported-modes=ac master-configuration=cfg2-5ghz

And here is the Cap
[admin@cAP1] > export comp   
# jul/19/2016 21:17:08 by RouterOS 6.35.4
# software id = 3Z75-AZJK
#
/interface bridge
add name=bridge1
/interface wireless
# managed by CAPsMAN
set [ find default-name=wlan1 ] ssid=MikroTik
# managed by CAPsMAN
set [ find default-name=wlan2 ] ssid=MikroTik
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/interface wireless cap
set bridge=bridge1 caps-man-addresses=10.0.0.1 discovery-interfaces=ether1 enabled=yes interfaces=wlan1,wlan2
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=ether1
/system clock
set time-zone-name=Europe/Dublin
/system identity
set name=cAP1
/system leds
set 0 interface=wlan1
set 1 interface=wlan2
/system routerboard settings
set cpu-frequency=720MHz protected-routerboot=disabled

 
PogMoThoin
newbie
Topic Author
Posts: 26
Joined: Sun Aug 14, 2011 3:18 pm

Re: Help setting up Capsman

Tue Jul 19, 2016 11:59 pm

I'm also not getting any dynamically created interfaces created in Capsman manager like I expect. They are just not communicating
 
PogMoThoin
newbie
Topic Author
Posts: 26
Joined: Sun Aug 14, 2011 3:18 pm

Re: Help setting up Capsman

Wed Jul 20, 2016 12:49 am

Ok, got it sorted, the cm2 wireless package was not installed even though I had the Capsman options. Now to configure and add my second wAP to see how my roaming goes
 
PogMoThoin
newbie
Topic Author
Posts: 26
Joined: Sun Aug 14, 2011 3:18 pm

Re: Help setting up Capsman

Thu Jul 21, 2016 2:52 am

I have these configured and working, but both using the same config which means they're both on the same channel. As they are in pretty close proximity to each other should I be forcing them to different channels or setting them to auto?
 
User avatar
karlisi
Member
Member
Posts: 464
Joined: Mon May 31, 2004 8:09 am
Location: Latvia

Re: Help setting up Capsman

Thu Jul 21, 2016 10:00 am

/caps-man channel
add band=2ghz-onlyn extension-channel=Ce frequency=2412 name=channel1 tx-power=30 width=20
add band=5ghz-a/n/ac extension-channel=Ceee frequency=5210 name=channel42 tx-power=10 width=20
Remove frequency from channel settings, it will let CAPs themselves choose the best channel.
 
PogMoThoin
newbie
Topic Author
Posts: 26
Joined: Sun Aug 14, 2011 3:18 pm

Re: Help setting up Capsman

Thu Jul 21, 2016 9:37 pm

/caps-man channel
add band=2ghz-onlyn extension-channel=Ce frequency=2412 name=channel1 tx-power=30 width=20
add band=5ghz-a/n/ac extension-channel=Ceee frequency=5210 name=channel42 tx-power=10 width=20
Remove frequency from channel settings, it will let CAPs themselves choose the best channel.
I have done this and it now assigns channels 3 and 7 to the 2ghz radios but the radio on channel 7 drops out every few minutes continuously.
On 5Ghz I can only see one radio working on channel 36, the other CAP says it's on channel 149 but my analyser doesn't see it, not sure if it's a problem with my analyser yet.

Who is online

Users browsing this forum: GoogleOther [Bot] and 34 guests