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; Change line ... Send reboot{ENTER} to ... Send 13{ENTER} Rest is same....

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 11-04-08, 08:03 PM   #21
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

Change line
... Send reboot{ENTER}
to
... Send 13{ENTER}

Rest is same.
just4kix is offline   Reply With Quote
Old 11-05-08, 12:23 PM   #22
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

ok kixxi.. almost done.. i edited the script almost as per my requirements.here is the script.. its very short..your commands like " sleep " , "winactivate" pl explain... what the value next to sleep indicates...this is my script.. but whats lacking i dont know..
Run c:\windows\system32\telnet.exe
Send o{SPACE}192.168.1.1{ENTER}
Send admin{ENTER}
Send admin{ENTER}
Send 13{ENTER}
send 1{ENTER}

if i click on exe file it runs and modem reboots.. but only problem is when i schedule using windows schedular... its not working.. following error screen comes..


i wonder now tht "o" is not getting executed i think...

i know kixxxi....... u r fed up of this..

hello.. anyone ere????///

Last edited by Mr.Tooth Fairy; 11-05-08 at 12:23 PM. Reason: Automerged Doublepost
Mr.Tooth Fairy is offline   Reply With Quote
Old 11-05-08, 03:03 PM   #23
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

All those wait commands are required. The WAIT command allows the script command to execute and wait for further input.

Your script must be:

Quote:
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}
Sleep 2000
WinActivate Telnet 192.168.1.1
Send <password>{ENTER}
Sleep 5000
WinActivate Telnet 192.168.1.1
Send 13{ENTER}
Sleep 70000
WinActivate Telnet
Send a{ENTER}
Sleep 2000
WinActivate Telnet
WinClose Telnet
just4kix is offline   Reply With Quote
Old 11-05-08, 03:26 PM   #24
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.. i made it again with your script exe file..your this script just opens my telenet... nothing else.. r u sure this all commands u gave works in vista? i dont know where i am facing problem
Mr.Tooth Fairy is offline   Reply With Quote
Old 11-05-08, 03:33 PM   #25
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 am sure they work for XP - not sure about Vista. Try AutoHotKey help.

You can also use Macro recorder:

Quote:
Creating a Keyboard Macro or Mouse Macro

A macro is a series of scripted actions that is "played" upon demand. The most common activity of a macro is to send simulated keystrokes and mouse clicks to one or more windows. Such windows respond to each keystroke and mouse click as though you had performed it manually, which allows repetitive tasks to be automated with high speed and reliability.

Although macros can be written by hand, you might find it easier to write long ones with the aid of AutoScriptWriter, which is a macro recorder included with AutoHotkey. It watches what you type and where you click, and keeps track of which window is active. It transcribes these actions into a working macro that can later be "played back" at a faster speed.

One of the most convenient ways to play back a macro is to assign it to a hotkey or hotstring. For example, the following hotkey would create an empty e-mail message and prepare it for a certain type recipient, allowing you to personalize it prior to sending:
^!s:: ; Control+Alt+S hotkey.
IfWinNotExist Inbox - Microsoft Outlook
return ; Outlook isn't open to the right section, so do nothing.
WinActivate ; Activate the window found by the above command.
Send ^n ; Create new/blank e-mail via Control+N.
WinWaitActive Untitled Message
Send {Tab 2}Product Recall for ACME Rocket Skates ; Set the subject line.
Send {Tab}Dear Sir or Madam,{Enter 2}We have recently discovered a minor defect ... ; etc.
return ; This line serves to finish the hotkey.
Hotkey macros like the above are especially useful for tasks you perform several times per day. By contrast, macros used less often can each be kept in a separate script accessible by means of a shortcut in the Start Menu or on the desktop.

To start creating your own macros and hotkeys right away, please read the Quick-start Tutorial.

Last edited by just4kix; 11-05-08 at 03:34 PM. Reason: Automerged Doublepost
just4kix is offline   Reply With Quote
Old 11-05-08, 04:14 PM   #26
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 i used macro recorder... all things are fine.. but the thing is when it comes entering login id n password.. tht time it doesnt work... i mean doesnt type what i recorded my login n password.. so further error comes... but just amazing software..


now wht to do?? am still standing helpless.
Mr.Tooth Fairy is offline   Reply With Quote
Old 11-05-08, 05:40 PM   #27
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

The macro recorder would have created a script for you. Edit it. I am not an expert at AutoHotKey - so I can only help on a limited basis.
just4kix is offline   Reply With Quote
Old 11-05-08, 07:26 PM   #28
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 got jitbit macro recorder.. if u know that.. i mean if u r expert in it.. than can u plz make me configure.??

whatever way... i just want to make it happen..auto reebooting modem every night..
Mr.Tooth Fairy is offline   Reply With Quote
Old 11-05-08, 07:33 PM   #29
Platinum Member
 
Archer's Avatar
 
Join Date: Aug 2008
Location: Kerala
Posts: 2,824
Rep Power: 6
Archer is a jewel in the roughArcher is a jewel in the roughArcher is a jewel in the rough
Default

Even with that software it will be hard to schedule all that.

I would say, don't use any software or programs for this. If that program didn't work, you will end up with a huge bill.
Archer is offline   Reply With Quote
Old 11-05-08, 07:47 PM   #30
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

point is correct archer.. i am flexible in all terms.. if all this is practically hard in poppe mode than i can change to bridge mode if the problem are less.. any software or anything,, i just need a proper automation for it.. i am trying this since almost a month.. researching it.. but still not found anything possible,,
Mr.Tooth Fairy is offline   Reply With Quote
Old 11-05-08, 08:11 PM   #31
Platinum Member
 
Archer's Avatar
 
Join Date: Aug 2008
Location: Kerala
Posts: 2,824
Rep Power: 6
Archer is a jewel in the roughArcher is a jewel in the roughArcher is a jewel in the rough
Default

Quote:
Originally Posted by Mr.Tooth Fairy View Post
point is correct archer.. i am flexible in all terms.. if all this is practically hard in poppe mode than i can change to bridge mode if the problem are less.. any software or anything,, i just need a proper automation for it.. i am trying this since almost a month.. researching it.. but still not found anything possible,,
It will be certainly easier in bridge than in pppoe mode.
Archer is offline   Reply With Quote
Old 11-05-08, 08:12 PM   #32
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 then should i start asking how to convert my connection from poppe to bridge mode? or make a new thread? and what r u waiting for? tell me how to covert lol
Mr.Tooth Fairy is offline   Reply With Quote
Old 11-05-08, 08:34 PM   #33
Platinum Member
 
Archer's Avatar
 
Join Date: Aug 2008
Location: Kerala
Posts: 2,824
Rep Power: 6
Archer is a jewel in the roughArcher is a jewel in the roughArcher is a jewel in the rough
Default

Quote:
Originally Posted by Mr.Tooth Fairy View Post
well then should i start asking how to convert my connection from poppe to bridge mode? or make a new thread? and what r u waiting for? tell me how to covert lol
I changed my connection to Bridge mode just now. It seems faster than pppoe mode. I can only tell you how to do it in ut300r2u modem.

I have never got this much speed in pppoe mode.


Last edited by Archer; 11-05-08 at 08:52 PM.
Archer is offline   Reply With Quote
Old 11-05-08, 10:30 PM   #34
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



see my download speed... sadly my upload speed is less. wonder y...
Mr.Tooth Fairy is offline   Reply With Quote
Old 11-05-08, 10:33 PM   #35
Platinum Member
 
Archer's Avatar
 
Join Date: Aug 2008
Location: Kerala
Posts: 2,824
Rep Power: 6
Archer is a jewel in the roughArcher is a jewel in the roughArcher is a jewel in the rough
Default

That's weird. The upload speed is really low. Are you still going for Bridge mode ?
I am going to change to 500 C+ plan soon. So even I am interested in this.
Archer is offline   Reply With Quote
Old 11-05-08, 10:44 PM   #36
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

i m in poppe mode..right now.. wanna go to bridge mode.. but i dont know how...

see i checked the speed test again..
upload is very less.. i guess..

Last edited by Mr.Tooth Fairy; 11-05-08 at 10:44 PM. Reason: Automerged Doublepost
Mr.Tooth Fairy is offline   Reply With Quote
Old 11-05-08, 10:46 PM   #37
Platinum Member
 
Archer's Avatar
 
Join Date: Aug 2008
Location: Kerala
Posts: 2,824
Rep Power: 6
Archer is a jewel in the roughArcher is a jewel in the roughArcher is a jewel in the rough
Default

Quote:
Originally Posted by Mr.Tooth Fairy View Post
i m in poppe mode..right now.. wanna go to bridge mode.. but i dont know how...

see i checked the speed test again..
upload is very less.. i guess..
You should start a new thread for this in the BSNL section.
For the first time I saw this icon in Utorrent after switching to bridge mode.

Last edited by Archer; 11-05-08 at 11:09 PM.
Archer is offline   Reply With Quote
Old 11-05-08, 11:17 PM   #38
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

no right now i m in poppe mode.. still tht port forwarded icon is alright........green tick..


and i am using modem ZXDSL 531B .. bsnl ppl provided it,
Mr.Tooth Fairy is offline   Reply With Quote
Old 11-06-08, 01:34 AM   #39
Platinum Member
 
Evander Leopold's Avatar
 
Join Date: Oct 2008
Posts: 1,670
Rep Power: 3
Evander Leopold will become famous soon enough
Send a message via Yahoo to Evander Leopold
Default

sometimes this happens. utorrent port stays blocked.
try changing the port from option menu. after a few changes, it generally becomes open.
Evander Leopold is offline   Reply With Quote
Old 11-06-08, 12:36 PM   #40
Platinum Member
 
Archer's Avatar
 
Join Date: Aug 2008
Location: Kerala
Posts: 2,824
Rep Power: 6
Archer is a jewel in the roughArcher is a jewel in the roughArcher is a jewel in the rough
Default

My utorrent ports are open. The connection is in Bridge mode now. Everything is working fine. Even though the speed didn't change much. The downloads are for some reason faster than before. I am loving Bridge mode.
Archer 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 06:58 PM.


India Broadband Forum