Originally posted by St0le@Dec 31 2005, 09:10 AM
i did try but freakin thin is does not work!
some1 post a nice exmaple
[snapback]37851[/snapback]
[/quote]
St0le, why don't you want to use the Telnet Scripting app ? It works very well, I'm using it and am having no problems with it.
Here's a direct download link to the app:
http://www.mario.freeandinstant.com/shared/tst10.zip
It's a standalone exe, and the zip file is only a 190 KB download.
1) Unzip the contents of the zip file to any folder, say C:\ . The file TST10.exe is the Telnet Scripting program that we need to use.
2) Create a text file (say C:\RouterReboot.txt) with these commands :
Code:
192.168.1.1 23WAIT "login"SEND "admin\m"WAIT "Password"SEND "admin\m"WAIT "#"SEND "reboot\m"WAIT "#"
Replace "admin" with your own
router login id and password on lines 3 and 5.
3) Now just add a scheduled task that looks like this :
Note the command line parameter in the Run box, which is /r: followed immediately by the name of the text file created in Step 2 i.e RouterReboot.txt
The Start in box must contain the path where the text file is located, in this case : C:\
4) Make sure you enter your correct
Windows login password by clicking on the Set password button.
5) Configure the time when you want the task to run on the Schedule tab. For MTNL, this is typically just after 12:00 AM, and just before 8 AM.
That's it ! Your router should reboot properly at the scheduled time.
Let me know if you're still having any problems.