HP-UX Reference (11i v2 04/09) - 1M System Administration Commands A-M (vol 3)

a
auto_parms(1M) auto_parms(1M)
NAME
auto_parms - initial system configuration plus DHCP support command
SYNOPSIS
auto_parms
DESCRIPTION
The auto_parms command is a system initialization command that handles first-boot configuration,
that is, the setting of unique system "initial identity parameters", and ongoing management of DHCP
lease(s). The auto_parms command is invoked at boot time by the
/sbin/rc command. Initially it
loads a list of available ethernet interfaces and requests a DHCP lease on each interface. It stops when a
valid lease is secured or the list is exhausted.
While checking for availability of a lease on each interface,
auto_parms also consults
/etc/rc.config.d/netconf
and examines the variable DHCP_ENABLE[index]. If it is set to "1",
auto_parms attempts to request a lease on the the interface designated by
index.If
DHCP_ENABLE[index] is set to "0" (the default case) or is absent from
/etc/rc.config.d/netconf
,
auto_parms 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
auto_parms detects that the system is undergoing "first-boot" (meaning the system’s hostname is not
yet set), it invokes set_parms and geocustoms to verify the DHCP-supplied parameters and to collect
any parameters not supplied by DHCP.
For all subsequent boots, the data supplied by a DHCP lease is assumed by
auto_parms 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 accomplished by
auto_parms placing dhcpclient in "lease maintenance mode" prior to exiting.
EXAMPLES
See
/sbin/rc for invocation context.
FILES
/sbin/auto_parms
The command itself.
/sbin/set_parms.util
Common subroutines used by auto_parms, set_parms, and set_parms sub-area commands.
/etc/auto_parms.log
/etc/auto_parms.log.old
Logfiles written and saved by auto_parms.
AUTHOR
The
auto_parms command was developed by HP.
SEE ALSO
set_parms(1M), geocustoms(1M), dhcpdb2conf(1M).
HP-UX 11i Version 2: September 2004 1 Hewlett-Packard Company Section 1M57