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-mac

From BoxMatrix


BoxMatrix >> Shell-Commands >> core-mac @ 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:   Examples  -  Source  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

core-mac gets MAC address information in a platform agnostic way.

It prints one or all addresses, gathered by the core_mac_addr_* functions of libcore.so.

core-mac is used by rc.conf, flash_update_ptestNANDmsg and core_mac_dump, see the Examples.

fw 7.90 help:

root@fritz:/var/mod/root# core-mac -h

usage: core-mac [OPTION]... [NAME]...

Options:
	-l	List the names of all MAC addresses.
	-h	Print this help text.

Get MAC address information in a platform agnostic way.

Examples

From rc.conf fw 7.90:

MacA=$(core-mac maca)

From flash_update_ptestNANDmsg fw 7.90:

if maca=$(core-mac maca) && test -n "$maca"; then

From core_mac_dump fw 7.90:

core-mac

7590 fw 7.90:

root@fritz:/var/mod/root# core-mac 

maca	E0:28:6D:XX:XX:XX
macb	E0:28:6D:XX:XX:XX
macwlan	E0:28:6D:XX:XX:XX
macwlan2	E0:28:6D:XX:XX:XX
macdsl	E0:28:6D:XX:XX:XX
usb_board_mac	E0:28:6D:XX:XX:XX
usb_rndis_mac	E0:28:6D:XX:XX:XX

root@fritz:/var/mod/root# core-mac -l

maca
macb
macwlan
macwlan2
macdsl
usb_board_mac
usb_rndis_mac

root@fritz:/var/mod/root# core-mac macdsl

E0:28:6D:XX:XX:XX

Source

The names of source files compiled into an executable often help to understand function blocks (and show gaps in the docs).
fw 7.90 source files:

$ strings /bin/core-mac | grep -e '\.c$' -e '\.cpp$'

<empty>  

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-11-21 07:52 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 11 7.90 - 8.00 Dynamic linker / loader Linux
Depends on lib libc.so 28 7.58 - 8.00 Standard C library Linux
Depends on lib libcore.so 28 7.58 - 8.00 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-11-21 05:56 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 4040 7.90 - 8.00 /bin 5.4k
FRITZ!Box 4050 7.58 - 7.90 /bin 5.3k
FRITZ!Box 4060 7.90 /bin 5.3k
FRITZ!Box 5530 Fiber (main) 8.00 /bin 5.5k
FRITZ!Box 5590 Fiber (main) 7.90 - 8.00 /bin 5.3k
FRITZ!Box 5590 Fiber (prx) 7.90 - 8.00 /bin 5.5k
FRITZ!Box 5690 Pro (main) 7.62 - 7.90 /bin 5.3k
FRITZ!Box 5690 Pro (rtl) 7.62 - 7.90 /bin 5.5k - 9.9k
FRITZ!Box 6591 Cable (arm) 8.00 /bin 5.5k
FRITZ!Box 6591 Cable (atom) 7.90 - 8.00 /bin 13.4k - 13.5k
FRITZ!Box 6660 Cable (arm) 7.90 - 8.00 /bin 5.5k
FRITZ!Box 6660 Cable (atom) 7.90 - 8.00 /bin 13.5k
FRITZ!Box 6670 Cable (arm) 7.61 - 7.90 /bin 5.5k
FRITZ!Box 6670 Cable (atom) 7.61 - 7.90 /bin 13.4k - 13.5k
FRITZ!Box 6690 Cable (arm) 7.90 /bin 5.5k
FRITZ!Box 6690 Cable (atom) 7.90 /bin 13.5k
FRITZ!Box 6850 LTE 7.90 /bin 5.4k
FRITZ!Box 6850 5G 7.90 /bin 5.4k
FRITZ!Box 7510 7.90 - 8.00 /bin 5.3k
FRITZ!Box 7520 8.00 /bin 5.4k
FRITZ!Box 7520 v2 (main) 7.90 - 8.00 /bin 5.4k
FRITZ!Box 7530 7.90 - 8.00 /bin 5.4k
FRITZ!Box 7530 AX 8.00 /bin 5.5k
FRITZ!Box 7583 VDSL (main) 8.00 /bin 5.5k
FRITZ!Box 7590 (main) 7.90 - 8.00 /bin 5.5k
FRITZ!Box 7590 AX (main) 8.00 /bin 5.5k
FRITZ!Box 7690 7.61 - 7.90 /bin 5.3k
27 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-11-21 07:52 GMT.

Firmware Symbol
7.62 - 8.00 main
1 symbol for this command

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

c