Page 1 of 2 12 LastLast
Results 1 to 25 of 28

Thread: Help regarding Modem Rebooting Script!!

  1. #1
    Junior Member
    Join Date
    Dec 2007
    Age
    25
    Liked
    0 times
    Posts
    29

    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!!

  2. #2
    LEARNER
    Join Date
    Aug 2007
    Liked
    20 times
    Posts
    15,291

  3. #3
    Junior Member
    Join Date
    Dec 2007
    Age
    25
    Liked
    0 times
    Posts
    29

    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!!

  4. #4
    LEARNER
    Join Date
    Aug 2007
    Liked
    20 times
    Posts
    15,291

    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)
    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.

  5. #5
    Platinum Member
    Join Date
    Feb 2008
    Liked
    0 times
    Posts
    2,766

  6. #6
    Silver Member
    Join Date
    Apr 2008
    Age
    25
    Liked
    0 times
    Posts
    418

    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 ................

  7. #7
    Junior Member
    Join Date
    Dec 2007
    Age
    25
    Liked
    0 times
    Posts
    29

    Default

    when using .ahk--> .exe file its just opening telnet window and then nothing happens

  8. #8
    Silver Member
    Join Date
    Apr 2008
    Age
    25
    Liked
    0 times
    Posts
    418

    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

  9. #9
    Junior Member
    Join Date
    Dec 2007
    Age
    25
    Liked
    0 times
    Posts
    29

    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....

  10. #10
    Silver Member
    Join Date
    Apr 2008
    Age
    25
    Liked
    0 times
    Posts
    418

    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 ...............

  11. #11
    Junior Member
    Join Date
    Dec 2007
    Age
    25
    Liked
    0 times
    Posts
    29

    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"

  12. #12
    Silver Member
    Join Date
    Apr 2008
    Age
    25
    Liked
    0 times
    Posts
    418

    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 ..............

  13. #13
    Bronze Member
    Join Date
    Jan 2008
    Liked
    0 times
    Posts
    124

    Default

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

    am using win7

  14. #14
    Its Time To Change ! deepmohan's Avatar
    Join Date
    Jan 2009
    Liked
    0 times
    Posts
    1,425

    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.

    ___________________________________

    Cheers...!

  15. #15
    Bronze Member
    Join Date
    Jan 2008
    Liked
    0 times
    Posts
    124

    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

  16. #16
    Its Time To Change ! deepmohan's Avatar
    Join Date
    Jan 2009
    Liked
    0 times
    Posts
    1,425

    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.

  17. #17
    Junior Member
    Join Date
    Dec 2007
    Age
    25
    Liked
    0 times
    Posts
    29

    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"

  18. #18
    Its Time To Change ! deepmohan's Avatar
    Join Date
    Jan 2009
    Liked
    0 times
    Posts
    1,425

    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 :angry:

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

    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.

  19. #19
    Junior Member
    Join Date
    Dec 2007
    Age
    25
    Liked
    0 times
    Posts
    29

    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....

  20. #20
    Bronze Member
    Join Date
    Jan 2008
    Liked
    0 times
    Posts
    124

    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 !!!

  21. #21
    Its Time To Change ! deepmohan's Avatar
    Join Date
    Jan 2009
    Liked
    0 times
    Posts
    1,425

    Default

    @dcosmopolitan
    i hope there wight be some other porobem with your copy or settings....as its working for me on vista and on windows 7 for George101 tooo.

  22. #22
    Bronze Member
    Join Date
    Jan 2008
    Liked
    0 times
    Posts
    124

    Default

    that connection lost problem can be solved by setting manual ip address in Local Area Connection



    i think a third party software cannot open telnet, coz the same happens when i tried to run telnet by macro recorder

  23. #23
    Its Time To Change ! deepmohan's Avatar
    Join Date
    Jan 2009
    Liked
    0 times
    Posts
    1,425

    Default

    @George101

    dear can you post the script which you used...so that i can help you better.

  24. #24
    Bronze Member
    Join Date
    Jan 2008
    Liked
    0 times
    Posts
    124

    Default

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

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

    tried both these scripts. same result

    can u write a script which opens cmd prompt first and using cmd prmpt start telnet and do the rest? it might work

    update: doesnt work. still opens a blank window
    Last edited by George101; 06-08-09 at 04:39 PM.

  25. #25
    Bronze Member
    Join Date
    Jan 2009
    Liked
    0 times
    Posts
    119

    Default

    Quote Originally Posted by George101 View Post
    i think a third party software cannot open telnet, coz the same happens when i tried to run telnet by macro recorder
    "Imran's Broadband Helper Utility" dos'nt depend on windows telnet.. so it might work for you..

    See this step by step guide : http://www.indiabroadband.net/broadb...tml#post164916 (Automatic rebooting of router at 2 AM and 8 AM)

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Beginner's Guide - Modem selection and troubleshoot
    By meetdilip in forum BSNL broadband
    Replies: 5
    Last Post: 04-24-11, 08:57 PM
  2. Not acquiring IP address, cannot access modem page
    By Outlander in forum BSNL broadband
    Replies: 12
    Last Post: 02-17-10, 09:56 PM
  3. 3rd party modem
    By meetdilip in forum BSNL broadband
    Replies: 6
    Last Post: 02-16-10, 10:19 PM
  4. IPOD TOUCH 2g ON BSNL WIFI type 2 modem
    By ankit in forum BSNL broadband
    Replies: 9
    Last Post: 02-13-10, 12:27 AM
  5. New Modem, No DSL Light
    By Standard1 in forum BSNL broadband
    Replies: 1
    Last Post: 02-06-10, 11:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •