Posts

Showing posts from February, 2018

how to automate Serial/Telnet/ssh Login Using TTL

This is a simple ttl script which is used to automate the login in serial/ssh/telnet To know more about ttl : https://vaneeswarann.blogspot.in/2018/02/how-to-write-a-simple-ttl-script.html ;------------------------------------------------------------------------ ; Developed By : ; Vaneeswaran N ; www . vaneeswaran . com ;------------------------------------------------------------------------ connect '/C=10' ; connect to com port 10 UsernamePrompt = 'login:' ; setting username prompt Username = 'root' ; variable to hold the username value PasswordPrompt = ' ' ; setting username prompt Password = 'admin@123' ; variable to hold the password ; running an infinite while loop so whenever login reboot happens it will b automatically logged in while 1 wait UsernamePrompt ; waiting for the userpromt sendln Username ; feeding the username once prompts wait PasswordPrompt

How to write a simple ttl script macro

Image
Tera Term is an open source terminal which is similar to putty. It supports a Script Language called " Tera Term Language " or " macro " which can be used to automate the CLI based user action. Using this script we can do a lot of automation. The beauty of this script are that these script will be running in host computer and commands are executed on the target.Which means even the target goes for reboot the scipt will be still running and even we can capture/ automate certain tasks which involves reboot.Also no matter whatever the target we can develop script as these scripts are running in the hosts (windows). Advantages over other scripting language; Target Platform Independent Able to continue to run even after reboot Changes in the target is not required Supported over serial,ssh,telnet connections. Executing a TTL Script   How to Use it: Establish a serial/telnet/ssh connection by setting up the baud rates.  Launch the ttl script by going t