|
Posted by Duane Arnold on March 26, 2006, 9:24 am
If you were Registered and logged in, you could reply and use other advanced thread options
> 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.
I would suspect not, because the router is using a Winndows Web Interface
with a browser environment and not a Windows Desktop and/or DOS environment.
And what's with the HTML that's part of your sig. Vicky?
Duane :)
> --
> <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
|