Community discussions

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

Hotspot Login Page

Thu Jun 16, 2005 4:10 am

Anyway to replace the username and password field with a login Button that is on the hotspot login page? If so Got Code or html file



Thank you
 
jarosoup
Long time Member
Long time Member
Posts: 596
Joined: Sun Aug 22, 2004 9:02 am

Thu Jun 16, 2005 5:06 am

Read the Hotspot manual....it's in there.
 
in4ni
Member Candidate
Member Candidate
Topic Author
Posts: 191
Joined: Thu Dec 09, 2004 4:22 am
Location: Jax, Fl USA

Wed Jun 29, 2005 10:35 pm

couldnt find much help in the user manual. (big surprise)
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Wed Jun 29, 2005 11:35 pm

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

Fri Jul 01, 2005 6:20 am

i am in nedd of proper html code to replace the username and password box with a "login" button. All i want is for the hotspot users read the login.html page, agree to the terms , and click the login button
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Fri Jul 01, 2005 8:25 am

:oops:
Last edited by sergejs on Fri Jul 01, 2005 8:41 am, edited 1 time in total.
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Fri Jul 01, 2005 8:40 am

[quote="kipel"]But how you identify users.
As I am not mistaken the meaning of hotspot is user autorization for networks security.
I want to setup this situation one year ago, and I failed.

But you can check documentation, maybe this feaure can help in your case.
http://www.mikrotik.com/docs/ros/2.9/ip ... 4685445634
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26379
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Fri Jul 01, 2005 9:24 am

From hotspot manual:

To provide predefined value as username, in login.html change:
   <input type="text" %input-user%> 
to this line:
  <input type="hidden" name="user" value="hsuser"> 
(where hsuser is the username you are providing)
To provide predefined value as password, in login.html change:
   <input type="password" %input-password%>
to this line:
     <input type="hidden" name="password" value="hspass">
(where hspass is the password you are providing)
 
in4ni
Member Candidate
Member Candidate
Topic Author
Posts: 191
Joined: Thu Dec 09, 2004 4:22 am
Location: Jax, Fl USA

Fri Jul 01, 2005 4:04 pm

Thank you normis! That looks like the answer i was looking for

Who is online

Users browsing this forum: Bing [Bot], fhuladaq, gene, Google [Bot], jason9456402, maldridge, mkx and 109 guests