Results 1 to 3 of 3

Thread: router automatic restart bat file needed..help pls..

  1. #1
    Junior Member
    Join Date
    Dec 2008
    Age
    25
    Liked
    0 times
    Posts
    17

    Default router automatic restart bat file needed..help pls..

    i want to restart my model automatically at night.so i need batch file so that i ll schedule it..

    modem name : beetel 450tc1adsl2+ router....

    this is the commands to do restart my modem..
    telnet 192.168.1.1
    Password : (it asks for password and now it should take it autoamtically from that batch file so that it continues with out asking for input)
    set restart

    now how to make this as batch file..important is that it doesnt wait for user input for password..help me guys..thanks..

  2. #2
    Platinum Member
    Join Date
    Aug 2009
    Liked
    0 times
    Posts
    8,563

    Default

    First Step:

    Create two batch files

    1)

    Open notepad type the following:
    rasdial [connection name] [user name] [password]
    for example
    rasdial broadband myusername mypassword
    save the above file as connect.bat


    2)


    Open notepad type the following
    rasdial [connection name] /disconnect
    for example
    rasdial broadband /disconnect
    save the above file as disconnect.bat


    Second Step:


    1. Go to START>ACCESSORIES>SYSTEM TOOLS>SCHEDULE TASK
    Schedule task wizard will start>click next


    2. Click "Browse" and select "connect.bat"


    3. Type the task name (anything you want) and then select "Daily".Now to configure how to run it during Night Unlimited.


    Click Next.


    Now set the start time to something like say....2.05 a.m.


    Set Everyday from the Perform this task option right below that and start date to today's date.


    Click Next



    Enter your username and pass on the Next page.


    Click Finish.
    __________________

  3. #3
    Junior Member
    Join Date
    Dec 2008
    Age
    25
    Liked
    0 times
    Posts
    17

    Default

    Quote Originally Posted by meetdilip View Post
    First Step:

    Create two batch files

    1)

    Open notepad type the following:
    rasdial [connection name] [user name] [password]
    for example
    rasdial broadband myusername mypassword
    save the above file as connect.bat


    2)


    Open notepad type the following
    rasdial [connection name] /disconnect
    for example
    rasdial broadband /disconnect
    save the above file as disconnect.bat


    Second Step:


    1. Go to START>ACCESSORIES>SYSTEM TOOLS>SCHEDULE TASK
    Schedule task wizard will start>click next


    2. Click "Browse" and select "connect.bat"


    3. Type the task name (anything you want) and then select "Daily".Now to configure how to run it during Night Unlimited.


    Click Next.


    Now set the start time to something like say....2.05 a.m.


    Set Everyday from the Perform this task option right below that and start date to today's date.


    Click Next



    Enter your username and pass on the Next page.


    Click Finish.
    __________________


    Thanks a lot for ur reply ..But am using windows 7..the commands u gave is not working i tried it manually entering in cmd prompt..showing some error.My broadband is airltel...any other solution guys..

Thread Information

Users Browsing this Thread

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