Solved

Changing hostname of Sun E250

Posted on 2002-07-11
4
257 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

740 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