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:cmd shell

From BoxMatrix


BoxMatrix >> Shell-Commands >> cmd_shell @ 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

Chipset-Command

Goto:   Examples  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

cmd_shell is an Inter-CPU query and control command for the RTL86 DSL modem subsystem.
It is installed on the Dakota and the RTL86 side of a 7520v2, and has to be tested and explained separately:

Dakota

7520v2 fw 7.31 help:

root@fritz:/var/mod/root# cmd_shell -h

controllerd [opt]

This is not really helpful - so own work by try and error:

Usage:

    cmd_shell [opt]

Options:

    -h         - show the (no) help info above
    -c <arg>   - unknown
    -l         - list all supported commands
    -v         - verbose?
    -V         - version info

List of commands:

root@fritz:/var/mod/root# cmd_shell -l

Available commands:
 sys_info
 sys_status
 sys_sdk_version
 sys_fw_version
 sys_reboot
 sys_fwupdate
 CreateVC
 DeleteVC
 ShowVC
 SetVendorid
 SetVersionNum
 SetSerialNum
 GetCtrldStates
 GetDspBuild
 GetDspVersion
 GetDslamVendor
 GetDslamVersionNum
 GetDslamSerialNum
 port_status
 SetPortCap
 SetPortIso
 oam_lpbk_start
 oam_lpbk_result
 drvsetsimple
 drvgetsimple
 usersetdsldata
 usergetdsldata
 initDsl
 modemenable
 setannexb
 pmdMode
 profile
 olr
 ginp
 vectoring
 SetUS0
 SetSOS
 linkspeed
 states
 dumpstats
 diagsnr
 retrain
 GetPmdMode
 GetVdslCap
 GetLinkProfile
 GetSNR
 GetPowerDS
 GetPowerUS
 GetSyncTime
 GetSyncNum
 GetStandardUsed
 GetDSLStatTotal
 GetVectorMode
 GetDslDiagnostic
 GetDslLineStatsShowtime
 GetDslWanIfCfg
 GetAdslStatistics
 GetVdslStatistics
 GetVD2NormalOthers
 GetVD2HlogPs
 GetVD2QlnPs
 GetVD2SnrPs
 GetVD2Latn
 GetVD2Satn
 l2xf_fwupdate
 SetLogType

Examples

Dakota

7520v2 fw 7.31 examples:

root@fritz:/var/mod/root# cmd_shell sys_status
main(2925) argc=2 optind=1

Uptime: 20691
Status: Running

root@fritz:/var/mod/root# cmd_shell sys_info
main(2925) argc=2 optind=1

APIv0.1,DSLv0.2,e42b5cf

root@fritz:/var/mod/root# cmd_shell sys_sdk_version
main(2925) argc=2 optind=1

Current PHY firmware version:
 2.4.1-p13 --  Thu Jul 7 08:06:44 UTC 2022

root@fritz:/var/mod/root# cmd_shell sys_fw_version
main(2925) argc=2 optind=1

Current PHY firmware version:
 Linux(none)3.18.20#9 SMP Thu Jul 7 08:06:51 UTC 2022 [SDK 2.4.1-p13]

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-04-19 07:32 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 1 7.30 - 7.57 Dynamic linker / loader Linux
Depends on lib libc.so 2 7.30 - 7.57 Standard C library Linux
Depends on lib libcommserv.so 2 7.30 - 7.57 TODO AVM
3 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-19 05:14 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 7520 v2 (arm) 7.30 - 7.57 /bin, /usr/sbin 42.1k - 62.5k
FRITZ!Box 7520 v2 (rtl) /bin 62.5k
2 models use this command

Symbols

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

Firmware Symbol
7.30 - 7.31 main
1 symbol for this command

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

c