The following instructions outline how to apply the Smart WiFi platform’s configuration script to your MikroTik to configure the unit to your hotspot. The script can be used as a framework to get any MikroTik device configured to the platform. Additional changes to the MikroTik may be required to support various models and use cases. This guide assumes your MikroTik can be reset into a default state with no configuration. You will need access to the Marketing 4 WiFi dashboard and a computer with Winbox installed to complete this guide. Please make sure any firewall rules, web content filters, and other security measures have been configured to interface with the platform.
Smart WiFi Dashboard Setup
The MAC of your MikroTik must be added to your hotspot.
- Login to your Smart WiFi dashboard
- Using the navigation panel to the left, select Network> Gateways
- Click the Add Gateway option to the top right
- Select Hotspot: Select your desired hotspot
- Gateway Name: Enter a name for this Gateway(s)
- Gateway Type: MikroTik
- MAC Address: Enter the MAC Address of your AP. (use the blue + icon to the right to add multiple AP MACs at once)
- Wireless SSID: SmartWiFi (Or whatever you wish)
- Wireless LAN Ports to Splash: Turn this on if you want the LAN ports 2 through 5 to serve the splash page
- Client Isolation: ON
- WLAN2: Turn this on if you want to broadcast the Guest WiFi SSID on the 5GHz radio
- Press Submit
- Now on the Edit gateway page for your MikroTik, press “View Script for Router OS” for the version of Router OS your MikroTik uses
- Copy the entire script that is displayed in a new tab, including the blank space at the bottom. Save the text for use later in this guide.
- This completes the Gateway creation portion of this guide
Troubleshooting Tips
If you do not get to the Finished Finished step of running the script the common cause is the MikroTik is not able to connect to the internet. Make sure the MikroTik is patched into your router using the corr7ect ports.
