06-17-2004 05:01 PM - edited 03-02-2019 04:28 PM
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.
06-18-2004 04:18 AM
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:
Regards,
Georg
06-27-2004 02:38 PM
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?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide