netinfo(C)


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.

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.

-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.

Files

/etc/confnet.d/netdrivers

References

netcfg(ADM), netdrivers(SFF)

Notices

Administrators should not use the netinfo command to update the netdrivers file. Use netcfg(ADM) to configure or unconfigure a device or protocol.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 02 June 2005