1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

telnet scripting

Discussion in 'Networking' started by hymarathe, Aug 6, 2005.

Thread Status:
Not open for further replies.
Advertisement
  1. hymarathe

    hymarathe Thread Starter

    Joined:
    Aug 5, 2005
    Messages:
    3
    Hello Everyone,

    I need help in telnet scripting. I am not programmer but know basics of computers.

    I want a script which I want to be executed at my windows startup. The script includes automated login to a telnet session and execute some commands.

    I have tried many options like telnetc (from pragam systems), anziolite, TN3270, ect but found none to solve my problem.

    I want a script to automate logon to telnet with username and password (both admin, in my case) and execute the following commands :


    console enable

    nat inbound add yoon-0 4662/tcp 192.168.1.2

    nat inbound list

    config save

    exit



    Can anybody help me in creating the above script or guide me how to create it? If the execution of the above script can be made in .exe or .bat format, it would be great as I can insert the script/command into my startup of Windows XP.
     
  2. JohnWill

    JohnWill Retired Moderator

    Joined:
    Oct 19, 2002
    Messages:
    106,418
    Well, first you need a Telnet application that supports scripting. :) I've written scripts for Attachmate KIA! to do similar things, have you looked at that one?
     
  3. hymarathe

    hymarathe Thread Starter

    Joined:
    Aug 5, 2005
    Messages:
    3
    can u give an example o one which supports telnet scripting?
     
  4. JohnWill

    JohnWill Retired Moderator

    Joined:
    Oct 19, 2002
    Messages:
    106,418
    An example of one? I thought I did! Attachmate KIA! It's been renamed Attachmate EXTRA! now. VanDyke CRT is another that claims to offer scripting.
     
  5. StumpedTechy

    StumpedTechy

    Joined:
    Jul 7, 2004
    Messages:
    7,234
    Hey here is a good tool I found -

    http://forums.techguy.org/t328919.html

    It has the tool name in it to search for it on the web. Its a free, small exe that you can code in a simple txt file the exact perameters you want to telnet script to run. It workes woders for me for automatiing the programming my routers and jetdirects.From a command line you just type in the exe and then the file that you want the exe to run.
     
  6. hymarathe

    hymarathe Thread Starter

    Joined:
    Aug 5, 2005
    Messages:
    3
    Thanks a lot Frnds. My problem is resolved. I used Telnet Scripting tool v1.0.

    Thanks again.
     
  7. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Similar Threads - telnet scripting
  1. that70sguy
    Replies:
    5
    Views:
    280
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/387866

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice