netinfo(1M) netinfo(1M)
NAME
netinfo - interface to add/list/remove entries in netdrivers
file
SYNOPSIS
/usr/sbin/netinfo [-l dev] [-l proto] [-d device] [-p protocol]
/usr/sbin/netinfo [-u -l dev] [-u -l proto]
/usr/sbin/netinfo [-a -d device] [-a -d device -p protocol]
/usr/sbin/netinfo [-r -d device] [-r -p protocol] [-r -d device -p protocol]
DESCRIPTION
The netinfo command gives packages and applications the
ability to update the /etc/confnet.d/netdrivers file in a
manner that is independent of the netdrivers file format.
Files
/etc/confnet.d/netdrivers
USAGE
The netinfo command will only update the netdrivers file. It
will not take any action to configure or unconfigure a device
or protocol.
Options
netinfo takes the following options:
-l dev List all of the devices in netdrivers.
-l proto List all of the protocols currently mapped to
devices in netdrivers.
-u -l dev List all of the devices that are not mapped to
any protocol in netdrivers. If no information
is returned, all the device(s) in the machine
are mapped to an installed protocol.
-u -l proto List all protocols that are not mapped to any
device(s) in netdrivers. If no information is
returned, all of the installed protocols are
mapped to device(s) that are installed in the
machine.
-d device List the protocols currently configured for the
specified device.
Copyright 1994 Novell, Inc. Page 1
netinfo(1M) netinfo(1M)
-p protocol List the devices currently configured for the
specified protocol.
-a -d device Add an entry for device to the netdrivers file.
-a -d device -p protocol
Add an entry in the netdrivers file indicating
a mapping between device and protocol.
-r -d device Remove all entries for the specified device
from the netdrivers file. This option would be
used if you were removing the device from the
machine.
-r -p protocol Remove all entries for the specified protocol
from the netdrivers file.
-r -d device -p protocol
Remove the entry mapping for the specified
device to protocol from the netdrivers file.
REFERENCES
configure(1M), configure_inet(1M), netdrivers(4)
Copyright 1994 Novell, Inc. Page 2