MikroTik Deployment Guide
This document explains how to configure MikroTik router to enable as a Wireless Hotspot powered with Wavespot Cloud solution.
Open a ticket with Wavespot and provide MAC address of your MikroTik device. Provide your full name and phone number in the ticket to follow up. You should proceed with the next steps only after a ticket completion email is received.
In order to setup MikroTik as a new hotspot, you will need to have an internet connection and will need to plug an ethernet cable from your internet source into ethernet port 1 of your MikroTik. Furthermore, the computer being used to configure the hotspot should be connected to MikroTik through an ethernet cable to ethernet port 2.
To use Winbox client to configure the MikroTik download the software from http://www.mikrotik.com/download onto your computer. Winbox will only run on Windows computers.
Accessing the unit:
To access the device, locate the file winbox.exe on your computer and click to launch it. Enter the IP Address you are connecting to. The default IP Address should be 192.168.88.1.
You can leave admin under login and can leave the password blank. Then click Connect.
RADIUS server Configuration:
Navigate to Radius menu and select the plus button. Set the configuration as of that below:
Address: Shared separately
Secret: Shared separately
Authentication Port: Shared separately
Accounting Port: Shared separately
Hotspot profile Setup:
To set up the hotspot profile, navigate to IP and select Hotspot. Click on Hotspot Setup where you can configure the details for your hotspot.
You will be guided by a Configuration wizard from start to finish. At first you must initially set the HotSpot Interface as shown below. This will be the ethernet port that the hotspot will be configured for.
In the second step input the IP address for your Hotspot.
In the third step, choose the range of IP addresses that you will be assigning to the clients connecting to the Hotspot.
In the fourth step you can upload an SSL certificate if it is required.
In the Fifth step, please leave the default value for IP Address of SMTP Server.
In the Sixth Step, choose the DNS Server location. Recommended Google DNS servers are 18.104.22.168 and 22.214.171.124.
In the Seventh step, enter the DNS Name. This value is not important as long as you enter a string with a domain format.
In the last step, you can leave the values the way they are.
Once you have followed all the above steps, your newly set up Hotspot details will be displayed to you as shown below:
Editing the Hotspot To edit the hotspot, double-click on the hotspot under Servers section. Rename the hotspot to the MAC Address of your MikroTik device.
Navigate to System > Identity and enter the same name in the Identifier field. Doing this is significant, otherwise the RADIUS requests coming from that device will not function properly.
Creating Hotspot Server Profile Go to Generals tab and use the following parameters to configure:
Name: the name of the Server Profile configured previously
Hotspot Address: same ip address configured in hotspot setup
DNS Name: same name as in hotspot setup
HTML Directory: leave it as hotspot.
Next, select Login tab and select HTTP CHAP and HTTP PAP. The configuration should look like the figure below.
In the RADIUS tab, enable ‘Use RADIUS’ and ‘Accounting’ options as shown.
Walled Garden :
You will need to specify the settings which enable the user to visit sites. Navigate to Hotspot >Walled Garden. Here you will need to add entries for the list below:
Facebook: *facebook*, *fbcdn*, *akamai*, *akamaihd*, *edgekey*, *akamaitechnologies*, *akamaiedge*
Twitter: *twitter*, *twimg*
Wavespot: *wavespot*, *cloudfront*
Select the plus to add a new Walled Garden entry. Now in the Destination Port add *facebook*. Then repeat this process for the rest of the entries given.
After entering all the entries, the configuration should look like the picture below.
Uploading the file to redirect end-users towards the Splash Portal:
To successfully complete this configuration it is necessary to upload both login.html and alogin.html in order to correctly redirect end-users towards the Splash Portal. Please go to the link below to download these files.
Select the Files menu on the sidebar and you will see the files currently stored on the device. Select the current login.html and alogin.html files in the file window and select the minus button to remove them. Then drag your newly downloaded login.html and alogin.html from your computer and put them in the main hotspot directory.
You have now configured a MikroTik device with Wavespot’s Cloud Solution.
If you are having trouble getting internet access or getting the hotspot to work with your ethernet ports. Please refer to our section below in which we configure ether1 to be WAN, ether2 to be regular LAN, and remove the Master Port dependencies.
Updating the Ethernet Interfaces:
Go to Interfaces and on the interface tab you will see the list of ethernet interfaces by default.
Now double-click on the ether1-gateway interface to bring up its setting. You can choose to change the name to ether1 and you can repeat this process for the rest of the interfaces through ether5. This step is optional but makes the ethernet names easier to manage.
Now double-click on the ether3 interface and change the Master Port to none. Repeat this step for ether4 and ether5. This will remove any dependencies for ether3 through ether5.
Hopefully these steps helped you with your troubleshooting. If you still need help, submit a support ticket at support.wavespot.net.