One help required about DSL Router reboot
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.security.firewalls archive

One help required about DSL Router reboot

From: V S Rawat <VSRawat@Invalid.none>
Date: Sun Mar 26 2006 - 14:54:16 CEST

Hi folks,

I had written about how I was guided by my ISP support guys to
be able to reboot my DSL router by my browser itself to get new
IP address, thus avoiding manual switching on/off.

It is working alright, but I have to start browser for that
which is a long process for FireFox 1.5

I am quoting the source page from browser where I have to click
on save/ reboot button which does the rest.

Could someone please point out if I could create a batch (.cmd)
script for that same thing, or could directly click on some
program in hdd, or could do it by Start-Run entry. That will
save me time.

thanks.

--
<html>
   <head>
      <meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
      <link rel="stylesheet" href='stylemain.css'
type='text/css'>
         <link rel="stylesheet" href='colors.css'
type='text/css'>
            <script language="javascript">
<!-- hide
function btnReset() {
   var code = 'location.assign("rebootinfo.cgi")';
   eval(code);
}
function frmLoad() {
   var sysReboot = '0';
   var lanRefresh = '0';
   if ( sysReboot == '1' )
      btnReset();
   else if ( lanRefresh == '1' ) {
      var code =
'location.assign("resetrouter_en.cgi?lanRefresh=0")';
      eval(code);
   }
}
function restoreClick() {
   var loc = 'restoreinfo.cgi';
   var code = 'location.assign("' + loc + '")';
   if (confirm("Are you sure you want to restore factory default
setting?"))
      eval(code);
}
// done hiding -->
</script>
   </head>
   <body onLoad='frmLoad()'>
      <blockquote><center><br><br>
      <strong>Click the button below to save and reboot the
router.</strong><br>
      </center></blockquote>
      <p align="center">
         <input type='button' onClick='btnReset()'
value='Save/Reboot'>
         <br>
      </p>
      <blockquote><center><br><br>
      <strong>Restore DSL router settings to the factory
defaults.</strong><br>
      </center></blockquote>
      <p align="center">
         <input type='button' value='Restore Default Settings'
onClick='restoreClick()'>
         <br>        
      </p>
      
   </body>
</html>
<!--
2004120203
-->
-- 
Rawat
-- 
Vicky
Received on Mon May 1 01:02:48 2006