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.
Property:core-mac
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
Command: | core-mac - type Exec | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> AVM-Commands - Origin: AVM | ||||||
Path: | Release: /bin Lab+Rel: /bin | ||||||
Properties: | Size: 5.3k - 13.4k - Firmware: 7.57 - 7.90 | ||||||
Function: | Get MAC address information in a platform agnostic way. |
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 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-05-08 07:15 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 | 6 | 7.90 | Dynamic linker / loader | Linux |
Depends on | lib | libc.so | 19 | 7.57 - 7.90 | Standard C library | Linux |
Depends on | lib | libcore.so | 19 | 7.57 - 7.90 | Collects the MAC addresses of the device it's running on | 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-05-08 05:06 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 4050 | 7.57 | /bin | 5.3k |
FRITZ!Box 5590 Fiber (arm) | 7.90 | /bin | 5.3k |
FRITZ!Box 5590 Fiber (prx) | 7.90 | /bin | 5.5k |
FRITZ!Box 5690 Pro (arm) | 7.59 - 7.60 | /bin | 5.3k |
FRITZ!Box 5690 Pro (rtl) | 7.59 - 7.60 | /bin | 5.5k |
FRITZ!Box 6591 Cable (arm) | 7.90 | /bin | 5.5k - 13.4k |
FRITZ!Box 6591 Cable (atom) | 7.90 | /bin | 13.4k |
FRITZ!Box 6660 Cable (arm) | 7.90 | /bin | 5.5k - 13.4k |
FRITZ!Box 6660 Cable (atom) | 7.90 | /bin | 13.4k |
FRITZ!Box 6670 Cable (arm) | 7.61 - 7.62 | /bin | 5.5k - 13.4k |
FRITZ!Box 6670 Cable (atom) | 7.61 - 7.62 | /bin | 13.4k |
FRITZ!Box 6690 Cable (arm) | 7.90 | /bin | 5.5k - 13.4k |
FRITZ!Box 6690 Cable (atom) | 7.90 | /bin | 13.4k |
FRITZ!Box 6850 LTE | 7.90 | /bin | 5.3k |
FRITZ!Box 6850 5G | 7.90 | /bin | 5.3k |
FRITZ!Box 7530 AX | 7.90 | /bin | 5.5k |
FRITZ!Box 7590 | 7.90 | /bin | 5.5k |
FRITZ!Box 7590 AX | 7.90 | /bin | 5.5k |
FRITZ!Box 7690 | 7.59 - 7.60 | /bin | 5.3k |
19 models use this command |
Symbols
Daily updated index of all symbols of this command. Last update: 2024-05-08 07:15 GMT.
Firmware | Symbol |
---|---|
7.59 - 7.90 | main |
1 symbol for this command |