India Broadband Forum


Help regarding Modem Rebooting Script!!

This is a discussion on Help regarding Modem Rebooting Script!! within the BSNL broadband forums, part of the Broadband Internet Service Providers category; I m using Huawei SmartAX MT841 Modem with wi-fi.....I m using PPPoE mode....I want to know modem rebooting script so ...

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

India Broadband Forum


BSNL broadband Bsnl broadband internet connection and modems, routers and other bsnl dataone related issues can be discussed here.

                      

Reply

 

LinkBack Thread Tools Display Modes
Old 03-30-09, 12:12 AM   #1
Junior Member
 
dcosmopolitan's Avatar
 
Join Date: Dec 2007
Location: Jodhpur, India
Age: 23
Posts: 26
Rep Power: 2
dcosmopolitan is on a distinguished road
Send a message via AIM to dcosmopolitan Send a message via MSN to dcosmopolitan Send a message via Yahoo to dcosmopolitan
Default Help regarding Modem Rebooting Script!!

I m using Huawei SmartAX MT841 Modem with wi-fi.....I m using PPPoE mode....I want to know modem rebooting script so that i can automate my downloads....i know the scripts for Bridge Mode Connect/Disconnect but i need scripts for modem reboot now that i m on PPPoE mode!! anyone ? help!!
dcosmopolitan is offline   Reply With Quote
Old 03-30-09, 08:47 PM   #2
Platinum Member
 
Join Date: Aug 2007
Location: Chennai
Posts: 4,246
Rep Power: 12
essbebe is a glorious beacon of lightessbebe is a glorious beacon of lightessbebe is a glorious beacon of lightessbebe is a glorious beacon of lightessbebe is a glorious beacon of lightessbebe is a glorious beacon of light
Default

Imrans Broadband Helper Utility
essbebe is offline   Reply With Quote
Old 04-06-09, 08:42 AM   #3
Junior Member
 
dcosmopolitan's Avatar
 
Join Date: Dec 2007
Location: Jodhpur, India
Age: 23
Posts: 26
Rep Power: 2
dcosmopolitan is on a distinguished road
Send a message via AIM to dcosmopolitan Send a message via MSN to dcosmopolitan Send a message via Yahoo to dcosmopolitan
Default

imran's utility not working!! what my problem is i am not able to access telnet. i am using vista and MT841 and have enabled telnet. everytime i connect to my router it says connection to host lost!!
dcosmopolitan is offline   Reply With Quote
Old 04-06-09, 08:52 AM   #4
Platinum Member
 
Join Date: Aug 2007
Location: Chennai
Posts: 4,246
Rep Power: 12
essbebe is a glorious beacon of lightessbebe is a glorious beacon of lightessbebe is a glorious beacon of lightessbebe is a glorious beacon of lightessbebe is a glorious beacon of lightessbebe is a glorious beacon of light
Default Vista telnet

start run
telnet 192.168.1.1 23
any result ?

2. In "Always On" PPPoE mode, utility may
not work.
The auto script tries to open the
modem and connect to Internet. at scheduled time.
( TST10 telnet script)
Quote:
What the S/W does is:-

* It can disable your connection from 09:00-02:00, such that there will be ZERO usage during this period.
* It can reboot your ADSL Modem at 02:01, such that a new connection start in free time.
* It can try to raise speed or maintain connectivity during the entire night.
* It can reboot your ADSL Modem at 07:55, such that a new connection start at that time.
* It can ShutDown your PC at 08:00 AM, if you wish.

All the features are configurable, according to your needs.
last but most important, it can generate a very good log describing what it has done for you.
Post screen shot of settings you made.
See forum "Broadband How to .. ) for more details.
essbebe is offline   Reply With Quote
Old 04-06-09, 09:23 PM   #5
Platinum Member
 
Join Date: Feb 2008
Posts: 2,692
Rep Power: 5
superprash2003 will become famous soon enoughsuperprash2003 will become famous soon enough
Default

hope this helps Prashanth Speaks-Technology and Life: Reboot adsl modem or router using telnet script
superprash2003 is offline   Reply With Quote
Old 04-06-09, 09:53 PM   #6
Silver Member
 
Join Date: Apr 2008
Location: delhi
Age: 23
Posts: 420
Rep Power: 2
eruptionjoojo is on a distinguished road
Smile

Quote:
Originally Posted by dcosmopolitan View Post
imran's utility not working!! what my problem is i am not able to access telnet. i am using vista and MT841 and have enabled telnet. everytime i connect to my router it says connection to host lost!!
i was having the same problem bro ..................
you can see my post about the same happening at the following link :-

http://www.indiabroadband.net/bsnl-b...d-utility.html (Help with Imran's brodband utility ......)

i guess this "connection to the host lost" is a BUG in vista telnet ...............

but you can automate this by using the autohotkey method like i did ...................the link to the post is as under :-

http://www.indiabroadband.net/broadb...html#post32035 (Automatic rebooting of router at 2 AM and 8 AM)

you may follow the following steps to do it :-
(1).create the script required to reboot as mentioned in the linked post (find the correct script which works for your modem type).
(2).convert the .txt file to .exe file .
(3).then schedule the script using the inbuilt task scheduler of Vista .
(4).but here the point which needs to be kept in mind is that TO RUN THE SCRIPT FOR ABOUT 25-50 TIMES CONSECUTIVELY AFTER A TIME GAP OF ABOUT 2 SECONDS AFTER EACH EXECUTION ................. the motive of this is that while Vista may show "Connection to the host lost" at times but then since you have scheduled it to run a no. of times it would get executed one or the other time .........
this is how i got over this problem of "connection to the host lost"
hoepfully this info helps you ................
eruptionjoojo is offline   Reply With Quote
Old 04-06-09, 11:05 PM   #7
Junior Member
 
dcosmopolitan's Avatar
 
Join Date: Dec 2007
Location: Jodhpur, India
Age: 23
Posts: 26
Rep Power: 2
dcosmopolitan is on a distinguished road
Send a message via AIM to dcosmopolitan Send a message via MSN to dcosmopolitan Send a message via Yahoo to dcosmopolitan
Default

when using .ahk--> .exe file its just opening telnet window and then nothing happens
dcosmopolitan is offline   Reply With Quote
Old 04-07-09, 12:00 AM   #8
Silver Member
 
Join Date: Apr 2008
Location: delhi
Age: 23
Posts: 420
Rep Power: 2
eruptionjoojo is on a distinguished road
Smile

Quote:
Originally Posted by dcosmopolitan View Post
when using .ahk--> .exe file its just opening telnet window and then nothing happens
ok ......... i will provide you the script which works for me in windows vista ..........
then you may do the alterations to the script for your modem type ..........
and yeah the script mentioned in the link (autohotkey one)didn't work for me either so for the time being i would advice you to try the script line-by-line ...........

Oh!sorry
basically i'm afraid ............. i guess i have deleted the original script which worked for me .......... and just have the converted .exe file but anyways don't worry about the script i would by tomorrow re-work on it and get you the script which works in windows vista .............
for the time being i can only advice you to try the script line-by-line i.e. first try running just the first and move on accordingly and check the output at every stage ................

Here's the script which works for me in Windows Vista -

Run telnet.exe

Send o{SPACE}192.168.1.1{ENTER}

Send admin{ENTER} [Enter your logon id here in place of admin]

Send admin{ENTER} [Enter your logon password here in place of admin]

Send reboot{ENTER}


Just change the login name and password accordingly and as well the reboot command for your modem type ........
after having converted the script into .exe file try it just by double clicking it (try it for a no. of times ).......
hopefully this script helps ......... if you have any further problems just post in the forum ..........

Last edited by eruptionjoojo; 04-07-09 at 12:00 AM. Reason: Automerged Doublepost
eruptionjoojo is offline   Reply With Quote
Old 04-07-09, 12:35 AM   #9
Junior Member
 
dcosmopolitan's Avatar
 
Join Date: Dec 2007
Location: Jodhpur, India
Age: 23
Posts: 26
Rep Power: 2
dcosmopolitan is on a distinguished road
Send a message via AIM to dcosmopolitan Send a message via MSN to dcosmopolitan Send a message via Yahoo to dcosmopolitan
Default

Run telnet.exe

Send o{SPACE}192.168.1.1{ENTER}

after it it asks for login and when i am about to type my login it gives an error as follows:


connection to host lost
press any key to continue....


this is what my problem is.....not being able to telnet my router...i know the script for my router....but its not working just because telnet not working....
dcosmopolitan is offline   Reply With Quote
Old 04-07-09, 08:11 AM   #10
Silver Member
 
Join Date: Apr 2008
Location: delhi
Age: 23
Posts: 420
Rep Power: 2
eruptionjoojo is on a distinguished road
Post

Quote:
Originally Posted by dcosmopolitan View Post
Run telnet.exe

Send o{SPACE}192.168.1.1{ENTER}

after it it asks for login and when i am about to type my login it gives an error as follows:


connection to host lost
press any key to continue....


this is what my problem is.....not being able to telnet my router...i know the script for my router....but its not working just because telnet not working....

first of all please tell me how many times did you try to telnet your router manually and did you read that post which i had posted about the same problem completely ................ ??
there is no need to type the username manually ............... as that is what the script is all for ......... ok now leave the script and try the manual method .............. we would get back to the script later .............
so i guess you must try to telnet your router more than one's (the manual way) .........
just type the below mentioned commands in the command prompt window :-

(1).C:\>telnet
{the above command would open telnet}

(2).telnet>o 192.168.1.1
{after this you may get the "connection to the host lost"error but then after a no. of trials you would get to the login screen asking for username }


(3).If you were successful i mean the "connection to the host "error didn't appear ............
then you need to type your username name/login name at the login prompt and press ENTER ........................

Login:admin

NOTE:-inbetween this as well "Connection to the host lost " error may appear and but then you got to re-try again the above mentioned steps ..................



(4).then if everything goes right you would be prompted for the password .............

Password:admin

now type the password into the password prompt ................... now again i would say that the "connection to the host lost" error may appear but after re-trying a no. of times the above mentioned steps in the sequential order you would be able to login successfully ....................

Login successful

-->




hopefully this helps ...............
eruptionjoojo is offline   Reply With Quote
Old 04-07-09, 08:34 AM   #11
Junior Member
 
dcosmopolitan's Avatar
 
Join Date: Dec 2007
Location: Jodhpur, India
Age: 23
Posts: 26
Rep Power: 2
dcosmopolitan is on a distinguished road
Send a message via AIM to dcosmopolitan Send a message via MSN to dcosmopolitan Send a message via Yahoo to dcosmopolitan
Default

i m getting this error!!
i m not talking about script but manual access
success rate is less than 10%

not able to telnet manually

moreover we cannot depend on hit and trial method by running the script a number of times.....

i am getting this connection lost error from like last 100 tries


anyways thank 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"
dcosmopolitan is offline   Reply With Quote
Old 04-07-09, 11:12 AM   #12
Silver Member
 
Join Date: Apr 2008
Location: delhi
Age: 23
Posts: 420
Rep Power: 2
eruptionjoojo is on a distinguished road
Smile

Quote:
Originally Posted by dcosmopolitan View Post
i m getting this error!!
i m not talking about script but manual access
success rate is less than 10%

not able to telnet manually

moreover we cannot depend on hit and trial method by running the script a number of times.....

i am getting this connection lost error from like last 100 tries


anyways thank 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"
anyways congrats you finally got the main problem solved i.e. rebooting ..............
eruptionjoojo is offline   Reply With Quote
Old 06-08-09, 02:30 PM   #13
Bronze Member
 
George101's Avatar
 
Join Date: Jan 2008
Posts: 102
Rep Power: 2
George101 is on a distinguished road
Default

it says System cannot find the path specified ->run,telnet.exe

am using win7
George101 is offline   Reply With Quote
Old 06-08-09, 02:39 PM   #14
Platinum Member
 
deepmohan's Avatar
 
Join Date: Jan 2009
Location: Chennai
Posts: 810
Rep Power: 3
deepmohan has a spectacular aura aboutdeepmohan has a spectacular aura aboutdeepmohan has a spectacular aura about
Default

from MS VISTA onwards Microsoft have made telnet as an add-on feature to use that you will have to go to

Control Panel > Programs and Features > Select TASK Turn on windows features on and off > Windows Features Pop-up window will open > Select Telnet Client (from the list) > Click OK.

Installation will begin which will take significant time and you are done.

deepmohan is offline   Reply With Quote
Old 06-08-09, 03:20 PM   #15
Bronze Member
 
George101's Avatar
 
Join Date: Jan 2008
Posts: 102
Rep Power: 2
George101 is on a distinguished road
Default

thanks for the help. i installed telnet and now when i run the compiled exe the telnet window opens, which is just like cmd prmt, and nothing else happens. i manually used telnet and it worked, but when using the script nothing happens
George101 is offline   Reply With Quote
Old 06-08-09, 03:54 PM   #16
Platinum Member
 
deepmohan's Avatar
 
Join Date: Jan 2009
Location: Chennai
Posts: 810
Rep Power: 3
deepmohan has a spectacular aura aboutdeepmohan has a spectacular aura aboutdeepmohan has a spectacular aura about
Default

@George101

1). Which script are you using?
2). Whats the make of your modem/router?

Last edited by deepmohan; 06-08-09 at 04:09 PM.
deepmohan is offline   Reply With Quote
Old 06-08-09, 03:58 PM   #17
Junior Member
 
dcosmopolitan's Avatar
 
Join Date: Dec 2007
Location: Jodhpur, India
Age: 23
Posts: 26
Rep Power: 2
dcosmopolitan is on a distinguished road
Send a message via AIM to dcosmopolitan Send a message via MSN to dcosmopolitan Send a message via Yahoo to dcosmopolitan
Default

Windows Vista and 7 has some problems with Telnet!! You wont be able to login to ur router thru telnet even after enabling it!! dont know why!! seems a bug with vista and 7!!

Instead use macro-expert program for automating task!! i am using the same!! its working!! check out my thread on "Automated Tasks"
dcosmopolitan is offline   Reply With Quote
Old 06-08-09, 04:01 PM   #18
Platinum Member
 
deepmohan's Avatar
 
Join Date: Jan 2009
Location: Chennai
Posts: 810
Rep Power: 3
deepmohan has a spectacular aura aboutdeepmohan has a spectacular aura aboutdeepmohan has a spectacular aura about
Default

Quote:
Originally Posted by dcosmopolitan View Post
Windows Vista and 7 has some problems with Telnet!! You wont be able to login to ur router thru telnet even after enabling it!! dont know why!! seems a bug with vista and 7!!
Then you are wrong brother.. dont unnecessarily create a BUG which is not their

I have vista its working fine for me... no problem with telnet.

Quote:
Posted By: George101
i manually used telnet and it worked
He is having Windows 7. Seems he too don't have problem with the BUG you are mentioning.
deepmohan is offline   Reply With Quote
Old 06-08-09, 04:10 PM   #19
Junior Member
 
dcosmopolitan's Avatar
 
Join Date: Dec 2007
Location: Jodhpur, India
Age: 23
Posts: 26
Rep Power: 2
dcosmopolitan is on a distinguished road
Send a message via AIM to dcosmopolitan Send a message via MSN to dcosmopolitan Send a message via Yahoo to dcosmopolitan
Default

i was using vista too....and it wasnt working.....other users also reported the same problem.....everytime u enter ur login id....it says connection to host lost....now m using windows 7....same problem exists....
dcosmopolitan is offline   Reply With Quote
Old 06-08-09, 04:14 PM   #20
Bronze Member
 
George101's Avatar
 
Join Date: Jan 2008
Posts: 102
Rep Power: 2
George101 is on a distinguished road
Default

wen i manually use telnet there is no problem, but when i use any script to start telnet, telnet opens with a blank window and doesnt do anything no matter what we type !!!
George101 is offline   Reply With Quote
Reply

Tags
modem, rebooting, script

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
Rebooting Modem In Ubuntu(Linux) eruptionjoojo BSNL broadband 19 04-02-09 10:35 PM
Easy way of auto-rebooting WA3002G4 modem. ozdesi BSNL broadband 26 11-16-08 12:45 AM
Request For Java Script To Power On The Modem Ut300r2u ravi07 BSNL broadband 8 04-09-08 02:19 AM
Help!script To Download B/w 2-8 A.m. deepak19892009 BSNL broadband 2 04-06-08 10:32 PM
Airtel Broadband: Modem rebooting during game satya_love Airtel Broadband 1 12-22-07 04:24 PM


All times are GMT +5.5. The time now is 03:29 AM.


India Broadband Forum