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:nas (chipcmd)

From BoxMatrix


BoxMatrix >> Shell-Commands >> nas (chipcmd) @ 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

Info
  
Name-Collision - multiple objects in this wiki use the name nas!
nas (chipcmd) Broadcom WLAN Network Authentication Server.
nas (process) Process running nas

Chipset-Command

Goto:   Source  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

nas is the Broadcom WLAN Network Authentication Server. It is the WPA authenticator and is started by wlmngr2.
There's an alias nas4not which calls the same binary, just intended for WDS link authentication.

The source of nas could not be located on the GPL-Browser but there's some older source on Github.
Excerpt from its README:

NAS is a minimal VxWorks and Linux compatible Network Authentication
Server that implements 802.1X port authentication (RADIUS only) and
Wi-Fi Protected Access (WPA) for 802.11 networks (Broadcom drivers only).

The FRITZ!OS build of nas does not provide any help function, but the optarg string is
B:g:h:i:I:k:r:K:l:m:N:p:s:t:v:w:d:ADSF. Collected from the nas_wksp.c source linked above:

Usage: nas [options]

  -i <interface>       Wireless interface name
  -A                   NAS in Authenticator mode
  -S                   NAS in Supplicant mode
  -g <interval>        WPA GTK rotation interval (ms)
  -h <address>         RADIUS server IP address
  -p <port>            RADIUS server UDP port
  -k <secret>          WPA pre-shared key
  -r <secret>          RADIUS server secret
  -m <authentication>  Authentication protocol - WPA | WPA_PSK | RADIUS | WPA2 | WPA2_PSK
  -s <SSID>            Service Set Identity
  -w <encryption>      Crypto algorithm - WEP | TKIP | AES
  -I <index>           WEP key index - 2 | 3
  -K <key>             WEP key
  -t <duration>        Radius Session timeout/PMK Caching duration (ms)
  -N <NasID>           NAS id
  -v <debug>           Verbose mode - 0:off | 1:console
  -D                   NAS in WDS mode
  -d                   Disable WPA2 preauth

The -i <interface> option must be present before any other per interface options 
to specify the wireless interface.
  

Source

The names of source files compiled into an executable often help to understand function blocks (and show gaps in the docs).
fw 7.17 source files:

$ strings /bin/nas | grep -e '\.c$' -e '\.cpp$'

/GU/WLAN_brcma9_build/broadcom/sdk/bcmdrivers/broadcom/net/wl/bcm963138//main/src/router/nas/wpa.c
/GU/WLAN_brcma9_build/broadcom/sdk/bcmdrivers/broadcom/net/wl/bcm963138//main/src/router/nas/nas.c
/GU/WLAN_brcma9_build/broadcom/sdk/bcmdrivers/broadcom/net/wl/bcm963138//main/src/router/nas/nas_linux.c
/GU/WLAN_brcma9_build/broadcom/sdk/bcmdrivers/broadcom/net/wl/bcm963138//main/src/router/nas/nas_wksp.c
/GU/WLAN_brcma9_build/broadcom/sdk/bcmdrivers/broadcom/net/wl/bcm963138//main/src/router/nas/nas_wksp_radius.c  

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-11-14 07:42 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
Symlinked by cmd nas4not 2 6.54 - 7.18 Broadcom WLAN WDS link authenticator. Broadcom
Runs as proc nas (process) 2* 6.85 - 7.17 Process running nas Broadcom
Serving port Port-38032-udp 2* 6.85 - 7.17 TODO AVM
Serving sock smd_messaging_server_addr 3* 6.85 - 7.39 TODO AVM
Depends on lib libavm_event.so 1 6.54 AVM-Events management API AVM
Depends on lib libbacktrace.so 2 6.98 - 7.18 Crash handler and logger AVM
Depends on lib libc.so 2 6.54 - 7.18 Standard C library Linux
Depends on lib libgcc_s.so 2 6.54 - 7.18 GCC low-level runtime library Linux
Depends on lib libnvram.so 2 6.54 - 7.18 Broadcom persistent storage of [WLAN] configuration Broadcom
Depends on lib libwlbcmcrypto.so 2 6.54 - 7.18 Broadcom cryptography for WLAN Broadcom
Depends on lib libwlbcmshared.so 2 6.54 - 7.18 Broadcom shared functions for WLAN Broadcom
Depends on lib libwlcsm.so 2 6.54 - 7.18 Broadcom WLAN Configuration and Statics Module API. Broadcom
12 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-11-14 05:50 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 7581 6.54 - 7.18 /bin 47.4k - 112k
FRITZ!Box 7582 6.83 - 7.18 /bin 48.2k - 61.5k
2 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-11-14 07:42 GMT.

Firmware Symbol
0 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.