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

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: 2024-12-20 07:46 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 23 7.19 - 8.00 Dynamic linker / loader Linux
Depends on lib libavmcsock.so 69 7.08 - 8.00 Networking, I/O and helper functions AVM
Depends on lib libavmfbstate.so 69 7.08 - 8.00 IPC fritzbox state notification AVM
Depends on lib libc.so 69 7.08 - 8.00 Standard C library Linux
Depends on lib libdl.so 45 7.08 - 8.00 Dynamic linking library Linux
Depends on lib libdputil.so 59 7.19 - 8.00 DataPipe / packet utilities AVM
Depends on lib libpthread.so 45 7.08 - 8.00 POSIX threading library Linux
Depends on lib librt.so 45 7.08 - 8.00 POSIX realtime extensions library Linux
Depends on lib libsvctl.so 59 7.19 - 8.00 supervisor notification library AVM
Depends on lib libz.so 59 7.19 - 8.00 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: 2024-12-20 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 3490 (main) 7.12 - 7.30 /bin 9.9k - 10.1k
FRITZ!Box 4040 7.12 - 8.00 /bin 9.4k - 21.6k
FRITZ!Box 4050 7.58 - 7.90 /bin 17.6k - 21.6k
FRITZ!Box 4060 7.29 - 7.90 /bin 9.4k - 21.6k
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 - 8.00 /bin 10.0k - 22.6k
FRITZ!Box 5590 Fiber (main) 7.29 - 8.00 /bin 9.3k - 21.6k
FRITZ!Box 5690 Pro (main) 7.62 /bin 17.6k
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.51 /bin 6.9k - 14.8k
FRITZ!Box 6490 Cable (atom) 7.12 - 7.51 /bin 9.3k - 21.4k
FRITZ!Box 6590 Cable (arm) 7.12 - 7.57 /bin 6.9k - 14.9k
FRITZ!Box 6590 Cable (atom) 7.12 - 7.51 /bin 9.3k - 21.4k
FRITZ!Box 6591 Cable (arm) 7.08 - 8.00 /bin 9.4k - 21.8k
FRITZ!Box 6591 Cable (atom) 7.08 - 8.00 /bin 9.4k - 29.7k
FRITZ!Box 6660 Cable (arm) 7.14 - 8.00 /bin 9.6k - 21.8k
FRITZ!Box 6660 Cable (atom) 7.14 - 8.00 /bin 9.4k - 29.7k
FRITZ!Box 6670 Cable (arm) 7.61 - 7.90 /bin 18.0k - 25.8k
FRITZ!Box 6670 Cable (atom) 7.61 - 7.90 /bin 25.7k - 29.8k
FRITZ!Box 6690 Cable (arm) 7.28 - 7.90 /bin 9.7k - 21.8k
FRITZ!Box 6690 Cable (atom) 7.28 - 7.90 /bin 9.4k - 29.7k
FRITZ!Box 6820 LTE v1 (main) 7.08 - 7.59 /bin 9.9k - 22.7k
FRITZ!Box 6820 LTE v2 (main) 7.08 - 7.59 /bin 9.9k - 22.7k
FRITZ!Box 6820 LTE v3 (main) 7.19 - 7.57 /bin 10.1k - 22.7k
FRITZ!Box 6820 LTE v4 7.59 /bin 22.7k
FRITZ!Box 6850 LTE 7.21 - 7.90 /bin 9.4k - 21.6k
FRITZ!Box 6850 5G 7.24 - 7.90 /bin 9.4k - 21.6k
FRITZ!Box 6890 LTE (main) 7.21 - 7.57 /bin 10.0k - 22.6k
FRITZ!Box 6890 LTE v1 (main) 7.21 - 7.57 /bin 10.0k - 22.6k
FRITZ!Box 6890 LTE v2 (main) 7.21 - 7.57 /bin 10.0k - 22.6k
FRITZ!Box 7362 SL (main) 7.12 - 7.18 /bin 9.9k
FRITZ!Box 7430 (main) 7.12 - 7.31 /bin 9.9k - 10.1k
FRITZ!Box 7490 (main) 7.12 - 7.51 /bin 9.9k - 22.6k
FRITZ!Box 7510 7.30 - 8.00 /bin 9.3k - 21.6k
FRITZ!Box 7520 7.12 - 8.00 /bin 9.4k - 21.6k
FRITZ!Box 7520 v2 (main) 7.30 - 8.00 /bin 9.4k - 21.6k
FRITZ!Box 7530 7.12 - 8.00 /bin 9.4k - 21.6k
FRITZ!Box 7530 AX 7.20 - 8.00 /bin 9.6k - 21.8k
FRITZ!Box 7560 (main) 7.12 - 7.30 /bin 9.9k - 10.0k
FRITZ!Box 7580 (main) 7.12 - 7.30 /bin 9.9k - 10.0k
FRITZ!Box 7581 7.12 - 7.18 /bin 9.5k
FRITZ!Box 7582 7.12 - 7.18 /bin 9.5k
FRITZ!Box 7583 (main) 7.12 - 7.59 /bin 9.9k - 22.6k
FRITZ!Box 7583 VDSL (main) 7.19 - 8.00 /bin 10.0k - 22.6k
FRITZ!Box 7590 (main) 7.12 - 8.00 /bin 9.9k - 22.6k
FRITZ!Box 7590 AX (main) 7.19 - 8.00 /bin 10.0k - 22.6k
FRITZ!Box 7690 7.61 - 7.90 /bin 17.6k - 25.6k
FRITZ!Smart Gateway 7.52 - 7.63 /bin 17.5k
FRITZ!WLAN Repeater 310 A 7.12 - 7.16 /bin 9.9k
FRITZ!WLAN Repeater 310 B 7.12 - 7.16 /bin 9.9k
FRITZ!WLAN Repeater 450E 7.15 /bin 9.9k
FRITZ!Repeater 600 7.12 - 7.58 /bin 9.9k - 18.7k
FRITZ!Repeater 600 v2 7.27 - 7.58 /bin 10.1k - 18.7k
FRITZ!WLAN Repeater 1160 7.12 - 7.15 /bin 9.9k
FRITZ!Repeater 1200 7.12 - 7.58 /bin 9.4k - 17.6k
FRITZ!Repeater 1200 AX 7.30 - 7.58 /bin 9.3k - 17.6k
FRITZ!WLAN Repeater 1750E 7.31 - 7.32 /bin 9.9k - 10.1k
FRITZ!Repeater 2400 7.12 - 7.58 /bin 9.9k - 18.7k
FRITZ!Repeater 3000 7.08 - 7.58 /bin 9.4k - 17.6k
FRITZ!Repeater 3000 AX 7.41 - 7.58 /bin 17.5k - 17.6k
FRITZ!Repeater 6000 7.19 - 7.58 /bin 9.4k - 17.6k
FRITZ!Powerline 540E 7.12 - 7.15 /bin 9.9k
FRITZ!Powerline 546E 7.15 /bin 9.9k
FRITZ!Powerline 1240 AX 7.57 - 7.58 /bin 17.5k - 17.6k
FRITZ!Powerline 1240E 7.16 /bin 9.9k
FRITZ!Powerline 1260E 7.12 - 7.58 /bin 9.4k - 17.6k
FRITZ!Powerline 1260 7.27 - 7.58 /bin 9.4k - 17.6k
69 models use this command

Symbols

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

Firmware Symbol
7.08 - 8.00 main
1 symbol for this command

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

s