wanting telnet to auto logon and issue a reboot command for adsl modem

Discussion in 'Computer Support' started by ashjas, Sep 30, 2007.

  1. ashjas

    ashjas Guest


    I want to reboot my adsl modem at specific interval.

    I can reboot the modem manually by issuing the reboot command as
    follows from the command prompt.


    But i want to make a batchfile or some sort of script/macro to do this
    automatically at scheduled time..

    but in batch file mode the command just doesnt get completed it gives
    some error...

    so any idea how i can give the above commands automatically...

    Help will be greatly appreciated..

    Thanks very much.
    ashjas, Sep 30, 2007
    1. Advertisements

  2. ashjas

    Mike Easter Guest

    ashjas wrote:
    User-Agent: G2/1.0
    Opera/9.23 - Windows NT 6.0
    OK, but I'm wondering why.
    There's a problem with that idea.
    There are several problems. Telnet is an insecure way to do things.
    The Win telnet client is not scriptable as is.
    You need more security and you need a scriptable client; presumably a
    free one. Most secure scriptable telnet clients aren't free. TeraTerm
    Pro works for Win98 and I think there's a newer v.
    Mike Easter, Sep 30, 2007
    1. Advertisements

  3. ashjas

    Desk Rabbit Guest

    Desk Rabbit, Sep 30, 2007
  4. ashjas

    Mike Easter Guest


    "Linux Shell Script to reboot DSL or ADSL router."

    Expect^1 is an excellent utlities scripting too for *n*x distros.

    There is also a Win port of expect. http://expect.nist.gov/#windows
    Obtaining Expect for Windows

    Interesting about the tools which the nist.gov site has made available
    at their site.

    ^1 http://en.wikipedia.org/wiki/Expect Expect is a Unix automation and
    testing tool, written by Don Libes as an extension to the Tcl scripting
    language, for interactive applications such as telnet, ftp, passwd,
    fsck, rlogin, tip, ssh, and others. With Tk, interactive applications
    can be wrapped in X11 GUIs.
    Mike Easter, Sep 30, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.