wlan.security
wlan.security

wlan.security

This printer setting allows you to specify both the wireless encryption type and authentication type in one command.
The supporting parameters that are required vary based on the security type that you select. See Supporting SGDs for Different Security Types on page 3 for instructions for each security type.
When using certificate files, Zebra printers support:
  • using Privacy Enhanced Mail (PEM) formatted certificate files.
  • using the client certificate and private key as two files, each downloaded separately.
  • using exportable PAC files for EAP-FAST.
These certificate files can only be sent using ZPL, not SGD. The ZPL command to use when sending these certificate files is the
~DY
command.
Configuring the printer for WPA also allows the printer to be used in WPA2 environments.
When using certificate files, the time on the printer must be set correctly for the websocket connection to succeed, as the time is used in the certificate validation.

Setvar

To set the wireless security value:
! U1 setvar "wlan.security" "value"
Values
  • "1"
    No wireless security or
    "none"
  • "2"
    WEP 40-bit or
    "wep 40-bit"
  • "3"
    WEP 128-bit or
    "wep 128-bit"
  • "4"
    EAP-TLS or
    "eap-tls"
  • "5"
    EAP-TTLS or
    "eap-ttls"
  • "6"
    EAP-FAST or
    "eap-fast"
  • "7"
    PEAP or
    "peap"
  • "8"
    LEAP or
    "leap"
  • "9"
    WPA PSK or
    "wpa psk"
    (Key rotation for WPA2 PSK is supported in firmware versions V53.15.8Z , V60.15.8Z, and later.)
  • "10"
    WPA EAP-TLS or
    "wpa eap-tls"
  • "11"
    WPA EAP-TTLS or
    "wpa eap-ttls"
  • "12"
    WPA EAP-FAST or
    "wpa eap-fast"
  • "13"
    WPA PEAP or
    "wpa peap"
  • "14"
    WPA LEAP or
    "wpa leap"
  • "15"
    Kerberos or
    "kerberos"
Default
"1"

Getvar

To return the name and not the type:
! U1 getvar "wlan.security" "value"
If an invalid security mode is entered the printer returns
"Invalid Mode"
.
Examples
This
setvar
example shows the value set to
"1"
.
! U1 setvar "wlan.security" "1"
When the
setvar
value is set to
"1"
, the
getvar
result is
"none"
.