India Broadband Forum


Triband NU Solution, Automated router reboot

This is a discussion on Triband NU Solution, Automated router reboot within the MTNL broadband forums, part of the Broadband Internet Service Providers category; Here is the router reboot method I have tried this only on DLink DSL-502T router , this should work on ...

Go Back   India Broadband Forum > Indian Broadband Forums > Broadband Internet Service Providers > MTNL broadband

India Broadband Forum


MTNL broadband MTNL broadband launched its broadband service, Triband, at Mumbai and Delhi, MTNL broadband is all set for the broadband revolution.

                      

Closed Thread

 

LinkBack Thread Tools Display Modes
Old 08-15-06, 09:45 AM   #1
 
Admin's Avatar
 
Join Date: Jan 2006
Location: New Delhi
Age: 32
Posts: 4,699
Rep Power: 12
Admin is just really niceAdmin is just really niceAdmin is just really niceAdmin is just really niceAdmin is just really nice
Default Triband NU Solution, Automated router reboot

Here is the router reboot method

I have tried this only on DLink DSL-502T router , this should work on any modem, I personally have no experience. I have tried this on my router atleast a 20 times now and there are no problems whatsoever but I'm in no way responsible if your hardware loses any or all of its functionality as a result of this method.


Go to Start > Run

type "telnet" without quotes

In the telnet window that opens, type "o 192.168.1.1" (o is for open) without quotes.


You will get a login prompt. Enter the login you use for the DLink router ronfiguration page. Enter the corressponding password on the next prompt. At # prompt, type "reboot" and press enter.

At this point, there will be a "Press any key to continue..." prompt in Telnet. Now, I'm not sure about this but knowing the flaky nature of DLink 502T, I would advise you not to do so until the router has rebooted completely and USB/Ethernet and ADSL Link lights have come back on. In any case, waiting is not going to hurt, better safe than sorry.

Meanwhile, if all goes well, router would have rebooted and you would be back online. Triband usage page at http://register.bol.net.in will reflect the same. For your satisfaction, you can also check your IP address at WhatIsMyIP.com - 70.86.183.34, before and after the reboot to see if it has changed or not.


Scheduling:
For scheduling the reboot, download TST10 from winsite.com downloads. It is a tiny freeware Telnet utility with support for scripting. Extract the utility to a folder on your hard drive. e.g. C:\TST. In this folder, create a new text file. This is the file in which we will write the script for TST10, so name it anything you like e.g. reboot.txt. Edit this file in notepad and type the following. Remember to type the quotes as well and do not type the top and bottom lines, which I've added here only for clarity.


Start of script(don't type this line)----------------

192.168.1.1 23
WAIT "login"
SEND "login_id\m" (enter your login ID here)
WAIT "Password"
SEND "login_pass\m" (enter your password here)
WAIT "#"
SEND "reboot\m"
WAIT "#"

End of Script (don't type this line)-------------


192.168.1.1 is the address you use to access the router configuration. 23 is the port to which telnet connects. Replace "login_id" and "login_pass" with the login and password respectively, that you use to access the router configuration page from a browser. Remember, keep the \m after the id and pass.

Now create a scheduled task using the inbuilt Windows task scheduler.

Important: Create a task to run tst10.exe with the command line parameter /r:reboot.txt.

Important:
Remember to set your firewall to always allow TST10.exe to connect to 192.168.1.1 otherwise it will not work.





Some of the steps above need you to login as administrator. Try it a a couple of times to make sure it works.
have fun
Admin is offline  
Old 08-30-06, 09:53 AM   #2
India Broadband Internet
Guest
 
Posts: n/a
Default

Thanks for the info
 
Old 09-03-06, 03:23 PM   #3
Dante
Guest
 
Posts: n/a
Default

it also works for the other router which MTNL supplies namely UT-300R2U by the co. named Starcom

tried and tested method
 
Old 03-17-07, 08:30 PM   #4
aiwa_05
Guest
 
Posts: n/a
Default

can anyone tell for what it is used for
 
Old 09-26-07, 01:05 AM   #5
Junior Member
 
Join Date: Sep 2007
Posts: 1
Rep Power: 0
okay.fine is on a distinguished road
Default

hi,

I have a ut starcom modem and i tweaked the reboot.txt in the following way

192.168.1.1 23
WAIT "Login"
SEND "admin\m"
WAIT "Password"
SEND "admin\m"
WAIT ">"
SEND "reboot\m"

and it works :-)
okay.fine is offline  
Old 10-06-07, 01:31 AM   #6
Junior Member
 
Join Date: Sep 2007
Posts: 4
Rep Power: 0
paltry is on a distinguished road
Default

nice response for automating this thing..

but i have a problem..

when i use the script...the router reboots ok but when it goes to on state...the adsl light keeps off..it doesnt goes on..

basically it solves the purpose to a large extent that the night slot is used within the alloted night slot and doesnt lapses in the day slot to save bandwith..BUT..

i have to manually switch it off and the on to make the adsl light on..so i am still involved with some manual process..

i have a router given by mtnl...ut-300r2u (written at bottom)
in front near led(s) its written t-kd 318-eui

can anyone tell me if this is because of the router firmware or what??
will a firmware update will solve this thing??

Thanks.
paltry is offline  
Old 10-18-07, 02:09 AM   #7
Junior Member
 
Join Date: Oct 2007
Posts: 16
Rep Power: 3
sachitv is on a distinguished road
Default

instead, go to 192.168.1.1 in your browser, select tools go to misc./system click save and reboot
sachitv is offline  
Old 11-03-07, 11:22 AM   #8
Junior Member
 
Join Date: Nov 2007
Location: MUMBAI
Posts: 6
Rep Power: 3
Greikor is on a distinguished road
Default

After reading the Admin's post, I too have created another script for DSL-502T router using autohotkey.

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.

For those who wish to avoid all that hassle just download the following file. Then schedule it to run in the morning and at night when required.

Credit: The admin for the idea.
Greikor is offline  
Old 01-13-08, 09:48 AM   #9
Junior Member
 
Join Date: Jan 2008
Posts: 2
Rep Power: 0
nikkiddl is on a distinguished road
Default

Quote:
Originally Posted by Greikor View Post
After reading the Admin's post, I too have created another script for DSL-502T router using autohotkey.

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.

For those who wish to avoid all that hassle just download the following file. Then schedule it to run in the morning and at night when required.

Credit: The admin for the idea.
Thanks a Lot You did a great job. Thanks a LOT
nikkiddl is offline  
Old 01-28-08, 01:45 AM   #10
Junior Member
 
Join Date: Jun 2007
Posts: 22
Rep Power: 3
Feedback is on a distinguished road
Default

At Greikor,

Thanks a Lot Dude. Very Nice Work
Feedback is offline  
Old 07-06-08, 02:04 PM   #11
Junior Member
 
Join Date: Jan 2008
Posts: 2
Rep Power: 0
chjk8809 is on a distinguished road
Default

Quote:
Originally Posted by okay.fine View Post
hi,

I have a ut starcom modem and i tweaked the reboot.txt in the following way

192.168.1.1 23
WAIT "Login"
SEND "admin\m"
WAIT "Password"
SEND "admin\m"
WAIT ">"
SEND "reboot\m"

and it works :-)
plz could u send me the files which u used for rebooting the router.....plz help me friend.....my mail id is chjk8809@yahoo.com


after the password session the password is getting entered and it shows a msg waiting for ">"

the symbol is not getting displayed so i cant proceed further...plz help me friend....
chjk8809 is offline  
Old 07-06-08, 04:44 PM   #12
Junior Member
 
Join Date: Jan 2008
Posts: 2
Rep Power: 0
chjk8809 is on a distinguished road
Default

excellent work dude.....superb......carry on....
chjk8809 is offline  
Old 07-28-08, 06:47 PM   #13
Junior Member
 
Join Date: Jul 2008
Posts: 2
Rep Power: 0
urnild is on a distinguished road
Default

The link for the file is not working.. it says its not valid can u plz reup it or sumthin.. my email is urnild@yahoo.co.in if u can send it here
thanx in advance its a very nice post
urnild is offline  
Old 07-30-08, 12:31 AM   #14
Junior Member
 
Join Date: Jul 2008
Location: patna
Age: 24
Posts: 12
Rep Power: 2
ajnabee100 is on a distinguished road
Default

how to do the same in sl2_141 modem. i m getting " waiting for login" for a long time
ajnabee100 is offline  
Old 08-18-08, 02:30 AM   #15
Junior Member
 
Join Date: Aug 2008
Age: 23
Posts: 13
Rep Power: 2
ashwin.isaac is on a distinguished road
Default nokia siemens

i am using a nokia siemens model c2110. i tried the reboot command bt it doesnt seem to work. it doesn reboot.... i need help.. doesn it support software reboot??????

i checked the configuration page(192.168.1.1) and it has reboot option in dat.. but it doesn reboot upon giving the command at telnet

Last edited by ashwin.isaac; 08-18-08 at 03:18 AM. Reason: Automerged Doublepost
ashwin.isaac is offline  
Old 08-18-08, 07:53 AM   #16
Junior Member
 
Join Date: Jul 2008
Location: patna
Age: 24
Posts: 12
Rep Power: 2
ajnabee100 is on a distinguished road
Default

pls attach the screenshots. first of telnet manually and second of by this script
ajnabee100 is offline  
Old 08-18-08, 09:32 AM   #17
Platinum Member
 
just4kix's Avatar
 
Join Date: Dec 2007
Location: Pune
Posts: 8,899
Blog Entries: 6
Rep Power: 19
just4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to behold
Default

I have prepared a guide out of this. Please visit the "Broadband How To" section.
just4kix is offline  
Old 08-18-08, 11:53 AM   #18
Junior Member
 
Join Date: Aug 2008
Age: 23
Posts: 13
Rep Power: 2
ashwin.isaac is on a distinguished road
Default not the screenshot

wel this is not the screenshot. i jus copy pasted


*********************
Welcome to DSL MODEM
*********************
DSL MODEM Corporation, Software Release V55.1.04.01

Login: admin
Password: *****

Login successful

--> reboot

Unrecognized command (use '?' to see valid completions)

-->
ashwin.isaac is offline  
Old 08-18-08, 12:10 PM   #19
Platinum Member
 
just4kix's Avatar
 
Join Date: Dec 2007
Location: Pune
Posts: 8,899
Blog Entries: 6
Rep Power: 19
just4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to behold
Default

Quote:
Originally Posted by ashwin.isaac View Post
wel this is not the screenshot. i jus copy pasted


*********************
Welcome to DSL MODEM
*********************
DSL MODEM Corporation, Software Release V55.1.04.01

Login: admin
Password: *****

Login successful

--> reboot

Unrecognized command (use '?' to see valid completions)

-->
Check this post: http://www.indiabroadband.net/bsnl-b...html#post15376 (Help on UT300R2U,pppoe,Home500.. plz help!!!!)

or

contact whitestar_999. He has the same modem.
just4kix is offline  
Old 08-19-08, 03:07 PM   #20
Junior Member
 
Join Date: Nov 2007
Location: MUMBAI
Posts: 6
Rep Power: 3
Greikor is on a distinguished road
Default

Link bumped. I had a few mails for the dead link, it has been activated again.
Greikor is offline  
Closed Thread

Tags
automated, reboot, router, solution, triband

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
How to make the VoIP Router work with BSNL tb2904 BSNL broadband 1 01-16-07 10:53 PM
How to make the VoIP router work with BSNL tb2904 BSNL broadband 0 07-12-06 07:06 PM


All times are GMT +5.5. The time now is 11:38 AM.


India Broadband Forum