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:samba control

From BoxMatrix


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

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: 2024-04-24 07:26 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: 2024-04-24 05:11 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 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 5.50 - 6.89 /etc 2.3k - 3.3k
FRITZ!Box WLAN 3370 5.01 - 6.56 /etc 2.3k - 2.9k
FRITZ!Box 3390 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 7.39 /etc 1.1k - 3.3k
FRITZ!Box 4040 6.52 - 7.57 /etc 798 - 3.3k
FRITZ!Box 4050 7.57 /etc 1.1k
FRITZ!Box 4060 7.26 - 7.57 /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 5530 Fiber (main) 7.39 /etc 1.1k
FRITZ!Box 5590 Fiber (arm) 7.27 - 7.90 /etc 1.1k
FRITZ!Box 5690 Pro (arm) 7.59 - 7.60 /etc 1.1k
FRITZ!Box 6360 Cable 4.85 - 6.51 /etc 2.3k - 2.9k
FRITZ!Box 6430 Cable (arm) 6.84 - 7.57 /etc 1.1k - 3.3k
FRITZ!Box 6430 Cable (atom) 6.84 - 7.29 /etc 1.1k - 3.3k
FRITZ!Box 6490 Cable (arm) 6.20 - 7.57 /etc 40 - 3.3k
FRITZ!Box 6490 Cable (atom) 6.20 - 7.51 /etc 40 - 3.3k
FRITZ!Box 6590 Cable (arm) 6.83 - 7.57 /etc 516 - 3.3k
FRITZ!Box 6590 Cable (atom) 6.83 - 7.51 /etc 516 - 3.3k
FRITZ!Box 6591 Cable (arm) 7.04 - 7.90 /etc 516 - 3.3k
FRITZ!Box 6591 Cable (atom) 7.04 - 7.90 /etc 516 - 3.3k
FRITZ!Box 6660 Cable (arm) 7.14 - 7.90 /etc 516 - 3.3k
FRITZ!Box 6660 Cable (atom) 7.14 - 7.90 /etc 516 - 3.3k
FRITZ!Box 6670 Cable (arm) 7.57 - 7.62 /etc 1.1k
FRITZ!Box 6670 Cable (atom) 7.61 - 7.62 /etc 1.1k
FRITZ!Box 6690 Cable (arm) 7.28 - 7.90 /etc 1.1k
FRITZ!Box 6690 Cable (atom) 7.28 - 7.90 /etc 1.1k
FRITZ!Box 6820 LTE v1 7.39 /etc 1.1k
FRITZ!Box 6820 LTE v2 7.39 /etc 1.1k
FRITZ!Box 6840 LTE 5.08 - 7.39 /etc 1.1k - 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 6.84 - 7.51 /etc 516 - 3.3k
FRITZ!Box 6890 LTE v1 6.84 - 7.51 /etc 516 - 3.3k
FRITZ!Box 6890 LTE v2 6.84 - 7.51 /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 5.55 - 7.39 /etc 1.1k - 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 5.53 - 7.14 /etc 2.3k - 3.3k
FRITZ!Box 7369 6.30 - 6.32 /etc 2.9k
FRITZ!Box Fon WLAN 7390 4.81 - 5.22 /etc 2.3k - 3.3k
FRITZ!Box 7430 6.26 - 7.39 /etc 516 - 3.3k
FRITZ!Box 7490 (main) 5.57 - 7.57 /etc 516 - 3.3k
FRITZ!Box 7510 7.30 - 7.57 /etc 1.1k
FRITZ!Box 7520 6.98 - 7.51 /etc 516 - 3.3k
FRITZ!Box 7520 v2 (arm) 7.30 - 7.57 /etc 1.1k
FRITZ!Box 7530 6.98 - 7.56 /etc 516 - 3.3k
FRITZ!Box 7530 AX 7.20 - 7.90 /etc 516 - 1.1k
FRITZ!Box 7560 6.51 - 7.39 /etc 1.1k - 3.3k
FRITZ!Box Fon WLAN 7570 vDSL 4.70 - 4.94 /etc 2.3k - 3.8k
FRITZ!Box 7580 6.53 - 7.30 /etc 516 - 3.3k
FRITZ!Box 7581 6.54 - 7.16 /etc 3.3k
FRITZ!Box 7582 6.83 - 7.17 /etc 3.3k
FRITZ!Box 7583 7.01 - 7.57 /etc 516 - 3.3k
FRITZ!Box 7583 VDSL 7.19 - 7.31 /etc 516 - 1.1k
FRITZ!Box 7590 6.83 - 7.90 /etc 516 - 3.3k
FRITZ!Box 7590 AX 7.19 - 7.90 /etc 516 - 1.1k
FRITZ!Box 7690 7.59 /etc 1.1k
FRITZ!Repeater 600 7.39 /etc 1.1k
FRITZ!Repeater 1200 7.39 /etc 1.1k
FRITZ!WLAN Repeater 1750E 7.39 /etc 1.1k
FRITZ!Repeater 2400 7.39 /etc 1.1k
FRITZ!Repeater 3000 7.39 /etc 1.1k
FRITZ!Repeater 3000 AX 7.39 /etc 1.1k
FRITZ!Powerline 1260E 7.39 /etc 1.1k
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
91 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-04-24 07:26 GMT.

Firmware Symbol
0 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.