int6k(1)
okay bestie, sit down, hydrate, because we're about to talk about int6k โ the Qualcomm Atheros INT6x00 Powerline Device Manager โ and she is lowkey iconic ๐โจ
โจ NAME โจ
int6k โ Qualcomm Atheros INT6x00 Powerline Device Manager ๐ฆ
๐ธ SYNOPSIS ๐ธ
int6k [options] [device] [device] [...]
yeah that's it. options, then a whole little lineup of devices if you want. we love a flexible queen. ๐
๐ DESCRIPTION ๐
So this version of the Qualcomm Atheros Device Manager for Linux does basic operations on Atheros INT6x00 devices using the raw Ethernet protocol described in the Qualcomm Atheros HomePlug AV Firmware Technical Reference Manual. fr fr, that manual is the lore. You can use it to interrogate and control devices, or upgrade firmware if on-board NVRAM is present. ๐
This program is part of the Qualcomm Atheros Powerline Toolkit. She supports the legacy chipsets INT6000, INT6300 and INT6400 โจ
- Looking for
AR7400andAR7450chipsets? bestie that's a different girl โ see programamptool๐ - Looking for
QCA6410,QCA7000andQCA7420chipsets? again, not her โ see programplctool๐ - Want the overview and installation instructions? See the
plcman page. ๐ซถ
๐ OPTIONS ๐
okay here comes the whole menu, and no I will not be skipping any of them, we're doing all of them, main character energy only. ๐
-aโ Read device attributes usingVS_OP_ATTRIBUTES. Attributes are short strings and integers that describe device hardware and firmware, and they get concatenated to form the output. It's similar to option-rbut derived differently, iykyk.-Baction โ Press the simple connect pushbutton usingVS_PB_ENC. The action can be specified by number1,2,3or4, or by symbol"join","leave","status"or"reset", respectively. Use1on both devices that are expected to join. Use2only on the device that is expected to leave the network. ๐ฆ-Cmodule โ Commit (flash) downloaded modules to NVRAM usingVS_MOD_NVM. The module can be specified by number1,2or3, or by symbol"nvm","pib"or"both", respectively. Module3is equivalent to option-Fwhich writes the NVM and PIB together. > You cannot force flash NVRAM using this option. Use option-FFto force flash. ๐-dfilename โ Read Watchdog Report from the device and write it to the named file in binary format usingVS_WD_RPT. The report file can be sent to Qualcomm Atheros for technical analysis. No assumptions are made based on filename and no filename conventions are enforced; however, you should use a.logfile extension to indicate binary format. ๐-Dxx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xxโ Define the 16 octet Device Access Key (DAK) in hex format. The DAK is used by option-J. It may also be set to"key1"or"key2"as explained in the KEYS section. ๐-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. ๐-fโ Read device NVRAM parameters usingVS_GET_NVM. An error will be reported when no NVRAM is present. This option can be used to determine if NVRAM is large enough to store the runtime firmware and parameter block. ๐-F[F]โ Write previously downloaded MAC and PIB to NVRAM usingVS_MOD_NVM. Adding a secondFhere, or another-Fanywhere on the command line, will force-flash a blank or corrupted NVRAM. Firmware loaded from NVRAM will treat force-flash as an error. This option can be used to create factory settings but cannot be used to change them once created. Subsequent use creates and updates operational settings that can be erased using a factory reset. This option is executed after all others on the command line, except for the-Roption. ๐-iinterface โ Select the host Ethernet interface. All requests are sent via this host interface and only responses received via this host interface are recognized. The default interface iseth1because most people useeth0as their principle network connection; however, if environment string"PLC"is defined then it takes precedence over the default interface. This option then takes precedence over either default. โจ-Iโ Read the device PIB header usingVS_RD_MODand print the firmware major revision number, PIB minor revision number, Device Access Key (DAK), Network Membership Key (NMK), MAC address and other information onstdout. ๐-Jxx:xx:xx:xx:xx:xxโ Set the Network Membership Key (NMK) on the remote device, specified by MAC, usingVS_SET_KEY. This option is similar to option-Kbut requires the remote device MAC and DAK in addition to the NMK and local device MAC address. The NMK value is defined using option-Kunless you want to use the default value. The remote DAK is defined using option-Dunless you want to use the default value. Programming remote device keys is complicated. It is often easier to connect the device directly to the host and use the-Koption. ๐ซถ-Kxx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xxโ Define the Network Membership Key (NMK) value used by options-Mor-J. The symbolic names"key1"and"key2"are recognized as described in the KEY section. ๐-lcount โ Define the number of times that the command will be repeated for each device specified. Normally, you will repeat operations on one device only. ๐-mโ Read network membership information usingVS_NW_INFO. This can be used to determine network configuration. ๐-Mโ Set the Network Membership Key (NMK) on the local device usingVS_SET_KEY. The NMK value is specified using the-Koption unless you want to use the default value. ๐-nfilename โ Read firmware from the device SDRAM and write it to the named.nvmfile using multipleVS_RD_MODmessages. No assumptions are made based on filename and no filename conventions are enforced. This option is performed before option-Nwhen both are specified. ๐ฆ-Nfilename โ Read the named.nvmfile and write it to the device using multipleVS_WR_MODmessages. No assumptions are made based on filename and no filename conventions are enforced; however, files having invalid.nvmformat will be rejected. This option is executed after-nwhen both are specified. ๐ฆ-pfilename โ Read parameters from the device SDRAM and write them to the named.pibfile using multipleVS_RD_MODmessages. No assumptions are made based on filename and no filename conventions are enforced. This option is executed before optionBPwhen both are specified. ๐-Pfilename โ Read the named.pibfile and write it to the device using multipleVS_WR_MODmessages. No assumptions are made based on filename and no filename conventions are enforced; however, files having invalid.pibformat will be rejected. This option is executed after-pwhen both are specified. ๐-qโ Suppresses status messages onstderr. ๐คซ-Qโ Quick flash. The program will not wait for a device to reset or the firmware to restart after writing flash memory. This option is desirable with newer firmware that writes flash memory in the background. It has no effect unless used with option-For-C. โก-rโ Read device firmware and hardware revision usingVS_SW_VER. Output is similar to option-abut is derived differently. โจ-Rโ Reset the device usingVS_RS_DEV. This option is executed after all others on the same command line. ๐-sโ Read device SDRAM configuration usingVS_RD_CBLOCK. ๐ง-Sfilename โ Read the named.cfgfile and write it to the device usingVS_SET_SDRAM. No assumptions are made based on filename and no filename conventions are enforced; however, files having an invalid.cfgfile format will be rejected. > Do not confuse.cfgfiles with.configfiles. Seechkcfgandconfig2cfgfor more information on SDRAM configuration file formats. ๐-tmilliseconds โ 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. โฑ๏ธ-Tโ Restore factory defaults. This permanently erases all PIB changes made since the device was last programmed with factory default settings. The device will automatically reset and reboot. ๐โจ-vโ Print additional information onstdout. In particular, this option dumps incoming and outgoing packets which can be saved as text files for reference. ๐-wseconds โ Defines the number of seconds to wait before repeating command line options. This option has no effect unless option-lis also specified with a non-zero value. โณ-xโ Cause the program to exit on the first error instead of continuing with remaining iterations, operations or devices. Normally, the program reports errors and moves on to the next operation, iteration or device depending on the command line. ๐-?,--helpโ Print 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 option when sending screen dumps to Atheros Technical Support so that they know exactly which version of the Linux Toolkit you are using. ๐
๐ 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. ๐ซถ
and that's the first half bestie, hold on, there's more coming, don't you dare close the terminal ๐
โจ KEYS โจ
okay so passwords are variable length character strings that end-users can actually remember. Keys are fixed length binary values created by encrypting passwords. HomePlugAV has two encryption algorithms โ one for DAKs and the other for NMKs. So the same password will produce different keys depending on use. This program only deals with keys because that is what powerline devices recognize. The passwords that generated the keys? Irrelevant here, bestie. ๐
Typing encryption keys is tedious and lowkey prone to error. For convenience, symbolic names have been assigned to common encryption keys and are recognized by options -D and -K. It's giving shortcuts, periodt.
key1โ key for encrypted password"HomePlugAV". This is"689F074B8B0275A2710B0B5779AD1630"for option-Dand"50D3E4933F855B7040784DF815AA8DB7"for option-K.key2โ key for encrypted password"HomePlugAV0123". This is"F084B4E8F6069FF1300C9BDB812367FF"for option-Dand"B59319D7E8157BA001B018669CCEE30D"for option-K.noneโ always"00000000000000000000000000000000".
๐ฆ DEVICES ๐ฆ
Powerline devices use Ethernet hardware addresses, aka Media Access Control (MAC) addresses. A device address is 12 hexadecimal digits (0123456789ABCDEFabcdef) in upper, lower or mixed case. Individual octets may be separated by colons, for clarity, but not all octets need to be separated. For example, "00b052000001", "00:b0:52:00:00:01" and "00b052:000001" are valid and equivalent. No cap.
These symbolic addresses are recognized by this program and may be used instead of the actual address value.
allโ equivalent to"broadcast", described next.broadcastโ the Ethernet broadcast address,FF:FF:FF:FF:FF:FF. All devices, whether local, remote or foreign, will respond to this address.localโ the Atheros Local Management Address (LMA),00:B0:52:00:00:01. Local Atheros powerline devices recognize this address, but remote and foreign powerline devices do not. A remote device is any poserline device at the far end of the powerline. A foreign device is a powerline device not manufactured by Atheros.
๐ REFERENCES ๐
See the Qualcomm Atheros HomePlug AV Firmware Technical Reference Manual for more information. Go read it, bestie. ๐
๐ DISCLAIMER ๐
Atheros HomePlug AV Vendor Specific Management Message 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 or content in future firmware releases without any obligation to notify or compensate users of this program. That's the tea. Not the fun kind, but the legal kind. โ
๐ EXAMPLES ๐
First example:
# int6k -n old.nvm -p old.pib -N new.nvm -P new.pib -F
01:23:45:67:89:AB
Performs 5 operations on one device. Uploads the firmware and PIB from the device and writes them to files old.nvm and old.pib, respectively. Reads files new.nvm and new.pib and downloads them as new firmware and PIB, respectively. Commits the downloaded firmware and PIB to NVRAM. Operations are executed in the order just described regardless of the order specified on the command line. If you want reading and writing to occur in a different order then you must use two or more commands to accomplish tasks in the order you want. So don't try to be cute with reordering, okay? ๐ญ
Second example:
# int6k -N new.nvm 01:23:45:67:89:28
# int6k -P new.pib 01:23:45:67:89:28
# int6k -C 3 01:23:45:67:89:28
It is not neccessary to specify all operations on one command line. The three command lines above do essentially the same thing as the command line shown in the previou example. Notice that this example uses -C 3, instead of -F, as an alternate way to write MAC and PIB to NVRAM. Specifying -C 1, instead, would write the .nvm file only. Specifying -C 2, instead, would write the .pib file only. The value 3 is the logical OR of 1 and 2. Math ate, honestly. ๐งฎ
Third example:
# int6k -N new.nvm -P new.pib -FF local
Downloads file new.nvm and file new.pib and force flashes the local device. Force flashing only works on running firmware that has been downloaded and stated by the Qualcomm Atheros Boot Loader. See int6kf to download, start firmware and perform a force flash in one operation.
Fourth example:
# int6k -MK key1
# int6k -M
These two commands are equivalent. They set the NMK on the local device to key1 as descripted in the KEYS section. The first command resets the NMK on the local device with -M then specifies the NMK as key1. The second command omits the key specification since key1 is the program default NMK. One could, of course, type the encryption key. But why would you when shortcuts exist? ๐
๐ฅ SEE ALSO ๐ฅ
plc(1)amptool(1)int6kf(1)int6khost(1)int6kid(1)int6krate(1)int6krule(1)int6kstat(1)int6kwait(1)plctool(1)
๐ CREDITS ๐
- Charles Maier
- Nathaniel Houghton
This page is from open-plc-utils-0.0.3, dated November 2013, and it's int6k(1). Stay iconic, bestie. ๐โจ
๐ฆ where this page comes from
- alpine 3.24: open-plc-utils-doc 0_git20250712-r1 ยท BSD-3-Clause-Clear
- debian bookworm: plc-utils 0.0.6+git20230504.1ba7d5a0-1 ยท BSD-3
- debian trixie: plc-utils 0.0.6+git20250517.7fb8ac5-1 ยท BSD-3
- ubuntu noble: plc-utils 0.0.6+git20230504.1ba7d5a0-1 ยท BSD-3
- ubuntu questing: plc-utils 0.0.6+git20250517.7fb8ac5-1
- ubuntu resolute: plc-utils 0.0.6+git20250712.46c3506-1 ยท BSD-3
- ubuntu stonking: plc-utils 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