int6klog.1 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. .TH int6klog 1 "Mar 2014" "plc-utils-2.1.6" "Qualcomm Atheros Powerline Toolkit"
  2. .SH NAME
  3. int6klog - Qualcomm Atheros Log Retrieval Utility
  4. .SH SYNOPSIS
  5. .BR int6klog
  6. .RI [ options ]
  7. .RI [ device ]
  8. .RI [ device ]
  9. [...]
  10. .RI [> stdout ]
  11. .SH DESCRIPTION
  12. Read and print the device watchdog and checkpoint report on stdout for subsequent analysis by Atheros Technical Support.
  13. Report output is in XML format and contains base-64 encoded binary data returned by the device.
  14. Aside from the XML tags, output is not in human readable format.
  15. .PP
  16. This program is part of the Qualcomm Atheros Powerline Toolkit.
  17. See the \fBAMP\fR man page for an overview and installation instructions.
  18. .SH OPTIONS
  19. .TP
  20. .RB - C
  21. Return customer log.
  22. This option has no effect unless used with option \fB-r\fR and is for EoC only.
  23. .TP
  24. .RB - c
  25. Clear report.
  26. This option is independent of options \fB-r\fB and \fB-C\fR.
  27. .TP
  28. .RB - e
  29. Redirects stderr messages to stdout.
  30. By convention status and error messages are printed on stderr while primary program output is printed on stdout.
  31. This option prints all output on stdout in cases where this is desired.
  32. .TP
  33. .RB - f
  34. Specifies the output format.
  35. Possible values are "xml" and "raw".
  36. "xml" will output the watchdog and checkpoint log in the customer XML xlog format.
  37. "raw" will output the watchdog log in the Engineering Device Manager .log format.
  38. .TP
  39. -\fBi\fR \fIinterface\fR
  40. Select the host Ethernet interface.
  41. All requests are sent via this host interface and only reponses received via this host interface are recognized.
  42. The default interface is \fBeth1\fR because most people use \fBeth0\fR as their principle network connection; however, if environment string "PLC" is defined then it takes precedence over the default interface.
  43. This option then takes precedence over either default.
  44. .TP
  45. .RB - q
  46. Suppresses status messages on stderr.
  47. .TP
  48. .RB - r
  49. Read watchdog log.
  50. This is not the default option and must be specified when needed.
  51. .TP
  52. .RB - v
  53. Print additional information on stdout.
  54. In particular, this option dumps incoming and outgoing packets which can be saved as text files for reference.
  55. .TP
  56. .RB - ? ,-- help
  57. Print program help summary on stdout.
  58. This option takes precedence over other options on the command line.
  59. .TP
  60. .RB - ? ,-- version
  61. Print program version information on stdout.
  62. This option takes precedence over other options on the command line.
  63. Use this option when sending screen dumps to Atheros Technical Support so that they know exactly which version of the Linux Toolkit you are using.
  64. .SH ARGUMENTS
  65. .TP
  66. .IR device
  67. The MAC address of some powerline device.
  68. More than one address may be specified.
  69. If more than one address is specified then operations are performed on each device in turn.
  70. The default address is \fBlocal\fR.
  71. See \fBDEVICES\fR for information about symbolic device addresses.
  72. .SH LOGFILES
  73. Log files are save in binary format by default but they can also be saved in XML format by adding option \fB-x\fR to the command line.
  74. By convention, binary log files have a \fB.log\fR extension and XML log files have a \fB.xlog\fR extension.
  75. The extension is not critical but it helps us determine the format before we open the file.
  76. .SH DEVICES
  77. Powerline devices use Ethernet Media Access Control (MAC) addresses.
  78. MAC addresses are 12 hexadecimal digits (\fB0123456789ABCDEFabcdef\fR) in upper, lower or mixed case.
  79. Individual octets may be separated by colons, for clarity, but not all octets need to be seperated.
  80. For example, "00b052000001", "00:b0:52:00:00:01" and "00b052:000001" are valid and equivalent.
  81. .PP
  82. The following MAC addresses are special and may be expressed by name instead of number.
  83. .TP
  84. .BR all
  85. Equivalent to "broadcast", described next.
  86. .TP
  87. .BR broadcast
  88. A synonym for the standard Ethernet broadcast address, \fBFF:FF:FF:FF:FF:FF\fR.
  89. All devices, whether local, remote or foreign will respond to this address.
  90. .TP
  91. .BR local
  92. A synonym for the Qualcomm Atheros vendor specific Local Management Address (LMA), \fB00:B0:52:00:00:01\fR.
  93. All local Atheros devices will recognize this address but remote and foreign devices will not.
  94. A remote device is any device at the far end of a powerline connection.
  95. A foreign device is any device not manufactured by Atheros.
  96. .SH REFERENCES
  97. See the Qualcomm Atheros HomePlug AV Firmware Technical Reference Manual for more information.
  98. .SH DISCLAIMER
  99. Atheros HomePlug AV Vendor Specific Management Message structure and content is proprietary to Atheros Communications, Ocala FL USA.
  100. Consequently, public information is not available.
  101. Atheros Communications reserves the right to modify message structure or content in future firmware releases without any obligation to notify or compensate users of this program.
  102. .SH EXAMPLES
  103. The following example reads the Watchdog and Checkpoint Report from device \fB00:B0:52:BA:BE:02\fR and prints them on stdout in XML format.
  104. The output contains data segments formatted in base-64 notation which preserved data integrity when read or transmitted in text format.
  105. .PP
  106. # int6klog 00:B0:52:BA:BE:02
  107. .PP
  108. The next example does the same thing but pipes output to file \fBtemp.log\fR.
  109. Atheros recommends using a \fB.log\fR extension for compatibility with the WIndows Device Manager.
  110. .PP
  111. # int6klog 00:B0:52:BA:BE:02 > temp.log
  112. .PP
  113. .SH SEE ALSO
  114. .BR amp ( 1 ),
  115. .BR int6k ( 1 ),
  116. .BR int6kf ( 1 ),
  117. .BR int6khost ( 1 ),
  118. .BR int6kid ( 1 ),
  119. .BR int6krate ( 1 ),
  120. .BR int6krule ( 1 ),
  121. .BR int6kstat ( 1 ),
  122. .BR int6kwait ( 1 )
  123. .SH CREDITS
  124. Charles Maier <cmaier@qca.qualcomm.com>