Your own router
Open the location’s Equipment tab and choose A router or controller you have. It works with MikroTik, UniFi, Omada, Meraki, Cisco and any other whose sign-in page can check with RADIUS.
- Copy the connection details: server, ports, NAS-Identifier and RADIUS secret.
- On a MikroTik already running Hotspot (RouterOS 7), paste the script shown into the router’s terminal. On other brands, enter the same details in the controller’s RADIUS settings. Set the sign-in page to PAP, and the equipment must send Message-Authenticator with its requests (most firmware since mid-2024 does), or they go unanswered.
- Guests type their Wi-Fi code as the username on the router’s sign-in page.
More than one router running its own hotspot at the same place? Pick each router’s number on the Equipment tab (up to 16 per location) and set each one up with what is shown. Access points hanging off a router need nothing.
Hotspot Server
Choose Hotspot Server when you’d rather not set up a router. It gives guests their addresses, shows the sign-in page, and logs every connection, even while the Internet line is down.
- Get a Linux machine (Debian 12 or Ubuntu 24.04, amd64 or arm64) with two wired ports: one to the Internet line, one to the access points or their switch.
- Click Make a pairing code and run the command shown on that machine. It installs, pairs and starts by itself.
- Guests open the sign-in page over HTTPS at
name.wifi.thailandhosting.com, so browsers don’t warn that it’s insecure. See or change the name under Sign-in page address on the Sign-in page tab.
Two ways to place a Hotspot Server: Gateway and Transparent
- Gateway (the default): one port to the Internet line, the other to the access points. The machine hands out addresses, answers DNS, shows the sign-in page and takes guests out to the Internet. Split guests into several networks with VLANs, and use up to 8 Internet lines (shared out, or standing in when one drops). The log records the guest’s address and the port it went out from.
- Transparent (Enterprise Wi-Fi): in the line between your router or switch and the access points, with no change to your address ranges or DHCP. Guests who haven’t signed in reach only the sign-in page. The machine needs an address of its own on every network it watches (from your router or set by hand), and reservations stay on your router. The log records the guest’s address and destination; the port after NAT is on your router.
- Change the mode, VLANs and Internet lines under Equipment › the machine › Network settings. If the machine can’t reach us within 2 minutes of a change, it goes back to what it had.
- To install a new machine as Transparent, add
--transparentto the install command so it never hands out addresses over your router. It needs Debian 12 or Ubuntu 24.04 with the distribution’s own kernel.
If something goes wrong
The location says “No word from the router yet”
Check that the router’s RADIUS server, ports, secret and NAS-Identifier match the Equipment tab exactly, and that the router can reach the Internet on UDP 1812, 1813 and 5514.
The Hotspot Server shows Not reachable
Check its Internet line. Meanwhile it still signs guests in with the codes it holds and keeps the log on its disk, then sends it when it’s back online.
I clicked New secret and guests can’t sign in
The old secret stopped working at once. Put the new secret in the router, or paste the MikroTik script again.