Solved

Change hostname and ip under Sol8 on Ultra5

Posted on 2000-05-11
8
273 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 21

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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 21

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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

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…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

730 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