India Broadband

Forum

 

Automatic Router Reboot & Scheduling torrent clients (tutorial)

This is a discussion on Automatic Router Reboot & Scheduling torrent clients (tutorial) within the BSNL broadband forums, part of the DSL Broadband Service Providers category; This is how you can schedule ur router reboots with windows and save yourself from manual rebooting. Also people using ...


Go Back   India Broadband Forum > Indian Broadband Forums > DSL Broadband Service Providers > BSNL broadband

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

 

LinkBack Thread Tools Display Modes
Old 10-07-2008, 08:35 PM   #1
Junior Member
 
Join Date: Jul 2008
Age: 22
Posts: 12
Rep Power: 0 Procrush is on a distinguished road
Post Automatic Router Reboot & Scheduling torrent clients (tutorial)

This is how you can schedule ur router reboots with windows and save yourself from manual rebooting. Also people using night unlimited could greatly increase their download efficiency.
First i would like to mention that there is already a topic in the forum where the procedure has been mentioned (this is where i learned it myself).

But the difference is that I am going to give a step by step tutorial and also the other topic is hard to find (i would give the credit to cyberwiz for his informative post)

First of all u need to download the scripting tool Download Here. Extract the tool to a folder. Now create a .txt file with any name in the same folder. This file will contain the script which the tool would use to give commands to your router using telnet.
Now, the scripts for all routers r not same but you can write your own script easily if u know the working. Mine is DSL-502T
This is how my telnet window looks like when i reboot (to run telnet go to start>run>type "telnet 192.168.1.1" (if that is ur IP)). Exclude the quotes. If u know how to reboot using telnet then the scripts would be lot easier to understand



Now, if my IP is 192.168.1.1 which is default for most routers and 23 is the port to which telnet connects, this is what i would type in the .txt file i created

192.168.1.1 23
WAIT "login"
SEND "admin\m"
WAIT "Password"
SEND "admin\m"
WAIT "#"
SEND "reboot\m"
WAIT "type anything here\m"

The last line of the script is for telnet to wait & automatically exit after complete disconnection(without it telnet would exit without rebooting)
To understand the scripting more u should run TST10.exe that came with the tool and read the syntax (or you can just copy paste if your telnet window looks exactly like mine)
Let for eg. i named the .txt file "Reboot" and placed it in the directory "F:\store\TST10\tst10\" then to run the file go to start>run>F:\store\TST10\tst10\TST10.exe /r:Reboot.txt
If your router reboots then congrats, if not recheck the script.
Now to schedule the reboots
Go to control panel(classic view)>scheduled tasks . Click "Add Scheduled Task". Browse & choose TST10.exe .Follow the steps but before clicking Finish check the option "Open advanced properties for this task when i click finish"
1. In the Task Tab
(i) In front of Run type the task i.e "F:\store\TST10\tst10\TST10.exe /r:Reboot.txt"
2. In Schedule Tab
(i)Choose the Start Time and if u want the task to run daily or with some other interval
(ii)Click Advanced button and check the option repeat task
(iii)Chose the interval u want between 2 runs
3. Click OK for both windows
4. Now right click and run the task

If it runs u were successful, though wait for it to run at the scheduled time for 100% guarantee that it would work

You can use the scheduled tasks to run torrent client at 2 am every day
For eg. i use utorrent and the directory for my task is "C:\Program Files\uTorrent\uTorrent.exe". Make sure u stop all the torrents u dont want to download or upload (by stop i don't mean to pause them).
To Shutdown your PC at 8 am use this Auto Shutdown Program Download Here

To Keep a track of how the automatic reboot is working for you between 2 am and 8 am, u would need a software that can record ur speed
I would recommend "Bandwidth Monitor v3.4" . It has a rates recorder which saves ur download rates in .txt or .csv format. Its not free though, but u can use P2P after all

Important Notes :
1. If ur router dies frequently keep the interval between 2 reboots less. Use the Bandwidth Monitor to know the right interval for you.
2. The automatic reboot would work only if it is able to connect to ur router.
To check that, try connecting using ur browser (IE, firefox), if it fails to connect to 192.168.1.1, then even telnet wont be able to connect and give commands. You need to reboot manually in that case.
3. The above disconnections occur mostly when the router is not rebooted for a long time. That is also the reason i keep my interval 30 mins - 1hr during bad days
4. Sometimes after reboot, the torrent client is unable to connect to any seeds, although that happens rare or maybe that happens only with me
Don't worry, my torrent client works perfectly after reboots 90% of time, Often all it needs is some time, to get back to work.

That's all ! Have a nice day

Last edited by Admin; 16-09-2008 at 05:52 PM.
Procrush is offline   Reply With Quote
Old 10-07-2008, 09:13 PM   #2
Platinum Member
 
whitestar_999's Avatar
 
Join Date: Jan 2008
Location: UP(west)
Posts: 1,749
Blog Entries: 1
Rep Power: 2 whitestar_999 is on a distinguished road
Default

Quote:
SEND "reboot\m"
just like to add a little info here.this particular line will be different for different modems because reboot command is not same in all modems.you can find out your modem's reboot command by using telnet & looking into system commands.
__________________
"They say that if you play a microsoft disc backwards you hear satanic messages, thats nothing: if you play it forwards it installs windows"
whitestar_999 is offline   Reply With Quote
Reply

Bookmarks

Tags
automatic, reboot, record, router, speed


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not 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 WIMAX BB FEEDBACK and Request for router configuration password ! bala-linux Tata Indicom broadband 22 31-10-2008 11:45 PM
Tata Indicom Telenet Tndsl 2120 Router And Linksys Wireless Router Settings ziahaq21 Tata Indicom broadband 5 25-10-2008 09:45 AM
Triband NU Solution, Automated router reboot Admin MTNL broadband 23 25-09-2008 03:41 PM
Can we reboot the router this way?? sachin007 BSNL broadband 10 01-02-2008 11:06 AM


All times are GMT +5.5. The time now is 08:20 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
India Broadband Forum