nics.1 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. .TH nics 1 "Mar 2014" "plc-utils-2.1.6" "Qualcomm Atheros Powerline Toolkit"
  2. .SH NAME
  3. nics - Host Network Interface Enumerator
  4. .SH SYNOPSIS
  5. .BR nics
  6. .SH DESCRIPTION
  7. Search host for Ethernet interfaces and display the interface index, hardware address, IP address, interface name and interface description on stdout.
  8. This provides a simple, consistent, cross-platform format for presenting interface information to scripts and user applications.
  9. .SH COMMENTS
  10. This program illustrates use of basic Atheros Ethernet interface C functions.
  11. See program \fBifs\fR for an alternative C++ implementation.
  12. .SH OPTIONS
  13. .TP
  14. .RB - ? ,-- help
  15. Print program help summary on stdout.
  16. This option takes precedence over other options on the command line.
  17. .TP
  18. .RB - ! ,-- version
  19. Print program version information on stdout.
  20. This option takes precedence over other options on the command line.
  21. 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.
  22. .SH ARGUMENTS
  23. None.
  24. .SH EXAMPLES
  25. The following example searches a \fBLinux\fR host and displays information about available interfaces.
  26. .PP
  27. # nics
  28. 2 00:50:04:A5:D8:98 000.000.000.000 eth4 eth4
  29. 3 00:0F:EA:4B:98:CB 192.168.172.239 eth3 eth3
  30. .PP
  31. The following example searches a \fBMacOSX\fR host and displays information about available interfaces.
  32. Observe that interface names are varied.
  33. .PP
  34. # nics
  35. 4 00:26:BB:52:DD:A8 192.168.172.149 en0 en0
  36. 6 04:1E:64:F0:FB:EC 000.000.000.000 en1 en1
  37. .SH SEE ALSO
  38. .BR amp ( 1 ),
  39. .BR ifs ( 1 ),
  40. .BR nics ( 1 ),
  41. .BR pcapdevs ( 1 ),
  42. .BR plcnets ( 1 )
  43. .SH CREDITS
  44. Charles Maier <cmaier@qca.qualcomm.com>