[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Post Reply 
[CSI] Community Software Installer 2.7.2 ** UPDATED DEC 28th **
03-08-2010, 06:40 PM
Post: #72
RE: [CSI] Community Software Installer 2.6.2 (NEW THREAD)
Hello

Strange things happen on my popcorn related to the CSI: When my home router (ASUS) looses the network connection to my ISP, the appinit.cgi is completly overwritten with the generic "no WAN connection' page of ASUS.

So every time I loose the WAN connection does the appinit.cgi is corrupted (I have to restore it manually):

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta HTTP-EQUIV="Expires" CONTENT="-1">
<title>ASUS Wireless Router RT-N16 - Error message</title>                          
<link rel="stylesheet" type="text/css" href="index_style.css">
<link rel="stylesheet" type="text/css" href="form_style.css">
<link rel="stylesheet" type="text/css" href="other.css">

<script type="text/javascript">
var manually_stop_wan = '';
var detect_dhcp_pppoe = "no-respond";
var wan_status_log = "";

var casenum = '5';

function initial(){
    hideLinkTag();
    
    if(casenum == 1){
        showtext($("failReason1"), "The cable for Ethernet is not plugged in.");
        
        $("case1").style.display = "";
    }
    else if(casenum == 2){
        if(wan_status_log.indexOf("Failed to authenticate ourselves to peer") >= 0){
            showtext($("failReason1"), "Your PPPoE or PPTP authentification failed.");
            
            $("ppp_input_error").style.display = "";
        }
        else{
            showtext($("failReason1"), "No response from the remote server.");
            
            $("ppp_no_response").style.display = "";
        }
        
        $("case2").style.display = "";
    }
    else if(casenum == 3){
        if(detect_dhcp_pppoe=="dhcp"){
            showtext($("failReason1"), "Your ISP's DHCP does not function properly.");
            
            $("case3").style.display = "";
        }
        else{
            showtext($("failReason1"), "We have detected that your WAN Connection Type is PPPoE. But your PPPoE Setting is not complete.");
        }
    }
    else if(casenum == 4){
        showtext($("failReason1"), "The Internet connection failed. Your router's IP address is the same as that of the gateway IP address.");
        
        $("case4").style.display = "";
    }
    else if(casenum == 6){
        showtext($("failReason1"), "RT-N16's subnet ID and the subnet ID in WAN are the same.");
        showtext($("suggestion_final"), "Please");
        
        $("case6").style.display = "";
        
        $("selfsetting_link").href = "javascript:lanLink();";
    }
    else if(casenum == 5){
        var html_code = '';
        
        if(manually_stop_wan == "1")
            showtext($("failReason1"), "You have probably stopped the WAN connection manually.");
        else
            showtext($("failReason1"), "You have set the wrong dynamic or static IP address for your RT-N16.");
        
        html_code += '<ul>\n';
        if(manually_stop_wan == "1")
            html_code += '<li>Please build the WAN connection manually.</li>\n';
        else
            html_code += '<li>Please check whether your IP、DNS Settings are correct.</li>\n';
        html_code += '</ul>\n';
        
        if(manually_stop_wan == "1"){
            html_code += '<ul>\n';
            html_code += '<li><a href="javascript:manually_start_wan_Link();">Renew the WAN.</a></li>\n';
            html_code += '</ul>\n';
        }
        
        $("case5").innerHTML = html_code;
        $("case5").style.display = "";
    }
    else{
        parent.location = "/";
    }
}

function $(){
    var elements = new Array();
    
    for(var i = 0; i < arguments.length; ++i){
        var element = arguments[i];
    if(typeof element == 'string')
        element = document.getElementById(element);
        
        if(arguments.length == 1)
            return element;
        
        elements.push(element);
    }
    
    return elements;
}

function showtext(obj, str){
    if(obj)
        obj.innerHTML = str;
}

function hideLinkTag(){
    if(document.all){
        var tagObjs = document.all.tags("a");
        
        for(var i = 0; i < tagObjs.length; ++i)
            tagObjs(i).outerHTML = tagObjs(i).outerHTML.replace(">"," hidefocus=true>");
    }
}

function lanLink(){
    location.href = "/Advanced_LAN_Content.asp";
}

function wanLink(){
    location.href = "/Advanced_WAN_Content.asp";
}

function pppoeLink(){
    location.href = "/QIS_wizard.htm?flag=pppoe";
}

function detectLink(){
    location.href = "/QIS_wizard.htm?flag=detect";
}

function manually_start_wan_Link(){
    location.href = "/index.asp?flag=Internet";
}
</script>  
</head>

<body onload="initial();">
<br><br>
<table width="500" border="0" align="center" cellspacing="0" class="erTable">
<thead>
  <tr>
    <td height="52" valign="top"><span class="modelName" style="margin:25px 0px 0px 160px;">RT-N16</span></td>
  </tr>
</thead>
  <tr>
    <th valign="top" height="30" background="images/er_bg.gif"><div class="er_title">You failed to access to the web page that you want to view.</div></th>
  </tr>
  

  <tr>
    <td valign="top" background="images/er_bg.gif">
        <div class="alertImg"><img src="images/alertImg.gif"></div>
      <span class="Epagetitle">Reason for failed connection :</span>
      
      <div id="failReason" class="Epagecontent" style="color:#CC0000">
        <ul>
          <li>
            <span id="failReason1"></span>
          </li>
        </ul>
      </div>
      
    <span class="Epagetitle">We suggest you: (Need account and password of administrator.)</span>
    <div class="Epagecontent">
        <div id="case1" style="display:none;">
          <ul>
             <li>Please check the cable between the WAN port of RT-N16 and Internet is connected correctly or not.</li>
          </ul>
        </div>
        
        <div id="case2" style="display:none;">
          <ul>
             <li>
                 <div id="ppp_input_error" style="display:none;">
                   <a href="javascript:pppoeLink();">Go to "Account Setting" page</a>
                   <span> and check your account and password again.</span>
                 </div>
                 
                 <div id="ppp_no_response" style="display:none;">
                   <a href="javascript:detectLink();">Go to WAN type detecting page</a>
                   <span> and RT-N16 will detect your WAN type automatically.</span>
                 </div>
             </li>
          </ul>
        </div>
        
        <div id="case3" style="display:none;">
          <ul>
             <li>Please contact your ISP(Internet Service Provider) to find out the root cause of DHCP failure.</li>
          </ul>
        </div>
        
        <div id="case4" style="display:none;">
          <ul>          
             <li>Plese reconfigure the IP address for your RT-N16, and ensure that it is different from your gateway IP address.</li>
          </ul>
        </div>
        
        <div id="case5" style="display:none;"></div>
        
        <div id="case6" style="display:none;">
            <ul>
                <li>Plese reconfigure the local IP address for your RT-N16, and ensure that it is different from your WAN's gateway.Ex: 192.168.X.X,X is the number between 2 to 254.</li>
            </ul>
        </div>
        
        <ul>
          <li>
              <span id="suggestion_final">If these diagnosis can not solve your problem, please</span>
              <a id="selfsetting_link" href="javascript:wanLink();">Go to Setting page of the RT-N16</a>
               <span> and you can check and config your setting by yourself.</span>
          </li>
        </ul>
      </div>    
    </td>          
  </tr>
  
  <tr>
    <td height="22" background="images/er_bottom.gif"><span></span></td>
  </tr>            
</table>
</body>
</html>

Any idea?
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [CSI] Community Software Installer 2.6.2 (NEW THREAD) - pbando - 03-08-2010 06:40 PM
CSI 2.7.0.0 - ciao - 08-15-2010, 12:16 PM
RE: CSI 2.7.0.0 - Ger Teunis - 08-27-2010, 05:20 PM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Apps] opkg A100/A110 - Updated 21st Sep vaidyasr 405 83,830 05-15-2013 06:04 PM
Last Post: ricardojrm
  Faster PHP server CSI package journey4712 174 61,643 03-30-2013 01:12 PM
Last Post: o34171@rtrtr.com
  Music Browser for NMT - Updated August, 2nd, 2011 gkreidl 14 8,026 01-19-2013 04:07 PM
Last Post: winfried_laane
Music MPD installation howto (updated 4 May 2009) gwillem 494 284,862 07-20-2012 09:43 PM
Last Post: krimpenrik
  NetworkMounter 0.1 released on CSI Niels Leenheer 289 86,834 07-09-2012 07:07 PM
Last Post: andym2009
Music fuppes 0.629 for NMT - dlna, upnp media server [UPDATED: 31-May-2009] Mr Segfault 53 45,214 10-12-2011 01:04 AM
Last Post: spud
  [Apps] Qt4 WebKit - Web Browser - A110/100 - Updated 28th June vaidyasr 168 63,129 07-05-2011 10:31 AM
Last Post: gkreidl
  Utils v0.0.4 - A110 - Released - Updated 5th July vaidyasr 84 25,012 01-31-2011 01:21 PM
Last Post: dc11ab
  [split] [Apps] I-pkg A100/A110 - Updated 27th Jan linky 1 1,783 01-27-2011 10:11 PM
Last Post: dc11ab
  Can't load Themes with CSI narfnd 1 1,956 11-03-2010 07:20 PM
Last Post: joserobleda

Forum Jump: