Mikrotik Manual Configuration

This article describes installation and configuration steps for Mikrotik routers using WinBox.
Winbox is a small utility that allows administration of Mikrotik RouterOS using a fast and simple GUI. It is a native Win32 binary, but can be run on Linux and MacOS (OSX) using Wine.
Configuration applies to Mikrotik routers with RouterOS L4 and beyond.


Configuring Mikrotik router with your Start Hotspot account - step by step instructions

Connecting

Please reset Mikrotik router to factory settings to avoid problems with some previous configuration.

Connect your computer using LAN cable from the Ethernet port on your Laptop / PC to the PoE In port on the Mikrotik router.
Winbox loader can be downloaded directly from the router or from the Mikrotik download page.
When downloading from the router, open a web browser and enter router's IP address 192.168.88.1 and RouterOS welcome page will be displayed.
Click on the menu item that says Winbox to download winbox.exe from MikroTik download server.
Mikrotik Manual Setup1
From the menu select IP - Services and Enable API and be sure that DHCP Server is enabled.
When winbox.exe is downloaded, double click on it and winbox loader window will pop up.
Mikrotik Manual Setup2
Select the Neighbors tab on the WinBox application and click Refresh.
Mikrotik Manual Setup3
Select the router with the correct MAC Address from the Neighbors list and enter:
Username: admin
Password leave blank
Click Connect.
Upon successful connecting, you will get following screen.
Mikrotik Manual Setup4

Configuring parameters

Set the Identity of the router from System - Identity.
Mikrotik Manual Setup5
The identity will usually be the MAC address of the router.
Please note this down on a piece of paper as this will be required during the setup of cloud service.
Next step is to set Bridge on the Mikrotik router.
Click Bridge from left menu and then Add (+) button.
Change the name to the desired name e.g “AptecHotelBridge” and click Apply and OK.
Mikrotik Manual Setup6
Select created Bridge from previous step.
Press Ports tab and click Add (+) button.
In Interface field select ether2-master-local and press Apply and OK.
Mikrotik Manual Setup7
Next step is to create HotSpot.
From left menu select IP – HotSpot section.
Press on HotSpot Setup button.
As HotSpot Interface select Bridge that you have created previously, in our example it is “AptecHotelBridge” and press Next.
Mikrotik Manual Setup8
New window will give you information of HotSpot address for interface. Press Next button.
Mikrotik Manual Setup9
From new window select IP pool of a network or use already set default values and press Next button.
Mikrotik Manual Setup10
If you don't use specific SSL certificate for your HotSpot Select none and press Next button.
Mikrotik Manual Setup11
IP address of SMTP Server is set to 0.0.0.0.
Press Next button to continue with the setup.
Mikrotik Manual Setup12
DNS configuration allow you to set DNS Name and it can be defined as below.
Mikrotik Manual Setup13
Please note that the DNS name must contain a “.” in it.
For example aptechoteldns.hotel.
Press Next button.
Mikrotik Manual Setup14
Last step in HoSpot configuration is creating local HotSpot user.
Set Username and Password as desired and click Next button.
Mikrotik Manual Setup15
Press OK to confirm and complete HotSpot Setup.
Mikrotik Manual Setup16
Next step is creation of Server Profile.
Press Server Profile tab.
Select the Server with the DNS Name assigned in the previous step by double clicking.
Mikrotik Manual Setup17
Go to Radius tab and select Radius checkbox, and then click Apply and OK.
Mikrotik Manual Setup18
Next step is setup and configuration of Radius Server.
Select Radius from left menu and then press Add (+) button.
Here you must set following:
Select hotspot option.
Address: 23.99.80.107
Secret: secret
Timeout: 3000
Authentication Port: 1812
Accounting Port: 1813
Press Apply and OK.
Mikrotik Manual Setup19
Next step is to set and configure DHCP server.
From left side menu select IP - DHCP Server
DHCP client is properly set if it is configured for ether1 Interface.
In such case you don`t need to change anything.
Mikrotik Manual Setup20
If ether1 is not selected as Interface, you should disable DHCP Server and set it from start.
DHCP client is set-up on ether1 as part of the default configuration, check that from left side menu IP - DHCP Client
If DHCP client is up on ether1 then no further action is needed.
Mikrotik Manual Setup21
In case there is a DHCP Client existing then you can edit that, else create a new one by clicking onAdd (+) button.
Interface: Select ether1-gateway.
Mikrotik Manual Setup22
Click Apply and OK.
Mikrotik Manual Setup23
Mikrotik Manual Setup24
Next step is to configure “Walled Garden” for the Hotspot.
Select IP - Hotspot from the left side menu and then select the Walled Garden tab and add following by clicking on the Add (+)button one by one.
Mikrotik Manual Setup25
Add the following in the Dst. Host one by one:

*.starthotspot.com
www.starthotspot.com
cloud.starthotspot.com

Please note that all the sites / URLs that need to be whitelisted need to be added here.
For example in the case the lodge will be taking payments using paypal then the PayPal website will have to add here as well.
The hotel may also wish for their homepage to be added to this list.
NOTE: Any sites added here will be accessible without passing through the Antamedia data counters, but will still be billed by your ISP
Mikrotik Manual Setup26
Next step is to set Login as HTTP PAP.
Select IP - Hotspot and select Server Profile tab.
Double click the created Server Profile
Mikrotik Manual Setup27
From Login tab select to use HTTP PAP and press Apply and OK button.
Mikrotik Manual Setup28
Last step in Mikrotik configuration over Winbox is modification of login.html and status.html files that have been supplied.
From left menu select Files and replace the following files:
/flash/hotspot/status.html
/flash/hotspot/login.html
Mikrotik Manual Setup29

If you need help with configuration, please go to starthotspot.com and contact our tech support. We'll be glad to help you.