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

From BoxMatrix


BoxMatrix >> Shell-Commands >> avmstickandsurf @ 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:   Events  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

avmstickandsurf performs Stick+Surf WLAN auto provisioning on Hotplug of an AVM WLAN-Stick.

More details in the Stick+Surf article.

avmstickandsurf fetches the WLAN credentials using libwlanparams.so and writes them to the stick.
It then creates the temporary event source avm_event_wlan_autoprov to send an autoprov event,
informing the WLAN drivers which stick has been enabled for Stick+Surf.

fw 7.29 help - no help function provided, runs the hotplug action:

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

Early 6490 firmware:

On early 6490 firmware avmstickandsurf is a script on the ATOM side which calls avmstickandsurf.part1 on the ARM side:

rpc avmstickandsurf.part1 "$@"

avmstickandsurf.part1 stores the WLAN params to usbsns_data on ATOM and calls avmstickandsurf.part2 on the ATOM side:

rpc avmstickandsurf.part2 %s %u

Background: Up to 6490 fw 6.66 FRITZ!OS was nearly completely running on ARM, like in ARM-only 63xx Puma5 models.
The ATOM Intel added was nearly unused. Early Intel Puma6 SDK named it an application processor and did not use it at all.
Later AVM ported FRITZ!OS completely to ATOM, the ARM core is only used for the DOCSIS modem since then.

However, the USB-Host is connected to the ATOM, which has way better CPU performance than the ARM.
That is why AVM implemented all NAS and USB-Host functionality on the ATOM on early 6490 firmware.

This covers printserv and ftpd being proxied by tcpproxyd on ARM, tcpproxy_ctl on ATOM controling which ports.
The NAS webserver and the management of all USB related services was provided by nas_ctlmgr.
Since tcpproxyd does not support SSL nas_ctlmgr ran on a separate IP, which resolved from fritz.nas.
Stick+Surf is also splitted into avmstickandsurf.part1 on ARM and avmstickandsurf.part2 on ATOM, see avmstickandsurf.
For UMTS modems netttyd on ATOM multiplexes the TTY devices for netttym.ko on the ARM side.

The network on the ATOM on early 6490 firmware is managed by multid2.
IPv4 and IPv6 network addresses of the respective other side are gathered by avmipc_state.
Some ATOM ressources are mounted on the ARM side using nfs4.
For network throughput tests there's the remote controllable speedtestd on ATOM.

Events

Daily updated index of AVM-Events and AVMIPC-Datastore nodes affecting this command. Last update: 2023-12-10 05:13 GMT.
The owners of Event-Sinks and Event-Sources are manual research, which may be incomplete or even wrong.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.
A ** in the Mod column marks info from Supportdata2 probes, which by their nature will stay way more incomplete.
A - in the Mod column marks manual research, the Firmware then shows where the item occurs, not the Relation.

Relation Typ Object Mod Firmware Info Origin
Sink evsink avm_event_wlan_autoprov (evsink) * Temporary Event-Sink of avmstickandsurf AVM
Source evsrc avm_event_wlan_autoprov (evsrc) * Temporary Event-Source of avmstickandsurf AVM
2 event relations for this command

avm_event_wlan_autoprov   -   Event-Source   -   emitting these events:

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-03-18 07:33 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 22 7.08 - 7.90 Dynamic linker / loader Linux
Depends on lib libavm_event.so 77 4.80 - 7.90 AVM-Events management API AVM
Depends on lib libavmcipher.so 77 4.80 - 7.90 AES / DES / Rijndael encryption / decryption. AVM
Depends on lib libavmcsock.so 77 4.80 - 7.90 Networking, I/O and helper functions AVM
Depends on lib libavmhmac.so 77 4.80 - 7.90 HMAC / SHA / MD5 hashing. AVM
Depends on lib libavmwdt.so 3 7.90 AVM-Watchdogs management API. Renamed libwdt.so AVM
Depends on lib libboxlib.so 77 4.80 - 7.90 Box status, logging and statistics functions AVM
Depends on lib libc.so 77 4.80 - 7.90 Standard C library Linux
Depends on lib libdl.so 75 4.80 - 7.90 Dynamic linking library Linux
Depends on lib libewnwlinux.so 77 4.80 - 7.90 Linux networking functions AVM
Depends on lib libgcc_s.so 33 4.80 - 6.110 GCC low-level runtime library Linux
Depends on lib libpthread.so 75 4.80 - 7.90 POSIX threading library Linux
Depends on lib libwdt.so 77 4.80 - 7.80 AVM-Watchdogs management API AVM
Depends on lib libwlanparams.so 77 4.80 - 7.90 TFFS-Configuration API to wlan.cfg. AVM
14 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-03-18 06:02 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 WLAN 3270 4.86 - 5.54 /sbin 7.2k - 7.5k
FRITZ!Box WLAN 3270 v3 4.86 - 5.54 /sbin 7.2k - 7.5k
FRITZ!Box WLAN 3270 IT 5.23 - 5.52 /sbin 7.3k
FRITZ!Box 3272 5.50 - 6.89 /sbin 6.6k - 7.0k
FRITZ!Box WLAN 3370 5.01 - 6.56 /sbin 6.6k - 7.8k
FRITZ!Box 3390 5.50 - 6.56 /sbin 6.6k - 7.0k
FRITZ!Box 3490 (main) 6.20 - 7.30 /sbin 6.6k - 9.9k
FRITZ!Box 4020 7.39 /sbin 6.5k - 13.4k
FRITZ!Box 4040 6.52 - 7.57 /sbin 5.7k - 13.4k
FRITZ!Box 4060 7.26 - 7.57 /sbin 9.3k - 13.4k
FRITZ!Box 5490 (main) 6.51 - 7.29 /sbin 6.6k - 9.9k
FRITZ!Box 5491 (main) 7.01 - 7.29 /sbin 6.6k - 9.9k
FRITZ!Box 5530 Fiber (main) 7.39 /sbin 13.4k
FRITZ!Box 5590 Fiber (arm) 7.27 - 7.80 /sbin 9.2k - 13.4k
FRITZ!Box 6360 Cable 4.85 - 6.51 /sbin 5.6k - 5.9k
FRITZ!Box 6430 Cable (arm) 6.84 - 7.57 /sbin 5.9k - 13.4k
FRITZ!Box 6430 Cable (atom) 6.84 - 7.29 /sbin 5.9k - 9.2k
FRITZ!Box 6490 Cable (arm) 6.20 - 7.57 /sbin 49 - 13.4k
FRITZ!Box 6490 Cable (atom) 6.20 - 7.51 /sbin 49 - 9.2k
FRITZ!Box 6590 Cable (arm) 6.83 - 7.57 /sbin 5.9k - 13.4k
FRITZ!Box 6590 Cable (atom) 6.83 - 7.51 /sbin 5.9k - 9.2k
FRITZ!Box 6591 Cable (arm) 7.04 - 7.57 /sbin 6.5k - 13.4k
FRITZ!Box 6591 Cable (atom) 7.04 - 7.57 /sbin 6.5k - 13.4k
FRITZ!Box 6660 Cable (arm) 7.14 - 7.57 /sbin 9.3k - 13.4k
FRITZ!Box 6660 Cable (atom) 7.14 - 7.57 /sbin 9.3k - 13.4k
FRITZ!Box 6690 Cable (arm) 7.28 - 7.57 /sbin 9.3k - 13.4k
FRITZ!Box 6690 Cable (atom) 7.28 - 7.57 /sbin 9.3k - 13.4k
FRITZ!Box 6820 LTE v1 7.39 /sbin 13.4k
FRITZ!Box 6820 LTE v2 7.39 /sbin 13.4k
FRITZ!Box 6840 LTE 5.08 - 7.39 /sbin 6.6k - 13.4k
FRITZ!Box 6842 LTE /sbin 6.6k - 7.0k
FRITZ!Box 6850 LTE 7.21 - 7.51 /sbin 9.3k - 13.4k
FRITZ!Box 6850 5G 7.24 - 7.51 /sbin 9.3k - 13.4k
FRITZ!Box 6890 LTE 6.84 - 7.51 /sbin 7.2k - 13.4k
FRITZ!Box 6890 LTE v1 6.84 - 7.51 /sbin 7.2k - 13.4k
FRITZ!Box 6890 LTE v2 6.84 - 7.51 /sbin 7.2k - 13.4k
FRITZ!Box Fon WLAN 7170 4.86 - 4.88 /sbin 7.2k
FRITZ!Box Fon WLAN 7170 v1 4.86 - 4.88 /sbin 7.2k
FRITZ!Box Fon WLAN 7170 v2 4.86 - 4.88 /sbin 7.2k
FRITZ!Box Fon WLAN 7240 4.85 - 6.06 /sbin 7.0k - 7.8k
FRITZ!Box Fon WLAN 7270 v1 4.80 - 4.89 /sbin 7.0k - 7.2k
FRITZ!Box Fon WLAN 7270 v2 4.80 - 6.06 /sbin 7.0k - 7.8k
FRITZ!Box Fon WLAN 7270 v3 4.80 - 6.06 /sbin 7.0k - 7.8k
FRITZ!Box 7272 5.55 - 7.39 /sbin 6.6k - 13.4k
FRITZ!Box Fon WLAN 7320 4.85 - 6.35 /sbin 6.6k - 7.5k
FRITZ!Box 7330 5.06 - 6.56 /sbin 6.6k - 7.3k
FRITZ!Box 7330 SL 5.08 - 6.56 /sbin 6.6k - 7.3k
FRITZ!Box Fon WLAN 7340 4.83 - 5.05 /sbin 6.6k - 7.3k
FRITZ!Box Fon WLAN 7360 SL 5.04 - 6.34 /sbin 6.6k - 7.3k
FRITZ!Box Fon WLAN 7360 v1 5.06 - 6.36 /sbin 6.6k - 7.3k
FRITZ!Box Fon WLAN 7360 v2 5.22 - 6.88 /sbin 6.6k - 7.3k
FRITZ!Box 7362 SL 5.53 - 7.14 /sbin 6.6k - 9.9k
FRITZ!Box 7369 6.30 - 6.32 /sbin 7.0k
FRITZ!Box Fon WLAN 7390 4.81 - 5.22 /sbin 6.6k - 7.8k
FRITZ!Box 7430 6.26 - 7.39 /sbin 6.6k - 13.4k
FRITZ!Box 7490 (main) 5.57 - 7.57 /sbin 6.6k - 13.4k
FRITZ!Box 7510 7.30 - 7.57 /sbin 9.2k - 9.3k
FRITZ!Box 7520 6.98 - 7.51 /sbin 5.7k - 13.4k
FRITZ!Box 7520 v2 (arm) 7.30 - 7.57 /sbin 9.3k - 13.4k
FRITZ!Box 7530 6.98 - 7.56 /sbin 5.7k - 13.4k
FRITZ!Box 7530 AX 7.20 - 7.90 /sbin 9.5k - 13.4k
FRITZ!Box 7560 6.51 - 7.39 /sbin 7.2k - 13.4k
FRITZ!Box Fon WLAN 7570 vDSL 4.90 - 4.92 /sbin 7.2k
FRITZ!Box 7580 6.53 - 7.30 /sbin 7.2k - 9.9k
FRITZ!Box 7581 6.54 - 7.16 /sbin 5.7k - 9.5k
FRITZ!Box 7582 6.83 - 7.17 /sbin 5.7k - 9.5k
FRITZ!Box 7583 7.01 - 7.57 /sbin 7.2k - 9.9k
FRITZ!Box 7583 VDSL 7.19 - 7.31 /sbin 9.8k
FRITZ!Box 7590 6.83 - 7.90 /sbin 7.2k - 13.4k
FRITZ!Box 7590 AX 7.19 - 7.90 /sbin 9.8k - 13.4k
FRITZ!Repeater 600 7.39 /sbin 13.4k
FRITZ!Repeater 1200 7.39 /sbin 13.4k
FRITZ!WLAN Repeater 1750E 7.39 /sbin 13.4k
FRITZ!Repeater 2400 7.39 /sbin 13.4k
FRITZ!Repeater 3000 7.39 /sbin 13.4k
FRITZ!Repeater 3000 AX 7.39 /sbin 13.4k
FRITZ!Powerline 1260E 7.39 /sbin 13.4k
77 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-03-18 07:33 GMT.

Firmware Symbol
4.80 - 7.90 createConfig
4.80 - 7.90 hex2byte
4.80 - 7.90 i32toStream
4.80 - 7.90 main
4.80 - 7.90 sendConfig
5 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.