plclog.1 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. .TH plclog 1 "July 2020" "plc-utils-2.1.18" "Qualcomm Atheros Powerline Toolkit"
  2. .SH NAME
  3. plclog - Qualcomm Atheros Log Retrieval Utility
  4. .SH SYNOPSIS
  5. .BR plclog
  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. Clear the report after reading.
  22. .TP
  23. .RB - d
  24. Retrieves TR069 Log events.
  25. .TP
  26. .RB - e
  27. Redirects stderr messages to stdout.
  28. By convention status and error messages are printed on stderr while primary program output is printed on stdout.
  29. This option prints all output on stdout in cases where this is desired.
  30. .TP
  31. .RB - x
  32. Print the report in XML format.
  33. The default is raw (or binary) format.
  34. .TP
  35. -\fBi\fR \fIinterface\fR
  36. Select the host Ethernet interface.
  37. All requests are sent via this host interface and only reponses received via this host interface are recognized.
  38. 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.
  39. This option then takes precedence over either default.
  40. .TP
  41. .RB - q
  42. Suppresses status messages on stderr.
  43. .TP
  44. .RB - v
  45. Print additional information on stdout.
  46. In particular, this option dumps incoming and outgoing packets which can be saved as text files for reference.
  47. .TP
  48. .RB - ? ,-- help
  49. Print program help summary on stdout.
  50. This option takes precedence over other options on the command line.
  51. .TP
  52. .RB - ? ,-- version
  53. Print program version information on stdout.
  54. This option takes precedence over other options on the command line.
  55. 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.
  56. .SH ARGUMENTS
  57. .TP
  58. .IR device
  59. The MAC address of some powerline device.
  60. More than one address may be specified.
  61. If more than one address is specified then operations are performed on each device in turn.
  62. The default address is \fBlocal\fR.
  63. See \fBDEVICES\fR for information about symbolic device addresses.
  64. .SH LOGFILES
  65. 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.
  66. By convention, binary log files have a \fB.log\fR extension and XML log files have a \fB.xlog\fR extension.
  67. The extension is not critical but it helps us determine the format before we open the file.
  68. .SH DEVICES
  69. Powerline devices use Ethernet Media Access Control (MAC) addresses.
  70. MAC addresses are 12 hexadecimal digits (\fB0123456789ABCDEFabcdef\fR) in upper, lower or mixed case.
  71. Individual octets may be separated by colons, for clarity, but not all octets need to be seperated.
  72. For example, "00b052000001", "00:b0:52:00:00:01" and "00b052:000001" are valid and equivalent.
  73. .PP
  74. The following MAC addresses are special and may be expressed by name instead of number.
  75. .TP
  76. .BR all
  77. Equivalent to "broadcast", described next.
  78. .TP
  79. .BR broadcast
  80. A synonym for the standard Ethernet broadcast address, \fBFF:FF:FF:FF:FF:FF\fR.
  81. All devices, whether local, remote or foreign will respond to this address.
  82. .TP
  83. .BR local
  84. A synonym for the Qualcomm Atheros vendor specific Local Management Address (LMA), \fB00:B0:52:00:00:01\fR.
  85. All local Atheros devices will recognize this address but remote and foreign devices will not.
  86. A remote device is any device at the far end of a powerline connection.
  87. A foreign device is any device not manufactured by Atheros.
  88. .SH REFERENCES
  89. See the Qualcomm Atheros HomePlug AV Firmware Technical Reference Manual for more information.
  90. .SH DISCLAIMER
  91. Atheros HomePlug AV Vendor Specific Management Message structure and content is proprietary to Atheros Communications, Ocala FL USA.
  92. Consequently, public information is not available.
  93. 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.
  94. .SH EXAMPLES
  95. 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.
  96. The output contains data segments formatted in base-64 notation which preserved data integrity when read or transmitted in text format.
  97. .PP
  98. # plclog 00:B0:52:BA:BE:02
  99. .PP
  100. The next example does the same thing but pipes output to file \fBtemp.log\fR.
  101. Atheros recommends using a \fB.log\fR extension for compatibility with the WIndows Device Manager.
  102. .PP
  103. # plclog 00:B0:52:BA:BE:02 > temp.log
  104. .PP
  105. .SH SEE ALSO
  106. .BR amp ( 1 ),
  107. .BR plctool ( 1 )
  108. .SH CREDITS
  109. Charles Maier <cmaier@qca.qualcomm.com>