cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
579
Views
0
Helpful
2
Replies

Guest Network Web Auth Issue

Jose Marrero
Level 1
Level 1

When I attempt to connect to the SSID I now see the web_auth page with the email box. I enter the email and click on accept and it's not sending me to the "successful connection" html page. I think it has to do with the fact that it came from the older controller, so it's looking for files that reside there, instead of the ones in the newer controller. I know what to replace it with but I don't know where to paste it, it's all gibberish to me. Here's the html code for the page:

<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Web Authentication</title>
<meta http-equiv="Cache-control" content="no-cache">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">
 
 
<style>
<!--
DIV.sidebar {
    RIGHT: 0px;
    POSITION: absolute;
    TOP: -1px;
    HEIGHT: 100%;
    width: 200;
}
DIV.graybar {
    RIGHT: 0px; POSITION: absolute; TOP: 0px; HEIGHT: 100%; BACKGROUND-COLOR: #f8f8f8
}
/* background not be shown for NEC */
 
DIV.header {
    BACKGROUND-POSITION: right 50%; LEFT: 0px; BACKGROUND-IMAGE:  url(images/background_web41.jpg); WIDTH: 100%; BACKGROUND-REPEAT: repeat; POSITION: absolute; TOP: 0px; HEIGHT: 52px; BACKGROUND-COLOR: #FFFFFF}
 
 
DIV.content {
    LEFT: 14px; MARGIN: 15px; POSITION: absolute; TOP: 60px
}
H1 {
    FONT-WEIGHT: bold; FONT-SIZE: 19px; MARGIN: 16px 0px 0px 25px; COLOR: #ffffff; FONT-FAMILY: Tahoma, Arial, Helvetica, sans-serif
}
H2 {
    FONT-WEIGHT: bold; FONT-SIZE: 15px; MARGIN: 10px 0px 0px 10px; COLOR: #336666; FONT-FAMILY: Arial, Helvetica, sans-serif
}
INPUT {
    FONT-SIZE: 12px; FONT-FAMILY: Arial, Helvetica, sans-serif
}
INPUT.button {
    MARGIN-TOP: 10px; FONT-WEIGHT: bold; WIDTH: 80px; COLOR: #ffffff; BACKGROUND-COLOR: #669999
}
P {
    FONT-SIZE: 12px; MARGIN: 0px 0px 10px; COLOR: #001133; FONT-FAMILY: Arial, Helvetica, sans-serif
}
TD {
    FONT-WEIGHT: bold; FONT-SIZE: 12px; COLOR: #336666; FONT-FAMILY: Arial, Helvetica, sans-serif
}
TD.message {
    FONT-WEIGHT: normal; COLOR: #000000
}
-->
</style>
 
 
<noscript>
&lt;meta HTTP-EQUIV="REFRESH" content="0; url=https://1.1.1.1/login_noscript.html"&gt;
</noscript>
 
<script language="javascript" src="https://1.1.1.1/loginscript.js"></script>
<script>
function getErrorMsgIfAny(){
 if(document.forms[0].err_flag.value == 1){
    document.writeln(' \
     <tr align="center"> <td colspan="2" style="color:#CC0000">Login Error.</td>\
     </tr><tr align="center"> <td width="350" class="message" colspan="2">The User Name and Password combination you have entered is invalid. Please try again.</td></tr>\
    <tr> <td class="caption" colspan="2">&nbsp;</td></tr>');
 }else{
   document.writeln(' ');
 }
}
 
function unhideform(){
     document.getElementById("formId").style.display = "block";
}
 
</script>
<style type="text/css"></style></head>
<body bgcolor="#ffffff" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form method="post" action="https://1.1.1.1/login.html">
<input type="hidden" name="buttonClicked" size="16" maxlength="15" value="0">
<input type="hidden" name="err_flag" size="16" maxlength="15" value="0">
<input type="hidden" name="err_msg" size="32" maxlength="31" value="">
<input type="hidden" name="info_flag" size="16" maxlength="15" value="0">
<input type="hidden" name="info_msg" size="32" maxlength="31" value="">
<input type="hidden" name="redirect_url" size="255" maxlength="255" value="">
<input type="hidden" name="network_name" size="64" maxlength="64" value="SLUGuest">
<div id="formId">
<table border="0" cellspacing="0" cellpading="0" width="100%">
   <tbody><tr>
     <td width="180" background="https://1.1.1.1/images/background_web41.jpg" align="middle" style="padding-bottom: 4px;">
 
     <h1>Connect</h1>
     </td>
 
     <td height="53" align="right" style="padding-bottom: 4px; padding-right: 20px;" background="https://1.1.1.1/images/background_web41.jpg"><div align="right"><img src="https://1.1.1.1/images/cisco/cisco-webauth-logo-2007.gif" width="67" height="40"></div></td>
 
    </tr>
    <tr>
      <td align="left" width="400">
        <div class="content">
            <table border="0" cellspacing="10" cellpadding="0">
            <tbody><tr>
                <td>
                    <table border="0" cellspacing="10" cellpadding="0">
                        <tbody><tr>
                            <th width="400" align="left">Welcome to Saint Leo University</th>
                        </tr>
                        <tr>
                            <td class="message" width="400" align="left">
                                University-owned or operated computing resources are provided for use to faculty, students, staff, and authorized associates of Saint Leo University. All faculty, students, staff,
                            </td>
                        </tr>
                    </tbody></table>
                </td>
            </tr>
            <script>
                getErrorMsgIfAny();
            </script> 
 
            <tr>
                <td>
                    <table border="0" cellspacing="10" cellpadding="0">           
 
                        <tbody><tr>
                            <td width="200" nowrap="">Email Address</td>
                            <td>
                                <input type="TEXT" name="email" size="45" maxlength="63" value="">
                            </td>
                        </tr>
 
                        <tr>
                            <td>&nbsp;</td>
                            <td>
                                <script>getHtmlForButton("Submit","Accept","buttonStretch","submitAction()"); </script><input type="button" name="Submit" value="Accept" class="buttonStretch" onclick="submitAction()">
 
                            </td>
                        </tr>
                    </tbody></table>
                </td>
            </tr>
 
            <script>
                 checkForMsg();
            </script>
 
 
            </tbody></table>
        </div>
        </td>
        <td align="right">
            <table border="0" cellspacing="10" cellpadding="0">
                <tbody><tr>
                    <td align="right" style="padding-top: 25px; padding-right: 20px;" bgcolor="#ffffff">
                    <div></div></td>
                </tr>
            </tbody></table>   
        </td>
   </tr>
</tbody></table>
</div>
<div id="newLoginWebConsent" style="display:none; font-family:&#39;CiscoSansRegular&#39;; font-size:13px; ">
                        <p id="welcomeMsg" style="text-align: center; font-size:20px; font-family: &#39;CiscoSansThin&#39;; margin-top: 25px;">
                                Welcome to Guest Network
                        </p>
 
                        <div class="row">
                                <div class="small-0 medium-2 columns" style="visibility: hidden">.</div>
                                <div class="small-12 medium-8 columns">
                                        <div style="border: 2px solid #bbbbbb; border-radius: 3px;  margin: 10px; padding: 10px;">
                                        <div id="page1">
                                                <p>
                                                        <span style="font-family:&#39;CiscoSansThin&#39;;">Please agree to the terms of use and connect.</span><br>
                                                        <input type="checkbox" id="loginAccept" name="loginAccept" onchange="termsAccepted();">
                                                        I accept the <a href="https://1.1.1.1/login.html?redirect=animeflv.net/#" onclick="show_terms_of_use();">terms of use</a>
                                                </p>
<br>
                                                <button class="tiny" type="button" id="loginConnectButton" onclick="submitAction();" disabled="">
                                                        Connect
                                                </button>
 
                                        </div>
 
                                        <div id="page2" style="display: none">
                                                <p>
                                                        This service is intended for use by authorized guests at this facility. This is an open/unprotected wireless network. By using this service, guests understand and accept that it is their responsibility to protect their own computer while connected to this service, and irrevocably waive any right, cause or action, remedy or other claim against the host with respect to any damage that may be caused to a computer while it is using this network.
                                                </p>
                                                <br>
                                                <button class="tiny" type="button" id="loginAcceptButton" onclick="show_accept_terms();">
                                                        Back
                                                </button>
                                        </div>
</div>
</div>
<div class="small-0 medium-2 columns" style="visibility: hidden">.</div>
</div>
                        <br>
                        <br>
                        <div style="text-align: center;">
                                <img id="cisco_powered_logo" src="https://1.1.1.1/images/cisco_powered_logo.png">
                        </div>
 
</div>
</form>
<script>
 
</script>
 
 
<meta http-equiv="Cache-control" content="no-cache">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">
 
 
 
</body></html>
2 Replies 2

Are you using the webpages native to the controller or an external webpage?

i believe it's the built in one, just want to be sure

Well, first I thought I could download the one we're currently using from the 5508 and re-upload to the 5760, but there seems to be something wrong with the HTML config looking for files in the 5508 that are not existent in the 5760. I involved our apps team and they sent a possible solution I will be trying out shortly. The 5760 came with nothing native, I had to download a separate bundle and upload it; but those pages look too simple, although they can be modified. I'll be posting my results in the thread soon.

Review Cisco Networking products for a $25 gift card