i would like to setup a hotspot where the users get authenicated by default. i do not want the log in page to come up. I would like the hotspot to limit the users speed and downloading (especially torrents).
how can i go about letting the users on trasparently. in the future i am thinking off adding a page that could come when they first log on. ( like google.com, or some advertisements)
you can modify the form to authenticate them by MAC address, and hide the login form. then include some advertisement on the login page, and rename the login button to something like “continue”. this will seem like an ad page to the user, but in fact it will be a login page
The network consist of random users. how would I go about authenticating by MAC?? i have tried selecting login by MAC but the login page still comes up.
is there way to let google come up by default or let them be directed to another website by default.
login.html is the page loaded to show the login form. The above is a simple meta refresh that causes the browser to submit pre-determined credentials to the login servlet, in this case for the user ‘myUsername’ with a password of ‘myPassword’. As long as that account with that credentials exists in the local user database (or via RADIUS) the user will be automatically logged in.
alogin.html is loaded after a successful login. In this case, it will trigger a redirect to Google by merit of a similar meta tag.
From the user’s perspective they open a browser, and half a second later Google appears. From the router’s perspective a normal, full log on took place for the ‘myUsername’ account.
In my experience JavaScript is supported by fewer devices - usually most devices support it but some users disable it - so while JavaScript is technically cleaner than abusing a meta refresh like above, meta refreshes get the desired result for more users.
i have edited pages. it didn’t work on HTTP CHAP, I got it to auto log in with HTTP PAP. The login page comes up really quick and then it got to the status page. it shows welcome user and the ip address and there status. it stays on that page until they navigate away from it.
I dont mind this page too much. put still want it to jump to google or any other page.
Another question, at the top of the web page it shows mikrotik hotspot>status. how can i get it show user status or not come up at all.
Yes, should have mentioned that you should use PAP.
From the customizing manual:
request for “/login” page
if user has successfully logged in (or is already logged in), alogin.html is displayed; if alogin.html is not found, redirect.html is used to redirect to the originally requested page or the status page (in case, original destination page was not given)
So the login.html submits to /login and the login is successfully processed. If alogin.html exists it will be displayed, in my above example that alogin.html redirects to Google. If it doesn’t exist then redirect.html either redirects to the originally requested URL, or the status page if that isn’t available. In this scenario it wouldn’t be as the login.html you’re using doesn’t perpetuate that variable.
Sounds like your alogin.html doesn’t exist, is named wrong, something. Therefore redirect.html is shown, the originally requested URL is not available, so the status page is shown. Fix your alogin.html and you should be fine.
This works peachy for me for tens of thousands of users. As long as alogin.html exists and shows something sensible (including a redirect to Google) there won’t be a status page.
thanks so much for you help. so far i have been able to change the login page and edit so that it can auto login. i have also change the login pic.
is it possible to remove the word mikrotik hotspot ( where the arrow is on the image).
i have been experimenting with the time outs. so that after a specific time it will log off the user, and browsing should kick in when they start browsing again. but it does not go this way. when i try to login it sticks on the login page. the logs say user uptime limit is reached.
Write what you want to display in Title
\
\
/ip hotspot user profile> set 0 keepalive-timeout=15m
/ip hotspot user profile> print
0 * name="default" idle-timeout=none keepalive-timeout=15m
status-autorefresh=1m shared-users=1 transparent-proxy=no
this will allow user to logged in for 15 minutes with no activity.
after 15 minutes of inactivity user will logged out automatically.
I set up hotspot, and changed login.html, so users can auto login now, but i can’t setup up web page were users should be redirected automatic.
I changed in alogin.html web page, but it didn’t worked, so i tried to change redirect.html, it didnn’t worked either.
What do i need to change in alogin.html exept web page?
Hello all,
I am interested in this topic, i have a task to make our hotspot to display and users will have free trial account/login for 1week. I want a situation where when the login page appears, the user will just log in without any username and pasword.
How do i go about it, and what file should i edit their page to achieve that and place some advert to notify thm that it will end in 1weeks time,
For login without any username or password, first you need to create new user in hotspot (in this example: name: admin, password: 0000), then change hotspot/login.html file
This is a big improvisation. It doesnt work veru well and if user leave the browser opened with the status page it will relogin automaticaly. alogin.html also doesnt work with editing like it was described in previous posts. It works when You start it directly from a PC but with mikrotik… not really.
I tried using that login refresh with username created. My browser pops up for the hot spot but constantly refreshes the page in a loop. Am i missing something that needs to be in the login.html besides what is listed above?
How to do it but with custom page, where are more then one login for social pages?
So, without mikrotik login, just after login onto wifi, browser need to redirect to some page with social’s login buttons.
I see so many examples with tplink, and some custom firmware, but is that possible with mikrotik?