Community discussions

MikroTik App
 
oguruma
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 83
Joined: Sat Jun 04, 2022 8:55 pm

Capsman Change CAP configuration?

Mon Jul 04, 2022 8:40 am

Is it possible to change a cap's configuration once it's been provisioned by CapsMan?

I've been playing around with CapsMan in a lab, and I've gotten CapsMan to provision the cap, however I don't see any way to change that configuration, other than making a new configuration profile and powercyling the cap...
 
erlinden
Forum Guru
Forum Guru
Posts: 1920
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: Capsman Change CAP configuration?

Mon Jul 04, 2022 12:18 pm

Are you having trouble editing the existing configuration?
After adjusting it, it will be provisioned.
 
User avatar
carl0s
Member Candidate
Member Candidate
Posts: 179
Joined: Thu Jun 25, 2009 7:18 pm

Re: Capsman Change CAP configuration?

Mon Jul 04, 2022 1:03 pm

Yes there is.

You need to change your provisioning profile and remove 'dynamic'.
So change it from 'create dynamic enabled', to just 'create enabled'.
Then remove the interfaces and re-provision.

Now you can edit anything you want on the interfaces after they are created.
 
User avatar
Ca6ko
Member
Member
Posts: 499
Joined: Wed May 04, 2022 10:59 pm
Location: Kharkiv, Ukraine

Re: Capsman Change CAP configuration?

Mon Jul 04, 2022 10:10 pm

You don't actually have to create configurations and provisioning in capsman, you can just create a cap interface
viewtopic.php?p=933264#p933264
 
oguruma
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 83
Joined: Sat Jun 04, 2022 8:55 pm

Re: Capsman Change CAP configuration?

Mon Jul 04, 2022 10:25 pm

I guess I'm a bit confused.

Assuming I have multiple CapsMan configurations created, it seems that when I connect a new cap, it always loads cfg1 (the one at the top of the list, it seems).

How do I select the configuration that I'd like the new Cap to use before I actually connect the cap to the network?
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11437
Joined: Thu Mar 03, 2016 10:23 pm

Re: Capsman Change CAP configuration?

Tue Jul 05, 2022 8:04 am

In /caps-man provisioning section create specific provisioning rules. And set radio-mac=xx:xx:xx:xx:xx:xx property matching the "special" CAP device to use particular provisioning rule. It seems that it really needs to be specific MAC address, no wildcard/mask is accepted. MAC address to be set in radio-mac property is the MAC address of CAP's wireless interface (if CAP has multiple radios, you can/must use multiple provisioning rules to provision all radios).
Mind that provisioning rules are evaluated top-to-bottom, first match executes. So make sure that device-specific provisioning rules are higher than the general ones.
 
UpRunTech
Member Candidate
Member Candidate
Posts: 209
Joined: Fri Jul 27, 2012 12:11 pm

Re: Capsman Change CAP configuration?

Sun Sep 18, 2022 12:28 am

My CAPs are always dynamically provisioned. Sometimes some configuration changes will cause the APs to reprovision right away automatically. Some changes don't so for these instances I do this to force all CAPs to reprovision right away.

/caps-man remote-cap
:foreach wap in=[find] do={provision $wap}

I'll throw in another command I use to force channel reselects with an optional delay to try an give APs the chance to chose a new channel without another AP trying to compete. Mikrotik probably added the option recently to randomise the time range reselect for the same reasons.

/caps-man interface
:foreach wap in=[find where master-interface=none ] do={reselect-channel $wap; :delay 60s}

Who is online

Users browsing this forum: Billiam, spookymulder84 and 28 guests