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:PIB
BoxMatrix >> Lexicon >> Smarthome-Terms >> PIB | @ 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 |
Computer | FRITZ | I18N | Telephony | Smarthome | Internet | Protocols | Multimedia | Formats | Hardware | Software | Research |
Protocol
Protocol: | PIB | Wiki | Freetz | IPPF | whmf | AVM | Web |
Short for: | Parameter Information Block | ||||||
Location: | Lexicon >> Smarthome-Terms | ||||||
Weblinks: | |||||||
Description: | Configuration block of an AMP based Powerline controller. |
Goto: FRITZ!OS - SMW-Browser
Details
The PIB (Parameter Information Block
) is the checksummed configuration block of an AMP based Powerline controller.
It is a Qualcomm Atheros proprietary binary structure. The only safe way to alter it is the open source modpib command.
Excerpt from the modpib(1) man page:
DISCLAIMER PIB file structure and content is proprietary to Qualcomm Atheros, Ocala FL USA. Consequently, public information is not available. Qualcomm Atheros reserves the right to modify PIB file structure or content in future firmware releases without any obligation to notify or compensate users of this program.
The PIB stores:
CCo
- Central Coordinator Selection mode - 0=Auto, 1=Never, 2=Always, 3=UserAssigned, 4=CovertDAK
- Device Access Key - xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xxSec
- Security level - 0=pushbutton pairing enabled, 1=disbledMAC
- Media Access Control (MAC address) - xx:xx:xx:xx:xx:xxNMK
- Network Membership Key - xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xxMFG
- ManuFacturinG string - max 63 chars - ie: AVM Powerline 1240ENET
- NETwork name string - max 63 chars - ie: AVM Enabled NetworkUSR
- USeR name string - max 63 chars - ie: FRITZ!Powerline 1240E- numerous proprietary internal things
FRITZ!OS
FRITZ!OS is only used in WLAN capable FRITZ!Powerline models, which all don't have an extra flash for the AMP controller.
The PIB is stored in plc.pib, which is maintained by the plchost daemon.
FRITZ!OS stores a bunch of HWSubRevision and target region specific default PIB files. see the Defaults section of modpib.
These defaults already contain vendor and model specific definitions. 1240e fw 7.16:
$ strings /usr/share/plc/factorydefault-1-ce.pib | head -n 9 Custom Custom QCA75xx MAC SW v2.13 REV:01 CS 0030-Ex PIB-QCA7500-2.13.0.0030-Ex-01-CS-20221117:235959-Custom:Custom-2-1.5 AVM Powerline 1240E [p@xM FRITZ!Powerline 1240E AVM Enabled Network QCA7500
These are copied to the temp files factorydefault_ce.pib and factorydefault_en.pib and merged with unique device specific
DAK, MAC and NMK by modpib before they are passed to plchost. see the Examples section of modpib.
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