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:showfbstate

From BoxMatrix
(Redirected from showfbstate)


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

AVM-Command

Goto:   Examples  -  Events  -  Principle  -  Source  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

showfbstate is a supportdata helper showing the status of all available IPC fritzbox state notifications.
For details about the state notification system see the libavmfbstate.so article.

This is a growing IPC notification system so the available notifications differ enormously across firmware versions:

Merged fw 7.29 / 7.39 help:

root@fritz2:/var/mod/root# showfbstate -?

usage: showfbstate showfbstate [options]

options: - fw 7.29+
  -?                 - print this help
  -e                 - show ethstatus. (NOTSET)
  -a                 - show extaddrstatus. (NOTSET)
  -l                 - show lldpstatus. (NOTSET)
  -d                 - show dhcpv6status. (NOTSET)
  -f                 - keep listening on status changes. (NOTSET)
  -D STRING          - switch debug logs on. (FUNC)

options: - fw 7.39+
  -i                 - show internet config status. (NOTSET)
  -u                 - show UPnP devices. (NOTSET)
  -s                 - show USB-related feature runtime state. (NOTSET)
  -t                 - show system time status. (NOTSET)
  -n                 - show domain name. (NOTSET)
  -m                 - show ip client pb status. (NOTSET)
  -p                 - show DHCP interface ranges. (NOTSET)

fbstate
fbstate -e
fbstate -a
fbstate -l

Examples

fw 7.29 - DSL-Router:

root@fritz1:/var/mod/root# showfbstate

Ethstatus:
0: LAN:1 eth0     autoneg half duplex down
	supported speeds: 10Mbps 100Mbps 1000Mbps
1: LAN:2 eth1     autoneg half duplex up 1000Mbps
	supported speeds: 10Mbps 100Mbps 1000Mbps
2: LAN:3 eth2     autoneg half duplex down
	supported speeds: 10Mbps 100Mbps 1000Mbps
3: LAN:4 eth3     autoneg half duplex up 100Mbps
	supported speeds: 10Mbps 100Mbps 1000Mbps

External address status:
	IPv4: 88.69.XX.XX
	IPv6: no external address

dsldstat address status:
	IPv4: 88.69.XX.XX

lldpstatus:
2: own_mac=dc:39:6f:xx:xx:xx, own_port=LAN:2, peer_mac=38:10:d5:xx:xx:xx, peer_port=LAN:4

DHCPv6 status:

Interfaces:
name=       lan, prefix=                   ::/0
name=     guest, prefix=                   ::/0 (guest)

fw 7.39 - IP-Client:

root@fritz:/var/mod/root# showfbstate

Ethstatus:
0: LAN:1 eth0           autoneg full duplex EEE disabled up 1000Mbps
	supported speeds : 10Mbps 100Mbps 1000Mbps
	advertised speeds: 10Mbps 100Mbps 1000Mbps
1: LAN:2 eth1           autoneg EEE disabled down
	supported speeds : 10Mbps 100Mbps 1000Mbps
	advertised speeds: 10Mbps 100Mbps 1000Mbps
2: LAN:3 eth2           autoneg EEE disabled down
	supported speeds : 10Mbps 100Mbps 1000Mbps
	advertised speeds: 10Mbps 100Mbps 1000Mbps
3: LAN:4 eth3           autoneg EEE disabled down
	supported speeds : 10Mbps 100Mbps 1000Mbps
	advertised speeds: 10Mbps 100Mbps 1000Mbps

External address status:
	IPv4: no external address
	IPv6: no external address

dsldstat address status:
	IPv4: 192.168.178.1

lldpstatus:

Own LLDP information:
Chassis id:           3C:A6:2F:XX:XX:XX 
Chassis id subtype:   MAC address (4)
System name:          fritz.box 
System description:   AVM FRITZ!Box 7530 164.07.39-95471 
System capabilities:  Bridge WLAN_AP Router 
Enabled capabilities: Bridge WLAN_AP 

Port specific LLDP information:

DHCPv6 status:
Interfaces:
name=       lan, prefix=                   ::/0

Internet config status:
Configured

UPnP devices:
  ----------------------------------------
    Name          File location           
  ----------------------------------------
    libmediasrv   MediaServerDevDesc.xml
    fbox          fboxdesc.xml
    TR064         tr64desc.xml
    igd2          igd2desc.xml
    igd           igddesc.xml
  ----------------------------------------

USB related features:
  -----------------
    Name   Status  
  -----------------
     FTP           
     SMB           
  -----------------

System time status:
NOT Valid

IP client pb status:
	 active: inactive
	 tstamp: 0

Domain name:
  fritz.box

No DHCP range registered or outstream allocation went wrong.

Events

me_anony-showfbstate-($num)-($num).ctl   -   temporary avmipc endpoint   -   subscribed to these events and states:

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

<empty>  

Dependencies

Daily updated index of all dependencies of this command. Last update: 2022-12-05 07:30 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.19 - 7.39 Dynamic linker / loader Linux
Depends on lib libavmcsock.so 61 7.08 - 7.50 Networking, I/O and helper functions AVM
Depends on lib libavmfbstate.so 61 7.08 - 7.50 IPC fritzbox state notification AVM
Depends on lib libc.so 61 7.08 - 7.50 Standard C library Linux
Depends on lib libdl.so 43 7.08 - 7.39 Dynamic linking library Linux
Depends on lib libdputil.so 51 7.19 - 7.50 DataPipe / packet utilities AVM
Depends on lib libpthread.so 43 7.08 - 7.39 POSIX threading library Linux
Depends on lib librt.so 43 7.08 - 7.39 POSIX realtime extensions library Linux
Depends on lib libsvctl.so 51 7.19 - 7.50 supervisor control library AVM
Depends on lib libz.so 51 7.19 - 7.50 Zlib compressor / decompressor Linux
10 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2022-12-05 05:58 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 3490 (main) 7.12 - 7.30 /bin 9.9k - 10.1k
FRITZ!Box 4040 7.12 - 7.39 /bin 9.4k - 17.6k
FRITZ!Box 4060 7.26 - 7.39 /bin 9.4k - 17.5k
FRITZ!Box 5490 (main) 7.12 - 7.29 /bin 9.9k - 10.1k
FRITZ!Box 5491 (main) 7.12 - 7.29 /bin 9.9k - 10.1k
FRITZ!Box 5530 Fiber (main) 7.21 - 7.30 /bin 10.0k
FRITZ!Box 5590 Fiber (arm) 7.27 - 7.30 /bin 9.3k
FRITZ!Box 6430 Cable (arm) 7.12 - 7.29 /bin 7.3k - 9.4k
FRITZ!Box 6430 Cable (atom) 7.12 - 7.29 /bin 9.3k
FRITZ!Box 6490 Cable (arm) 7.12 - 7.39 /bin 6.9k - 21.4k
FRITZ!Box 6490 Cable (atom) 7.12 - 7.39 /bin 9.3k - 21.4k
FRITZ!Box 6590 Cable (arm) 7.12 - 7.39 /bin 6.9k - 21.4k
FRITZ!Box 6590 Cable (atom) 7.12 - 7.39 /bin 9.3k - 21.4k
FRITZ!Box 6591 Cable (arm) 7.08 - 7.39 /bin 9.4k - 29.6k
FRITZ!Box 6591 Cable (atom) 7.08 - 7.39 /bin 9.4k - 29.6k
FRITZ!Box 6660 Cable (arm) 7.14 - 7.39 /bin 9.4k - 29.6k
FRITZ!Box 6660 Cable (atom) 7.14 - 7.39 /bin 9.4k - 29.6k
FRITZ!Box 6690 Cable (arm) 7.28 - 7.39 /bin 9.4k - 29.6k
FRITZ!Box 6690 Cable (atom) 7.28 - 7.39 /bin 9.4k - 29.6k
FRITZ!Box 6820 LTE v1 7.08 - 7.29 /bin 9.9k - 10.1k
FRITZ!Box 6820 LTE v2 7.08 - 7.29 /bin 9.9k - 10.1k
FRITZ!Box 6820 LTE v3 7.19 - 7.29 /bin 10.1k
FRITZ!Box 6850 LTE 7.21 - 7.39 /bin 9.4k - 18.4k
FRITZ!Box 6850 5G 7.24 - 7.39 /bin 9.4k - 17.6k
FRITZ!Box 6890 LTE 7.21 - 7.39 /bin 10.0k - 18.4k
FRITZ!Box 6890 LTE v1 7.21 - 7.39 /bin 10.0k - 18.4k
FRITZ!Box 6890 LTE v2 7.21 - 7.39 /bin 10.0k - 18.4k
FRITZ!Box 7362 SL 7.12 - 7.13 /bin 9.9k
FRITZ!Box 7430 7.12 - 7.29 /bin 9.9k - 10.1k
FRITZ!Box 7490 (main) 7.12 - 7.39 /bin 9.9k - 22.6k
FRITZ!Box 7510 7.30 /bin 9.3k
FRITZ!Box 7520 7.12 - 7.29 /bin 9.4k
FRITZ!Box 7520 v2 (arm) 7.30 - 7.31 /bin 9.4k
FRITZ!Box 7530 7.12 - 7.39 /bin 9.4k - 17.6k
FRITZ!Box 7530 AX 7.20 - 7.39 /bin 9.6k - 21.7k
FRITZ!Box 7560 7.12 - 7.29 /bin 9.9k - 10.0k
FRITZ!Box 7580 7.12 - 7.29 /bin 9.9k - 10.0k
FRITZ!Box 7581 7.12 - 7.16 /bin 9.5k
FRITZ!Box 7582 7.12 - 7.16 /bin 9.5k
FRITZ!Box 7583 7.12 - 7.31 /bin 9.9k - 10.0k
FRITZ!Box 7583 VDSL 7.19 - 7.31 /bin 10.0k
FRITZ!Box 7590 7.12 - 7.50 /bin 9.9k - 22.5k
FRITZ!Box 7590 AX 7.19 - 7.39 /bin 10.0k - 22.5k
FRITZ!WLAN Repeater 310 A 7.12 - 7.15 /bin 9.9k
FRITZ!WLAN Repeater 310 B 7.12 - 7.15 /bin 9.9k
FRITZ!WLAN Repeater 450E 7.12 - 7.14 /bin 9.9k
FRITZ!Repeater 600 7.12 - 7.29 /bin 9.9k - 10.1k
FRITZ!Repeater 600 v2 7.19 - 7.30 /bin 10.1k
FRITZ!WLAN Repeater 1160 7.12 - 7.14 /bin 9.9k
FRITZ!Repeater 1200 7.12 - 7.29 /bin 9.4k
FRITZ!Repeater 1200 AX 7.27 - 7.39 /bin 9.3k - 17.5k
FRITZ!WLAN Repeater 1750E 7.12 - 7.30 /bin 9.9k - 10.1k
FRITZ!Repeater 2400 7.12 - 7.39 /bin 9.9k - 18.6k
FRITZ!Repeater 3000 7.08 - 7.39 /bin 9.4k - 17.6k
FRITZ!Repeater 3000 AX 7.39 - 7.41 /bin 17.5k
FRITZ!Repeater 6000 7.19 - 7.39 /bin 9.4k - 17.5k
FRITZ!Powerline 540E 7.12 - 7.14 /bin 9.9k
FRITZ!Powerline 546E /bin 9.9k
FRITZ!Powerline 1240E 7.12 - 7.14 /bin 9.9k
FRITZ!Powerline 1260E 7.12 - 7.29 /bin 9.4k
FRITZ!Powerline 1260 7.27 - 7.29 /bin 9.4k
61 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2022-12-05 07:30 GMT.

Firmware Symbol
7.08 - 7.50 main
1 symbol for this command

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

s