Reboot modem script for Teracom type 2 modem

yukon

Newbie
[OP]
Oct 8, 2004
20
0
I have tried the telnet script to reboot the modem and it does not work for the Teracom type 2 modem. If anybody has used any script successfully with Teracom, please post here and let us know.
I used to use this script( http://broadbandforum.in/mtnl-broadband/57955-simple-best-way-schedule-modem/ ) 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.

Thanks in advance for any help.
(hello to the old timers here..)
 

M05f3t

Regular
Regulars
Jan 1, 2011
274
9
Maybe its a different reboot command or login form?Is the reboot command same in Teracom?If no, have you looked for it in the telnet interface?If you can't find it, post your telnet help text here.For e.g.:> Run> cmd> telnet 192.168.1.1> Is the login/pass format/form same as mentioned in the documentation? > Post the help text from the console here (--help or -help or -? / etc)If everything else fails, you can also use autoIt/ahk/other automation tools to automate an http reboot request to your modem...
 

yukon

Newbie
[OP]
Oct 8, 2004
20
0
Able to login to modem through telnet

As you said, checked the help commands and

"system restart" reboots the modem.

So I put in

192.168.1.1 23
WAIT "Login:"
SEND "admin\m"
WAIT "Password:"
SEND "admin\m"
WAIT
SEND "system restart\m"
WAIT
SEND "exit\m"

and this works.

Thanks a lot.

Just a minor question-the telnet window is open for about 15 sec after the reboot.
Is there a way to close the window faster?

Found part of the solution here https://goo.gl/HcSil