Discuss Changing hostname and IP on Solaris 10 in the UNIX Help forum on Dev Shed. Changing hostname and IP on Solaris 10 UNIX Help forum discussing the Unix Operating System and all variants including Irix, Solarix, and AIX. Unix was designed as a true multi-user operating system.
The ASP Free website provides in-depth information on the latest developer tools available from Microsoft. Our cadre of writers, highly experienced industry experts, reveals the best ways to use established technologies as well as new and emerging technologies. Our coverage of Microsoft's development and administration technologies is among the most respected in the IT industry today.
ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month! Download and Activate to enter!
Intel® Graphics Performance Analyzers is a powerful tool suite for analyzing and optimizing your games, media, and graphics-intensive applications. Used by some of the best developers on the planet, Intel GPA lets you maximize your app’s performance.
Posts: 21
Time spent in forums: 6 h 31 m 21 sec
Reputation Power: 0
Changing hostname and IP on Solaris 10
We have a Solaris 10 machine and need to change the hostname and the IP address. I have worked primarily with Solaris 8 and this is my first experience with Solaris 10. I am fairly sure I will get the basics, but I have the vague recollection that there was something under /etc/opt or similar. Now, I cannot find it. So, I was wondering if someone knew of a checklist of things to change to make sure that I do not miss anything.
Posts: 1
Time spent in forums: 13 m 27 sec
Reputation Power: 0
Need Help to change the hostname and IPAddress on Solaris8
Hi,
I tried modifying the hostanme and IPAddress using sys-unconfig command but in vain. After feeding all the configuration details of the system, at the end the following error is observed.
"System Identification Error-------
An error occured while trying to set the IP address XX.XXX.XX.XX on the network interface.
- Kraja
Your help on this is greatly appreciated....as i have imp deliverables.
Quote:
Originally Posted by shiv729
Changing the IP on Solaris 10 requires editing two files:
1. /etc/hosts
2. /etc/inet/ipnodes
If you are changing network address, you will need to change the router address in the file:
1. /etc/defaultrouter
Changing the hostname now only requires editing these files:
Posts: 1
Time spent in forums: 16 m 53 sec
Reputation Power: 0
No luck with changing hostname
I tried editing the three files suggested by shiv--- to no avail. I've tried as well editing all the meaningful /etc* files as prescribed by "the book" and still no luck. Running 5.10 on a new x86 Toshiba laptop and so far everything else seems fine. Installed as 'network' computer and using DHCP (as req'd by router); which gives no opportunity to name the host, so it's "unknown". Ask away if you need to know what some of the files or prtconf looks like. Thanks in advance.
Posts: 1,200
Time spent in forums: 1 Week 1 Day 11 h 47 m 52 sec
Reputation Power: 11
imho, a sys-adm should know what he is doing, forget tools for this
jos - or an other issue like add or delete users - follow shiv729 instructions,
so you will learn how to do it, even if tools are NOT installed
btw: my experience NEVER DELETE AN USER, just disable it, setting
an inpossible pwd or changing his login-shell to a non existing-shell.
why?
if you have to restore data .......... imagine what could happen
__________________
working on Solaris[5-9], preferred languages french and C.
Posts: 1
Time spent in forums: 3 m 39 sec
Reputation Power: 0
Thanks: The instructions worked great!
Thanks shiv729. To change the IP steps 1 and 2 were all that was needed. I found another post that referenced a lot more files (probably for older Solaris) but for Solaris 10, your instructions were spot on.
Quote:
Originally Posted by shiv729
Changing the IP on Solaris 10 requires editing two files:
1. /etc/hosts
2. /etc/inet/ipnodes
If you are changing network address, you will need to change the router address in the file:
1. /etc/defaultrouter
Changing the hostname now only requires editing these files: