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.
Take your business to the next level, with "The
Edge of Success: 9 Building Blocks to Double Your Sales."
Inside, you will discover how to easily capture more leads,
get repeat sales, and significantly grow your business.
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,197
Time spent in forums: 1 Week 1 Day 6 h 42 m 29 sec
Reputation Power: 10
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:
Create the Optimal Architecture for your Critical Applications Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.
Gartner Magic Quadrant for Application Delivery Controllers Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.
Knowledge is Power What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.
Rationalizing the Multi-Tool Environment The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.