Solved

Changing hostname of Sun E250

Posted on 2002-07-11
4
256 Views
Last Modified: 2010-04-21
I'm trying to change the hostname of an E250, but everytime I reboot it shows the old name.  The things I'm doing are

     vi /etc/hosts and change name in there
     vi /etc/hostname.hme0 and change name in there
     hostname newname


What am I missing?

I would be greatful for a very quick response.

Thanks
0
Comment
Question by:IainWallace
  • 2
4 Comments
 

Author Comment

by:IainWallace
ID: 7145516
Managed to work it out myself.

You have to change /etc/nodename too.
0
 
LVL 38

Accepted Solution

by:
yuzh earned 200 total points
ID: 7145575
You need to change the following files:

/etc/hosts
/etc/hostname.hme0
/etc/nodename  
/etc/net/ticlts/hosts
/etc/net/ticots/hosts
/etc/net/ticotsord/hosts

and then reboot your system

cheers!
=======
yuzh




0
 
LVL 6

Expert Comment

by:bira
ID: 7146693
hostname Command

Purpose

Sets or displays the name of the current host system.

Syntax

/usr/bin/hostname [ HostName ] [ -s ]

Description

The /usr/bin/hostname command displays the name of the current host
system. Only users with root user authority can set the host name.
The mkdev command and the chdev commands also set the host name permanently.
Use the mkdev command when you are defining the TCP/IP instance for
the first time.
0
 
LVL 38

Expert Comment

by:yuzh
ID: 7192844
hi IainWallace,

   Could you please tell me, why give me a Grade B, thanks!

==========
yuzh
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question