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:samba control
BoxMatrix >> Shell-Commands >> samba_control | @ 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: | samba_control - type Exec | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> AVM-Commands - Origin: AVM | ||||||
Path: | Release: /etc Lab+Rel: /etc | ||||||
Properties: | Size: 40 - 3.8k - Firmware: 4.28 - 8.00 | ||||||
Function: | Starts / stops / restarts the SMB servers. |
Goto: Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
samba_control starts / stops / restarts the SMB servers, if SMB is enabled.
It is called by the Hotplug-Scripts udev-mount-sd and storage, by webdav_control and by libcmapi.so for ctlmgr.
samba_control supports these arguments:
start stop reconfig reconfig_pw
Since there are 2 different solutions for serving SMB these have to be explained separately:
YNQ
This is the new solution supporting SMB v1/v2/v3 and a supervisor service smb2.service,
Simplified it is started:
svctl start smb2 wsdd -w"$WORKGROUP"
Simplified it is stopped:
wsdd -s svctl stop smb2
The reconfig
commands just perform the stop and start actions explained above.
Samba
This is the old solution only supporting SMB v1,
TODO
Config
The relevant configuration is stored in usb.cfg:
usbhost { ... samba_server_enabled = yes; samba_server_workgroup = "WORKGROUP"; samba_server_server_string = "fritz0"; ... nas_enabled = no; ... }
nas_enabled
overrides samba_server_enabled
so the above does not start SMB.
The Webinterface handles these settings in the ctlusb ui-module:
ctlusb:settings/samba-server-enabled ctlusb:settings/samba-workgroup ctlusb:settings/samba-server-string ctlusb:settings/nas-enabled
Dependencies
Daily updated index of all dependencies of this command. Last update: 2025-01-09 07:36 GMT.
A *
in the Mod
column marks info from Supportdata-Probes, which will always stay incomplete.
Relation | Typ | Object | Mod | Firmware | Info | Origin |
---|---|---|---|---|---|---|
0 dependencies for this command |
Model-Matrix
Daily updated index of the presence, path and size of this command for each model. Last update: 2025-01-09 05:37 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 2170 | 4.52 - 4.57 | /etc | 3.4k - 3.7k |
FRITZ!Box WLAN 3170 | 4.50 - 4.58 | /etc | 3.4k - 3.7k |
FRITZ!Box WLAN 3270 | 4.57 - 5.54 | /etc | 2.3k - 3.8k |
FRITZ!Box WLAN 3270 v3 | 4.77 - 5.54 | /etc | 2.3k - 3.8k |
FRITZ!Box WLAN 3270 IT | 5.23 - 5.52 | /etc | 2.3k |
FRITZ!Box 3272 (main) | 5.50 - 6.89 | /etc | 2.3k - 3.3k |
FRITZ!Box WLAN 3370 (main) | 5.01 - 6.56 | /etc | 2.3k - 2.9k |
FRITZ!Box 3390 (main) | 5.50 - 6.56 | /etc | 2.3k - 2.9k |
FRITZ!Box 3490 (main) | 6.20 - 7.30 | /etc | 1.1k - 3.3k |
FRITZ!Box 4020 | /etc | 2.9k - 3.3k | |
FRITZ!Box 4040 | 6.52 - 8.00 | /etc | 798 - 3.3k |
FRITZ!Box 4050 | 7.58 - 7.90 | /etc | 1.1k |
FRITZ!Box 4060 | 7.29 - 7.90 | /etc | 1.1k |
FRITZ!Box Fon 5124 | 4.67 - 4.77 | /etc | 3.8k |
FRITZ!Box 5490 (main) | 6.51 - 7.29 | /etc | 1.1k - 3.3k |
FRITZ!Box 5491 (main) | 7.01 - 7.29 | /etc | 1.1k - 3.3k |
FRITZ!Box 5590 Fiber (main) | 7.29 - 8.00 | /etc | 1.1k |
FRITZ!Box 5690 Pro (main) | 7.62 | /etc | 1.1k |
FRITZ!Box 6360 Cable | 4.85 - 6.51 | /etc | 2.3k - 2.9k |
FRITZ!Box 6430 Cable (atom) | 6.84 - 7.29 | /etc | 1.1k - 3.3k |
FRITZ!Box 6490 Cable (arm) | 6.20 - 6.64 | /etc | 2.9k |
FRITZ!Box 6490 Cable (atom) | 6.20 - 7.51 | /etc | 40 - 3.3k |
FRITZ!Box 6590 Cable (atom) | 6.83 - 7.51 | /etc | 516 - 3.3k |
FRITZ!Box 6591 Cable (arm) | 7.04 - 7.08 | /etc | 3.3k |
FRITZ!Box 6591 Cable (atom) | 7.04 - 8.00 | /etc | 516 - 3.3k |
FRITZ!Box 6660 Cable (atom) | 7.14 - 8.00 | /etc | 516 - 3.3k |
FRITZ!Box 6670 Cable (atom) | 7.61 - 7.90 | /etc | 1.1k |
FRITZ!Box 6690 Cable (atom) | 7.28 - 7.90 | /etc | 1.1k |
FRITZ!Box 6840 LTE (main) | 5.08 - 6.88 | /etc | 2.3k - 3.3k |
FRITZ!Box 6842 LTE | /etc | 2.3k - 2.9k | |
FRITZ!Box 6850 LTE | 7.21 - 7.90 | /etc | 516 - 1.1k |
FRITZ!Box 6850 5G | 7.24 - 7.90 | /etc | 920 - 1.1k |
FRITZ!Box 6890 LTE (main) | 6.84 - 7.57 | /etc | 516 - 3.3k |
FRITZ!Box 6890 LTE v1 (main) | 6.84 - 7.57 | /etc | 516 - 3.3k |
FRITZ!Box 6890 LTE v2 (main) | 6.84 - 7.57 | /etc | 516 - 3.3k |
FRITZ!Box Fon WLAN 7140 | 4.50 - 4.77 | /etc | 3.4k - 3.8k |
FRITZ!Box Fon WLAN 7141 | 4.49 - 4.77 | /etc | 3.4k - 3.8k |
FRITZ!Box Fon WLAN 7170 | 4.28 - 4.99 | /etc | 1.3k - 3.8k |
FRITZ!Box Fon WLAN 7170 v1 | 4.28 - 4.99 | /etc | 1.3k - 3.8k |
FRITZ!Box Fon WLAN 7170 v2 | 4.28 - 4.99 | /etc | 1.3k - 3.8k |
FRITZ!Box Fon WLAN 7240 | 4.65 - 6.06 | /etc | 2.3k - 3.8k |
FRITZ!Box Fon WLAN 7270 v1 | 4.44 - 4.99 | /etc | 2.3k - 3.8k |
FRITZ!Box Fon WLAN 7270 v2 | 4.67 - 6.06 | /etc | 2.3k - 3.8k |
FRITZ!Box Fon WLAN 7270 v3 | 4.76 - 6.06 | /etc | 2.3k - 3.8k |
FRITZ!Box 7272 (main) | 5.55 - 6.88 | /etc | 2.3k - 3.3k |
FRITZ!Box Fon WLAN 7320 | 4.85 - 6.35 | /etc | 2.3k - 2.9k |
FRITZ!Box 7330 | 5.06 - 6.56 | /etc | 2.3k - 2.9k |
FRITZ!Box 7330 SL | 5.08 - 6.56 | /etc | 2.3k - 2.9k |
FRITZ!Box Fon WLAN 7340 | 4.83 - 5.05 | /etc | 2.3k - 2.9k |
FRITZ!Box Fon WLAN 7360 SL | 5.04 - 6.34 | /etc | 2.3k - 2.9k |
FRITZ!Box Fon WLAN 7360 v1 | 5.06 - 6.36 | /etc | 2.3k - 2.9k |
FRITZ!Box Fon WLAN 7360 v2 | 5.22 - 6.88 | /etc | 2.3k - 3.3k |
FRITZ!Box 7362 SL (main) | 5.53 - 7.18 | /etc | 2.3k - 3.3k |
FRITZ!Box 7369 (main) | 6.30 - 6.32 | /etc | 2.9k |
FRITZ!Box Fon WLAN 7390 | 4.81 - 5.22 | /etc | 2.3k - 3.3k |
FRITZ!Box 7430 (main) | 6.26 - 7.31 | /etc | 516 - 3.3k |
FRITZ!Box 7490 (main) | 5.57 - 7.51 | /etc | 516 - 3.3k |
FRITZ!Box 7510 | 7.30 - 8.00 | /etc | 1.1k |
FRITZ!Box 7520 | 6.98 - 8.00 | /etc | 516 - 3.3k |
FRITZ!Box 7520 v2 (main) | 7.30 - 8.00 | /etc | 1.1k |
FRITZ!Box 7530 | 6.98 - 8.00 | /etc | 516 - 3.3k |
FRITZ!Box 7530 AX | 7.20 - 8.00 | /etc | 516 - 1.1k |
FRITZ!Box 7560 (main) | 6.51 - 7.30 | /etc | 1.1k - 3.3k |
FRITZ!Box Fon WLAN 7570 vDSL | 4.70 - 4.94 | /etc | 2.3k - 3.8k |
FRITZ!Box 7580 (main) | 6.53 - 7.30 | /etc | 516 - 3.3k |
FRITZ!Box 7581 | 6.54 - 7.18 | /etc | 3.3k |
FRITZ!Box 7582 | 6.83 - 7.18 | /etc | 3.3k |
FRITZ!Box 7583 (main) | 7.01 - 7.59 | /etc | 516 - 3.3k |
FRITZ!Box 7583 VDSL (main) | 7.19 - 8.00 | /etc | 516 - 1.1k |
FRITZ!Box 7590 (main) | 6.83 - 8.00 | /etc | 516 - 3.3k |
FRITZ!Box 7590 AX (main) | 7.19 - 8.00 | /etc | 516 - 1.1k |
FRITZ!Box 7690 | 7.61 - 7.90 | /etc | 1.1k |
Speedport W 504V MK | 5.04 | /etc | 2.3k |
Speedport W 722V | 4.76 - 4.79 | /etc | 3.8k |
Speedport W 920V | 4.78 - 4.79 | /etc | 3.8k |
Alice IAD WLAN 3331 | 4.90 | /etc | 3.8k |
Alice IAD 7570 vDSL | 4.86 - 5.09 | /etc | 3.7k |
77 models use this command |
Symbols
Daily updated index of all symbols of this command. Last update: 2025-01-09 07:36 GMT.
Firmware | Symbol |
---|---|
0 symbols for this command |