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:avmstickandsurf
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
Command: | avmstickandsurf - type Exec | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> AVM-Commands - Origin: AVM | ||||||
Path: | Release: /sbin Lab+Rel: /sbin | ||||||
Properties: | Size: 49 - 13.5k - Firmware: 4.80 - 8.00 | ||||||
Function: | Perform Stick+Surf on Hotplug (new). |
Goto: Events - Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
avmstickandsurf performs Stick+Surf WLAN auto provisioning on Hotplug of an AVM WLAN-Stick.
It is the renamed sucessor of avmusbwlanstart. It is called by the udev-avmwlan-usb hotplug script:
avmstickandsurf $VERSION $BSSID $TEMPDEV $MAC_CLIENT
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.
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-12-21 07:44 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 - 8.00 | Dynamic linker / loader | Linux |
Depends on | lib | libavm_event.so | 67 | 4.80 - 8.00 | AVM-Events management API | AVM |
Depends on | lib | libavmcipher.so | 67 | 4.80 - 8.00 | AES / DES / Rijndael encryption / decryption. | AVM |
Depends on | lib | libavmcsock.so | 67 | 4.80 - 8.00 | Networking, I/O and helper functions | AVM |
Depends on | lib | libavmhmac.so | 67 | 4.80 - 8.00 | HMAC / SHA / MD5 hashing. | AVM |
Depends on | lib | libavmwdt.so | 21 | 7.61 - 8.00 | AVM-Watchdogs management API | AVM |
Depends on | lib | libboxlib.so | 67 | 4.80 - 8.00 | Box status, logging and statistics functions | AVM |
Depends on | lib | libc.so | 67 | 4.80 - 8.00 | Standard C library | Linux |
Depends on | lib | libdl.so | 56 | 4.80 - 8.00 | Dynamic linking library | Linux |
Depends on | lib | libewnwlinux.so | 67 | 4.80 - 8.00 | Linux networking functions | AVM |
Depends on | lib | libgcc_s.so | 31 | 4.80 - 6.110 | GCC low-level runtime library | Linux |
Depends on | lib | libpthread.so | 56 | 4.80 - 8.00 | POSIX threading library | Linux |
Depends on | lib | libwdt.so | 64 | 4.80 - 7.81 | AVM-Watchdogs management API | AVM |
Depends on | lib | libwlanparams.so | 67 | 4.80 - 8.00 | 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-12-21 05:44 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 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 (main) | 5.50 - 6.89 | /sbin | 6.6k - 7.0k |
FRITZ!Box WLAN 3370 (main) | 5.01 - 6.56 | /sbin | 6.6k - 7.8k |
FRITZ!Box 3390 (main) | 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 | /sbin | 6.5k - 6.7k | |
FRITZ!Box 4040 | 6.52 - 8.00 | /sbin | 5.7k - 9.3k |
FRITZ!Box 4050 | 7.58 - 7.90 | /sbin | 9.3k |
FRITZ!Box 4060 | 7.29 - 7.90 | /sbin | 9.3k |
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 5590 Fiber (main) | 7.29 - 8.00 | /sbin | 9.2k - 9.3k |
FRITZ!Box 5690 Pro (main) | 7.62 | /sbin | 9.2k |
FRITZ!Box 6360 Cable | 4.85 - 6.51 | /sbin | 5.6k - 5.9k |
FRITZ!Box 6430 Cable (atom) | 6.84 - 7.29 | /sbin | 5.9k - 9.2k |
FRITZ!Box 6490 Cable (arm) | 6.51 | /sbin | 5.9k |
FRITZ!Box 6490 Cable (atom) | 6.20 - 7.51 | /sbin | 49 - 9.2k |
FRITZ!Box 6590 Cable (atom) | 6.83 - 7.51 | /sbin | 5.9k - 9.2k |
FRITZ!Box 6591 Cable (arm) | 7.04 - 7.08 | /sbin | 6.5k - 9.3k |
FRITZ!Box 6591 Cable (atom) | 7.04 - 8.00 | /sbin | 6.5k - 13.4k |
FRITZ!Box 6660 Cable (atom) | 7.14 - 8.00 | /sbin | 9.3k - 13.4k |
FRITZ!Box 6670 Cable (atom) | 7.61 - 7.90 | /sbin | 13.4k - 13.5k |
FRITZ!Box 6690 Cable (atom) | 7.28 - 7.90 | /sbin | 9.3k - 13.4k |
FRITZ!Box 6840 LTE (main) | 5.08 - 6.88 | /sbin | 6.6k - 7.3k |
FRITZ!Box 6842 LTE | /sbin | 6.6k - 7.0k | |
FRITZ!Box 6850 LTE | 7.21 - 7.90 | /sbin | 9.3k - 9.8k |
FRITZ!Box 6850 5G | 7.24 - 7.90 | /sbin | 9.3k |
FRITZ!Box 6890 LTE (main) | 6.84 - 7.57 | /sbin | 7.2k - 9.9k |
FRITZ!Box 6890 LTE v1 (main) | 6.84 - 7.57 | /sbin | 7.2k - 9.9k |
FRITZ!Box 6890 LTE v2 (main) | 6.84 - 7.57 | /sbin | 7.2k - 9.9k |
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 (main) | 5.55 - 6.88 | /sbin | 6.6k - 7.0k |
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 (main) | 5.53 - 7.18 | /sbin | 6.6k - 9.9k |
FRITZ!Box 7369 (main) | 6.30 - 6.32 | /sbin | 7.0k |
FRITZ!Box Fon WLAN 7390 | 4.81 - 5.22 | /sbin | 6.6k - 7.8k |
FRITZ!Box 7430 (main) | 6.26 - 7.31 | /sbin | 6.6k - 9.9k |
FRITZ!Box 7490 (main) | 5.57 - 7.51 | /sbin | 6.6k - 9.9k |
FRITZ!Box 7510 | 7.30 - 8.00 | /sbin | 9.2k - 9.3k |
FRITZ!Box 7520 | 6.98 - 8.00 | /sbin | 5.7k - 9.3k |
FRITZ!Box 7520 v2 (main) | 7.30 - 8.00 | /sbin | 9.3k |
FRITZ!Box 7530 | 6.98 - 8.00 | /sbin | 5.7k - 9.3k |
FRITZ!Box 7530 AX | 7.20 - 8.00 | /sbin | 9.5k |
FRITZ!Box 7560 (main) | 6.51 - 7.30 | /sbin | 7.2k - 9.9k |
FRITZ!Box Fon WLAN 7570 vDSL | 4.90 - 4.92 | /sbin | 7.2k |
FRITZ!Box 7580 (main) | 6.53 - 7.30 | /sbin | 7.2k - 9.9k |
FRITZ!Box 7581 | 6.54 - 7.18 | /sbin | 5.7k - 9.5k |
FRITZ!Box 7582 | 6.83 - 7.18 | /sbin | 5.7k - 9.5k |
FRITZ!Box 7583 (main) | 7.01 - 7.59 | /sbin | 7.2k - 9.9k |
FRITZ!Box 7583 VDSL (main) | 7.19 - 8.00 | /sbin | 9.8k |
FRITZ!Box 7590 (main) | 6.83 - 8.00 | /sbin | 7.2k - 9.9k |
FRITZ!Box 7590 AX (main) | 7.19 - 8.00 | /sbin | 9.8k |
FRITZ!Box 7690 | 7.61 - 7.90 | /sbin | 9.2k - 9.3k |
Speedport W 504V MK | 5.04 | /sbin | 7.5k |
68 models use this command |
Symbols
Daily updated index of all symbols of this command. Last update: 2024-12-21 07:44 GMT.
Firmware | Symbol |
---|---|
4.80 - 8.00 | createConfig |
4.80 - 8.00 | hex2byte |
4.80 - 8.00 | i32toStream |
4.80 - 8.00 | main |
4.80 - 8.00 | sendConfig |
5 symbols for this command |