How do I handle the error message "Hostname is larger than 15 characters"?

 

Overview

 

Users may receive an error message that the hostname is larger than 15 characters, even though hostname contains 15 characters or less. 

Affected Devices

NETGEAR devices when integrated with Active Directory (AD) may experience this error.

Symptoms

The hostname file contains the domain name of the AD.

Example: The AD domain name is test.com and hostname of NETGEAR is egnyte1. The hostname file under /etc/hostname is as follows:egnyte1.test.com

Total count of characters of host name is more than 15 characters as it contains Domain+ Hostname.

Resolution

  1. SSH (secure shell) into the NETGEAR device and edit the hostname file.
    vi /etc/hostname
  2. Edit the file to only include the NETGEAR hostname.
    Example: Instead of egnyte1.test.com it should only display egnyte1.
  3. Save and exit the hostname file edit.
    :wq!
  4. Run the hostname script as:
    /etc/init.d/hostname.sh

The above steps will make sure hostname remains same.

Egnyte Community

Egnyte Community

Want to connect with other Egnyte users and our Egnyte team? Share ideas and ask questions in our Community .