cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
522
Views
0
Helpful
2
Replies

Auto-connect to TTY line. Pls help!!

vnham
Level 1
Level 1

Hi all,

I'm trying to a get a TTY line to activate automatically without having to press enter/return ("Press RETURN to get started"). I have lines configured with autocommands and they wont execute until the line is activated by return key.

The router is a 2600 series with a 2-port serial card configured as async. Relevant configs are as follows.

interface Serial0/0

physical-layer async

no ip address

no ip directed-broadcast

async mode interactive

line 2

x25 subaddress line

rotary 2

autocommand x28

Would appreciate *any* help!!

V. Nham.

2 Replies 2

Hello,

I have not tested this, but there is a command ´script activation´, with which you can define a chat script that is executed whenever a connection to a TTY line is made...

Check this link for the command syntax:

http://www.cisco.com/en/US/products/sw/iosswrel/ps5207/products_command_reference_chapter09186a00801a7e95.html#wp1158556

Regards,

Georg

Georg,

I followed the link and gave it a shot but it still didn't work as I'd hoped.

The commands I used were:

Global Config:

chat-script line-activation "" "hello terminal"

Line Config:

script-startup line-activation

Basically, I made a script that sent to the terminal a text string ("hello terminal") whenever the router reload/power cycle. It sent the string alright but the line still wasn't activated. I still had to send to the router a Return to activate the line.

I tried setting the activation-character to the null character (ASCII 0) but that wouldn't auto-activate the line either. Something still had to be pressed.

Any other ideas?