Community discussions

MikroTik App
 
in4ni
Member Candidate
Member Candidate
Topic Author
Posts: 188
Joined: Thu Dec 09, 2004 4:22 am
Location: Jax, Fl USA

Hotspot login page

Sun Oct 02, 2005 1:24 am

I am trying to create a hotspot login page that doesnt need a user name and password. All i want is a "login" button. I have tried to use the example in the docs to no avail.

To provide predefined value as password, in login.html change:
<input type="password">
to this line:
<input type="hidden" name="password" value="hspass">
(where hspass is the password you are providing)


If i use the example above i am getting CHAP errors in the log.

Can someone please post a working login.html file for me as for this has whipped me.


Thank you
 
User avatar
larmaid
Member Candidate
Member Candidate
Posts: 177
Joined: Tue Aug 30, 2005 3:06 pm

Sun Oct 02, 2005 6:23 am

hi in4ni why dont you just not go to login page i you want to browse...! inseated you have to edit the login page?
i like it
 
in4ni
Member Candidate
Member Candidate
Topic Author
Posts: 188
Joined: Thu Dec 09, 2004 4:22 am
Location: Jax, Fl USA

Sun Oct 02, 2005 2:17 pm

some business owners want tp provide free internet access but want them to read a disclamer before browsing
 
User avatar
larmaid
Member Candidate
Member Candidate
Posts: 177
Joined: Tue Aug 30, 2005 3:06 pm

Mon Oct 03, 2005 9:43 am

what do the owner want to read...?
i still dont get it.>?
do you mean the status of the mt....?
i like it
 
in4ni
Member Candidate
Member Candidate
Topic Author
Posts: 188
Joined: Thu Dec 09, 2004 4:22 am
Location: Jax, Fl USA

Mon Oct 03, 2005 3:25 pm

All i want to do is replace the login and password fields with a "login" button. Plain and simple
 
kjagus
Frequent Visitor
Frequent Visitor
Posts: 74
Joined: Sun Jan 30, 2005 11:29 pm
Location: Poland

Mon Oct 03, 2005 4:22 pm

if it is possible, configure mac login - user will be logged in without need input name and password

then you can modify alogin.html as you wish - let user see disclaimer after logging and before browsing

regards
kj
 
User avatar
larmaid
Member Candidate
Member Candidate
Posts: 177
Joined: Tue Aug 30, 2005 3:06 pm

Mon Oct 10, 2005 4:10 pm

write username, password and macaddress with the mac address it self...!
with this the user will automaticly lgoin to hotspot
i like it
 
in4ni
Member Candidate
Member Candidate
Topic Author
Posts: 188
Joined: Thu Dec 09, 2004 4:22 am
Location: Jax, Fl USA

Mon Oct 10, 2005 6:10 pm

You folks just dont get it. Start from the first thread and read very carefully. I cant be any more clear on what i am trying to accomplish.
 
csickles
Forum Guru
Forum Guru
Posts: 1257
Joined: Fri May 28, 2004 8:46 pm
Location: Phoenix, AZ
Contact:

Mon Oct 10, 2005 9:29 pm

I get the idea...

Just create a user in your router auth system (IE radius) or local.
Give it a known password.

Edit the login screen and remove the user name and password boxes.
Add the text you want to display (Acceptable use Etc.).
Preset a string (the same one passed via the login and password boxes you removed) to the same values you created in radius or local, and when the user"accepts" the terms the preset user/password is passed off the the authentication system (local / radius) and the user is granted access. I would log wireless / hotspot activity to a syslog server. as user information will all be the same.

I think with the correct logging (I would use syslog ---> SQL) that you could backtrack your users.

I am asuming that you just want to wan users of acceptable use and you otherwise want an open system...

Craig
Things that make you go "Hmmmmmmmm"...

Craig

Who is online

Users browsing this forum: DanMos79, Google [Bot], roe1974, rua, sterhTG and 118 guests