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:ethctl
BoxMatrix >> Shell-Commands >> ethctl | @ 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 |
Chipset-Command
Command: | ethctl - type Link, Exec | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> Chipset-Commands - Origin: Broadcom | ||||||
Path: | Release: /bin, /sbin Lab+Rel: /bin, /sbin | ||||||
Properties: | Size: 13.9k - 41.5k, Link - Firmware: 6.54 - 7.90 | ||||||
Function: | Broadcom Ethernet Configuration Utility. |
Goto: Examples - Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
This is an "in-section" name collision covering 2 completely different files: - (this will be splitted one day)
ethctl is the Broadcom Ethernet Configuration Utility.
It is a commandline frontend to libethctl.so and is only used by libcms_core.so, see the Examples below.
Most binaries use libethctl.so instead.
7581 fw 7.17:
root@fritz:/var/mod/root# ethctl Interface specific commands: Usage: ethctl <interface> <command> [arguments...] media-type : Set/Get media type ethctl <interface> media-type [option] [port <sub_port#> ] [option]: auto - auto select 2500FD - 2500Mb, Full Duplex 1000FD - 1000Mb, Full Duplex 1000HD - 1000Mb, Half Duplex 100FD - 100Mb, Full Duplex 100HD - 100Mb, Half Duplex 10FD - 10Mb, Full Duplex 10HD - 10Mb, Half Duplex [port <sub_port#>]: required if <interface> has Crossbar or Trunk port underneath phy-reset : Soft reset the transceiver ethctl <interface> phy-reset [port <sub_port#>] [port <sub_port#>]: required if <interface> has Crossbar or Trunk port underneath reg : Set/Get port mii register ethctl <interface> reg <[0-31]> [0xhhhh] [port <sub_port#>] [port <sub_port#>]: required if <interface> has Crossbar or Trunk port underneath phy-power : Phy power up/down control ethctl <interface> phy-power <up|down> [port <sub_port#>] [port <sub_port#>]: required if <interface> has Crossbar or Trunk port underneath vport : Enable/disable/query Switch for VLAN port mapping ethctl <interface> vport <enable|disable|query> stats : Display software stats ethctl <interface> stats ethernet@wirespeed : Enable/Disable ethernet@wirespeed ethctl <interface> ethernet@wirespeed <show|enable|disable> [port <sub_port#>] [port <sub_port#>]: required if <interface> has Crossbar or Trunk port underneath Common commands: Usage: ethctl <command> [arguments...] tx_iudma : Set/Get number of Tx iuDMA channels ethctl tx_iudma <[1-4]> rx_iudma : Set/Get number of Rx iuDMA channels ethctl rx_iudma <[1-4]> phy : Phy Access ethctl phy int|ext|extsw|ext32 <phy_addr> <reg> [<value|reg2> [no_read_back]] [-d] ethctl phy i2c <reg> [<value|reg2> [no_read_back]] [-d] <reg>: 0-0x1f: CL22 IEEE register; 0x1f-0xffff: Broadcom Extended Registers. 0xffff-0x1fffff: CL45 IEEE Register, DeviceAddress + 2 byte Registers. 0x20ffff-0xffffffff: Broadcom PHY 32bit address. <ext32>: Force to access Broadcom phy 32bit address. ethctl phy serdespower <phy_addr> [<power_mode>] [<power_mode>]: 0 - Non power saving mode; for loop back, inter connection 1 - Basic power saving mode; default mode 2 - Device Forced Off -d: Dump registers started from <reg> to <reg2>.
Examples
From libcms_core.so of a 7530ax fw 7.70:
ethctl %s vport query 2>/var/vcfgerr
Dependencies
Daily updated index of all dependencies of this command. Last update: 2024-04-18 19:26 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.20 - 7.90 | Dynamic linker / loader | Linux |
Depends on | lib | libc.so | 5 | 6.54 - 7.90 | Standard C library | Linux |
Depends on | lib | libethctl.so | 3 | 6.98 - 7.90 | Broadcom Ethernet Configuration API | Broadcom |
Depends on | lib | libmib.so | 2 | 7.59 | RTL86 system configuration MIB core API | Linux |
Depends on | lib | librtk.so | 2 | 7.59 | TODO | RTL96 |
5 dependencies for this command |
Model-Matrix
Daily updated index of the presence, path and size of this command for each model. Last update: 2024-04-18 15:54 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 5690 Pro (rtl) | 7.59 | /bin | 14.0k |
FRITZ!Box 7530 AX | 7.20 - 7.90 | /bin, /sbin | 33.5k - 41.5k, Link |
FRITZ!Box 7581 | 6.54 - 7.16 | /bin, /sbin | 13.9k - 14.9k, Link |
FRITZ!Box 7582 | 6.83 - 7.17 | /bin, /sbin | 13.9k - 14.9k, Link |
4 models use this command |
Symbols
Daily updated index of all symbols of this command. Last update: 2024-04-18 19:26 GMT.
Firmware | Symbol |
---|---|
7.20 - 7.59 | main |
7.59 | usage |
2 symbols for this command |