1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- .TH nics 1 "Mar 2014" "plc-utils-2.1.6" "Qualcomm Atheros Powerline Toolkit"
- .SH NAME
- nics - Host Network Interface Enumerator
- .SH SYNOPSIS
- .BR nics
- .SH DESCRIPTION
- Search host for Ethernet interfaces and display the interface index, hardware address, IP address, interface name and interface description on stdout.
- This provides a simple, consistent, cross-platform format for presenting interface information to scripts and user applications.
- .SH COMMENTS
- This program illustrates use of basic Atheros Ethernet interface C functions.
- See program \fBifs\fR for an alternative C++ implementation.
- .SH OPTIONS
- .TP
- .RB - ? ,-- help
- Print program help summary on stdout.
- This option takes precedence over other options on the command line.
- .TP
- .RB - ! ,-- version
- Print program version information on stdout.
- This option takes precedence over other options on the command line.
- Use this option when sending screen dumps to Intellon Technical Support so that they know exactly which version of the Linux Toolkit you are using.
- .SH ARGUMENTS
- None.
- .SH EXAMPLES
- The following example searches a \fBLinux\fR host and displays information about available interfaces.
- .PP
- # nics
- 2 00:50:04:A5:D8:98 000.000.000.000 eth4 eth4
- 3 00:0F:EA:4B:98:CB 192.168.172.239 eth3 eth3
- .PP
- The following example searches a \fBMacOSX\fR host and displays information about available interfaces.
- Observe that interface names are varied.
- .PP
- # nics
- 4 00:26:BB:52:DD:A8 192.168.172.149 en0 en0
- 6 04:1E:64:F0:FB:EC 000.000.000.000 en1 en1
- .SH SEE ALSO
- .BR amp ( 1 ),
- .BR ifs ( 1 ),
- .BR nics ( 1 ),
- .BR pcapdevs ( 1 ),
- .BR plcnets ( 1 )
- .SH CREDITS
- Charles Maier <cmaier@qca.qualcomm.com>
|