QUOTE(nocaps @ Aug 1 2005, 07:10 PM) [snapback]19450[/snapback]
Finally, I found a foolproof
router reboot method, no tricky macros, no timer circuits.
Let us first find out if this reboot method works for you, and we will discuss the scheduling part later.
But first, let me clarify, I have tried this only on
D-Link DSL-502T router and though, this should work on any modem, I personally have no experience. Secondly, I have tried this on my router atleast a 50 times now and there is no problem whatsoever BUT, but I'm in no way responsible if your hardware loses any or all of its functionality as a result of this method.
Go to Start > Run
type \"telnet\" without quotes
In the telnet window that opens, type \"o 192.168.1.1\" (o for open) without quotes.
You will get a login prompt. Enter the login you use for the DLink router ronfiguration page. Enter the corressponding password on the next prompt. At # prompt, type \"reboot\" and press enter.
At this point, there will be a \"Press any key to continue...\" prompt in Telnet. Now, I'm not sure about this but knowing the flaky nature of DLink 502T, I would advise you not to do so until the router has rebooted completely and USB/Ethernet and
ADSL Link lights have come back on. In any case, waiting is not going to hurt, better safe than sorry.
Meanwhile, if all goes well, router would have rebooted and you would be back online. Triband usage page at
http://register.bol.net.in will reflect the same. For your satisfaction, you can also check your IP address at
http://www.whatismyip.com, before and after the reboot.
Scheduling:
For scheduling the reboot, download TST10 from winsite.com downloads. It is a tiny freeware Telnet utility with support for scripting. Extract the utility to a folder on your hard drive. e.g. C:\TST. In this folder, create a new text file. This is the file in which we will write the script for TST10, so name it anything you like e.g. reboot.txt. Edit this file in notepad and type the following. Remember to type the quotes as well and do not type the top and bottom lines, which I've added here only for clarity.
Start of script(don't type this line)----------------
192.168.1.1 23
WAIT \"login\"
SEND \"login_id\m\" (enter your login ID here)
WAIT \"Password\"
SEND \"login_pass\m\" (enter your password here)
WAIT \"#\"
SEND \"reboot\m\"
WAIT \"#\"
End of Script (don't type this line)-------------
192.168.1.1 is the address you use to access the router configuration. 23 is the port to which telnet connects. Replace \"login_id\" and \"login_pass\" with the login and password respectively, that you use to access the router configuration page from a browser. Remember, keep the \m after the id and pass.
Now simply create a scheduled task using the inbuilt
Windows task scheduler.
Important: Create a task to run tst10.exe with the command line parameter /r:reboot.txt.
Important: Remember to set your firewall to always allow TST10.exe to connect to 192.168.1.1 otherwise it won't be able to work.
Voila

Also, some of these steps may need you to login as administrator. Try it a few times to make sure it works.[/b]
I am able to succlefully connect to 192.168.1.1
it then ask me for username "BusyBox on Localhost Login: "
I enter "admin" which i use to enter my dlink configuration page
and the same password "admin"
but it gives me a message saying " Login Incorrect"
Please Help !