Computing.Net > Forums > Unix > Change the machine name - Solaris 7

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Change the machine name - Solaris 7

Reply to Message Icon

Name: Nash
Date: February 27, 2001 at 08:21:01 Pacific
Comment:

Hello,

Does anyone know how to change the machine name. There are many host files which I have edited however this does not work, is there a Network utility that can handle these type of issues easily.

Cheers for the help



Sponsored Link
Ads by Google

Response Number 1
Name: Tim
Date: February 27, 2001 at 13:07:45 Pacific
Reply:

i don't know if that works in networked environment but it works as standalone. may use the following

# hostname [newname]

that's all.


0

Response Number 2
Name: Has
Date: February 27, 2001 at 14:21:06 Pacific
Reply:

You should change the entry in the file /etc/nodename also.


0

Response Number 3
Name: Kedaran
Date: February 27, 2001 at 17:43:08 Pacific
Reply:

On Solaris you need to change hostname in 6 places. They are;
/etc/inet/hosts
/etc/nodename
/etc/hostname.hme0
and all hosts file in
/etc/net/t* directories


0

Response Number 4
Name: Ralph Wagner
Date: March 8, 2001 at 11:39:32 Pacific
Reply:

doing this above changes to the proper files...does this also work for a client on a DHCP network. Because in some of these files you have to supply the IPaddress.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Change the machine name - Solaris 7

Where can I download the suidperl for solaris 7 ? www.computing.net/answers/unix/where-can-i-download-the-suidperl-for-solaris-7-/1562.html

Change IP on Solaris 2.6 SPARC20 www.computing.net/answers/unix/change-ip-on-solaris-26-sparc20/2027.html

Problem Installing Solaris 7 www.computing.net/answers/unix/problem-installing-solaris-7/345.html