Sponsored Content
Full Discussion: Change hostname in Solaris 9
Operating Systems Solaris Change hostname in Solaris 9 Post 302120019 by porter on Saturday 2nd of June 2007 03:41:11 PM
Old 06-02-2007
From /etc/init.d/network

#
# If DHCP was used on a primary interface then set the hostname
# that was returned. If no hostname was returned, set the name
# to be "unknown". The hostname must be set to something, because
# tooltalk will hang unless the name can be locally resolved.
# Sendmail also requires the name to be resolvable locally.
# Later, in inetsvc, we create a name "unknown" and create a entry
# in the local /etc/inet/hosts file pairing "unknown" with the IP
# address assigned by DHCP. The use of bootparams as a fallback
# for all non-DHCP cases provides compatibility with the
# behavior of the system before netstrategy was introduced.
#
 

8 More Discussions You Might Find Interesting

1. IP Networking

How to change hostname and ip in solaris

Dear all, I am going to change the IP address and hostname in my solaris, but I don't know how to do it. If you have any idea or suggestion, please fell free to let me know. Thanks and Regards (2 Replies)
Discussion started by: PennyLi
2 Replies

2. UNIX for Dummies Questions & Answers

change hostname

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

3. UNIX for Advanced & Expert Users

Change of Hostname

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

4. HP-UX

Change IP and Hostname

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

5. UNIX for Dummies Questions & Answers

change hostname

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

6. UNIX for Dummies Questions & Answers

Solaris - unknown hostname - how can I change hostname?

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

7. Red Hat

Change hostname

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

change hostname end ip adresse in solaris 9

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
auto_parms(1M)															    auto_parms(1M)

NAME
auto_parms - initial system configuration plus DHCP support command SYNOPSIS
DESCRIPTION
The command is a system initialization command that handles first-boot configuration, that is, the setting of unique system "initial iden- tity parameters", and ongoing management of DHCP lease(s). The command is invoked at boot time by the command. Initially it loads a list of available ethernet interfaces and requests a DHCP lease on each interface. See the rc(1M) manpage for information about for invocation context. While checking for availability of a lease on each interface, also consults and examines the variable If it is set to "1", attempts to request a lease on the the interface designated by If is set to "0" (the default case) or is absent from does not attempt a DHCP request on that interface. Once a lease is secured, the information supplied with the lease is used to initialize key networking parameters; see dhcpdb2conf(1M). If detects that the system is undergoing "first-boot" (meaning the system's hostname is not yet set), it invokes to verify the DHCP-sup- plied parameters and to collect any parameters not supplied by DHCP. For all subsequent boots, the data supplied by a DHCP lease is assumed by to be correct. Note that in a (non-mobile) environment where DHCP is used for IP address management, under normal conditions the lease information should not change between reboots. This is accom- plished by placing in "lease maintenance mode" prior to exiting. FILES
The command itself. Common subroutines used by and sub-area commands. Log files written and saved by AUTHOR The command was developed by HP. SEE ALSO
dhcpdb2conf(1M), rc(1M), set_parms(1M). auto_parms(1M)
All times are GMT -4. The time now is 10:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy