Configure Mikrotik With Spotipo
To configure Mikrotik router OS, you will need Winbox application which will work only on Windows. Have a look at the documentation available here to familiarize yourself with winbox.
If not done already, install spotipo on your sever by following tutorial available here.
Make sure you have enabled ports 1812 and 1813 in your firewall for UDP traffic.
Add a Site
Each location is represented by a Site. A site can have multiple routers (of the same type)
After adding the client add a new site by clicking on the Add New Site button in the drop down menu on top right.
Select the client you have just created, Site type as Mikrotik and configure the correct timezone and Save
Get MAC Address of Router
Find the MAC address of your AP by logging into Winbox and going to QuickSet.
Look for MAC address listed under Internet
Add Mikrotik AP to your Site
Navigate to the site you have just created using drop down menu.
Once in site, go to Mikrotik APs tab available on left corner.
Here you need to add each and every Mikrotik AP that will be connected to this site. Use the New AP button.
Add the MAC address of your AP and IP. Provide an IP which is reachable from your server, this is needed only if you are planning to use the Disconnect client feature.
Note down Identity and Secret
After adding, spotipo will generate an identity string and secret string. Note these down as it will be needed later.
Reset Mikrotik Configuration
I would recommend a system configuration reset by going to System -> Reset Configuration before starting the below steps.
Configure Mikrotik Radius Settings
Now login to Winbox and add spotipo as a Radius server. Provide the secret that is just generated in spotipo as the radius secret. Change the radius timeout to 3000 and enable hotspot option.
Configure Mikrotik Identity
Change the identity by going to and use the identity string that just got generated in spotipo.
Now delete wlan1 from bridge as it will be used for the hotspot.
Go to IP -> Hotspot and start the Hotspot Setup. Here select wlan1 as the interface and keep rest default.
Once the setup is finished, there will be a new server profile created. Double click on it and configure Login By as HTTP CHAP
Go to Radius tab and select Use Radius option. Make sure to enable accounting and set the interim update to 00:05:00
Configure Walled Garden
Now go to walled garden and add your server IP into the list.
Configure Portal Pages
Now download index.html from this location. Open it in your favorite text editor and change SERVERIP to IP address of your server
Delete the existing login.html under hotspot by going into Files option
Upload the created login.html to your AP using upload button. Make sure that login.html is under hotspot folder.
If you have done all the steps correctly, you should be seeing spotipo landing page while connecting to WiFi. Please read through other documentations on configuring different login types as well.