NPOWERUP(1) NPOWERUP(1)
NAME
npowerup - power up the network
SYNOPSIS
npowerup netdirfile
npowerup -mmem -nnode -iinternet_addr [ -ssubnet_mask ]
/dev/dev_file
npowerup -print
HP-UX COMPATIBILITY
Level: HP-UX/NON-STANDARD
Origin: HP
Remarks: Differences in npowerup on the Series 200 or 300
and Series 500 computers are due to the existence
of the network directory on the Series 500
computer.
DESCRIPTION
Npowerup initializes the network subsystem. Npowerup powers
up the network protocols and resets the LAN interface
device. It allocates memory, defines the local node name and
internet address, and establishes the device file(s) to be
used to communicate with nodes on the network using the
network services.
On Series 500 computers, the first synopsis command is
used:
npowerup netdirfile
Npowerup on a Series 500 computer uses the first line of the
specified network directory file (netdirfile) as the source
of network memory limit, node name, internet address(es) and
the device file name(s) for the local node.
On Series 200 or 300 computers, the second synopsis command
is used:
npowerup -mmem -nnode -iinternet_addr [ -ssubnet_mask ]
/dev/dev_file
-mmem
Allocates mem bytes of memory on the local node
for the network.
-nnode
Assigns the computer the node name node.
Hewlett-Packard - 1 - (printed 7/16/86)
NPOWERUP(1) NPOWERUP(1)
-iinternet_addr
Assigns the computer the internet address
specified. On the Series 200, the internet address
is specified in hexadecimal (prefix 0x) notation.
On the Series 300 and Series 500, the internet
address can be specified in either hexadecimal or
"dot" notation. In dot notation, each byte of the
internet address is specified in decimal form and
separated by a period. (See inet(3N).)
-s subnet_mask [Series 300 Only]
This option assigns the computer the subnet mask
specified. If this argument is not included, a
default mask is used which indicates that
subnetworking is not in use. This option is
specified in the same manner as the internet
address.
/dev/dev_file
Assigns the select code of an interface device,
which is found in the specified network device
file or files.
Npowerup on a Series 200 or 300 computer uses these option
parameters to establish the same local node values as the
Series 500 npowerup reads from the network directory.
For example, the command:
npowerup -m250000 -nPC_fab.LAB.ACO -i0x80040001
-s0xFFFFFF00 /dev/lan
establishes a memory size of 250000, the node name
PC_fab.LAB.ACO, the internet address 0x80040001, the subnet
mask 0xFFFFFF00, and the select code of the interface
device, as specified by the device file supplied. The
internet address could also have been specified as 128.4.0.1
in dot notation.
The default subnet masks for the various classes of internet
addresses will contain all ones for the network number field
and all zeros for the host number field, which indicates
that subnetworking is not being used.
After execution of the Series 200 or 300 npowerup command,
the parameters can be verified with:
npowerup -print
The arguments to the Series 200 or 300 npowerup command can
be in any order, but the device name must be last.
Npowerup can be called from the /etc/rc operating system
initialization routine.
Hewlett-Packard - 2 - (printed 7/16/86)
NPOWERUP(1) NPOWERUP(1)
2285A LAN Units may require up to one minute each to
complete their selftest and to download networking code.
SEE ALSO
ndir(1), ndirset(1), routing(4).
DIAGNOSTICS
Series 500 only:
network file bad The message error at line xxx
indicates which line contains one
of the following errors:
1. Network directory has an
incorrect format.
2. 2285A LAN unit download file
(/etc/net_download1) is bad.
3. /etc/rpmserver file is bad.
4. /etc/nftdaemon file is bad.
network is in wrong state Network is already powered up or
is being powered up by another
process.
no such file or directory Network directory, device file,
download file, /etc/rpmserver or
/etc/nftdaemon could not be
found.
not enough core Not enough memory could be found
to begin networking, or the
memory limit given is too small.
invalid argument 1. Select code, bus address or
major number of the device file
is invalid.
2. Illegal parameter.
file not found Nftdaemon, rpmdaemon, or
rpmserver was not in the /etc
directory during npowerup.
Npowerup tries to fork and exec
the daemons, and fails if they
are not where they are expected
to be.
Hewlett-Packard - 3 - (printed 7/16/86)