?
Solved

Change hostname and ip under Sol8 on Ultra5

Posted on 2000-05-11
8
Medium Priority
?
280 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 150 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
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
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.
Suggested Courses

770 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