Solved

Change hostname and ip under Sol8 on Ultra5

Posted on 2000-05-11
8
270 Views
Last Modified: 2013-12-16
I have an Ultra 5 runing Solaris 8 that I will be changing the hostname and ip address of.  What steps do i need to take?
0
Comment
Question by:tvanlint
8 Comments
 
LVL 20

Expert Comment

by:tfewster
ID: 2799903
The easiest way is to run sys-unconfig; Next time you boot the machine, it will prompt you for hostname, ip address and other networking info.

Otherwise you have to modify a lot of files duplicating this info...
0
 

Accepted Solution

by:
nicob earned 50 total points
ID: 2816187
Hi,

The following files need to be modified in order to change the IP-address and the hostname.

- /etc/hosts : contains the hostname and the IP-address

- /etc/hostname.hme0 : contains the hostname

- /etc/nodename : contains the hostname

- /etc/net/ticlts/hosts : contains the hostname

- /etc/net/ticots/hosts : contains the hostname

- /etc/net/ticotsord/hosts : contains the hostname

The file called /etc/hostname.hme0 could also be called /etc/hostname.le0 or /etc/hostname.qe0, but this depends on the type of networkcard that is in the system. After you have changed all the files it is necessary to reboot the system. It should then come up with the new name and new IP.

Regards,

Nico Behrens,
Installation Engineer

Sun Microsystems
0
 
LVL 1

Author Comment

by:tvanlint
ID: 2895059
I have not had the opportunity to test this response, so I don't think I can accept it?  And this has been open a long time - what should I do?
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

 
LVL 20

Expert Comment

by:tfewster
ID: 2900592
Nico is absolutely correct (mine was the lazy way, but might be easier if you are moving it to another subnet as it prompts you to reenter subnet mask, gateway etc.), so if he posts another comment then I suggest you accept it as an answer (with an "A" :). Otherwise you'll have to post a question in the Community Support area (link at the bottom of this page) to ask them to convert your rejection to an acceptance.
0
 
LVL 1

Author Comment

by:tvanlint
ID: 2901671
hopefully then Nico will post a comment...
0
 

Expert Comment

by:rakesh_rakshit
ID: 3850078
Nico is 100% right.
0
 
LVL 1

Author Comment

by:tvanlint
ID: 3868073
I have not tested, but others say the answer is correct.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Title # Comments Views Activity
nodeip 9 86
ovirt 3.6 guest VM support oracle solaris 4 81
linux  centos   virtualization network quetion 6 81
retrieve nuemaric value from txt file in shell script 3 73
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
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.:
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…

791 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