Documente Academic
Documente Profesional
Documente Cultură
From WirelessOrbit
This guide will walk you through setting up MikroTik RouterOS to work with Wireless Orbit. If you need
information on installing or upgrading a MikroTik router, please consult the external links section of
theMikroTik page of this wiki.
This guide assumes you're using MikroTik's WinBox interface to configure the router. The same configuration
options apply if you're using the command line interface, although individual steps will be a little different.
Contents
[hide] [hide]
1 Hotspot Setup
2 User Profile Configuration
3 Walled Garden Configuration
4 RADIUS Configuration
5 Login Page Configuration
Hotspot Setup
After logging into the router via WinBox, click on IP and then Hotspot to get to the Hotspot Setup dialog box.
From there go through the basic hotspot configuration. This involves setting up the IP addresses and interfaces used
by the router. Consult the MikroTik RouterOS documentation for details about this part of the configuration.
When you're done, you should see something like the image to the right. From the Hotspot window:
If you're following along, clicking OK should have taken you back to the Hotspot Server Profiles window. From
there close that window and you'll be back at the Hotspot window. If you're not there, get there. From
the Hotspot window:
If you're following along, clicking OK should have taken you back to the Hotspot User Profiles window. From
there close that window and you'll be back at the Hotspot window. If you're not there, get there. From
the Hotspot window:
RADIUS Configuration
If you're following along, clicking OK should have taken you back to the Hotspot window. From there,
select RADIUS from the left hand side of the screen. From the Radius window:
The captive portal interface of your MikroTik router has to be redirected to Wireless Orbit's hosted login portal. In
order to do that, you'll need to upload a simple redirection page to your router. To do this, connect to your router
with an FTP client and place the following file in the hotspot subdirectory. Details of how to do this are given in the
MikroTik documentation.
<HTML>
<TITLE>Login</TITLE>
<BODY>
<FORM NAME="redirect" METHOD="post"
ACTION="https://portal.wirelessorbit.com/portal/index.php?portal_id=ID">
<INPUT TYPE="hidden" NAME="mac" VALUE="$(mac)"/>
<INPUT TYPE="hidden" NAME="hostname" VALUE="$(hostname)"/>
<INPUT TYPE="hidden" NAME="ip" VALUE="$(ip)"/>
<INPUT TYPE="hidden" NAME="user" VALUE="$(username)"/>
<INPUT TYPE="hidden" NAME="link-login" VALUE="$(link-login)"/>
<INPUT TYPE="hidden" NAME="link-orig" VALUE="$(link-orig)"/>
<INPUT TYPE="hidden" NAME="error" VALUE="$(error)"/>
</FORM>
<SCRIPT LANGUAGE="JavaScript">
document.redirect.submit();
</SCRIPT>
</BODY>
</HTML>
You can either cut and paste this to a file and upload it, or download mikrotik_login.zip, unzip the archive, and
upload the HTML document inside.