This is a discussion on Triband NU Solution, Automated router reboot within the MTNL broadband forums, part of the DSL Broadband Service Providers category; Here is the router reboot method I have tried this only on DLink DSL-502T router , this should work on ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| ||||
| ||||
| 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 |
|
#2
| |||
| |||
| Thanks for the info |
|
#3
| |||
| |||
| it also works for the other router which MTNL supplies namely UT-300R2U by the co. named Starcom tried and tested method |
|
#4
| |||
| |||
| can anyone tell for what it is used for |
|
#5
| |||
| |||
| 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 :-) |
|
#6
| |||
| |||
| 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. |
|
#7
| |||
| |||
| instead, go to 192.168.1.1 in your browser, select tools go to misc./system click save and reboot |
|
#8
| |||
| |||
| 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. |
|
#9
| |||
| |||
| Quote:
|
|
#10
| |||
| |||
| At Greikor, Thanks a Lot Dude. Very Nice Work |
| Bookmarks |
| Tags |
| automated, reboot, router, solution, triband |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to make the VoIP Router work with BSNL | tb2904 | BSNL broadband | 1 | 16-01-2007 09:53 PM |
| How to make the VoIP router work with BSNL | tb2904 | BSNL broadband | 0 | 12-07-2006 06:06 PM |