Page 3 of 5 FirstFirst 12345 LastLast
Results 51 to 75 of 104

Thread: Automatic rebooting of router at 2 AM and 8 AM

  1. #51
    Bronze Member
    Join Date
    Dec 2008
    Liked
    0 times
    Posts
    108

    Default

    Quote Originally Posted by sundeep_sarathy View Post
    Now as per Admin article I should get "#" symbol where I should type "reboot". But I get message "Login incorrect".
    The only reason you can get the error "Login incorrect" is that either you have typed the wrong Username or wrong Password(or both wrong).

    from your screenshot also it looks like you have not typed anything when prompted for password.

    So it will be better for you try repeat the entire process.. and if then also you face this problem.. please write here.

  2. #52
    Amor vincit omnia
    Join Date
    Dec 2007
    Liked
    3 times
    Posts
    3,022

    Default

    D-Link routers have this nifty feature, while telnetting and while the username/password is being entered, the username is listed. But the password is kept blank. Hence in the screenshot the password is blank.

  3. #53
    Bronze Member
    Join Date
    Dec 2008
    Liked
    0 times
    Posts
    108

    Default

    Quote Originally Posted by cool_techie_tvm View Post
    D-Link routers have this nifty feature, while telnetting and while the username/password is being entered, the username is listed. But the password is kept blank. Hence in the screenshot the password is blank.
    Thanks for the ^^ info...

    Anyway.. through googling i came to know that the the real problem is in the username..
    the username for this modem is "root", and the password is the same which works in web interface.

  4. #54
    Amor vincit omnia
    Join Date
    Dec 2007
    Liked
    3 times
    Posts
    3,022

    Default

    What baffles me in http://www.indiabroadband.net/broadb...html#post98654 (Automatic rebooting of router at 2 AM and 8 AM) is that the poster says he is able to login to webinterface using the username/password combination. Or is the telnet username/password different from the ones used to access the web interface?

  5. #55
    Bronze Member
    Join Date
    Dec 2008
    Liked
    0 times
    Posts
    108

    Default

    Actually this is a perfect example of a really poor implementation by Dlink.. where they allow "Admin" as the username with web interface but "root" as the username for telnet session.(both sharing the same password)

  6. #56
    Amor vincit omnia
    Join Date
    Dec 2007
    Liked
    3 times
    Posts
    3,022

    Default

    I possess a D-Link 2540T router. I just tried admin/*password* as well as root/*password* in telnet console. And guess what? It worked. I have always used admin/*password* for rebooting the modem. Thanks to this thread i came to know about the second username/password combination.

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

    Default

    @superprash2003
    one more user password.

  8. #58
    Bronze Member
    Join Date
    Dec 2008
    Liked
    0 times
    Posts
    108

    Default

    Quote Originally Posted by essbebe View Post
    @superprash2003
    one more user password.


    Is there other Username and Passwords also, other than "Admin" and "root"?

  9. #59
    Gold Member
    Join Date
    Apr 2007
    Liked
    0 times
    Posts
    772

    Default

    @cool_techie_tvm
    D-link router are running on busybox. that why their username is "root" instead of admin in web interface. and like all linux terminals busybox does not show passwords
    if you are familar with linux, then you would understand.

  10. #60
    Amor vincit omnia
    Join Date
    Dec 2007
    Liked
    3 times
    Posts
    3,022

    Default

    As u might be knowing from my linux queries in other forums, i am no pro in linux. Still sticking with Ubuntu/Fedora because of ease of use.

    U might be surprised to know that my D-Link router supports admin,root as username. This is what i had posted in post #56.

  11. #61
    Junior Member
    Join Date
    Apr 2009
    Age
    24
    Liked
    0 times
    Posts
    3

    Default

    hi dude.. thanks for the essential post.......... first both codes are working fine except the code3 rebooting code.. i dont know. I too have the same router wat u have.. pl help me..

    no need for that rebooting code itself.. but Is ther any way to combine both the first two codes i.e. disconnecting code and reconnecting code.

    it means if i execute a single file, my router shd automatically disconnect and reconnect. (shd change the ip).

    pl help.......... waiting for ur reply..

  12. #62
    Junior Member
    Join Date
    Nov 2007
    Liked
    0 times
    Posts
    6

    Default

    Sometimes there is no problem with Telnet. These days routers/modems with upgraded firmware often have an option to activate or dectivate the the telnet from accessing the router, please ensure it is turned on. Also forward the port 23 (Telnet Port) to your computer's IP(Only if needed). I see a lot of your problems can be solved by this. As for the code, feel free to modify it to suit your needs, you should first manually perform the reboot using the command prompt. Then write down your exact procedure and then code it. There shouldn't be any problems thereafter.

  13. #63
    Junior Member
    Join Date
    Apr 2009
    Age
    24
    Liked
    0 times
    Posts
    3

    Default

    ok. thanks.. i can perform any flexible task using telnet(cmd prompt) and with the help of that i ll try to modify the script ........

  14. #64
    Junior Member
    Join Date
    Jan 2008
    Liked
    0 times
    Posts
    2

    Default

    I made this modem rebooter for
    1. Airtel 220 Bx modem
    2. Dataone modem.
    Double click on exe file oan your modem will restart ( if your luck is good)
    ........

    If you have some more ........Please share your rebooter here...
    Attached Files Attached Files

  15. #65
    Junior Member
    Join Date
    Apr 2009
    Liked
    0 times
    Posts
    6

    Default @mgtm7m

    I have read your procedure and have one silly doubt..

    you have mentioned 3 codes. all those 3 codes have to be written in 3 different files or should it be written in one single file..

    also
    when i schedule my task in the 'scheduled tasks', it gives me the following error

    " the new task has been created, but may not run because the account information cannot be set . the specific error is 0x80070005: Access Denied.."

    i am the only user to my laptop and i dont have any username and password to log onto my system..can anyone please explain me how to overcome this problem.

  16. #66
    Guardian Angel just4kix's Avatar
    Join Date
    Dec 2007
    Liked
    8 times
    Posts
    10,904

    Default

    Quote Originally Posted by warlock View Post
    I have read your procedure and have one silly doubt..

    you have mentioned 3 codes. all those 3 codes have to be written in 3 different files or should it be written in one single file..

    also
    when i schedule my task in the 'scheduled tasks', it gives me the following error

    " the new task has been created, but may not run because the account information cannot be set . the specific error is 0x80070005: Access Denied.."

    i am the only user to my laptop and i dont have any username and password to log onto my system..can anyone please explain me how to overcome this problem.
    No doubts are silly. We think that they are silly and hence afraid to ask. I am glad that you asked.

    a) All the three codes should be in three separate files as they are three different tasks.

    b) You must have "Administrator" privileges to run some tasks. Also check whether you have set the user name and password in the scheduled task. Check from the control panel "Users and Accounts", whether you are part of the "Administrators" group.
    *** Never argue with an idiot. ***

    All my useful articles and Guides | My Movie Collection | My Blogs
    -------------------------------------------------------------------------------------------

  17. #67
    Junior Member
    Join Date
    Apr 2009
    Liked
    0 times
    Posts
    6

    Default @just4kix

    thanks man...
    was able to schedule a task and run it..

    but.. i have few doubts regarding this procedure..

    firstly, i am using the first 2 codes..ie 'disconnect' and 'connect' at 1.59/7.59 AM and 2.01/8.01 AM respectively. the 3rd code ie..'reboot' doesnt seems to work..(my router is not rebooting..i have a WA3002G4 router). So..is the 3rd piece of code required? if yes..then how can i make it work? (cause as soon as i run the 'reboot' code...my internet connection is lost and i can surf no more.)

    my second doubt is.. when i use the first code..ie 'disconnect' method..should my internet connection terminate? (logically i thought that after running the code i should no longer be able to connect to the net, but it doesnt seems to work like that as i am able to connect..)

    so finally what i am doing is this:
    1) running the 'disconnect' code at 1.59AM.
    2) running the 'connect' code at 2.01AM.
    3) running the 'disconnect' code at 7.59AM.
    4) running the 'connect' code at 8.01AM.

    is this all that is required to reboot my router or is there more too it..

  18. #68
    Guardian Angel just4kix's Avatar
    Join Date
    Dec 2007
    Liked
    8 times
    Posts
    10,904

    Default

    @warlock, You are doing the right thing. No need for anything else if your script is rebooting the modem properly. Do check that your IP address has changed - don't have to do this every night; just confirm this on the first two/three nights.

    But may I suggest the following:

    1) running the 'disconnect' code at 1.59AM. --> change the time to 1:55 AM
    2) running the 'connect' code at 2.01AM. --> change the time to 2:05 AM
    3) running the 'disconnect' code at 7.59AM. --> change the time to 7:55 AM
    4) running the 'connect' code at 8.01AM. --> change the time to 8:05 AM
    This will ensure that any mismatch between your computer clock and BSNL clock will be handled.

  19. #69
    Junior Member
    Join Date
    Apr 2009
    Liked
    0 times
    Posts
    6

    Default @just4kix

    thank you for the info..really appriciate it..

    also i did check my ip address after running the scripts...they are changing..

    just out of curiosity....one thing that i dont understand is... what will happen between the 10 mins of disconnect and connect? will i be able to surf on the net??

  20. #70
    Guardian Angel just4kix's Avatar
    Join Date
    Dec 2007
    Liked
    8 times
    Posts
    10,904

    Default

    Quote Originally Posted by warlock View Post
    thank you for the info..really appriciate it..

    also i did check my ip address after running the scripts...they are changing..

    just out of curiosity....one thing that i dont understand is... what will happen between the 10 mins of disconnect and connect? will i be able to surf on the net??
    During those 10 minutes, the modem/router is not connected to internet; hence you cannot surf or download during that time.

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

    Default

    I tried out that AutoHotkey script but it opens Telnet but after that their is no further response......

    i have a DNA-A211-I Router, but when i manually give the things in telnet the modem gets rebooted....?

    Manually what i did...

    Microsoft Telnet> o 192.168.1.1 ENTER

    BCM988 ADSL ROUTER
    Login: admin ENTER
    Password: admin ENTER
    >reboot

    the modem will get rebooted.

    can any one help me out to scripting out.....
    ___________________________________

    Cheers...!

  22. #72
    Guardian Angel just4kix's Avatar
    Join Date
    Dec 2007
    Liked
    8 times
    Posts
    10,904

    Default

    Then the given script (in post 2) should work for you.

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

    Default

    i did everything as per the instructions given in post 2 but what happens is that the Telnet opens but then nothing happens.....?

    can i reduce the sleep values there it is 2000, what value can i use to the least...?

  24. #74
    Guardian Angel just4kix's Avatar
    Join Date
    Dec 2007
    Liked
    8 times
    Posts
    10,904

    Default

    It is 2000 ms. In my case, the entire script runs in 2 mins. You can reduce the sleep time, but the sleep has been introduced to ask the script to wait till activity is done. For example, after password is sent to the modem, the modem needs some time to login in, before the prompt comes back to screen.

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

    Default

    Quote Originally Posted by deepmohan View Post
    i did everything as per the instructions given in post 2 but what happens is that the Telnet opens but then nothing happens.....?

    can i reduce the sleep values there it is 2000, what value can i use to the least...?
    Try this :-
    1. Download "Imran's Broadband Helper Utility" from Imrans Broadband Helper Utility.
    2. Install the software.
    3. Goto "C:\Program Files\Broadband" folder and run Autoconfig.exe and click on Start button.. its output will look like :-
    4. Click on save button (it will save the script as test.script in the same folder).
    5. Rename the file test.script to Broadband.script (delete old Broadband.script file).
    6. Run Broadband.exe (it will come in system tray).
    7. Goto the modem tab.
    8. Click on Test button (after a few seconds you will see DONE/FAIL)
    9. If you see DONE then.. just configure the times at which you want reboots (don't forgot to check "use modem reboot service").
    10. Schedule a reboot after two minutes and notice the result.
    11. Check the log file after reboot.
    Hope this will solve your problem.

Page 3 of 5 FirstFirst 12345 LastLast

Thread Information

Users Browsing this Thread

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

Posting Permissions

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