question

MrPaul avatar image
MrPaul asked cwhitty answered

Serial Port Wait for Login Prompt

In iTest is there a mechanism to wait for the login prompt on a serial port? The specific use case is as follows.

  • iTest issues API calls to build a virtual topology & powers it on
  • iTest will immediately telnet to a virtual serial port. Boot messages are displayed
  • Right now I have a timer set for 5 minutes.
    • I would prefer iTest to immediately connect to all devices and wait for login (or command) prompt.
    • Once all devices are at the prompt proceed to the next step
iTestSpirent TestCenter (STC)promptloginboot
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
cwhitty avatar image
cwhitty answered

I'd beef up the number of retries in the telnet open step. This way, you'll get the opportunity to login right when the virtual serial port is ready.


10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.