Solved

Changing hostname of Sun E250

Posted on 2002-07-11
4
246 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
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.

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now