02-15-2006 05:07 PM
02-16-2006 01:21 AM - edited 02-16-2006 01:21 AM
Anh
You should be able to use the telnet play script for this.
Also look at the telnet line client example shipped with the toolkit.
Note that the prompt and replay strings have the / mode switched on to make sure \r\n is carriage-return,line-feed.
This should get you started
David
Message Edited by David Crawford on 02-16-2006 01:21 AM
02-16-2006 03:39 PM
02-21-2006 12:21 AM
02-06-2010 10:56 PM
you can use this code described here..it is working for me.
08-08-2013 07:44 AM
I am not able to do a automatic telnet login.
I have done the steps stated in your chain.
Can any one share a sample vi..
My scenario is
Prompt: login:
Reply. root
Prompt: Password:
Reply. password
Prompt: ~ #
Reply: ifconfig
Pls help ASAP
08-09-2013 01:16 AM
Hi,
I am not able to do a automatic telnet login.
I have done the steps stated in your chain.
Can any one share a sample vi..
My scenario is
Prompt: login:
Reply. root
Prompt: Password:
Reply. password
Prompt: ~ #
Reply: ifconfig
I am attaching my VI here.
Pls help ASAP