Solved

Change hostname and ip under Sol8 on Ultra5

Posted on 2000-05-11
8
267 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
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.

762 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

23 Experts available now in Live!

Get 1:1 Help Now