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.

0
U

Property:miniavmntpd (avmcmd)

From BoxMatrix


BoxMatrix >> Shell-Commands >> miniavmntpd (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

Info
  
Name-Collision - multiple objects in this wiki use the name miniavmntpd!
miniavmntpd (avmcmd) Minimalistic Inter-CPU SNTP client daemon.
miniavmntpd (process) TODO
miniavmntpd (watchdog) TODO

AVM-Command

Goto:   Endpoints  -  Events  -  Source  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

miniavmntpd is a minimalistic Inter-CPU SNTP client daemon. It is started by miniavmntpd.service.
It replaces the former upx-hwk-time-sendd / upx-prx-time-recv solution.

It is running on the Falcon of a 5590 and connects AVMIPC_REMOTE_IP to sync the time from the SNTP server on the Hawkeye.

fw 7.50 help:

root@faked:/var/mod/root# miniavmntpd -?

usage: avmntpd [options]

options:
  -?                 - print this help
  -s                 - stop daemon. (NOTSET)
  -p STRING          - Pidfile. ("/var/run/miniavmntpd.pid")
  -D STRING          - switch debug logs on. (FUNC)

start daemon:   miniavmntpd
stop daemon :   miniavmntpd -s

Endpoints

aicmd endpoint(s) provided by miniavmntpd, with these functions: (fw 7.50)

root@fritz:/var/mod/root# aicmd miniavmntpd

# provided by miniavmntpd: - fw 7.50+

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
Endpoint sock me_miniavmntpd.ctl 1* 7.50 avmipc_command endpoint of miniavmntpd AVM
1 event relation 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.50 source files:

$ strings /sbin/miniavmntpd | grep -e '\.c$' -e '\.cpp$'

ar7/avmntpd/sntprequest.c  

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-04-27 07:31 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 miniavmntpd.service 4 7.39 - 7.90 supervisor service for miniavmntpd AVM
Runs as proc miniavmntpd (process) 1* 7.50 Minimalistic Inter-CPU SNTP client daemon. AVM
Registers wdog miniavmntpd (watchdog) 1* 7.50 Minimalistic Inter-CPU SNTP client daemon. AVM
Serving sock me_miniavmntpd.ctl 1* 7.50 avmipc_command endpoint of miniavmntpd AVM
Depends on lib libavmcsock.so 4 7.39 - 7.90 Networking, I/O and helper functions AVM
Depends on lib libavmwdt.so 4 7.59 - 7.90 AVM-Watchdogs management API AVM
Depends on lib libc.so 4 7.39 - 7.90 Standard C library Linux
Depends on lib libewnwlinux.so 4 7.39 - 7.90 Linux networking functions AVM
Depends on lib libsvctl.so 4 7.39 - 7.90 supervisor notification library AVM
Depends on lib libwdt.so 2 7.39 - 7.80 AVM-Watchdogs management API AVM
Depends on lib libz.so 4 7.39 - 7.90 Zlib compressor / decompressor Linux
11 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-04-27 05:16 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) label in the Model column shows which CPU is meant for models with multiple Linux instances.
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 5590 Fiber (arm) 7.39 - 7.70 /sbin 10.2k - 10.3k
FRITZ!Box 5590 Fiber (prx) 7.39 - 7.90 /sbin 10.2k - 10.3k
FRITZ!Box 5690 Pro (rtl) 7.59 - 7.60 /sbin 10.4k
3 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-04-27 07:31 GMT.

Firmware Symbol
7.39 - 7.90 main
1 symbol for this command

SMW-Browser

Information is currently being retrieved from the backend.