Tools

Failed to determine hostname, no cr or lf

This article details a resolution to the following error that appears when connecting to a remote device: Failed to determine hostname, no cr or lf

First published date

10/11/2018 1:37 AM

Last published date

7/8/2021 6:13 PM

Overview

The following error appears when connecting to a remote device:

Failed to determine hostname, no cr or lf

 

Product section

Kiwi CatTools

Cause

This is caused by a timing issue and also sometimes if the device has a Banner that uses #### (hashtags) as a frame. The # symbol is often used as the privileged prompt and can cause an issue for CatTools.

Resolution

  1. Remove the ### from the banner if they exist and test.  

  2. Alternatively, you can hard-set the prompts within the CatTools device:

    1. Edit the Device within CatTools.

    2. Go to the Variations tab.

    3. Click Use Variations.

    4. Click the Full Prompts tab.

    5. Check the boxes for Enable Prompt, VTY Prompt and Config prompt.

    6. Populate these fields with the prompt when in Enable mode, Standard Mode or Config Mode respectively.

    7. Click Save, and then click OK.

  3. If this is part of an activity involving numerous devices, then try splitting the activity into a number of smaller activities.