India Broadband Forum


Automatic rebooting of router at 2 AM and 8 AM

This is a discussion on Automatic rebooting of router at 2 AM and 8 AM within the Broadband How to forums, part of the Indian Broadband Forums category; Please see the following post: Triband NU Solution, Automated router reboot This post by greikor is one of the best ...

Go Back   India Broadband Forum > Indian Broadband Forums > Broadband How to

India Broadband Forum


Broadband How to All sorts of technical know how related to internet connections, modems, routers and switches besides other equipment you use for internet connectivity

                      

Reply

 

LinkBack Thread Tools Display Modes
Old 07-31-08, 01:18 PM   #1
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
Lightbulb Automatic rebooting of router at 2 AM and 8 AM

Please see the following post:

Triband NU Solution, Automated router reboot

This post by greikor is one of the best and coolest way to reboot modems at 2 AM and 8 AM.

It is even better than using TST10.EXE and a script (which may be prone to errors).

Say thanks to greikor.
__________________
*** Never argue with an idiot ***


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

-------------------------------------------------------------------------------------------

Last edited by just4kix; 09-08-08 at 04:59 PM.
just4kix is offline   Reply With Quote
Old 07-31-08, 01:21 PM   #2
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 To repost the method here ...

To repost the method here ...

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.
I have tested the method for UT-300R2U and Airlink-101 router and it works. There is no reason why it should not work for other routers also.
just4kix is offline   Reply With Quote
Old 08-08-08, 07:26 PM   #3
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
Lightbulb The Comprehensive Guide is now available

Once again thanks to Greikor.

Attached is a comprehensive guide. I wrote this in a hurry and hence please excuse me for some mistakes and would love to get them corrected.
just4kix is offline   Reply With Quote
Old 08-19-08, 03:12 PM   #4
Junior Member
 
Join Date: Nov 2007
Location: MUMBAI
Posts: 6
Rep Power: 3
Greikor is on a distinguished road
Default

Wonderfully done!
Greikor is offline   Reply With Quote
Old 08-19-08, 03:24 PM   #5
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 Greikor View Post
Wonderfully done!
Thanks.
just4kix is offline   Reply With Quote
Old 08-22-08, 04:01 PM   #6
Junior Member
 
Join Date: Aug 2008
Posts: 38
Rep Power: 2
Oigen is on a distinguished road
Default

Oh, wow, this is great. Thanks greikor. I was in need of something just like that.
Oigen is offline   Reply With Quote
Old 08-24-08, 10:00 PM   #7
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

There exists another utility by Imran... it is here: RapidShare: Easy Filehosting

For details on this utility, visit this thread: http://www.indiabroadband.net/bsnl-b...e-manager.html
just4kix is offline   Reply With Quote
Old 10-11-08, 02:20 AM   #8
Junior Member
 
Join Date: Jul 2008
Age: 22
Posts: 13
Rep Power: 2
manas27587 is on a distinguished road
Default

m getting the error of could not opne port 23.......pls help
manas27587 is offline   Reply With Quote
Old 11-03-08, 11:50 PM   #9
Platinum Member
 
Mr.Tooth Fairy's Avatar
 
Join Date: Aug 2008
Location: oral cavity:D
Posts: 1,546
Rep Power: 5
Mr.Tooth Fairy has a spectacular aura aboutMr.Tooth Fairy has a spectacular aura aboutMr.Tooth Fairy has a spectacular aura about
Default

hey kixxi. .. pl tell me tht script is not working for me.. my modem is ZXDSL 531B...

i converted tht script to exe.. and just tried to click and run it.. to check if my modem reboots or not.. i am getting following error message..

reb.JPG

Last edited by Mr.Tooth Fairy; 11-03-08 at 11:51 PM. Reason: Automerged Doublepost
Mr.Tooth Fairy is offline   Reply With Quote
Old 11-03-08, 11:57 PM   #10
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 Mr.Tooth Fairy View Post
hey kixxi. .. pl tell me tht script is not working for me.. my modem is ZXDSL 531B...

i converted tht script to exe.. and just tried to click and run it.. to check if my modem reboots or not.. i am getting following error message..

reb.JPG
It appears that 'telnet.exe' cannot be located.

1. Go to cmd prompt.
2. Type 'telnet' on command prompt (without quotes) and see whether it runs.
3. Find out where telnet.exe is located.
4. Change line 1 to "run <drive:>\<full_path>\telnet.exe"

Create the exe again and test it.
just4kix is offline   Reply With Quote
Old 11-04-08, 12:11 AM   #11
Platinum Member
 
Mr.Tooth Fairy's Avatar
 
Join Date: Aug 2008
Location: oral cavity:D
Posts: 1,546
Rep Power: 5
Mr.Tooth Fairy has a spectacular aura aboutMr.Tooth Fairy has a spectacular aura aboutMr.Tooth Fairy has a spectacular aura about
Default

well sorry kixxi for un necessary hassel i am creating... but still am getting same error message.. i went to run >cmd> telnet ... but there its coming "telnet" not recognised as internal or external command, operable command or batch file..

tht 1st line i changed as u said.. edited.. created exe again.. still coming same error window.. is it like its not compatible with vista.??
Mr.Tooth Fairy is offline   Reply With Quote
Old 11-04-08, 12:14 AM   #12
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

Did you locate where telnet.exe exists? In XP it is located in %systemroot%\system32 folder.
just4kix is offline   Reply With Quote
Old 11-04-08, 12:20 AM   #13
Platinum Member
 
Mr.Tooth Fairy's Avatar
 
Join Date: Aug 2008
Location: oral cavity:D
Posts: 1,546
Rep Power: 5
Mr.Tooth Fairy has a spectacular aura aboutMr.Tooth Fairy has a spectacular aura aboutMr.Tooth Fairy has a spectacular aura about
Default

well i just saved all files to desktop.. is it like after it gets converted its saved to smewhere? i dont know tht.. if so pl tell me .. like i went to search and typed "telenet.exe".. no results..

i got just shortcut searching.. where i clicked to open file location.. and again it opened same file where i saved..DESKTOP... lol.. world is round.. so true.. in my lappy also..
Mr.Tooth Fairy is offline   Reply With Quote
Old 11-04-08, 12:28 AM   #14
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

TELNET.EXE is a windows application that is installed with windows. Find out in which directory folder it is located.
just4kix is offline   Reply With Quote
Old 11-04-08, 12:57 AM   #15
Platinum Member
 
Mr.Tooth Fairy's Avatar
 
Join Date: Aug 2008
Location: oral cavity:D
Posts: 1,546
Rep Power: 5
Mr.Tooth Fairy has a spectacular aura aboutMr.Tooth Fairy has a spectacular aura aboutMr.Tooth Fairy has a spectacular aura about
Default

Quote:
Originally Posted by just4kix View Post
Did you locate where telnet.exe exists? In XP it is located in %systemroot%\system32 folder.
ok kixxi.. i searched googel and found tht in vista they have made telnet as optional.. where u have to turn it on.. nor i have turned it on and done all things again.. as u said.. and telnet now in my vista is located same as like in windows \system32\telnet.exe


now in cmd prompt working.. some black screen as like cmd prompt comes...here it is

Image Hosting Myspace

now when i click the exe file which i have made.. telnet opens. but my modem does not reboots..
Mr.Tooth Fairy is offline   Reply With Quote
Old 11-04-08, 12:58 AM   #16
Platinum Member
 
Mr.Tooth Fairy's Avatar
 
Join Date: Aug 2008
Location: oral cavity:D
Posts: 1,546
Rep Power: 5
Mr.Tooth Fairy has a spectacular aura aboutMr.Tooth Fairy has a spectacular aura aboutMr.Tooth Fairy has a spectacular aura about
Default

today this happend second time........ my post went for moderator approval...... what wrong i did?
Mr.Tooth Fairy is offline   Reply With Quote
Old 11-04-08, 01:33 AM   #17
Aditya
 
smoothvibes's Avatar
 
Join Date: Jul 2008
Location: New Delhi/ London
Posts: 4,914
Rep Power: 11
smoothvibes is a name known to allsmoothvibes is a name known to allsmoothvibes is a name known to allsmoothvibes is a name known to allsmoothvibes is a name known to allsmoothvibes is a name known to all
Send a message via AIM to smoothvibes
Default

not sure why it went in mod que... but have approved it mate
smoothvibes is offline   Reply With Quote
Old 11-04-08, 11:55 AM   #18
Platinum Member
 
Mr.Tooth Fairy's Avatar
 
Join Date: Aug 2008
Location: oral cavity:D
Posts: 1,546
Rep Power: 5
Mr.Tooth Fairy has a spectacular aura aboutMr.Tooth Fairy has a spectacular aura aboutMr.Tooth Fairy has a spectacular aura about
Default

so kixxi now what should i do now?
Mr.Tooth Fairy is offline   Reply With Quote
Old 11-04-08, 12:07 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

First you should make sure that you can telnet to your modem and reboot manually as follows:

a) From cmd prompt, start telnet
b) on telnet prompt, run command o 192.168.1.1
c) you should see a login prompt. Login = admin, Password = whatever is your modem password
d) After successful login, execute the command reboot or restart (if reboot does not work
e) Ensure that modem reboot is successful
f) Make changes to the script attached in the guide, as appropriate
g) Convert .ahk to .exe
h) Follow the guide
just4kix is offline   Reply With Quote
Old 11-04-08, 07:56 PM   #20
Platinum Member
 
Mr.Tooth Fairy's Avatar
 
Join Date: Aug 2008
Location: oral cavity:D
Posts: 1,546
Rep Power: 5
Mr.Tooth Fairy has a spectacular aura aboutMr.Tooth Fairy has a spectacular aura aboutMr.Tooth Fairy has a spectacular aura about
Default

well kixxi.. now i think its coming as u said.. i checked all things.. like run >cmd> telnet

in telnet i typed o 192.168.1.1 and entered username and password...voila.. my adsl config came.. typed 13 as command.. and modem rebooted.. so now everything is alright..
here is the image for telnet which i got...


now regarding editing script.. i dont know what to edit.. i mean i cant understand it at all.. if u dont mind,. can u pl make tht script for me? kixxi.. pl

kixxi.. where r u man.. make my day.. now last one script will do it all for me..

Last edited by Mr.Tooth Fairy; 11-04-08 at 07:56 PM. Reason: Automerged Doublepost
Mr.Tooth Fairy is offline   Reply With Quote
Reply

Tags
automatic, bsnl, bsnl night unlimited, modem, rebooting, router, schedule, scheduling

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
Tata Indicom Telenet Tndsl 2120 Router And Linksys Wireless Router Settings ziahaq21 Tata Indicom broadband 7 08-08-09 06:17 PM
Automatic Router Reboot & Scheduling torrent clients (tutorial) Procrush BSNL broadband 18 04-08-09 09:50 PM
Help needed on Billion 5200S ADSL Router Config anserkk Tata Indicom broadband 8 02-06-09 07:40 PM
Configuring wireless router with Zeenext ankroh ZeeNext 0 12-19-07 03:15 AM
want information abt rebooting router in590 nu aashu_gpt MTNL broadband 1 03-27-07 05:08 AM


All times are GMT +5.5. The time now is 09:48 AM.


India Broadband Forum