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:core-devicemode

From BoxMatrix
(Redirected from core-devicemode)


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

AVM-Command

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

Details

core-devicemode gets or sets the active device mode or lists the modes the device supports.

This is the commandline frontend to the core_devicemode_* functions of libcore.so.
The functions and this command were introduced in fw 7.90, both are not used by the system (yet).

The device mode is stored in dtbsuffix and can either be wan or fiber. The default mode is fiber or empty?

Changing the device mode may require a reboot which the caller has to perform, see the Exit codes below.

4050 fw 7.90:

Usage: core-devicemode [OPTION]

Get or set the active devicemode or list the modes the device has.
When no option is given, core-devicemode prints the active devicemode.

Options:
   -h              Print this help text.
   -l              List the modes the device has.
   -s DEVICEMODE   Set a new devicemode (DEVICEMODE is one of the device's modes or 'default').

Exit codes:
   0    Success. If the devicemode was set, a reboot is required.
   1    Setting the devicemode was successful and reboot is NOT required.
   100  Invalid or missing arguments.
   111  An error occurred. If setting the devicemode failed, a reboot is not required.  

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-12-23 07:59 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.90 Dynamic linker / loader Linux
Depends on lib libc.so 4 7.90 Standard C library Linux
Depends on lib libcore.so 4 7.90 Gathers the MAC addresses of the device and maintains its device mode. 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-12-23 05:43 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 4050 7.90 /bin 9.4k
FRITZ!Box 6670 Cable (arm) 7.90 /bin 9.5k
FRITZ!Box 6670 Cable (atom) 7.90 /bin 13.5k
FRITZ!Box 7690 7.90 /bin 9.4k
4 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-12-23 07:59 GMT.

Firmware Symbol
0 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

c