Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ hostconfig(1M) — SunOS 5.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

hostname(1)

domainname(1M)

route(1M)

attributes(5)

hostconfig(1M)

NAME

hostconfig − configure a system’s host parameters

SYNOPSIS

/usr/bin/hostconfig −p protocol [ −d ] [ −n ] [ −v ] [ −i interface ] [ −f hostname ]

DESCRIPTION

The hostconfig program uses a network protocol to acquire a machine’s “host parameters” and then sets these parameters on the system.  The program selects which protocol to use based on the argument to the required −p flag.  Different protocols may set different host parameters.  Currently, two protocols are defined but only one protocol is supported. 

OPTIONS

−p bootparams
Use the “whoami” call of the RPC “bootparams” protocol. This sets the system’s hostname, domainname, and default IP router parameters. 

−p bootp Use the BOOTP protocol (not currently supported). 

−d Enable “debug” output. 

−n Run the network protocol, but do not set the acquired parameters into the system. 

−v Enable verbose output. 

−i interface Use only the named network interface to run the protocol. 

−f hostname Run the protocol as if this machine were named hostname.

EXAMPLES

To configure a machine’s host parameters using the “bootparams whoami” protocol with a verbose output, use

example% hostconfig −p bootparams −v

To see what parameters would be set using the “bootparams whoami” protocol, use

example% hostconfig −p bootparams −n −v

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Availability SUNWcsu

SEE ALSO

hostname(1), domainname(1M), route(1M), attributes(5)

SunOS 5.6  —  Last change: 14 Sep 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026