Page 2 of 5 FirstFirst 1234 ... LastLast
Results 26 to 50 of 104

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

  1. #26
    Platinum Member
    Join Date
    Aug 2008
    Liked
    0 times
    Posts
    1,565

    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.

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

    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.

  3. #28
    Platinum Member
    Join Date
    Aug 2008
    Liked
    0 times
    Posts
    1,565

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

  4. #29
    Platinum Member Archer's Avatar
    Join Date
    Aug 2008
    Liked
    0 times
    Posts
    2,969

    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.

  5. #30
    Platinum Member
    Join Date
    Aug 2008
    Liked
    0 times
    Posts
    1,565

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

  6. #31
    Platinum Member Archer's Avatar
    Join Date
    Aug 2008
    Liked
    0 times
    Posts
    2,969

    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.

  7. #32
    Platinum Member
    Join Date
    Aug 2008
    Liked
    0 times
    Posts
    1,565

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

  8. #33
    Platinum Member Archer's Avatar
    Join Date
    Aug 2008
    Liked
    0 times
    Posts
    2,969

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

  9. #34
    Platinum Member
    Join Date
    Aug 2008
    Liked
    0 times
    Posts
    1,565

    Default



    see my download speed... sadly my upload speed is less. wonder y...

  10. #35
    Platinum Member Archer's Avatar
    Join Date
    Aug 2008
    Liked
    0 times
    Posts
    2,969

    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.

  11. #36
    Platinum Member
    Join Date
    Aug 2008
    Liked
    0 times
    Posts
    1,565

    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

  12. #37
    Platinum Member Archer's Avatar
    Join Date
    Aug 2008
    Liked
    0 times
    Posts
    2,969

    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.

  13. #38
    Platinum Member
    Join Date
    Aug 2008
    Liked
    0 times
    Posts
    1,565

    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,

  14. #39
    Platinum Member
    Join Date
    Oct 2008
    Liked
    0 times
    Posts
    1,670

    Default

    sometimes this happens. utorrent port stays blocked.
    try changing the port from option menu. after a few changes, it generally becomes open.

  15. #40
    Platinum Member Archer's Avatar
    Join Date
    Aug 2008
    Liked
    0 times
    Posts
    2,969

    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.

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

    Default

    @Mr Tooth_Fairy
    http
    ...with screen shots .
    ....Amend suitably for BSNL and timings.
    .....Add to book marks.

  17. #42
    Junior Member
    Join Date
    Oct 2008
    Liked
    0 times
    Posts
    3

    Default Scheduled tasks not running

    HI
    the script and the .exe file i made using AutoHotKey run fine when i double click it.
    Problem is that they dont run in the scheduled tasks.
    What could be wrong?

    i am the only user of my pc and hence dont have any pass to log on... also its obvious my profile is that of the admins.. so i dnt understand wht could b wrong....

    helpsssssssssssss

  18. #43
    Junior Member
    Join Date
    May 2008
    Age
    33
    Liked
    0 times
    Posts
    4

    Default

    Some has the script for linux? I use opensuse 10.3

  19. #44
    Junior Member
    Join Date
    Dec 2008
    Age
    27
    Liked
    0 times
    Posts
    4

    Smile Scheduling Automatic Disconnect/Reconnect/Reboot of BSNL modem

    Hello Everyone,

    I know this is a much searched and discussed topic in these forums. However I would like to present an improved autohotkey code that overcomes the shortcomings of the previous ones.

    Prvious methods: (search in forum)
    1. Using TST.exe like here --(triband-nu-solution-automated-router-reboot)
    2. Using AutohotKey like here -- (automatic-rebooting-router-2-am-8-am)

    The problem with the above two methods :
    1) The Telnet Scripting Tool waits for characters before sending the next command. Sometimes it gets struck here.
    2) In the AHK method, The send/sendkey commands send the string inputs only to the currently active window. Hence if the telnet window is not the current window (topmost) or if you have locked your desktop, the inputs are not sent to telnet window and hence the script is not executed.
    3) Further any input from the keybord/mouse while the autohotkey script is running interferes with the command being sent to telnet window and may screw up the automation.
    4) Also when you reboot the modem in addition to internet the existing LAN connections are also broken.
    So as an improvement that takes care of these problems I present here an autohotkey script.This is by far the most failsafe method. It does not wait for characters to appear like the TST.exe method nor does one have to worry about the telnet being the active window(so u can lock ur desktop too) and of course you dont need to reboot the modem(which takes time, disconnects LAN and may be injurious to ur modem )

    I have UTStarcom WA3002G4 modem with BSNL connection.So I will illustrate using this.

    edit: Note :the 5th and 6th lines of code as displayed below should be on the same line in notepad
    __________________________________________________ _______________
    Code 1: Disconnect from the internet

    SendMode Input
    Run telnet.exe
    WinWait, C:\WINDOWS\system32\telnet.exe
    BlockInput, on
    ControlSend , ahk_parent, o{SPACE}192.168.1.1{ENTER}, C:\WINDOWS\system32\telnet.exe
    WinWait, Telnet 192.168.1.1
    ControlSend , ahk_parent, admin{ENTER}, Telnet 192.168.1.1
    ControlSend , ahk_parent, admin{ENTER}, Telnet 192.168.1.1
    ControlSend , ahk_parent, ppp config 0.0.35 1 down{ENTER}, Telnet 192.168.1.1
    BlockInput, off
    sleep 1000
    WinClose Telnet
    __________________________________________________ _______________
    Code 2: Reconnect to the internet

    SendMode Input
    Run telnet.exe
    WinWait, C:\WINDOWS\system32\telnet.exe
    BlockInput, on
    ControlSend , ahk_parent, o{SPACE}192.168.1.1{ENTER}, C:\WINDOWS\system32\telnet.exe
    WinWait, Telnet 192.168.1.1
    ControlSend , ahk_parent, admin{ENTER}, Telnet 192.168.1.1
    ControlSend , ahk_parent, admin{ENTER}, Telnet 192.168.1.1
    ControlSend , ahk_parent, ppp config 0.0.35 1 up{ENTER}, Telnet 192.168.1.1
    BlockInput, off
    sleep 1000
    WinClose Telnet
    __________________________________________________ _______________
    Code 3: Reboot the modem (If incase u need it)

    SendMode Input
    Run telnet.exe
    WinWait, C:\WINDOWS\system32\telnet.exe
    BlockInput, on
    ControlSend , ahk_parent, o{SPACE}192.168.1.1{ENTER}, C:\WINDOWS\system32\telnet.exe
    WinWait, Telnet 192.168.1.1
    ControlSend , ahk_parent, admin{ENTER}, Telnet 192.168.1.1
    ControlSend , ahk_parent, admin{ENTER}, Telnet 192.168.1.1
    ControlSend , ahk_parent, reboot{ENTER}, Telnet 192.168.1.1
    BlockInput, off
    sleep 1000
    WinClose Telnet

    __________________________________________________ _______________

    Note that
    1.the words in bold are particular to your case. first admin is username , 2nd is password.
    2.between the commands blockinput on and blockinput off, u will not be able to move your mouse from a brief time (<500msec)
    3.Always try to use only the disconnect and reconnect codes (less time consuming and more efficient)

    So all u need to do is get autohotkey(Google for Autohotkey installer),install it , rightclick -> create new ahk script, copy paste the above codes, then schedule them using windows scheduler (u can run the .ahk file directly or make exe).(Disconnect at 1.59/7.59 am, Reconnect at 2.01/8.01 am)

    Also note that disconnecting and reconnecting changes ur ip address. So the code is good for rapidshare.

    For use with other modems replace the underlined commands with equivalent commands for the particular modem. you can find them by manually tenetting to 192.168.1.1 and going through various commands in your modem (type 'help' or '?')(especially look for ppp connect/disconnect commands) like I did or google for it.
    Hope this helps someone.
    Last edited by mgtm7m; 12-18-08 at 10:55 PM.

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

    Default

    Thank you. Repo given.

  21. #46
    Junior Member
    Join Date
    Dec 2008
    Age
    27
    Liked
    0 times
    Posts
    4

    Default

    Thanks Just4Kix,
    Just want to add some more info here.

    The above automatic disconnect/reconnect is obviously for always on modem using PPPoE.From your post titled 'Solution for multiple machines connecting to same BB connection' since the values of vci/vpi are different for bsnl/mtnl, one needs to modify the command given to modem as well.
    syntax of following command :
    ppp config 0.0.35 up

    follows

    ppp config port.vpi.vci [up/down]
    (note that the command/syntax depends upon the modem u have.)
    the port is generally 0.(at least in my case).vpi, vci depends on ISP. you can find urs in ur modem configuration page at 192.168.1.1 (default) -> advanced setup -> WAN -> ATM PVC configuration (or similar).

  22. #47
    Junior Member
    Join Date
    Oct 2008
    Liked
    0 times
    Posts
    10

    Default

    Does the above reboot code for UTStarcom WA3002G4 actually work ? I dont have the modem but if it works i will buy it. Or else i will buy a bsnl type 1 modem which supports Imran's Broadband utility. Is Dlink dsl 502T still in market now ? By the way do all Bsnl type 1 modems work with Imran's Broadband utility ?

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

    Default

    Everything in this guide has been tested on UT-300R2U (version 1, version 2.2) and WA3002G4.

    Imran's utility will also work.

  24. #49
    Junior Member
    Join Date
    Jan 2009
    Age
    32
    Liked
    0 times
    Posts
    4

    Question In Telnet modems password is not working

    Hi, I use GLB-502T modem

    As said by Admin, I tired to Run>>telnet>>o 192.168.1.1>>Busybox on localhost login:>>admin>>password:>>I entered my password

    Now as per Admin article I should get "#" symbol where I should type "reboot". But I get message "Login incorrect".

    But when I give those userid and password in the browser when its url is 192.168.1.1, I am able to go into modem's web page (configuration page)

    Please see attachment for Telnet screen details. Can any one help me?

    Thankyou,
    Sundeep

  25. #50
    Amor vincit omnia
    Join Date
    Dec 2007
    Liked
    3 times
    Posts
    3,022

    Default

    This thread just popped up in the search results, hence am commenting on it.

    Are u sure about the password being entered in the command prompt. Try manually telnetting the router, enter the username/password combination which u use to access the web interface. It should work. Else try resetting the modem. Make sure to backup connection details before resetting.

Page 2 of 5 FirstFirst 1234 ... 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
  •