Community discussions

MikroTik App
 
jmarj
just joined
Topic Author
Posts: 2
Joined: Tue Apr 09, 2024 2:58 pm

capsman does not configure a wifi interface

Tue Apr 09, 2024 3:04 pm

good to all
I am new to implement capsman configuration from mikrotik.
I am running into a problem that I don't know what to investigate.

I have made a capsman configuration for 2Ghz and another for 5GHz and it only applies me the 2GHz one for the 5GHz one tells me that it is not connected.
I may be missing some configuration to apply it and the error message has been misleading.
You do not have the required permissions to view the files attached to this post.
 
holvoetn
Forum Guru
Forum Guru
Posts: 5514
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: capsman does not configure a wifi interface

Tue Apr 09, 2024 3:08 pm

It would help if you show config of both caps device as well as capsman controller.
Otherwise anyone can guess ...
 
jmarj
just joined
Topic Author
Posts: 2
Joined: Tue Apr 09, 2024 2:58 pm

Re: capsman does not configure a wifi interface

Tue Apr 09, 2024 4:53 pm

The curious thing is that they are not two devices, one with a 2Ghz band and the other with a 5Ghz band.

if capsman is able to apply the configuration in the 2Ghz band it should be able to apply the configuration in the 5Ghz band, no?


CAPSMAN config:
add band=2ghz-n disabled=no name=CAP3-2Ghz width=20mhz
add band=5ghz-ac disabled=no frequency=5180 name=CAP3-5Ghz width=20/40mhz
/interface wifiwave2 datapath
add bridge=bridge-LAN-ehte3-to-ehter13 disabled=no name=DATAPATH-LUCE \
    vlan-id=none
/interface wifiwave2 security
add authentication-types=wpa2-psk,wpa3-psk disabled=no encryption="" name=\
    CAP3
/interface wifiwave2 configuration
add chains="" channel=CAP3-2Ghz country=Spain datapath=DATAPATH-LUCE \
    disabled=no name=CAP3-2GHz security=CAP3 ssid=CAP3-2GHz
add channel=CAP3-5Ghz country=Spain datapath=DATAPATH-LUCE disabled=no name=\
    CAP3-5GHz security=CAP3 ssid=CAP3-5GHz
/interface wifiwave2
add channel.frequency=2412 configuration=CAP3-2GHz configuration.country=\
    Spain .mode=ap disabled=no name=CAP-MKT03-2GHz radio-mac=\
    DC:2C:6E:ED:02:12
# no connection to CAPsMAN
add channel.frequency=5180 configuration=CAP3-5GHz configuration.manager=\
    capsman .mode=ap disabled=no name=CAP-MKT03-5GHz radio-mac=\
    DC:2C:6E:ED:02:13
/interface wifiwave2 capsman
set certificate=auto enabled=yes interfaces=bridge-LAN-ehte3-to-ehter13 \
    package-path="" require-peer-certificate=no upgrade-policy=none



AP Config
/interface bridge
add admin-mac=DC:2C:6E:ED:02:0D auto-mac=no comment=defconf name=bridgeLocal
/interface wifiwave2
# managed by CAPsMAN
# mode: AP, SSID: CAP3-2GHz, channel: 2412/n
set [ find default-name=wifi1 ] configuration.manager=capsman .mode=ap \
    disabled=no name=CAP-MKT03-2GHz
# managed by CAPsMAN
set [ find default-name=wifi2 ] configuration.manager=capsman .mode=ap \
    disabled=no name=CAP-MKT03-5GHz
/interface lte apn
set [ find default=yes ] ip-type=ipv4 use-network-apn=no
/interface bridge port
add bridge=bridgeLocal comment=defconf ingress-filtering=no interface=ether1
add bridge=bridgeLocal comment=defconf ingress-filtering=no interface=ether2
add bridge=bridgeLocal comment=defconf ingress-filtering=no interface=ether3
add bridge=bridgeLocal comment=defconf ingress-filtering=no interface=ether4
add bridge=bridgeLocal comment=defconf ingress-filtering=no interface=ether5
add bridge=bridgeLocal interface=CAP-MKT03-2GHz
add bridge=bridgeLocal interface=CAP-MKT03-5GHz
/ipv6 settings
set disable-ipv6=yes max-neighbor-entries=8192
/interface ovpn-server server
set auth=sha1,md5
/interface wifiwave2 cap
set caps-man-addresses=192.168.48.1 certificate=none discovery-interfaces=\
    bridgeLocal enabled=yes
/ip address
add address=192.168.48.12/21 interface=bridgeLocal network=192.168.48.0
/ip dhcp-client
add comment=defconf interface=bridgeLocal
/ip service
set telnet disabled=yes
set ftp disabled=yes
set www disabled=yes
set api disabled=yes
set winbox port=23398
set api-ssl disabled=yes
/routing bfd configuration
add disabled=no interfaces=all min-rx=200ms min-tx=200ms multiplier=5
/system clock
set time-zone-name=Europe/Madrid
/system identity
set name=CAP-MKT03
/system note
set show-at-login=no
Last edited by holvoetn on Tue Apr 09, 2024 4:55 pm, edited 1 time in total.
Reason: added code quotes for readability
 
holvoetn
Forum Guru
Forum Guru
Posts: 5514
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: capsman does not configure a wifi interface

Tue Apr 09, 2024 4:59 pm

1- Both = cap device AND capsman controller. At least 2 devices.
2- config of controller is not complete ?
3- From the limited piece of config on the controller, it looks like you are using that same device also as cap ?

You may also want to clarify what devices you have and how they are connected.
If everything is on one and the same device, why are you using capsman ???
if capsman is able to apply the configuration in the 2Ghz band it should be able to apply the configuration in the 5Ghz band, no?
Not necessarily. Depends on your configuration setup and provisioning rules.


BTW in the config of your caps, it shows 5GHz is controlled by capsman controller.
Wifi2 is being indicated as being controlled. But what device is that cap ?

Who is online

Users browsing this forum: No registered users and 13 guests