hi guys , i wa spreviously using TST (telnet scripting tool) in XP for modem reboot from telnet .
now i have migrated to Vista and somehow the script i have for modem reboot doesnt work anymore in Vista ( i have enabled Telnet in Vista as well)
i have downloaded Macro Scheduler , and its proabably the only thing that will work for me now !
this was the commands i used in TST10 , and used this script to reboot the router via task scheduler :-
----------------------------------------------
192.168.1.1 23
WAIT "Login"
SEND "admin\m"
WAIT "Password"
SEND "12345\m"
WAIT "->"
SEND "12\m"
WAIT "==>"
SEND "1\m"
WAIT "The system shell is being reset. Please wait..."
---------------------------------------------------
i would really appreciate if someone can adjust the commands , so that it functions inside macro scheduler (as i am not familiar how to put to these commands inside macro scheduler) so that macro scheduler can reboot my modem from telnet .
Thanks in Advance !
Help regarding Telnet scripting for Router Reboot
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Should be something like this:
Code: Select all
TelnetConnect>192.168.1.1,23,hTN
TelnetWaitFor>hTN,Login,5,r
TelnetSend>hTN,admin%CR%
TelnetWaitFor>hTN,Password,5,r
TelnetSend>hTN,12345%CR%
TelnetWaitFor>hTN,->,5,r
TelnetSend>hTN,12%CR%
TelnetWaitFor>hTN,==>,5,dirlist
TelnetSend>hTN,1%CR%
TelnetWaitFor>hTN,The system shell is being reset. Please wait...,5,dirlist
TelnetClose>hTN
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?