User Activity

  • Posted a comment on discussion Help on PAC Manager

    Hello all, I'm trying to make a script to pass commands to a an open console session to a router, but i'm unable to match the prompt with "expect" my $enable_prompt = 'R9#'; $TERMINAL{send} ( "enable\n" ); $TERMINAL{expect}( "$enable_prompt", 2 ) or $TERMINAL{msg}( "Error: $TERMINAL{error}" ); What i get in the terminal is: ~~~ R9#enable R9#[pacconn(21579)][R9][R9]: Error: Timeout (2 seconds) waiting for pattern 'R9#' ~~~* For me it seems the pattern is identical to the prompt, however, i get a timeout....

View All

Personal Data

Username:
gigisuperduru
Joined:
2018-05-27 17:36:05

Projects

  • No projects to display.

Personal Tools