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:deviceinfod (avmcmd)
BoxMatrix >> Shell-Commands >> deviceinfod (avmcmd) | @ 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 |
Name-Collision - multiple objects in this wiki use the name deviceinfod!
|
AVM-Command
Command: | deviceinfod (avmcmd) - type Exec | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> AVM-Commands - Origin: AVM | ||||||
Path: | Release: /sbin Lab+Rel: /sbin | ||||||
Properties: | Size: 13.4k - 25.6k - Firmware: 6.98 - 8.00 | ||||||
Function: | MAC address collection and synchronization daemon. |
Goto: Examples - Endpoints - Events - Source - Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
deviceinfod is a MAC address collection and synchronization daemon gathering addresses from these sources:
- Bootloader-Environment:
- Network-Interfaces
- eth*
- guest, guest? - not * to not match the l2tpv3d tunnels
- ath*, sta*
- Mesh sync
- avmnexusd worker using avmnexus_MacList.ctl
In a Mesh network deviceinfod synchronizes the MacList in both directions,
deviceinfod announces the fbox
UPnP root device via SSDP which is described by fboxdesc.xml.
The description fboxdesc.xml is dynamically created by preprocessing the fboxdesc-template.xml.
While not being an UPnP server itself deviceinfod registers the fbox
device with upnpd using libupnpdev.so.
It maintains fboxdesc.xml from fboxdesc-template.xml which offers the GetMaclist
UPnP action, see the Examples.
fw 7.29 help:
root@fritz2:/var/mod/root# deviceinfod -? usage: deviceinfod deviceinfod [options] options: -? - print this help -f - run in foreground. (NOTSET) -s - stop daemon. (NOTSET) -v - verbose. (NOTSET) -D STRING - switch debug logs on. (FUNC) start daemon: deviceinfod stop daemon : deviceinfod -s
Examples
Listing the UPnP device deviceinfod provides:
root@fritz:/var/mod/root# aicmd upnpd show devices Registered UPnP devices: --------------------------------------------------------------------- Name Description Stopping Plugin Hidden File --------------------------------------------------------------------- libmediasrv MediaServerDevDesc.xml X fbox fboxdesc.xml TR064 tr64desc.xml X igd2 igd2desc.xml igd igddesc.xml --------------------------------------------------------------------- root@fritz:/var/mod/root# aicmd upnpd show service fbox Service: +----------------------------------------+--------------------------------+------------------------+ | Service type | Service ID | Actions | | | | Action (Flags & Local) | +----------------------------------------+--------------------------------+------------------------+ | urn:schemas-any-com:service:fritzbox:1 | urn:any-com:serviceId:fritzbox | SetLogParam (None,0) | | | | GetMaclist (None,0) | +----------------------------------------+--------------------------------+------------------------+
Endpoints
aicmd endpoint(s) provided by deviceinfod, with these functions: (fw 7.29)
root@fritz2:/var/mod/root# aicmd deviceinfod # provided by deviceinfod: - fw 7.01+ HELP - show help SLABDUMP - show slab allocation SLABSHOW - show slab information QUIT - disconnect # provided by libewnwlinux.so: - fw 7.01+ ewnwlinux show csockshell - show shells running ewnwlinux show genetlink - show gerneric netlink families # provided by libewnwlinux.so: - fw 7.90+ ewnwlinux netlink show - show internal information ewnwlinux netlink getroute [address] - get route for inet address ewnwlinux netlink interfaces - show interfaces ewnwlinux netlink routes [ 4 | 6 ] - show routes # provided by libavmcsock.so: - fw 7.01+ avmcsock show csock - show all csock avmcsock show dnsconfig - show all dns context avmcsock show timercb - show all timer avmcsock show debughandles - show all debughandles avmcsock show cprocess - show all processes avmcsock set debug - set debug flags # provided by libavmcsock.so: - fw 7.29+ avmcsock show cbcontext - show all cbdata avmcsock show daemon - show daemon status avmcsock show cbuf - show cbuf status # provided by libavmcsock.so: - fw 7.39+ avmcsock getsymbol <address> - get symbol for address avmcsock show dnsglobal - show all dns global values avmcsock show dnscache - show cache avmcsock show dnsqueries - show all pending queries avmcsock show avmipc [endpoint shmatch] - show avmipc events and states avmcsock ctimer show - show all timer avmcsock ctimer overview - show ctimer overview avmcsock iotrace format unctrl|hexdump - set format for csock iotrace avmcsock iotrace file - enable iotrace to file avmcsock iotrace enable - enable iotrace via debugmsg avmcsock iotrace disable - disable iotrace avmcsock iotrace match help|<match> - show allowed matches or set match avmcsock iotrace reset - remove all matches avmcsock iotrace show - show configuration # provided by libavmcsock.so: - fw 7.90+ avmcsock show signals - show signal handler avmcsock show connector [cache|stats] - show connector information avmcsock show clogger - show clogger information avmcsock set clogmod [ <module> [ '.' <submodule ] ... ] [ '=' <level> ] - set clogmod log level avmcsock slab check - red zone/free check avmcsock slab reap [heavy] - call slab_reap/slab_reap_heavy avmcsock slab dump [long] - show slab allocation avmcsock slab show - show slab information avmcsock slab ewma [show|activate|deactivate|reset] - show average allocates/freed per second avmcsock avmipc notifier [endpoint shmatch] - show registered notifier avmcsock avmipc set [endpoint shmatch] - show states/events sent avmcsock avmipc csv [endpoint shmatch] - show states/events sent and listing as csv
Events
Daily updated index of AVM-Events and AVMIPC-Datastore nodes affecting this command. Last update: 2023-12-10 05:13 GMT.
The owners of Event-Sinks and Event-Sources are manual research, which may be incomplete or even wrong.
A *
in the Mod
column marks info from Supportdata-Probes, which will always stay incomplete.
A **
in the Mod
column marks info from Supportdata2 probes, which by their nature will stay way more incomplete.
A -
in the Mod
column marks manual research, the Firmware
then shows where the item occurs, not the Relation
.
Relation | Typ | Object | Mod | Firmware | Info | Origin |
---|---|---|---|---|---|---|
Netlink | family | NETLINK_ROUTE | 19** | 7.01 - 7.57 | Communication channel between routing dæmons and the kernel packet forwarding (#0) | Linux |
Multicast | group | RTMGRP_IPV4_IFADD | 19** | 7.01 - 7.57 | IPv4 address change of a Network-Interface | Linux |
Multicast | group | RTMGRP_IPV4_ROUTE | 19** | 7.01 - 7.57 | IPv4 Routing Table change | Linux |
Multicast | group | RTMGRP_IPV6_IFADDR | 19** | 7.01 - 7.57 | IPv6 address change of a Network-Interface | Linux |
Multicast | group | RTMGRP_IPV6_ROUTE | 19** | 7.01 - 7.57 | IPv6 Routing Table change | Linux |
Multicast | group | RTMGRP_LINK | 19** | 7.01 - 7.57 | Creation / deletion or up / down change of a Network-Interface. | Linux |
Multicast | group | RTMGRP_NOTIFY | 19** | 7.01 - 7.57 | Enable notification about changes in subscribed rtnetlink groups | Linux |
Multicast | group | RTMGRP_TC | 19** | 7.01 - 7.57 | Packet Scheduler Traffic Control change | Linux |
Endpoint | sock | me_deviceinfod.ctl | 57* | 6.98 - 7.57 | avmipc_command endpoint of deviceinfod | AVM |
Listens to | avmipc | @ | 22** | 7.12 - 7.57 | Special event for listeners of nameless private messages. | AVM |
Listens to | avmipc | aicmd_listener | 22** | 7.12 - 7.57 | Special event covering all aicmd compatible listeners. | AVM |
Endpoint | sock | me_fbox.ctl | 11* | 7.39 - 7.57 | avmipc endpoint of deviceinfod | AVM |
Listens to | avmipc | @ | 12** | 7.39 - 7.57 | Special event for listeners of nameless private messages. | AVM |
Endpoint | sock | me_upnpfboxdesc.ctl | 71* | 6.08 - 7.31 | avmipc endpoint of deviceinfod | AVM |
Listens to | avmipc | @ | 18** | 7.12 - 7.31 | Special event for listeners of nameless private messages. | AVM |
15 event relations for this command |
Source
The names of source files compiled into an executable often help to understand function blocks (and show gaps in the docs).
fw 7.39 source files:
$ strings /sbin/deviceinfod | grep -e '\.c$' -e '\.cpp$' ar7/deviceinfod/upnpfboxdesc.c ar7/deviceinfod/maclist_nexus.c
Dependencies
Daily updated index of all dependencies of this command. Last update: 2025-01-30 07:37 GMT.
A *
in the Mod
column marks info from Supportdata-Probes, which will always stay incomplete.
Relation | Typ | Object | Mod | Firmware | Info | Origin |
---|---|---|---|---|---|---|
Started by | serv | deviceinfod.service | 44 | 7.39 - 8.00 | supervisor service for deviceinfod. | AVM |
Runs as | proc | deviceinfod (process) | 64* | 6.98 - 8.00 | Process running deviceinfod | AVM |
Registers | wdog | deviceinfod (watchdog) | 64* | 6.98 - 8.00 | Watchdog for deviceinfod | AVM |
Serving | sock | avmnexus_MacList.ctl | 64* | 6.98 - 8.00 | avmnexusd worker endpoint for known hosts sharing | AVM |
Serving | sock | me_deviceinfod.ctl | 64* | 6.98 - 8.00 | avmipc_command endpoint of deviceinfod | AVM |
Serving | sock | me_fbox.ctl | 20* | 7.39 - 8.00 | avmipc endpoint of deviceinfod | AVM |
Serving | sock | me_upnpfboxdesc.ctl | 71* | 6.08 - 7.31 | avmipc endpoint of deviceinfod | AVM |
Depends on | lib | ld.so | 41 | 7.08 - 8.00 | Dynamic linker / loader | Linux |
Depends on | lib | libar7cfg.so | 14 | 6.98 - 7.00 | TFFS-Configuration API to ar7.cfg and many more. | AVM |
Depends on | lib | libavmauth.so | 64 | 6.98 - 8.00 | Fritzbox authentification helpers | AVM |
Depends on | lib | libavmcipher.so | 14 | 6.98 - 7.00 | AES / DES / Rijndael encryption / decryption. | AVM |
Depends on | lib | libavmcsock.so | 64 | 6.98 - 8.00 | Networking, I/O and helper functions | AVM |
Depends on | lib | libavmfbstate.so | 9 | 7.39 | IPC fritzbox state notification | AVM |
Depends on | lib | libavmhmac.so | 64 | 6.98 - 8.00 | HMAC / SHA / MD5 hashing. | AVM |
Depends on | lib | libavmnexus.so | 64 | 6.98 - 8.00 | avmnexusd worker socket API | AVM |
Depends on | lib | libavmupnpbig.so | 14 | 6.98 - 7.00 | UPnP support API (big version) | AVM |
Depends on | lib | libavmwdt.so | 20 | 7.61 - 8.00 | AVM-Watchdogs management API | AVM |
Depends on | lib | libboxenv.so | 44 | 7.39 - 8.00 | API to the rc.conf enhanced Config-Environment | AVM |
Depends on | lib | libboxlib.so | 56 | 6.98 - 7.39 | Box status, logging and statistics functions | AVM |
Depends on | lib | libc.so | 64 | 6.98 - 8.00 | Standard C library | Linux |
Depends on | lib | libcore.so | 20 | 7.61 - 8.00 | Gathers the MAC addresses of the device and maintains its device mode. | AVM |
Depends on | lib | libcrypto.so | 9 | 7.39 | OpenSSL general crypto and X.509 library | Linux |
Depends on | lib | libdl.so | 43 | 6.98 - 8.00 | Dynamic linking library | Linux |
Depends on | lib | libdputil.so | 56 | 6.98 - 7.32 | DataPipe / packet utilities | AVM |
Depends on | lib | libewnwlinux.so | 64 | 6.98 - 8.00 | Linux networking functions | AVM |
Depends on | lib | libewnwnet.so | 56 | 6.98 - 7.39 | Internet helper functions | AVM |
Depends on | lib | libfbconf.so | 20 | 7.61 - 8.00 | API to hardcoded fbconf.cfg | AVM |
Depends on | lib | libhtmltemplate.so | 14 | 6.98 - 7.00 | Template preprocessor for HTML / XML markup | AVM |
Depends on | lib | libmxml.so | 14 | 6.98 - 7.00 | Mini-XML parser / generator | Linux |
Depends on | lib | libpthread.so | 43 | 6.98 - 8.00 | POSIX threading library | Linux |
Depends on | lib | librt.so | 43 | 6.98 - 8.00 | POSIX realtime extensions library | Linux |
Depends on | lib | libslab_c++.so | 19 | 7.90 - 8.00 | C++ slab allocator | AVM |
Depends on | lib | libsvctl.so | 51 | 7.19 - 8.00 | supervisor notification library | AVM |
Depends on | lib | libtiinterpreter.so | 9 | 7.39 | Preprocessor for SSI-Files by TI. | AVM |
Depends on | lib | libupnpdev.so | 64 | 6.98 - 8.00 | UPnP root device helper library | AVM |
Depends on | lib | libwdt.so | 61 | 6.98 - 7.81 | AVM-Watchdogs management API | AVM |
Depends on | lib | libwebkpiclient.so | 32 | 7.39 - 8.00 | KPI sensor for system parts which use HTTP / HTTPS | AVM |
Depends on | lib | libwebsrv.so | 64 | 6.98 - 8.00 | HTTP / HTTPS webserver and tools. | AVM |
Depends on | lib | libz.so | 64 | 6.98 - 8.00 | Zlib compressor / decompressor | Linux |
39 dependencies for this command |
Model-Matrix
Daily updated index of the presence, path and size of this command for each model. Last update: 2025-01-30 05:39 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!Box 3490 (main) | 7.01 - 7.30 | /sbin | 18.5k - 23.5k |
FRITZ!Box 4020 | /sbin | 18.5k | |
FRITZ!Box 4040 | 6.98 - 8.00 | /sbin | 13.5k - 17.5k |
FRITZ!Box 4050 | 7.58 - 7.90 | /sbin | 13.6k |
FRITZ!Box 4060 | 7.29 - 7.90 | /sbin | 13.5k - 17.4k |
FRITZ!Box 5490 (main) | 7.01 - 7.29 | /sbin | 18.5k - 23.5k |
FRITZ!Box 5491 (main) | 7.01 - 7.29 | /sbin | 18.5k - 23.5k |
FRITZ!Box 5530 Fiber (main) | 7.21 - 8.00 | /sbin | 15.2k - 23.4k |
FRITZ!Box 5590 Fiber (main) | 7.29 - 8.00 | /sbin | 13.5k - 17.4k |
FRITZ!Box 5690 Pro (main) | 7.62 | /sbin | 13.5k |
FRITZ!Box 6430 Cable (atom) | 7.01 - 7.29 | /sbin | 15.9k - 21.4k |
FRITZ!Box 6490 Cable (atom) | 7.00 - 7.51 | /sbin | 13.5k - 21.4k |
FRITZ!Box 6590 Cable (atom) | 6.110 - 7.51 | /sbin | 13.5k - 21.4k |
FRITZ!Box 6591 Cable (arm) | 7.04 - 7.08 | /sbin | 16.7k - 21.5k |
FRITZ!Box 6591 Cable (atom) | 7.04 - 8.00 | /sbin | 16.7k - 25.6k |
FRITZ!Box 6660 Cable (atom) | 7.14 - 8.00 | /sbin | 17.5k - 25.6k |
FRITZ!Box 6670 Cable (atom) | 7.61 - 7.90 | /sbin | 21.7k - 21.8k |
FRITZ!Box 6690 Cable (atom) | 7.28 - 7.90 | /sbin | 17.5k - 25.6k |
FRITZ!Box 6820 LTE v1 (main) | 6.98 - 7.59 | /sbin | 18.5k - 23.5k |
FRITZ!Box 6820 LTE v2 (main) | 6.98 - 7.59 | /sbin | 18.5k - 23.5k |
FRITZ!Box 6820 LTE v3 (main) | 7.19 - 7.57 | /sbin | 19.4k - 23.5k |
FRITZ!Box 6820 LTE v4 | 7.59 | /sbin | 19.4k |
FRITZ!Box 6850 LTE | 7.21 - 7.90 | /sbin | 13.5k - 23.4k |
FRITZ!Box 6850 5G | 7.24 - 7.90 | /sbin | 13.5k - 17.5k |
FRITZ!Box 6890 LTE (main) | 6.98 - 7.57 | /sbin | 15.2k - 23.4k |
FRITZ!Box 6890 LTE v1 (main) | 6.98 - 7.57 | /sbin | 15.2k - 23.4k |
FRITZ!Box 6890 LTE v2 (main) | 6.98 - 7.57 | /sbin | 15.2k - 23.4k |
FRITZ!Box 7362 SL (main) | 6.98 - 7.18 | /sbin | 17.0k - 23.4k |
FRITZ!Box 7430 (main) | 6.98 - 7.31 | /sbin | 17.0k - 23.5k |
FRITZ!Box 7490 (main) | 6.98 - 7.51 | /sbin | 17.0k - 23.5k |
FRITZ!Box 7510 | 7.30 - 8.00 | /sbin | 13.5k - 17.4k |
FRITZ!Box 7520 | 6.98 - 8.00 | /sbin | 13.5k - 17.5k |
FRITZ!Box 7520 v2 (main) | 7.30 - 8.00 | /sbin | 13.5k - 17.5k |
FRITZ!Box 7530 | 6.98 - 8.00 | /sbin | 13.5k - 17.5k |
FRITZ!Box 7530 AX | 7.20 - 8.00 | /sbin | 13.6k - 17.6k |
FRITZ!Box 7560 (main) | 6.98 - 7.30 | /sbin | 17.0k - 23.4k |
FRITZ!Box 7580 (main) | 6.98 - 7.30 | /sbin | 17.0k - 23.4k |
FRITZ!Box 7581 | 6.98 - 7.18 | /sbin | 14.8k - 17.6k |
FRITZ!Box 7582 | 7.01 - 7.18 | /sbin | 14.8k - 17.6k |
FRITZ!Box 7583 (main) | 7.01 - 7.59 | /sbin | 15.2k - 23.4k |
FRITZ!Box 7583 VDSL (main) | 7.19 - 8.00 | /sbin | 15.3k - 23.4k |
FRITZ!Box 7590 (main) | 6.98 - 8.00 | /sbin | 15.2k - 23.4k |
FRITZ!Box 7590 AX (main) | 7.19 - 8.00 | /sbin | 15.2k - 23.4k |
FRITZ!Box 7690 | 7.61 - 7.90 | /sbin | 13.5k - 13.6k |
FRITZ!Smart Gateway | 7.52 - 7.63 | /sbin | 13.4k - 13.5k |
FRITZ!WLAN Repeater 310 A | 6.98 - 7.16 | /sbin | 18.4k - 23.4k |
FRITZ!WLAN Repeater 310 B | 6.98 - 7.16 | /sbin | 18.4k - 23.4k |
FRITZ!WLAN Repeater 450E | 6.98 - 7.15 | /sbin | 18.5k - 23.4k |
FRITZ!Repeater 600 | 7.11 - 7.58 | /sbin | 15.4k - 23.4k |
FRITZ!Repeater 600 v2 | 7.27 - 7.58 | /sbin | 15.4k - 19.5k |
FRITZ!WLAN Repeater 1160 | 6.98 - 7.15 | /sbin | 18.4k - 23.4k |
FRITZ!Repeater 1200 | 7.11 - 7.58 | /sbin | 13.5k - 17.5k |
FRITZ!Repeater 1200 AX | 7.30 - 7.58 | /sbin | 13.5k - 17.4k |
FRITZ!WLAN Repeater 1750E | 6.98 - 7.32 | /sbin | 18.5k - 23.5k |
FRITZ!Repeater 2400 | 7.12 - 7.58 | /sbin | 15.3k - 23.4k |
FRITZ!Repeater 3000 | 6.98 - 7.58 | /sbin | 13.5k - 17.5k |
FRITZ!Repeater 3000 AX | 7.41 - 7.58 | /sbin | 13.5k - 13.6k |
FRITZ!Repeater 6000 | 7.19 - 7.58 | /sbin | 13.5k - 17.4k |
FRITZ!WLAN Repeater DVB-C | 6.98 - 7.04 | /sbin | 18.5k |
FRITZ!Powerline 540E | 6.98 - 7.15 | /sbin | 18.4k - 23.4k |
FRITZ!Powerline 546E | 6.98 - 7.15 | /sbin | 18.4k - 23.4k |
FRITZ!Powerline 1240 AX | 7.57 - 7.58 | /sbin | 13.5k - 13.6k |
FRITZ!Powerline 1240E | 7.16 | /sbin | 18.4k - 23.4k |
FRITZ!Powerline 1260E | 6.98 - 7.58 | /sbin | 13.5k - 17.5k |
FRITZ!Powerline 1260 | 7.27 - 7.58 | /sbin | 13.5k - 17.5k |
65 models use this command |
Symbols
Daily updated index of all symbols of this command. Last update: 2025-01-30 07:37 GMT.
Firmware | Symbol |
---|---|
6.98 - 8.00 | maclist_get_interface_macs |
6.98 - 8.00 | maclist_get_urlader_macs |
6.98 - 7.32 | maclist_nexus_start |
6.98 - 7.32 | maclist_nexus_stop |
6.98 - 8.00 | maclist_register_change_cb |
6.98 - 7.32 | maclist_start |
6.98 - 7.32 | maclist_stop |
6.98 - 8.00 | main |
6.98 - 8.00 | upnpdev_start_fboxdesc |
6.98 - 8.00 | upnpdev_stop_fboxdesc |
10 symbols for this command |