Solved

Changing hostname of Sun E250

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

813 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

10 Experts available now in Live!

Get 1:1 Help Now