It seems what i’m trying is not as straightforward as i thought it was.
I’m trying to set up an MikroTik cAP ac as a bare Wifi-AP. There is already a (non-)MikroTik router serving DHCP so the MikroTik should only serve as an access-point in the same subnet.
I tried following those instructions but both solutions don’t work as there’s no WiFi-signal after the reboot.
How can i make this thing run as a simple WiFi-AP?
Fastest way is resetting the routerboard to blank settings, then applying the required ones, turning the routerboard into a wired/wireless switch.
To do so:
1.- System > Reset Configuration: enable Keep User Configuration if you want to keep your admin user and password, and enable No Default Configuration, in order to start from a “blank” router configuration.
2.- Log into router using Winbox Neighbors tab (click on its Mac address field)
3.- Open a new terminal and copy & paste this config:
Thank you! This did the cAP ac switch part as a charm!
I have issues though while trying to set up an isolated Guest virtual wlan access .
I 1st figured the need to replace the interface=all in
/interface bridge port add bridge=bridge1 interface=all
with an explicit list of each and every interface (ether 1, wlan1, wlan2) to be able to set a slave (guest) wlan under wlan1.
I also set a DHCP server to serve the guest segment 10.10.10.0/24
The problem is that setting the guest-bridge (10.10.10.0/24) to NAT through Out interface lan-bridge doesn’t work and a connected device cannot get Internet access.under guest-wlan. It gets IP # and is allowed in the network, but that’s all of it.
There are two ways of doing it and you managed to mix them both. They are:
keep using cAP as simple switch/AP, but in this case you have to go with VLANs.
The benefit is that all L3 (IP, DHCP server, …) configuration remains to be on router (in a simple SOHO use case), also all guest traffic will be strictly separated from LAN traffic up to the main router. The drawback is that you have to introduce VLANs in much of your LAN infractructure (which might be over the top for some LAN admins).
set up cAP in a hybrid configuration where for LAN cAP remains configured as switch/AP, but for guest it’s router. This means that guest wireless interface (wifi2) is not part of bridge, it is rather used as stand-alone interface, it has all the L3 setup attached (IP address, DHCP server with address pool and what not). As to NAT you can either run it on cAP (for guests this means double NAT, but that usually isn’t a problem) or you can keep using main router NAT (in this case you have to add a static route on main router towards guest subnet using cAP as gateway)
The benefit is that you don’t have to change any of L2 configuration on the rest of your network. The (big) drawback is that guests will easily be able to access your LAN (and blocking that is one of main reasons to introduce guest network in the first place). The relatively complex L3 setup of cAP is another drawback of this way of doing it.
Thank you @pukkita, this worked without any problems once I got the cAPAX to take it.
Note: If you copy and paste the code, into a cAP_AX, the wireless comes back disabled, but once you establish wired connection you can go back in and enable the wireless and configure SSID, etc.
This set up will work just fine until I get a managed switch for multiple VLANS.
I’m trying to do this on a new cAP ax, but the second line has an issue. There isn’t a wireless interface, but there is a wifiwave2. Is there an updated set of instructions for this?
Try this (copy-paste from previous script and adjusted for wifiwave2, you still need to change settings in accordance with your country/required security/…)
/interface bridge add name=bridge1
/interface/wifiwave2
set wifi1 disabled=no configuration.country=Latvia configuration.ssid=MikroTik security.authentication-types=wpa2-psk,wpa3-psk security.passphrase=8-63_characters
set wifi2 disabled=no configuration.country=Latvia configuration.ssid=MikroTik security.authentication-types=wpa2-psk,wpa3-psk security.passphrase=8-63_characters
/interface bridge port add bridge=bridge1 interface=all
/ip dhcp-client add interface=bridge1
/system identity set name=Mikrotik.AP