Community discussions

MikroTik App
 
rhce7320
just joined
Topic Author
Posts: 4
Joined: Sat Jan 21, 2023 12:00 pm
Location: Tasmania
Contact:

CAPsMAN creates a 5GHz service with no-channel status

Wed Jan 25, 2023 9:59 am

I am adding a RBcAPGi-5acD2nD dual band cAP to an existing set of RBcAP2n 2GHz-only devices managed by CAPsMAN on a RB750 router. At present, I only have a single 2GHz SSID, "RPCC-Staff" on all cAP2n devices. I want to create a 5GHz service on a separate SSID "RPCC-X32" utilizing the 5GHz radio on the new device, using the same CAPsMAN instance. If I specify a 5GHz channel, the service created is:
i. A cap named CAP-X32-1 with SSID="RPCC-X32" with the error "--no supported channel" (Current State = no-channel);
ii. A cap named "cap1" with no SSID on channel 5200/20-eCee/ac(17dBm).

If I remove the 5GHz channel , then CAPsMAN creates a valid RPCC-X32 SSID on the 2gHz radio. Not what I want.
5GHzError-1. png
You do not have the required permissions to view the files attached to this post.
 
akmodi
just joined
Posts: 16
Joined: Wed Dec 23, 2020 9:09 pm

Re: CAPsMAN creates a 5GHz service with no-channel status  [SOLVED]

Wed Jan 25, 2023 11:18 am

You need to provision it with the Radio MAC of the 5GHZ channel -- see under wireless of the new cap.

else in Capman -- see under Radio and MAC address of the 5GHZ channel.

Hope that helps
 
rhce7320
just joined
Topic Author
Posts: 4
Joined: Sat Jan 21, 2023 12:00 pm
Location: Tasmania
Contact:

Re: CAPsMAN creates a 5GHz service with no-channel status

Fri Jan 27, 2023 5:06 am

Thanks akmodi, definitely progress. I now have a 5GHz service with a SSID. Current State = running-ap. However , there's a cap that is still trying (unsuccessfully) to bring up a 2GHz service. Is this an artifact that I just have to live with?
5GHzError-2.png
You do not have the required permissions to view the files attached to this post.
Last edited by rhce7320 on Fri Jan 27, 2023 11:44 pm, edited 1 time in total.
 
holvoetn
Forum Guru
Forum Guru
Posts: 5403
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: CAPsMAN creates a 5GHz service with no-channel status

Fri Jan 27, 2023 7:44 am

You don't have a supported channel on the master radio.

Export config, remove serial number and public WAN IP.
Terminal
/export file=anynameyouwish

Post contents between [code] quotes
 
rhce7320
just joined
Topic Author
Posts: 4
Joined: Sat Jan 21, 2023 12:00 pm
Location: Tasmania
Contact:

Re: CAPsMAN creates a 5GHz service with no-channel status

Fri Jan 27, 2023 10:49 am

# jan/27/2023 18:33:26 by RouterOS 6.49.2
# software id = ACCW-PREI
#
# model = 750UP
# serial number =
/caps-man channel
add band=2ghz-g/n control-channel-width=20mhz extension-channel=disabled \
    name="2.4GHz Standard"
add band=5ghz-a/n/ac control-channel-width=20mhz extension-channel=Ceee \
    frequency=5180 name="5Ghz - Channel 36"
add band=5ghz-a/n/ac control-channel-width=20mhz extension-channel=Ceee \
    frequency=5500 name="5Ghz - Channel 100"
add band=5ghz-a/n/ac control-channel-width=20mhz extension-channel=XX name=5G \
    skip-dfs-channels=yes
/caps-man configuration
add comment="hacker trap. DO-NOT-DELETE" name=missing
/interface l2tp-server
add name= user=
/interface bridge
add admin-mac=4C:5E:0C:B9:AC:6E arp=proxy-arp auto-mac=no comment=defconf \
    name=bridgCAPs
add mtu=1500 name=internal
/interface ethernet
set [ find default-name=ether1 ] comment=
set [ find default-name=ether2 ] comment=
set [ find default-name=ether3 ] comment=
set [ find default-name=ether4 ] comment=
set [ find default-name=ether5 ] comment="" poe-out=off
/caps-man datapath
add bridge=bridgCAPs client-to-client-forwarding=yes name=staff
/caps-man rates
add basic=12Mbps,18Mbps,24Mbps,36Mbps,48Mbps,54Mbps name=24gn supported=\
    12Mbps,18Mbps,24Mbps,36Mbps,48Mbps,54Mbps
add basic=12Mbps,18Mbps,24Mbps,36Mbps,48Mbps,54Mbps name=5test supported=\
    12Mbps,18Mbps,24Mbps,36Mbps,48Mbps,54Mbps
/caps-man security
add authentication-types=wpa2-psk disable-pmkid=yes encryption=aes-ccm \
    group-encryption=aes-ccm name=rpccstaff passphrase=haha
add authentication-types=wpa2-psk comment=behringeriem disable-pmkid=yes \
    encryption=aes-ccm group-encryption=aes-ccm name=X32 passphrase=haha
/caps-man configuration
add channel="2.4GHz Standard" channel.band=2ghz-g/n channel.frequency=2412 \
    country=australia datapath=staff distance=indoors installation=indoor \
    max-sta-count=20 mode=ap name="2.4 GHz CH1" rates=24gn security=rpccstaff \
    ssid=RPCC-Staff
add channel="2.4GHz Standard" channel.band=2ghz-g/n channel.frequency=2462 \
    country=australia datapath=staff distance=indoors installation=indoor \
    max-sta-count=20 mode=ap name="2.4GHz CH11" rates=24gn security=rpccstaff \
    ssid=RPCC-Staff
add channel="2.4GHz Standard" channel.band=2ghz-g/n channel.frequency=2437 \
    country=australia datapath=staff distance=indoors installation=indoor \
    max-sta-count=20 mode=ap name="2.4GHz CH6" rates=24gn security=rpccstaff \
    ssid=RPCC-Staff
add channel=5G channel.skip-dfs-channels=yes country=australia datapath=staff \
    hw-protection-mode=rts-cts installation=any mode=ap name=X32 rates=5test \
    security=X32 ssid=RPCC-X32
/caps-man interface
add configuration=X32 disabled=no l2mtu=1600 mac-address=18:FD:74:8E:41:8B \
    master-interface=none name=cap1 radio-mac=18:FD:74:8E:41:8B radio-name=\
    18FD748E418B
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip dhcp-client option
add code=66 name="tftp server" value=0x
/ip dhcp-server option
add code=42 name="NTP Server" value="'192.168.88.1'"
/ip dhcp-server option sets
add name=set1 options="NTP Server"
/ip ipsec mode-config
set [ find default=yes ] src-address-list=ext_router_admins
/ip ipsec profile
set [ find default=yes ] dpd-interval=disable-dpd enc-algorithm=\
    aes-256,aes-128,3des hash-algorithm=sha256
/ip ipsec proposal
set [ find default=yes ] auth-algorithms=sha256
/ip pool
add name=default-dhcp ranges=192.168.88.128-192.168.88.254
add name=VPN-pool ranges=192.168.88.112/28
add name=X32-pool ranges=192.168.89.128-192.168.89.254
add name=guest-pool ranges=192.168.87.128-192.168.87.254
/ip dhcp-server
add add-arp=yes address-pool=default-dhcp bootp-support=dynamic \
    dhcp-option-set=set1 disabled=no interface=bridgCAPs lease-time=1d10m \
    name=defconf
# DHCP server can not run on slave interface!
add add-arp=yes address-pool=X32-pool dhcp-option-set=set1 disabled=no \
    interface=cap1 name=X32
add address-pool=guest-pool dhcp-option-set=set1 disabled=no name=guest
/ppp profile
add bridge=bridgCAPs idle-timeout=0s interface-list=LAN local-address=\
    192.168.88.1 name=GregsVPN remote-address=VPN-pool session-timeout=0s \
    use-compression=yes
/system logging action
set 3 bsd-syslog=yes remote=
add bsd-syslog=yes name=syslog remote= target=remote
/caps-man access-list
/caps-man manager
set enabled=yes package-path=/firmware upgrade-policy=suggest-same-version
/caps-man manager interface
add disabled=no interface=bridgCAPs
add disabled=no forbid=yes interface=ether1
/caps-man provisioning
add action=create-dynamic-enabled hw-supported-modes=gn identity-regexp=\
    CAP-Chapel master-configuration="2.4 GHz CH1" name-format=identity \
    name-prefix=RPCC
add action=create-dynamic-enabled hw-supported-modes=gn identity-regexp=\
    CAP-LDC master-configuration="2.4GHz CH6" name-format=identity \
    name-prefix=RPCC
add action=create-dynamic-enabled hw-supported-modes=gn identity-regexp=\
    CAP-Foyer master-configuration="2.4GHz CH11" name-format=identity \
    name-prefix=RPCC
add action=create-dynamic-enabled identity-regexp=CAP-X32 \
    master-configuration=X32 name-format=identity name-prefix=RPCC radio-mac=\
    18:FD:74:8E:41:8B
add comment="Provisioning jail.  DO-NOT-DELETE " hw-supported-modes=gn \
    master-configuration=missing name-format=identity name-prefix=RPCC
/interface bridge port
add bridge=bridgCAPs comment=defconf interface=ether2
add bridge=bridgCAPs comment=defconf interface=ether3
add bridge=bridgCAPs comment=defconf interface=ether4
add bridge=bridgCAPs comment=defconf interface=ether5
/ip firewall connection tracking
set enabled=yes
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface bridge vlan
add tagged=ether5 untagged=bridgCAPs vlan-ids=10
add tagged=ether5 untagged=bridgCAPs vlan-ids=20
/interface l2tp-server server
set allow-fast-path=yes default-profile= enabled=yes ipsec-secret=\
    haha max-sessions=1
/interface list member
add comment=defconf interface=bridgCAPs list=LAN
add comment=defconf interface=ether1 list=WAN
add disabled=yes interface=ether5 list=LAN
/interface pptp-server server
/ip address
add address=192.168.88.1/24 comment=defconf interface=bridgCAPs network=\
    192.168.88.0
add address=10.1.1.1/24 interface=ether5 network=10.1.1.0
/ip dhcp-client
add comment=defconf disabled=no interface=ether1
/ip dhcp-server lease
/ip dhcp-server network
add address=192.168.88.0/24 comment=defconf gateway=192.168.88.1
add address= gateway=
/ip dns
set allow-remote-requests=yes
/ip firewall address-list
/ip service
/port firmware
set directory=pub
/ppp l2tp-secret
add secret=haha
/ppp secret
add name= password=haha profile= service=pptp
add name= password=haha profile= service=pptp
/system clock
set time-zone-name=Australia/Hobart
/system identity
set name=RPCC
/system logging
set 0 action=syslog
add topics=info
add action=syslog topics=critical
add action=syslog topics=warning
add action=syslog topics=error
/system ntp client
set enabled=yes primary-ntp=
/system routerboard settings
set force-backup-booter=yes
/tool graphing interface
add interface=ether1
/tool graphing resource
add
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN
/tool romon
set enabled=yes id= secrets=
/tool sniffer
set filter-interface=ether1 filter-ip-address=
/tool traffic-monitor
add name=tmon1 threshold=0
 
holvoetn
Forum Guru
Forum Guru
Posts: 5403
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: CAPsMAN creates a 5GHz service with no-channel status

Fri Jan 27, 2023 11:54 am

Why this ?

add band=5ghz-a/n/ac control-channel-width=20mhz extension-channel=XX name=5G \
skip-dfs-channels=yes

Try to use as much as possible default values, add one by one.

You can also delete that provisioned 5Ghz-line trying to be 2Ghz :lol:
It should be reprovisioned, if needed.
 
rhce7320
just joined
Topic Author
Posts: 4
Joined: Sat Jan 21, 2023 12:00 pm
Location: Tasmania
Contact:

Re: CAPsMAN creates a 5GHz service with no-channel status [SOLVED]

Fri Jan 27, 2023 11:28 pm

Why this ?

add band=5ghz-a/n/ac control-channel-width=20mhz extension-channel=XX name=5G \
skip-dfs-channels=yes
That was just an un-removed parameter that I had previously tried. It hadn't occurred to me that a dynamically created service could just be deleted.
Thankyou.

Who is online

Users browsing this forum: achu, ema81, neki, synchro, tesme33 and 28 guests