SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Telnet questions.

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Telnet questions.
Author Message
jack



Joined: 06 Jun 2001
Posts: 4

Post Telnet questions. Reply with quote

I have two questions. First of all, I am trying to connect to an Alpha with the following with no success.

TelnetConfig( "terminal", "show" )
TelnetConfig( "LOGIN PROMPT", "Username: " )
TelnetConfig( "PASSWORD PROMPT", "Password: " )
TelnetOpen( "xx.xx.xx.xx","user","password")
TelnetClose( )

I am wondering if there is a problem with my TelnetConfig statements. These are the exact prompts, so I am not sure what it would be. (Ip address, username and password have been changed to protect the innocent.)

Secondly, I would like to telnet to a terminal server. Upon connection, the terminal server requires a carriage return and then a password only. Any ideas on how I can accomplish this. Thanks in advance.

Tue Jul 17, 2001 11:03 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: Telnet questions. Reply with quote

Are there semicolons (:) or "greater" signs (>) displayed at the end of prompts when you Telnet in the regular Telnet terminal? Can you copy and paste prompts from the regular Telnet Terminal? The 24x7 TelnetOpen listens for the text send from the server and compares it to the specified prompts. When the match is found, it sends the specified user name and password. After you tune the prompts correctly, make them exactly as your Telnet server sends them, it should work.

To send a carriage return for the "username", try specifying "\n" or "\r", which in run-time will be substituted with a new line or carriage return symbols. For the login prompt specify the last line of the text that you get from the Terminal server before you hit the Enter key.

: I have two questions. First of all, I am trying to connect to an Alpha with
: the following with no success.

: TelnetConfig( "terminal", "show" )
: TelnetConfig( "LOGIN PROMPT", "Username: " )
: TelnetConfig( "PASSWORD PROMPT", "Password: " )
: TelnetOpen( "xx.xx.xx.xx","user","password")
: TelnetClose( )

: I am wondering if there is a problem with my TelnetConfig statements. These
: are the exact prompts, so I am not sure what it would be. (Ip address,
: username and password have been changed to protect the innocent.)

: Secondly, I would like to telnet to a terminal server. Upon connection, the
: terminal server requires a carriage return and then a password only. Any
: ideas on how I can accomplish this. Thanks in advance.

Wed Jul 18, 2001 8:19 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.