Answering my own question regarding
Huawei MT 841 modems (and probably other BSNL Huawei modems):
I now know how to reboot or restart the modem via telnet, and have the functional and tested script.
I am using the
Telnet Scripting Tool (TST) for Win NT by Albert Yale. I have scheduled the task scheduler to run TST at 0210 hours and 0750 hours with the following command:
Code:
tst10.exe /r:script.txt /m
Now this TST program needs a file called "rscript.txt" file to work. You can make one in Notepad. The script should read like this:
Code:
192.168.1.1 23WAIT \"Login:\"SEND \"admin\m\"WAIT \"Password:\"SEND \"yourpass\m\"WAIT \"-->\"SEND \"system restart\m\"WAIT \"-->\"
The only change you should make is replace the word yourpass with your own password in the SEND command only. Let the \m remain, it is necessary.
Also, keep both tst10.exe and script.exe in the same directory. I am using C:\
Finally, make sure that you start your programs 3-4 minutes after you restart the modem, and shut them before you reboot in the morning. Otherwise some usage might carryover because utorrent keeps working after reboot, heh.
Any questions, ask! :cool2: