Hello,
I’m trying to set up a wireless network for a client’s business. He wants users to be redirected to a welcome page (auto login to hotspot) before being able to browse. I already have the html page I want to redirect users to on an external webserver. I’ve looked through multiple threads related to this topic, specifically this one (http://forum.mikrotik.com/t/no-login-page-hotspot/46560/1) but I can’t seem to figure it out. Every time I go through the hotspot setup it gets marked invalid. Could someone walk me through how to setup the hotspot for this? I’m using an RB751U-2HnD with firmware V2.38. I have the router reset to defaults at the moment and I don’t really care what IP ranges get used.
Thanks in advance for your help. I’m more of a wireless guy than routing, so I’m a bit out of my league here.
Alright I figured out my problem. I’ll post what I found in case anyone else has a similar problem.
The default configuration for the RB751 bridges wlan1 with ether2, even though the initial configuration information doesn’t say that it does. You have to remove the bridge in the wlan1 interface settings and set up a DHCP server to run on that interface. You’ll also need to add a default route from the wlan1 interface to the WAN gateway (ether1 in the default configuration). You can do that by going to IP → Routes in winbox. Once you’ve got the wlan interface set up on it’s own network, you can configure the hotspot to run on that interface. A fairly decent tutorial on how to do that can be found here (http://wiki.mikrotik.com/wiki/How_to_make_a_HotSpot_gateway). You basically just do the hotspot setup wizard and enter the IP ranges you set for the wlan interface. Once the hotspot is setup you can edit the login.html files to let users auto-login to the hotspot and redirect to another page after login if you so choose. The easiest way to do that can be found here (http://forum.mikrotik.com/t/web-page-re-direct-splash-paga-captive-portal/44948/1). Use an FTP client like FileZilla to connect to the router and change the html files in the /hotspot directory according to the instructions in that post. I hope this helps anyone who runs into a similar problem.