Thanks dude. It actually worked.
My modem is
Huawei quidway WA1300A.
I tried telnet manually without autohotkey.
It conencted and the prompt was busybox on login:
At first I had trouble in loggin in as it was saying 'incorrect password'
I was using username:admin and password which i used for web interface... and it didnt work.
Then I tried username: root and the password... it worked....!!
I guess linux is installed on the modem and the commands are standard linux commands
Thanks for the help.
Hope this post will be useful for others too....
Hey i found the following entry in a rival forum. It is said to work for DSL-502T (
D-Link). It works fine with my DSL-2540T
THIS SCRIPT IS STRICTLY FOR DSL-502T
ROUTER OF
D-Link THAT IS PROVIDED BY MTNL.
1] Install Autohotkey
2] Create a new folder where ever you want. Right click inside it > New > Autohotkey script.
3] Edit this new file using notepad or any other word processor and enter the following script. Only enter the red coloured text.
Run telnet.exe
WinWait C:\
WINDOWS\system32\telnet.exe
WinActivate C:\WINDOWS\system32\telnet.exe
Send o{SPACE}192.168.1.1{ENTER}
Sleep 2000
WinActivate Telnet 192.168.1.1
Send admin{ENTER} [Enter your logon id here in place of admin]
Sleep 2000
WinActivate Telnet 192.168.1.1
Send admin{ENTER} [Enter your logon password here in place of admin]
Sleep 5000
WinActivate Telnet 192.168.1.1
Send reboot{ENTER}
Sleep 70000
WinActivate Telnet
Send a{ENTER}
Sleep 2000
WinActivate Telnet
WinClose Telnet
4] Save the file, and name it rebootmodem.ahk
5] Go to Start Menu>Program files>Autohotkey>Convert .ahk to .exe
6] Under source file browse and select the script you just wrote named rebootmodem.txt
7] Under destination file browse to the folder you created and TYPE rebootmodem.exe
8] Click on >Convert<
9] Now open the Scheduled Tasks window from system tools in your start menu or from your control panel.
10] Schedule the task to run rebootmodem.exe every day at 7:45 am, enter your Windows login password when prompted and verify it.
11] Now a new task will appear in the scheduled tasks folder called rebootmodem. Rename it to Morning.
12] Create another task and set it to 12:15 am and schedule it to run everyday, enter your windows login id and password when prompted.
You are all set now.
13] Remember to set your firewall to allow rebootmodem.exe to access the router.