plcrate(1)
π plcrate(1) β Qualcomm Atheros AR7x00 PHY Rate Monitor π
okay bestie, sit down, hydrate, because we're about to talk about the Qualcomm Atheros Open Powerline Toolkit and specifically this little icon, plcrate. π¦ It polls your powerline gear and tells you how fast it's actually talking. Let's go.
β¨ NAME β¨
plcrate β the Qualcomm Atheros AR7x00 PHY Rate Monitor. that's her. that's the whole job. π
πΈ SYNOPSIS πΈ
plcrate [options] [device] [device] [...]
π DESCRIPTION π
The Atheros PHY Rate Utility polls one or more devices and prints the average transmit and receive PHY rates between a device and each neighboring network device. so like, who's talking to whom and how fast, bestie.
The output is column-oriented, which means it's literally built to be dropped straight into a spreadsheet or slurped up by a simple program. it's giving "data, but make it tidy." π
This program is part of the Qualcomm Atheros Powerline Toolkit. See the plc man page for an overview and installation instructions β that's your orientation episode, this one's the spinoff. π
π₯ CHIPSETS π₯
QCA6410QCA7000QCA7420
those three. that's the guest list. no cap. β¨
π OPTIONS π
-cβ display coded PHY rates. plot twist: coded PHY rates are already displayed by default, so this option is redundant β it's been kept around for backword compatibility (yes, "backword", we love her, she's legacy π). This option and option-uare mutually exclusive, so pick a lane.-dseconds β traffic duration in seconds, per connection. directional traffic is systematically sent between each pair of powerline network devices for this exact period of time. which means the total time needed to generate traffic between all network devices will be approximately n! times this value β so don't get carried away, bestie, that factorial will humble you. The minimum value is1second and the maximum value is60seconds.-eβ redirectsstderrmessages tostdout. by convention, status and error messages get printed onstderrwhile the primary program output goes tostdout. this option prints all output onstdoutfor the times when that's what you want. one stream, one vibe. π«Ά-iinterface β select the host Ethernet interface. all requests are sent via this host interface, and only reponses received via this host interface are recognized. the default interface iseth1, because most people useeth0as their principle network connection. however, if the environment string"PLC"is defined then it takes precedence over the default interface. and this option then takes precedence over either default. so: option >PLCenv var >eth1. a whole little hierarchy, slay. π-nβ reads the average transmit and receive PHY rate for wach device usingVS_NW_INFOand prints it onstdout. each output line displays the ethernet interface, source address, destination address, and either the transmit or receive PHY rate. (yes it says "wach". typo rights. π)-omilliseconds β 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.-qβ enter quiet mode. progress messages are suppressed. π€«-rβ reads device hardware and software revision information usingVS_SW_VERand prints it onstdout.-Rβ resets the device usingVS_RS_DEV. it resets the device!! that's the whole thing, she's not subtle. π-sβ generate only TX traffic between the local device and each remote device on the powerline network. this is useful to speed up PLC network testing if the test is run on every node and each receiving side is checked individually. in other words: this flag is only used in combination with-t(one-to-many), not when generating traffic between all powerline peers.-tβ generate powerline traffic between the local device and each remote device on each powerline network connected to the host. it does not generate any traffic between remote powerline device pairs. this is especially useful when remote powerline devices are not connected to Ethernet devices capable of sending traffic back to the host. local-to-everyone, one-to-many, iconic. π-Tβ generate powerline traffic between all devices on each powerline network connected to the host. similar to option-tbut it takes much longer because traffic is systematically generated between each pair of powerline devices. consequently, the time to complete will increase factorially as the number of network devices increases. such complete traffic path coverage is not always needed. (repeating for emphasis: factorial. she said factorial. π« )-uβ display un-coded PHY rates. coded PHY rates are displayed by default. this option and option-care mutually exclusive β you literally cannot have both, that's the rule.-vβ enter verbose mode. all Etherenet frames sent or received by the program are displayed onstdout. every single one. no thoughts, just frames. π‘-xβ exit the program on the first error with a non-zero exit code. this option lets shell scripts detect failed or incomplete operations and take the appropriate action. script-friendly behavior, we stan. β-?,--helpβ print the program help summary onstdout. this option takes precedence over other options on the command line.-!,--versionβ print program version information onstdout. this option takes precedence over other options on the command line. use this one when sending screen dumps to Atheros Technical Support so they know exactly which version of the Linux Toolkit you are using. receipts matter, bestie. π§Ύ
π ARGUMENTS π
deviceβ the MAC address of some powerline device. more than one address may be specified. if more than one address is specified, then operations are performed on each device in turn. the default address islocal. see DEVICES for information about symbolic device addresses. π
π¦ DEVICES π¦
Powerline devices use Ethernet Media Access Control (MAC) addresses. a MAC address is a 48-bit value entered as 12 hexadecimal digits in upper, lower, or mixed character case. octets may be separated with colons for clarity. for example, "00b052000001", "00:b0:52:00:00:01" and "00b052:000001" are all valid and all equivalent. same girl, three outfits. π
The following MAC addresses are special and may be entered by name instead of number:
allβ same as"broadcast".broadcastβ a synonym for the Ethernet broadcast address,FF:FF:FF:FF:FF:FF. all devices, whether local, remote, or foreign, recognize messages sent to this address. a remote device is any device at the far end of a powerline connection. a foreign device is any device not manufactured by Atheros. everyone hears this one, it's the group chat. π’localβ a synonym for the Qualcomm Atheros vendor specific Local Management Address (LMA),00:B0:52:00:00:01. all local Atheros devices recognize this address, but remote and foreign devices do not. a remote device is any device at the far end of a powerline connection. a foreign device is any device not manufactured by Atheros. it's giving private story, local only. π
π REFERENCES π
See the Qualcomm Atheros HomePlug AV Firmware Technical Reference Manual for more information. the lore is there. go read it. β
β¨ EXAMPLES β¨
The following example displays the average transmit and receive PHY rates from each of two devices. one is a local device connected to interface eth2 and the other is a remote device at the far end of the powerline. in this case, they are the only two devices on the powerline network. observe the recipricol rates shown. π
# plcrate -ni eth2 00:B0:52:00:00:AA 00:B0:52:00:00:BB
eth2 00:B0:52:00:00:AA 00:B0:52:00:00:BB TX 163 mbps
eth2 00:B0:52:00:00:AA 00:B0:52:00:00:BB RX 176 mbps
eth2 00:B0:52:00:00:BB 00:B0:52:00:00:AA TX 176 mbps
eth2 00:B0:52:00:00:BB 00:B0:52:00:00:AA RX 163 mbps
The following example generates powerline traffic between the local device and each remote device because option -t is present. it then displays the PHY rate read from the local device. π«Ά
# plcrate -tni eth2
eth2 00:B0:52:00:00:AA 00:B0:52:00:00:BB TX 163 mbps
eth2 00:B0:52:00:00:AA 00:B0:52:00:00:BB RX 176 mbps
π DISCLAIMER π
Atheros HomePlug AV Vendor Specific Management Message Entry structure and content is proprietary to Qualcomm Atheros, Ocala FL USA. consequently, public information may not be available. Qualcomm Atheros reserves the right to modify message structure and content in future firmware releases without any obligation to notify or compensate users of this program.
read that twice, bestie. it's the fine print and the fine print is serious. π¨
π SEE ALSO π
the whole friend group, go say hi. π«Ά
π CREDITS π
- Nathaniel Houghton
- Charles Maier
the architects. the visionaries. the main characters of this page. π
and that's the whole thing!! this page came to you from open-plc-utils-0.0.3, dated November 2013 β an absolute vintage icon that still eats, fr fr. go forth and measure those PHY rates. 163 mbps TX, 176 mbps RX, periodt. πβ¨π
π¦ 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