Sending commands to the modem

Discussion in 'other software & services' started by raakii, Apr 5, 2009.

Thread Status:
Not open for further replies.
  1. raakii

    raakii Registered Member

    Joined:
    Sep 1, 2008
    Posts:
    593
    I need to automate this process , so that it run silently in the background invisible to the user(minimized).I need to type
    telnet 192.168.1.1 in the command prompt .
    type the username and password of the modem and then type this for
    ppp config 0.0.35 1 down
    for disconnecting and
    ppp config 0.0.35 1 up
    for reconnecting.
    I needs some ways to automate the command line process .Is there any software for this?I dont need macro type automation since it prevents users from usng other process while it is runnning.
     
    Last edited: Apr 5, 2009
  2. Mrkvonic

    Mrkvonic Linux Systems Expert

    Joined:
    May 9, 2005
    Posts:
    8,700
    Does your modem support ssh, cause you can do ssh <modem-ip> <command>.
    Mrk
     
  3. raakii

    raakii Registered Member

    Joined:
    Sep 1, 2008
    Posts:
    593
    How to find whether the modem supports ssh or not? thanks.
     
  4. Mrkvonic

    Mrkvonic Linux Systems Expert

    Joined:
    May 9, 2005
    Posts:
    8,700
    Check vendor's site?
    Mrk
     
  5. raakii

    raakii Registered Member

    Joined:
    Sep 1, 2008
    Posts:
    593
    I think it does..pls tell me wat to do next.
     
  6. Mrkvonic

    Mrkvonic Linux Systems Expert

    Joined:
    May 9, 2005
    Posts:
    8,700
  7. raakii

    raakii Registered Member

    Joined:
    Sep 1, 2008
    Posts:
    593
    Thanks .I can login to telnet using putty and then type them easily , but is there any way to automate it , saving the session commands??
     
  8. Mrkvonic

    Mrkvonic Linux Systems Expert

    Joined:
    May 9, 2005
    Posts:
    8,700
    Create a script that does exactly the command you want and then schedule it or run with double-click from desktop.
    Mrk
     
Thread Status:
Not open for further replies.