Solved

Change hostname and ip under Sol8 on Ultra5

Posted on 2000-05-11
8
269 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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

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 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…
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…

776 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