This is a discussion on Automatic Router Reboot & Scheduling torrent clients (tutorial) within the BSNL broadband forums, part of the Broadband Internet Service Providers category; This is how you can schedule ur router reboots with windows and save yourself from manual rebooting. Also people using ...
| |||||||
| BSNL broadband Bsnl broadband internet connection and modems, routers and other bsnl dataone related issues can be discussed here. |
| LinkBack | Thread Tools | Display Modes |
| | #1 |
| Junior Member Join Date: Jul 2008 Age: 23
Posts: 18
Rep Power: 2 | 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 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; 09-16-08 at 05:52 PM. |
| | |
| | #2 | |
| Platinum Member | Quote:
| |
| | |
| | #3 |
| Bronze Member Join Date: Jan 2009
Posts: 122
Rep Power: 1 | Nicely written. |
| | |
| | #4 |
| Junior Member Join Date: Apr 2009 Age: 22
Posts: 17
Rep Power: 1 | i have a problem.. as soon as i execute this script in RUN.. the TELNET opens and it just remains blank.. in the last line, it says WAITING FOR: LOGIN.. and i hv to manually type the id and password.. could some throw light on tis ??? |
| | |
| | #5 | |
| Platinum Member Join Date: Aug 2007 Location: Chennai
Posts: 4,083
Rep Power: 12 | See modified script Quote:
| |
| | |
| | #6 |
| Junior Member Join Date: Apr 2009 Age: 22
Posts: 17
Rep Power: 1 | thanks superprash.. but anyway i got a simple way referred by a member over here, bu configuring the IE to reboot with a simple magic, instead of accessing TELNET... thts de best one for uTSTARCOM WA3002G4... i uld recommend tht method instead of other things |
| | |
| | #7 |
| Junior Member | I am not able to access telnet. when i connect to my router it says Login: and then connection to host lost. i have telnet enabled and i am using vista. moreover my router Huawei MT841 is not resetting. |
| | |
| | #8 | |
| Platinum Member Join Date: Aug 2007 Location: Chennai
Posts: 4,083
Rep Power: 12 | http://www.indiabroadband.net/bsnl-b...ng-script.html (Help regarding Modem Rebooting Script!!) FROM POST nO 2 : Quote:
| |
| | |
| | #9 |
| Junior Member | i dont have a problem with script....i m having problem accessing my router from telnet....when i use 3rd party telnet client i am able to telnet th router....but not by windows telnet client.....and i cant automate other telnet clients. |
| | |
| | #10 |
| Junior Member Join Date: Apr 2009 Age: 22
Posts: 17
Rep Power: 1 | @DCOSMOPOLITAN in windows, u hv to activate two type of TELNET server and client, do that in CONTROL PANEL > PROGRAMS and FEATURES > TURN ON OR OFF WINDOWS FEATURES @ESSBEBE the modified script is workin, but it stopping at SENDING : REBOOT and does not reboot it.. |
| | |
| | #11 |
| Junior Member | @jayanth100 i have already enabled telnet client and telnet server in vista i can start the telnet client but i am not able to access my router my firewall is off too telnet access to router enabled anyways thanks you alll for ur valuable help... my problem for rebooting has been solved but by using macro recorders they can record every actions of urs and u can later schedule it a must try for automated downloads or any other autamation!! google it out "Macro Recorder" |
| | |
| | #12 |
| Junior Member Join Date: Apr 2009 Age: 22
Posts: 17
Rep Power: 1 | so does tht work .. .no errors rite?? could u plz elaborate on scripting.. it uld b helpful... i m gng going througha macro recorder program - JIT MACRO RECORDER... post some screenshots Last edited by jayanth100; 04-07-09 at 03:33 PM. |
| | |
| | #13 |
| Junior Member | I am using this "Macro Expert" program!! There are several other programs available like u mentioned that jot recorder but i found Macro Expert the best cos it has inbuilt scheduler!! download and install this software and record a macro!! recording a macro means u can record all your work u doing on desktop for eg. to reboot the router: 1.start macro recording 2.open firefox or ur browser 3.open your router 192.168.1.1 [or whatever it is] 4.enter username and password 5.depending on ur modem model click on save & reboot. 6.close browser 7.stop recording now there is a macro recording u just created. name it as reboot or wateva now schedule it to run on 02:10 Hrs. so it will repeat the same thing u have done and it will reboot your router simple i hope this is useful and dont cause any problem to router by continuous menu rebooting by saving settings!! use this program and ask if any problem or queries!! |
| | |
| | #14 | |
| Junior Member Join Date: Apr 2009 Age: 22
Posts: 17
Rep Power: 1 | Quote:
dude ! it rocks.. this is de best software for any automation work.. i dont prefer scripts.. it has lagging and error-prone.. thanks.. | |
| | |
| | #15 |
| Junior Member | yup this is the best automation software i have ever used....but u gotta be careful using this..such as dont change the shortcut location of mozilla or any other thing....cos it makes a script using mouse location relative to screen ...otherwise no problems in it!! |
| | |
| | #16 |
| Platinum Member Join Date: Feb 2008
Posts: 2,692
Rep Power: 5 | right.. that is a major disadvantage. |
| | |
| | #17 |
| Junior Member Join Date: Apr 2009 Age: 22
Posts: 17
Rep Power: 1 | @superprash2003... its better than telnetting !!!.. try it out , 'coz this MACRO EXPERT software is gr8.. it logs mouse strokes and buttons clicked.... its simple, effective, re-play it at least three times for ur satisfaction dude... |
| | |
| | #18 |
| Platinum Member Join Date: Feb 2008
Posts: 2,692
Rep Power: 5 | oh well , my telnet scripts are working perfectly.. its a great alternative though.. and has many more applications, like automating various tasks.. |
| | |
| | #19 |
| Silver Member Join Date: Apr 2008 Location: delhi Age: 22
Posts: 420
Rep Power: 2 | Vista telnet program is the only one which shows the "connection to the host lost" error ......... otherwise for other operating system the rebooting script works fine ............. |
| | |
| Tags |
| automatic, reboot, record, router, speed |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| TATA WIMAX BB FEEDBACK and Request for router configuration password ! | bala-linux | Tata Indicom broadband | 27 | 10-28-09 06:35 PM |
| Tata Indicom Telenet Tndsl 2120 Router And Linksys Wireless Router Settings | ziahaq21 | Tata Indicom broadband | 7 | 08-08-09 06:17 PM |
| Triband NU Solution, Automated router reboot | Admin | MTNL broadband | 23 | 09-25-08 03:41 PM |
| Can we reboot the router this way?? | sachin007 | BSNL broadband | 10 | 02-01-08 11:06 AM |