NAME [Toc] [Back]
auto_parms - initial system configuration plus DHCP support command
SYNOPSIS [Toc] [Back]
DESCRIPTION [Toc] [Back]
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 [Toc] [Back]
See /sbin/rc for invocation context.
FILES [Toc] [Back]
The command itself.
Common subroutines used by auto_parms, set_parms, and set_parms
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: Sep 2004
Logfiles written and saved by auto_parms.
AUTHOR [Toc] [Back]
The auto_parms command was developed by HP.
SEE ALSO [Toc] [Back]
set_parms(1M), geocustoms(1M), dhcpdb2conf(1M).
Hewlett-Packard Company - 2 - HP-UX 11i Version 2: Sep 2004 [ Back ]