Simple Best way to schedule Modem Reboot (without Bridre mode)

  • Thread starter Thread starter sabby
  • Start date Start date
  • Replies Replies 5
  • Views Views 5,637

sabby

Regular
Messages
33
Location
NA
ISP
MTNL 749 NU
First, You need to have telnet client (telnet.exe) enabled on your system. It'll be in "C:\Windows\System32\"

NOTE : If you are on Vista or Windows 7, you need to enable telnet client.

Read this to enable it
Telnet for Windows Vista & Windows 7 - Leateds.com

Now you need to have "Telnet Sripting Tool" it's only a 360 Kb file.

Get it from here : tst10.exe

Put tst10.exe in a folder. lets say in "C:\rebootmodem\"

Create a telnet script to reboot modem.


------------------

192.168.1.1
WAIT "login:"
SEND "admin\m"
WAIT "password:"
SEND "admin\m"
WAIT "$"
SEND "reboot\m"
WAIT

------------------

Copy the above commands in a notepad and save it as "1.txt" in "C:\rebootmodem\"

NOTE : Replace the details in the script file to match to your modem's

192.168.1.1 -> Login Page Address of your modem
admin -> login id
admin -> password


Now you have to create a batch file to run the script. It just has one line.


****** Batch file ******

tst10.exe /r:1.txt

*********************

Copy the above command in notepad and save it as "123.bat" in "C:\rebootmodem\"

It's Done. Now you'll have 3 files in "C:\rebootmodem\".

1) tst10.exe
2) 1.txt
3) 123.bat


Now Schedule 123.bat to run at any time you want to reboot your modem/router.

It can be done through Windows Task Scheduler in followin way :

Start Task Scheduler from Start > All Programs > Accessories > System Tools.

Now Select "Create Basic Task"



Enter the name of the task (reboot modem)



Keep Daily Selected. Click Next >



Here enter the time at which you wish to reboot the modem (i've entered 7:30 AM)



Action is Start a Program



Now this is important part. Here you have to enter the Complete path of the Batch file.
And also enter the path in the "Start in" text box. (Don't forget this)



Thats IT !!!

Click Finish and u can see that your task has been added in the Task Scheduler

Library.





If you want you can Run it you check if eveything is working fine or not.

NOTE : Run "ping 192.168.1.1 -t" and then Run the Task to check if the connection is disconnecting or not.

You can add a Task to shutdown PC after rebooting the modem.
Just to be on safer side add the shutdown task 15 min after the Reboot modem task.

Reboot Automaticaly Any time you want. 🙂



Video Tutorial Added
Video Tutorial

All files can be Downloaded from here http://www.mediafire.com/file/nzydek31znz/rebootmodem.zip
 
This is pretty intense sh*t! Good Job!Thanks for sharing!!!
 
I am sorry to post on an extremely old thread but I have tried this script and it does not work for the Teracom type 2 modem. If anybody has used this script successfully with Teracom, please post here and let us know if there are some changes?I used to use this script successfully for over 4 years when I had the ITI modem. I have tried modifying the script and also tried a few other solutions but feel this is the simplest and uncomplicated one.
 


Top