If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.
Property:modpib
BoxMatrix >> Shell-Commands >> modpib | @ BoxMatrix - IRC-Chat - Translate: de es fr it nl pl |
News | Selectors | Models | Accessories | Components | Environment | Config | Commands | System | Webif | Software | Develop | Lexicon | Community | Project | Media |
Startup-Scr | Hotplug-Scr | BusyBox-Cmds | Bash-Cmds | AVM-Cmds | Chipset-Cmds | Linux-Cmds | Shared-Libs | Kernel-Mods | Research |
Linux-Command
Command: | modpib - type Exec | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> Linux-Commands - Origin: PlcUtils | ||||||
Path: | Release: /usr/bin Lab+Rel: /usr/bin | ||||||
Properties: | Size: 14.5k - 45.1k - Firmware: 5.50 - 7.29 | ||||||
Function: | Qualcomm Atheros PIB File Editor. |
Goto: Examples - Defaults - GPL-Browser - Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
modpib is the Qualcomm Atheros PIB File Editor. It is part of the open-plc-utils package, see the GPL-Browser below.
AVM uses the proprietary plc-utils
package by QCA, which differs from the source on the GPL-Browser.
The PIB is the checksummed Parameter Information Block
stored on each QCA AMP based Powerline controller.
modpib is called by the startup script E80-bootplc, see the Examples below.
See also the modpib(1) man page.
Fw 7.29 help:
root@fake:/var/mod/root# ./modpib -? program: modify selected PIB parameters and update checksum command: modpib [options] file [file] [...] options: [C:D:L:M:N:S:T:U:v!?] -C n CCo Selection is n -D x DAK as xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx -L n security level is n -M x MAC as xx:xx:xx:xx:xx:xx -N x NMK as xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx -S s MFG string is s -T s NET string is s -U s USR string is s -v verbose messages -! version information -? help summary
root@fake:/var/mod/root# ./modpib -! modpib plc-utils-2.1.12 QCAOSR-5422 ISO C Qualcomm Atheros, Santa Clara CA, USA 17:18:54 Jul 19 2021 QCA Proprietary License
Powerline stack:
- Lexicon: PLC, HPAV, PIB
- Companies: Intellon, Atheros, Qualcomm
- Components: AMP, BCM60
- Startup: bootplc.service, E80-bootplc, plcd.service, E50-plcd
- Commands: modpib, plchost, plcd, plctool, dpm_manager, chkpib
- Commands: supportdata.plc, supportdata.dpm
- Libraries: libplcaccess.so, libplccommon.so, libluaplc.so
- Libraries: libplcctlmgr.so, libmesh_plcservice.so, libserviceinterface.so
- Environment: plc_dak_nmk
- Config: plc.pib
- Defaults: factorydefault.pib, factorydefault-1.pib, factorydefault-2.pib, factorydefault-3.pib
- Defaults: factorydefault-ce.pib, factorydefault-en.pib, factorydefault-1-ce.pib, factorydefault-1-en.pib
- Defaults: factorydefault-2-ce.pib, factorydefault-2-en.pib
- Tempfiles: factorydefault_en.pib, factorydefault_ce.pib, factorydefault.pib
- Tempfiles: plcuser.pib, plc_dynamic_coupling_power_saving, dpm_manager.txt
- Firmware: fw.nvm
- Sockets: plc_sock_if, avmplcd
- Ports: Port-30000-tcp
- Interfaces: plc
- UI-Modules: plc
- Event-Sources: plchost
- Event-Sinks: plchost, plc_status, plc_ui_module
- Events: powerline_status
Examples
Simplified from E80-bootplc fw 7.29 - sets DAK, MAC, NMK and the target region specific default PIB:
DAK = substr( $plc_dak_nmk, 0, 47 ) MAC = $usb_rndis_mac NMK = substr( $plc_dak_nmk, 48, 47 ) cp /usr/share/plc/factorydefault-$HWSubRevision-ce.pib factorydefault_ce.pib cp /usr/share/plc/factorydefault-$HWSubRevision-en.pib factorydefault_en.pib modpib -D $DAK -M $MAC -N $NMK factorydefault_ce.pib modpib -D $DAK -M $MAC -N $NMK factorydefault_en.pib
Defaults
FRITZ!OS stores a bunch of default PIB files, which already contain vendor and model specific definitions.
These need to be merged with the per device definitions DAK, MAC, NMK using modpib:
This is a subset of the Binary-Files section, filtered for '*.pib*'
binaries or descriptions.
Daily updated index of all binaries found scanning Firmware-Probes . Last update: 2024-11-21 05:56 GMT.
The label (static)
in the Binary
column shows there are other objects in this wiki using this name.
The Mod
column shows the amount of models using the respective file. Click the column header to sort by this number.
You can hover or click a possible Link
in the Type
column to see the target of that link.
Binary | Mod | Firmware | Description | Path | Size/Bytes | Type | Origin |
---|---|---|---|---|---|---|---|
factorydefault-1-ce.pib | 3 | 6.98 - 7.16 | Powerline default PIB for AMP | /usr/share/plc | 9.6k - 21.9k | Blob | AVM |
factorydefault-1-en.pib | 5 | 6.98 - 7.29 | Powerline default PIB for AMP | /usr/share/plc | 9.6k - 21.9k | Blob | AVM |
factorydefault-1.pib | 4 | 6.20 - 7.58 | Powerline default PIB for AMP | /usr/share/plc | 9.4k - 21.9k | Blob | AVM |
factorydefault-2-ce.pib | 1 | 6.98 - 7.15 | Powerline default PIB for AMP | /usr/share/plc | 9.6k | Blob | AVM |
factorydefault-2-en.pib | 3 | 6.98 - 7.29 | Powerline default PIB for AMP | /usr/share/plc | 9.6k - 21.9k, Link | Link, Blob | AVM |
factorydefault-2.pib | 2 | 6.20 - 7.58 | Powerline default PIB for AMP | /usr/share/plc | 9.4k - 9.6k, Link | Link, Blob | AVM |
factorydefault-3.pib | 1 | 7.57 - 7.58 | Powerline default PIB for AMP | /usr/share/plc | 21.9k | Blob | AVM |
factorydefault-ce.pib | 1 | 6.90 - 6.92 | Powerline default PIB for AMP | /usr/share/plc | 9.6k | Blob | AVM |
factorydefault-en.pib | 1 | 6.90 - 6.92 | Powerline default PIB for AMP | /usr/share/plc | 9.6k | Blob | AVM |
factorydefault.pib (static) | 4 | 5.50 - 6.92 | Powerline default PIB for AMP | /usr/share/plc | 8.9k - 21.9k | Blob | AVM |
10 files |
GPL-Browser
Daily updated index of all modpib code findings on the GPL-Browser. Last update: 2024-11-21 05:11 GMT.
The Browse
column points to the Path
containing the respective source code on the gpl.boxmatrix.info service.
The SoC
column lists the Chip-Codenames, the Model
column lists the nicks of the Box-Models.
The Diff
column links the comparison of the AVM Kernel to the pristine original from Kernel.org.
The Download
column links the full tarball the respective directory content is extracted from.
The presence of the source does not mean it fits the respective model and architecture. See the Model-Matrix where it's used.
Browse | Path | SoC | Arch | Model | Firmw | Diff | Download |
---|---|---|---|---|---|---|---|
zzzz-none-000 | packages/open-plc-utils/pib | none | none | none | 0.00 | none | Download |
1 directory containing modpib source code |
Dependencies
Daily updated index of all dependencies of this command. Last update: 2024-11-21 07:52 GMT.
A *
in the Mod
column marks info from Supportdata-Probes, which will always stay incomplete.
Relation | Typ | Object | Mod | Firmware | Info | Origin |
---|---|---|---|---|---|---|
Depends on | lib | ld.so | 5 | 7.08 - 7.29 | Dynamic linker / loader | Linux |
Depends on | lib | libc.so | 5 | 5.50 - 7.29 | Standard C library | Linux |
Depends on | lib | libgcc_s.so | 2 | 5.50 - 6.92 | GCC low-level runtime library | Linux |
Depends on | lib | libm.so | 4 | 5.50 - 7.01 | C math library | Linux |
4 dependencies for this command |
Model-Matrix
Daily updated index of the presence, path and size of this command for each model. Last update: 2024-11-21 05:56 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom/rtl)
label in the Model
column shows which CPU is meant for Multi-Linux models.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.
Model | Firmware | Path | Size |
---|---|---|---|
FRITZ!Powerline 540E | 5.58 - 7.15 | /usr/bin | 18.9k - 45.1k |
FRITZ!Powerline 546E | 5.50 - 7.15 | /usr/bin | 18.9k - 45.1k |
FRITZ!Powerline 1240E | 6.33 - 7.16 | /usr/bin | 18.9k - 35.4k |
FRITZ!Powerline 1260E | 6.90 - 7.29 | /usr/bin | 14.5k - 29.4k |
FRITZ!Powerline 1260 | 7.27 - 7.29 | /usr/bin | 21.4k |
5 models use this command |
Symbols
Daily updated index of all symbols of this command. Last update: 2024-11-21 07:52 GMT.
Firmware | Symbol |
---|---|
5.50 - 7.16 | HPAVKeyNID |
7.08 - 7.16 | SHA256Block |
5.50 - 7.16 | SHA256Fetch |
5.50 - 7.16 | SHA256Reset |
5.50 - 7.16 | SHA256Write |
5.50 - 7.16 | checksum32 |
5.50 - 6.32 | error |
5.50 - 7.16 | fdchecksum32 |
5.50 - 7.16 | getoptv |
5.50 - 7.16 | hexdecode |
5.50 - 7.16 | hexencode |
5.50 - 7.16 | hexstring |
6.33 - 7.16 | lightning_pib_peek |
5.50 - 7.29 | main |
5.50 - 7.16 | memincr |
6.33 - 7.16 | panther_pib_peek |
5.50 - 6.32 | pibfile1 |
5.50 - 6.32 | pibfile2 |
5.50 - 6.32 | pibpeek1 |
5.50 - 6.32 | pibpeek2 |
5.50 - 7.16 | putoptv |
6.33 - 7.16 | synonym |
5.50 - 7.16 | todigit |
5.50 - 7.16 | uintspec |
5.50 - 7.16 | version |
25 symbols for this command |