I’ve never done a big enough Mikrotik deployment to really merit looking at CAP but I’ve got a eight AP new project so thought it would be a good time to re-visit it. I got it working in the lab over a year ago and made some notes but it’s not working. The equipment is as follows:
RouterBoard 2011UIAS - main router where CAPSMAN is running
hEX PoE 5 Port Gigabit Router - configured as a switch uplinked to above and used to power/connect the cAP AC
cAP AC - access points
Everything works a treat when I manually configure the cAP AC as an access point/switch, i.e. remove all routing and firewall configuration.
I’ve gone through the configuration of CAPSMAN on the router following my instructions from last time and enabled CAPS on the cAP AC. The problem is at each end, the cAP AC appears for about 30 seconds in CAPSMAN, shows it’s been managed by CAPS on the cAP AC and Wi-Fi network appears. Then 30 seconds later, it disappears from CAPSMAN and cAP AC shows it’s not managed. Wait a while and it re-appears.
I’m afraid I don’t have access to the kit right now to grab screenshots.
I think I’ve figured it out. When I reset the configuration as CAPS Mode, it worked fine but when I tried to enable CAP on existing configuration, it didn’t work. So I did the usual trick of comparing the two configurations and my gaze fell upon this key difference. The first is the working CAPS Mode configuration:
/interface bridge port
add bridge=bridge interface=ether1
add bridge=bridge interface=ether2
The second is my configuration from when I’d manually set-up AP/switch, I’d added all ports to the bridge:
This causes the problem I describe. Removing the two wlan from the bridge and all is fine. So having the wireless ports added to the bridge when they are managed by CAPs causing a problem.
The problem is that the I’d configured the device manually before it was used with CAP and when you do that, you add all ports to the bridge. So the advise here would be to reset device in CAPs mode to remove any potential conflicting settings.
Meh, one should have to write an exam to use capsman.
It would ensure folks learn how to configure the router without capsman.
and then decide if they really wanted to use capsman…
It causes nothing but trouble when a non savvy person buys MT wifi and dives right in…
It causes nothing but trouble when a non savvy person buys MT wifi and dives right in…
That’s the main reason why RouterOS and Mikrotik isn’t more popular than it is. It’s not plug and play. As a sometime software developer, I love the complexity but there is a massive learning curve compared to other devices, inc. Cisco. It’s power is both it’s strength and weakness at the same time.
When I started using Mikrotik kit, I asked whether there was a reference book I could buy. There isn’t. Thank goodness for YouTube videos but even then you come across conflicting advice and configurations.
What happened here is perfectly understandable - I had configured the access point manually first and not cleared the configuration, therefore it didn’t work. I can see the reason CAPsMAN exists - in a large installation it really helps save time. I installed the system this evening - went well. The ability to change the 2G channel width from 40MHz to 20MHz in one step was great.
Once you’ve climbed that not inconsiderable learning curve, RouterOS is wonderful but hindsight is a wonderful thing. The manual is a reference and not that easy to navigate. I recently had reason to implement NGINX which for somebody not that familiar with Linux is a daunting task. I came across “The Complete NGINX Cookbook” - a stunningly good free manual. RouterOS needs something like that.
Doh - school boy error… trying to work out why we’re only getting ~90Mbps. Looking at channels etc. and then realised you’ve plugged the hEX PoE into fast ethernet not gigabit uplink