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 september. Please use hippie2000@webnmail.de instead.

0
U

Property:moved (avmcmd)

From BoxMatrix


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

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 moved!
moved (avmcmd) Daemon to move configuration and device subscriptions to a new box.

AVM-Command

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

Details

moved is the Box-Move daemon, a service to move the configuration and device subscriptions across a network to a new box.
This is useful if you want to replace a box with a newer model without having to start from scratch.

More info in the Box-Move article.

fw 7.39 help:

root@fritz:/var/mod/root# moved -?

usage: moved [options]

options:
  -?                 - print this help
  -f                 - run in forground. (NOTSET)
  -s                 - stop daemon. (NOTSET)
  -v                 - verbose. (NOTSET)
  -d                 - destination mode ("Ziel-Box"). (NOTSET)
  -S STRING          - state after reboot of destination box. (NULL)
  -D STRING          - switch debug logs on. (FUNC)

start on source box:   moved
start on dest. box:    moved -d
stop:                  moved -s

with debugs: options -D debug (start ctlmgr with -D moved_debug)

Endpoints

aicmd endpoint(s) provided by moved, with these functions: (fw 7.39)

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

# provided by moved: - fw 7.39+

HELP                                     - show help
SLABDUMP                                 - show slab allocation
SLABSHOW                                 - show slab information
QUIT                                     - disconnect

# provided by libmoved.so: - fw 7.39+

minutes show minutes                     - show minutes

# provided by libewnwlinux.so: - fw 7.01+

ewnwlinux show csockshell                - show shells running
ewnwlinux show genetlink                 - show gerneric netlink families

# 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

Plugins

moved is highly modular and is extended by plugin libraries in /usr/share/moved.
These are no Dependencies but they are optionally loaded if they are present there.

This is a subset of the Shared-Libraries section, filtered for files in /usr/share/moved:

Daily updated index of all plugin libraries found scanning Firmware-Probes . Last update: 2023-02-01 05:54 GMT.
The label (lib) in the Library column shows there are other objects in this wiki using this name.
The Mod column shows the amount of models using the respective library. 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.
Note that old *.a and *.la libraries have been renamed to *.so for an easier comparison.

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 /usr/bin/moved | grep -e '\.c$' -e '\.cpp$'

ar7/moved/main.cpp  

Dependencies

Daily updated index of all dependencies of this command. Last update: 2023-01-31 07:12 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 8 7.39 - 7.51 Dynamic linker / loader Linux
Depends on lib libar7cfg.so 26 7.39 - 7.51 TFFS-Configuration API to ar7.cfg and many more. AVM
Depends on lib libavmauth.so 26 7.39 - 7.51 Fritzbox authentification helpers AVM
Depends on lib libavmcipher.so 26 7.39 - 7.51 AES / DES / Rijndael encryption / decryption. AVM
Depends on lib libavmcsock.so 26 7.39 - 7.51 Networking, I/O and helper functions AVM
Depends on lib libavmfbconf.so 26 7.39 - 7.51 API to hardcoded fbconf.cfg AVM
Depends on lib libavmfbstate.so 26 7.39 - 7.51 IPC fritzbox state notification AVM
Depends on lib libavmhmac.so 26 7.39 - 7.51 HMAC / SHA / MD5 hashing. AVM
Depends on lib libavmnexus.so 26 7.39 - 7.51 avmnexusd worker socket API AVM
Depends on lib libavmnexuscpp.so 26 7.39 - 7.51 TODO Linux
Depends on lib libboxlib.so 26 7.39 - 7.51 Box status, logging and statistics functions AVM
Depends on lib libc.so 26 7.39 - 7.51 Standard C library Linux
Depends on lib libcm.so 26 7.39 - 7.51 ctlmgr / cm_logic messaging API Linux
Depends on lib libcmquery.so 26 7.39 - 7.51 Asynchronous ctlmgr query Linux
Depends on lib libcrypto.so 26 7.39 - 7.51 OpenSSL general crypto and X.509 library Linux
Depends on lib libdl.so 7 7.39 - 7.50 Dynamic linking library Linux
Depends on lib libdputil.so 26 7.39 - 7.51 DataPipe / packet utilities AVM
Depends on lib libewnwjson.so 26 7.39 - 7.51 JSON helper functions AVM
Depends on lib libewnwlinux.so 26 7.39 - 7.51 Linux networking functions AVM
Depends on lib libewnwnet.so 26 7.39 - 7.51 Internet helper functions AVM
Depends on lib libjuisclient.so 26 7.39 - 7.51 Update-Search - second generation - JUIS AVM
Depends on lib libm.so 7 7.39 - 7.50 C math library Linux
Depends on lib libmoved.so 26 7.39 - 7.51 API to the moved service. AVM
Depends on lib libmovetrace.so 26 7.39 - 7.51 TODO Linux
Depends on lib liboauth2.so 26 7.39 - 7.51 OAuth v2.0 authentificator Linux
Depends on lib libpthread.so 7 7.39 - 7.50 POSIX threading library Linux
Depends on lib librt.so 7 7.39 - 7.50 POSIX realtime extensions library Linux
Depends on lib libsvctl.so 26 7.39 - 7.51 supervisor control library AVM
Depends on lib libtiinterpreter.so 26 7.39 - 7.51 Preprocessor for SSI-Files by TI. AVM
Depends on lib libwdt.so 26 7.39 - 7.51 AVM-Watchdogs management API AVM
Depends on lib libwebkpiclient.so 23 7.39 - 7.51 KPI sensor for system parts which use HTTP / HTTPS AVM
Depends on lib libwebsrv.so 26 7.39 - 7.51 HTTP / HTTPS webserver and tools. AVM
Depends on lib libyajl.so 26 7.39 - 7.51 Event-driven JSON parser Linux
Depends on lib libz.so 26 7.39 - 7.51 Zlib compressor / decompressor Linux
34 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2023-02-01 05:53 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 4040 7.39 /usr/bin 9.5k
FRITZ!Box 4060 7.39 /usr/bin 9.5k
FRITZ!Box 5590 Fiber (arm) 7.39 /usr/bin 9.5k
FRITZ!Box 6490 Cable (arm) 7.39 /usr/bin 9.4k
FRITZ!Box 6490 Cable (atom) 7.39 /usr/bin 9.4k
FRITZ!Box 6590 Cable (arm) 7.39 /usr/bin 9.4k
FRITZ!Box 6590 Cable (atom) 7.39 /usr/bin 9.4k
FRITZ!Box 6591 Cable (arm) 7.39 /usr/bin 13.6k - 17.6k
FRITZ!Box 6591 Cable (atom) 7.39 /usr/bin 13.6k - 17.6k
FRITZ!Box 6660 Cable (arm) 7.39 /usr/bin 13.6k - 17.6k
FRITZ!Box 6660 Cable (atom) 7.39 /usr/bin 13.6k - 17.6k
FRITZ!Box 6690 Cable (arm) 7.39 - 7.50 /usr/bin 13.6k - 17.6k
FRITZ!Box 6690 Cable (atom) 7.39 - 7.50 /usr/bin 13.6k - 17.6k
FRITZ!Box 6850 LTE 7.39 /usr/bin 9.5k - 9.9k
FRITZ!Box 6850 5G 7.39 /usr/bin 9.5k
FRITZ!Box 6890 LTE 7.39 /usr/bin 9.9k
FRITZ!Box 6890 LTE v1 7.39 /usr/bin 9.9k
FRITZ!Box 6890 LTE v2 7.39 /usr/bin 9.9k
FRITZ!Box 7490 (main) 7.39 - 7.51 /usr/bin 10.0k - 10.1k
FRITZ!Box 7510 7.39 /usr/bin 9.5k
FRITZ!Box 7520 7.39 - 7.50 /usr/bin 9.5k
FRITZ!Box 7520 v2 (arm) 7.39 - 7.50 /usr/bin 9.5k
FRITZ!Box 7530 7.39 - 7.51 /usr/bin 9.5k
FRITZ!Box 7530 AX 7.39 /usr/bin 9.6k
FRITZ!Box 7590 7.39 - 7.51 /usr/bin 9.9k
FRITZ!Box 7590 AX 7.39 /usr/bin 9.9k
26 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2023-01-31 07:12 GMT.

Firmware Symbol
7.39 - 7.51 main
1 symbol for this command

SMW-Browser

Information is currently being retrieved from the backend.