configure_inet(1M) configure_inet(1M)
NAME
configure_inet: configure - Internet-specific network boot
parameters configuration
SYNOPSIS
/etc/confnet.d/inet/configure -i -d device [-d device]
/etc/confnet.d/inet/configure -d device
[-H ip_host -A ip_addr -I ifconfig_opt -S slink_opt]
/etc/confnet.d/inet/configure -r
/etc/confnet.d/inet/configure -r -d device [-d device]
DESCRIPTION
The INET-specific configure command
/etc/confnet.d/inet/configure is called by the generic
configure command /etc/confnet.d/configure [see
configure(1M)]. The INET-specific configure command is used
to manipulate the TCP/IP slink [see slink(1M)] and ifconfig
[see ifconfig(1M)] boot configuration information stored in
/etc/confnet.d/inet/interface [see interface(4)].
Files
/etc/confnet.d/configure
generic configure script
/etc/confnet.d/inet/configure
INET-specific configure script
/etc/confnet.d/inet/interface
/etc/confnet.d/netdrivers
/etc/hosts
USAGE
The manipulation of a device that already has an entry in the
interface file results in replacing the existing entry.
Generic configure operations intended to remove devices will
remove the appropriate entries from the interface file.
If there is only one network device installed in the
/etc/confnet.d/netdrivers [see netdrivers(4)] file at the time
the Internetworking package is installed, and that device is
not mapped, the post-installation script will automatically
use the generic configure script to map that device in
netdrivers and use the /etc/confnet.d/inet/configure script to
create an entry in the interface file with default
configuration parameters for this device.
Copyright 1994 Novell, Inc. Page 1
configure_inet(1M) configure_inet(1M)
The default for ifconfig_opt is -trailers. The default for
slink_opt is add_interface.
If you have installed more than one board and/or more than one
protocol, then the post-installation script can not
automatically generate any device to protocol mappings, and
the interface entries for each device will not be
automatically configured. In these cases, the system owner
and administrator are sent mail to run the generic configure
script (/etc/confnet.d/configure -i) to assign device and
protocol mappings.
Before you run configure -i, check that all of the installed
network devices are correctly listed in
/etc/confnet.d/netdrivers. For the format of an entry in the
netdrivers file, see netdrivers(4). One reason for checking
the netdrivers file is to make sure you haven't introduced any
formatting errors in the file during manual editing. For
example, if you are using an unsupported networking board, you
may have to manually create an entry in the netdrivers file.
The entry must be properly formatted, otherwise configure will
not know how to process it, and the board will not be
configured. The proper format of an entry is a line
containing only the device. Once the protocol-specific
configure script has completed, a second field indicates the
protocol that has been mapped to the device.
Options
/etc/confnet.d/inet/configure can be used with the following
option templates:
configure -i -d device [-d device]
Add or modify the devices within the interface file
interactively. When you specify the -i flag, you will
be prompted for the information required by the
configure command used with the above options. A
detailed explanation of the information being requested
will be printed to the screen.
slink_opt]
configure -d device [-H ip_host -A ip_addr -I ifconfig_opt -S
Add or modify the listed device(s) within the interface
file non-interactively. When you omit the -i flag, you
will not be prompted for any information. Any optional
Copyright 1994 Novell, Inc. Page 2
configure_inet(1M) configure_inet(1M)
information must be supplied when the configure command
is used with the above options. The ifconfig_opt and
slink_opt values are defined on interface(4).
ip_addr is the IP address for the board being
configured. ip_addr can not be generated automatically
and must be provided by the administrator [see uname(1)
and hosts(4)].
If ip_host is not defined in /etc/hosts, then a new
entry is added with address ip_addr.
configure -r
Remove all entries from the interface file.
configure -r -d device [-d device]
Remove the specified device(s) from the interface file
and from the etc/confnet.d/netdrivers file.
The prefix and unit values are generated from the device
string and the number of entries in the interface file. See
interface(4) for more information on prefix and unit.
REFERENCES
configure(1M), hosts(4), ifconfig(1M), interface(4),
netdrivers(4), netinfo(1M), netstat(1M), slink(1M), uname(1)
Copyright 1994 Novell, Inc. Page 3