Step 1 — Add the Device to Wiacom
- Go to Inventory → Routers → Add New Router
- Select MikroTik / RouterBoard from the vendor dropdown
- Under Network address, enter the WAN MAC address in
AA:BB:CC:DD:EE:FFformat - Leave NASID empty
- Assign a location and click Save
Step 2 — Configure RADIUS
Open Winbox, click Radius on the left menu, then +:| Field | Value |
|---|---|
| Service | hotspot |
| Address | <RADIUS_SERVER_IP> |
| Secret | <RADIUS_SHARED_SECRET> |
| Authentication Port | 1812 |
| Accounting Port | 1813 |
Step 3 — Configure the Hotspot
Go to IP → Hotspot → Hotspot Setup:| Field | Value |
|---|---|
| Hotspot Interface | WLAN interface, bridge, or ethernet port guests connect through |
| Local Address of Network | Guest subnet (e.g. 192.168.50.0/24) |
| Masquerade Network | Yes |
| Address Pool | e.g. 192.168.50.2–192.168.50.254 |
| Select Certificate | None |
| DNS Servers | Your preferred DNS servers |
| DNS Name | Leave blank |
XX-XX-XX-XX-XX-XX format (capitals, dashes). Find the WAN MAC at Interfaces → ether1-gateway (or your WAN interface).
Step 4 — Configure the Server Profile
In Server Profiles, double-click the new profile: General tab:| Field | Value |
|---|---|
| Hotspot Address | Gateway IP of guest subnet (e.g. 192.168.50.1) |
| Field | Value |
|---|---|
| HTTP PAP | Ticked |
| All other methods | Unticked |
| Field | Value |
|---|---|
| Use RADIUS | Ticked |
| MAC Format | XX-XX-XX-XX-XX-XX |
| Accounting | Ticked |
| Interim Update | 00:02:00 |
Step 5 — Configure User Profiles
In Hotspot → User Profiles, double-click the default entry:| Field | Value |
|---|---|
| Session Timeout | 24:00:00 |
| Idle Timeout | 00:30:00 |
| Keepalive Timeout | (clear this field) |
Step 6 — Upload Portal Files
Wiacom provides two HTML files (login.html and alogin.html) for the MikroTik hotspot:
- In Winbox go to Files
- Locate the
hotspotdirectory (under HTML Directory in the Hotspot Server Profile) - Drag and drop
login.htmlandalogin.htmlinto this directory
Step 7 — Configure the Walled Garden
Open a New Terminal in Winbox and paste:Optional — Automated Walled Garden Script
To keep the walled garden updated automatically, open a New Terminal and paste:Troubleshooting
Guests not redirected to portal
Guests not redirected to portal
Confirm the hotspot server name matches the WAN MAC in
XX-XX-XX-XX-XX-XX format. Confirm HTTP PAP is the only enabled login method.RADIUS authentication fails
RADIUS authentication fails
Verify the RADIUS server address and shared secret match values provided by Wiacom for your region. Check UDP 1812 and 1813 are reachable.

