Iam8up Blog

MikroTik no login hotspot

by iam8up on Aug.05, 2009, under mikrotik

Download this archive and put login.html and status.html in the hotspot directory of your MikroTik. This is probably just the deafult – hotspot. You can use the Winbox (suggested) or FTP to do this.

Run through the setup:

/ip hotspot setup

Now get the server’s hotspot setup:

/ip hotspot profile
set default dns-name=”" hotspot-address=0.0.0.0 html-directory=hotspot \
http-proxy=0.0.0.0:0 login-by=http-pap,trial name=default rate-limit=”" \
smtp-server=0.0.0.0 split-user-domain=no trial-uptime=2h/2h \
trial-user-profile=default use-radius=no

Get the hotspot user profile ready:

/ip hotspot user profile
set default advertise=no idle-timeout=none keepalive-timeout=2m name=default \
open-status-page=always rate-limit=128k/1024k shared-users=unlimited \
status-autorefresh=1m transparent-proxy=yes

You should be able to click the link on the login.html page and get redirect to the originally requested page, probably your home page.

Most admins will want to modify login.html to have terms and conditions. You can have them on this page or link them to an offsite location (to centralize and easily update as needed or reference to your location’s provided link). Off site terms and conditions will need the URL set in the walled-garden (that’s /ip hotspot walled-garden) so users that have yet to agree/login can see it. Beyond that the limitation is your HTML capabilities.

Src: http://www.butchevans.com/pipermail/mikrotik/2009-August/000917.html

No comments for this entry yet...

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...