plcotst(1)
π
plcotst β PLC One-Time Self-Test Manager π
okay so real quick bestie: this is the plcotst page from the Qualcomm Atheros Open Powerline Toolkit, and it's literally the manager for the PLC One-Time Self-Test feature. buckle up, it's actually so good π«Ά
β¨ SYNOPSIS β¨
plcotst [options] [device] [device] [...]
π¦ DESCRIPTION π¦
So here's the tea: this thing manages the PLC One-Time Self-Test feature on Atheros powerline devices. Normally the selftest runs once, on startup, at the factory β iconic, one-time-only behavior, very main character. But plot twist: you can also configure it and run it again with this utility. π
The selftest results get stored by the firmware, and yes, you can read them back with this utility too. Here's the vibe check on how it decides what to do:
- If you pass configuration options on the command line, the selftest gets configured.
- Otherwise, selftest results are read or cleared. periodt.
This program is part of the Qualcomm Atheros Powerline Toolkit. Peep the plc man page for an overview and the installation instructions β iykyk. π
π OPTIONS π
-cversion β the configuration version number, bestie. Permitted values are0through255. The default is0. This option applies to both selftest configuration and selftest results, so it's doing double duty, no cap.-Cβ clear the stored selftest results. This option clears stored selftest results. It implies selftest results and supercedes options-d,-f,-m,-rand-R, if present on the command line. so if you put both,-Cwins, sorry not sorry.-dseconds β delay the selftest after reboot. Permitted delay times are0throughUINT_MAXseconds. The default is0seconds. This option implies selftest configuration and supercedes option-C, if present on the command line. β°-eβ redirectsstderrmessages tostdout. By convention, status and error messages are printed onstderrwhile primary program output is printed onstdout. This option prints all output onstdoutin cases where this is desired. merge the streams, slay. π-fcount β run the flash memory selftest count times. Valid values are0throughUINT_MAX. The default is0, which effectively suppresses the test. This option implies selftest configuration and supercedes option-C, if present on the command line.-mcount β run the memory selftest count times. Valid values are0throughUINT_MAX. The default is0, which suppresses effectively the test. This option implies selftest configuration and supercedes option-C, if present on the command line.-qβ suppresses status messages onstderr. shhh, quiet hours π€«-rflag β run selftest after reboot. Permitted values are0through255. Expected values are0for false and1for true. The default is1. Heads up though: if the memory test count and the flash test count are both0, no testing will occur when the time comes. This option implies selftest configuration and supercedes option-C, if present on the command line. π-Rflag β reset the device after selftest. Permitted values are0through255. Expected values are0for false and1for true. The default is0. This option applies to selftest configuration only and supercedes option-C, if present on the command line. π-ttimeout β read timeout in milliseconds. Values range from0throughUINT_MAX. This is the maximum time allowed for a response. The default is shown in brackets on the program menu. β³-vβ print additional information onstdout. In particular, this option dumps incoming and outgoing packets, which can be saved as text files for reference. very demure, very forensic. π-?,--helpβ print the program help summary onstdout. This option takes precedence over other options on the command line. it's giving "I'm the boss here". π-!,--versionβ print program version information onstdout. This option takes precedence over other options on the command line. 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. fr fr, they need the receipts. πΈ
π ARGUMENTS π
- device β the Ethernet hardware address of some powerline device. More than one address may be specified on the command line. If more than one address is specified, then operations are performed on each device in turn. The default address is
local. as explained in the DEVICES section.
πΈ EXAMPLES πΈ
This first one prints stored test results for the local device on stdout, because no options are specified on the command line. baby's first invocation π
# plcotst
The next example prints stored test results for remote device 00:B0:52:BA:BE:DE and clears them afterwards.
# plcotst -C
The next example configures the PLC selftest to wait 5 seconds before execution, because option -d is present. It also configures the selftest to reset the device after execution, because option -R is present. π¦
# plcotst -d 5 -R
β REFERENCES β
See the Qualcomm Atheros Powerline Firmware Technical Reference Manual for more information about firmware selftest. π
π DISCLAIMER π
None.
(yeah, that's the whole thing. nothing. zero. nada. the disclaimer said "no thoughts, head empty" and honestly? respect. π)
π SEE ALSO π
π§ CREDITS π§
- Charles Maier
and that's the whole page bestie, we ate and left no crumbs πβ¨
open-plc-utils-0.0.3 β November 2013, that's the version and date this page came from, so when you cite it you know exactly which era of the toolkit you're living in π
π¦ where this page comes from
- alpine 3.24: open-plc-utils-doc 0_git20250712-r1 Β· BSD-3-Clause-Clear
- debian bookworm: plc-utils-extra 0.0.6+git20230504.1ba7d5a0-1 Β· BSD-3
- debian trixie: plc-utils-extra 0.0.6+git20250517.7fb8ac5-1 Β· BSD-3
- ubuntu noble: plc-utils-extra 0.0.6+git20230504.1ba7d5a0-1 Β· BSD-3
- ubuntu questing: plc-utils-extra 0.0.6+git20250517.7fb8ac5-1
- ubuntu resolute: plc-utils-extra 0.0.6+git20250712.46c3506-1 Β· BSD-3
- ubuntu stonking: plc-utils-extra 0.0.6+git20250712.46c3506-1 Β· BSD-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms