Community discussions

MUM Europe 2020
 
bigguns
Member Candidate
Member Candidate
Topic Author
Posts: 238
Joined: Thu Apr 01, 2010 9:03 am

External Page used with login box to allow internet access?

Sun Oct 17, 2010 10:56 pm

HI there,
I've looked through the Wiki and I can't find anything on this.

I'm trying to come up with a solution for this:
Userman - in the central location
3x Hotspots in remote locations.
1x hosted webpage e.g. www.hotspotlogin.ex - hosted by godaddy.com (example)

When a user connects to one of the hotspot locations; they should be sent to www.hotspotlogin.ex.
When they arrive at the site, they should be given a login box to allow them to login and gain access to the internet or signup.

At the moment the current login box for a local radius uses the html:
<table width="100" height="20" style="border: 1px solid #cccccc; padding: 0px;" cellpadding="0" cellspacing="0">

<tr>
<td align="left" valign="bottom" height="50" colspan="2">

   <form name="login" action="$(link-login-only)" method="post"
       $(if chap-id) onSubmit="return doLogin()" $(endif)>
      <input type="hidden" name="dst" value="$(link-orig)">
      <input type="hidden" name="popup" value="true">
      
         <table width="50" style="background-color: #ffffff">
            <tr><td align="left">Login</td>
                  <td><input style="width: 100px" name="username" type="text" value="$(username)"/></td>
            </tr>
            <tr><td align="left">Password</td>
                  <td><input style="width: 100px" name="password" type="password"/></td>
            </tr>
            <tr><td>&nbsp;</td>
                  <td><input type="submit" value="OK"></td>
            </tr>
         </table>
      </form>
      
</td>
</tr>
</table>
$(if error)
<br><div style="color: #FF8080; font-size: 9px">$(error)</div>
$(endif)

</td>
</tr>
</table>

Who is online

Users browsing this forum: No registered users and 5 guests