06-04-2002
Re: How to change hostname and ip in solaris
Hi
To be on the safest side i have a few tips for you. Remember one thing that all the host settings are generally in the files /etc
so what you can do is, execute the following command
find . -exec grep `hostname` -print {} \; 2>/dev/null
The first column of the output is the list of all the files which need to be changed.
However i guess that the commands provided by the system are a more elegant way to do this all. Just a experiment, let me know that when you have executed the system commands do the files that you get from the list above get updated. Please let me know this.
rgds
penguin
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, ( running solaris 8 )
I know how to change the hostname temparily, by login in as root
typing
hostname = xxxxx
but, this obviously goes when the system is rebooted. I'm not sure what files need changing to make this a permant change.
Could anyone help me please? (9 Replies)
Discussion started by: fishman2001
9 Replies
2. UNIX for Advanced & Expert Users
Dear All.
I will like to know beside the following command
"hostname hostname"
what other command that can change the hostname of the Unix.
Thanks. (4 Replies)
Discussion started by: gelbvonn
4 Replies
3. HP-UX
Hello..
I wanted to know how to change IP and Hostname on HPUX system, and I don't want to make it as NIS master either.
Could someone tell me the files I need to modify and make sure it's on network?
Thanks! :o (3 Replies)
Discussion started by: catwomen
3 Replies
4. UNIX for Dummies Questions & Answers
Hi, I asked this question whenI was running solaris 8
and got some very good answers. I've just uograded to Solaris 10 and there seems to quite a few changes so I need to know again.
https://www.unix.com/showthread.php?t=8547
------------
Hi (now solaris 10)
I know how to change the... (2 Replies)
Discussion started by: fishman2001
2 Replies
5. UNIX for Dummies Questions & Answers
Hello,
I am new to Solaris.
I am using stand alone Solaris 10.0 for test/study purpose and connecting to internet via an ADSL modem which has DHCP server. My Solaris is working on VMWare within winXP. My WinXP and Solaris connects to internet by the same ADSL modem via its DHCP at the same... (1 Reply)
Discussion started by: XNOR
1 Replies
6. Solaris
Please anyone guide me how to change the hostname in Solaris 9? The IP of the machie is fetched from a DHCP server. (6 Replies)
Discussion started by: shabu
6 Replies
7. Red Hat
Hello,
I would like to change the hostname on a Linux server (RHEL4).
I try different methods in vain :
- by using hostname command
- by changing /etc/hosts and /etc/hostname
But after restarting server, the old hostname re-appears... :confused:
And the file ./proc/sys/kernel/hostname... (3 Replies)
Discussion started by: madmat
3 Replies
8. Solaris
hi everybody
which files i should change to modify my hostname and my adresse ip in solaris 9 . or how can i do that :confused:
it's very important to me
thnx (2 Replies)
Discussion started by: lid-j-one
2 Replies
LEARN ABOUT BSD
install-solaris
install-solaris(1M) install-solaris(1M)
NAME
install-solaris - install the Solaris operating system
SYNOPSIS
install-solaris
install-solaris invokes the Solaris Install program. Depending on graphical capability and available memory at the time of invocation,
install-solaris invokes either a text-based installer or a graphical installer.
The following minimum requirements for physical memory dictate which features are available during installation:
For SPARC machines:
128 MB
Minimum physical memory for all installation types
128 MB
Minimum physical memory required for windowing system
384 MB
Minimum physical memory required for graphical-based installation
For x86 machines:
256 MB
Minimum physical memory for all installation types
256 MB
Minimum physical memory required for windowing system
512 MB
Minimum physical memory required for graphical-based installation
In some cases, even if the minimum physical memory is present, available virtual memory after system startup can limit the number of fea-
tures available.
install-solaris exists only on the Solaris installation media (CD or DVD) and should be invoked only from there. Refer to the for more
details.
install-solaris allows installation of the operating system onto any standalone system. install-solaris loads the software available on the
installation media. Refer to the for disk space requirements.
Refer to the for more information on the various menus and selections.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcdrom (Solaris instal- |
| |lation media) |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
pkginfo(1), install(1M), pkgadd(1M), attributes(5)
It is advisable to exit install-solaris by means of the exit options in the install-solaris menus.
23 Sep 2005 install-solaris(1M)