Reference Guide

Option Value
$UN Sign-on name used.
$PW Sign-on password used.
$DN Sign-on domain name used.
$FIP IP address used in fixed format with 3 digits between separators,
for example, 010.020.030.040.ini. Using it along with the left/right
modifier helps to define policy for subnet.
For example, include=&Left($FIP,11).ini is specified to include file
010.020.030.ini for subnet 010.020.030.xxx.
$WPUN PEAP/MSCHAPv2 username used (802.1x dependent).
$WPPW PEAP/MSCHAPv2 password used (802.1x dependent).
$WPDN PEAP/MSCHAPv2 domain used (802.1x dependent).
$DHCP (extra_dhcp_option) Extra DHCP options for Windows CE unit, including 169, 140, 141,
166, 167. For example, set a string test169 for option tag 169 in
DHCP server, and set TerminalName=$DHCP(169) in wnos.ini.
Check terminal name in GUI, and the terminal name will be test169.
166 and 167 is default for CCM MQTT Server and CCM CA
Validation in ThinOS. So you need to remap the options from GUI
or INI if you want to use $DHCP(166) and/or $DHCP(167).
$SUBNET Specifies Subnet notation. The format is
{network_address}_{network_mask_bits}. For example, if the IP
address is 10.151.120.15, and the network mask is 255.255.255.0,
then 10.151.120.0_24 is used.
&Right($xx, i) or &Left($xx, i)
Specifies whether the variable is to be read from left or right. The
$xx is any of the above parameters. The parameter i specifies left
or right offset digits.
The combinations of all the above variables, such as
CTX&Right($IP,4)@&Left($UN,3) are supported. A replacement
$SYS_VAR is used if the statements or parameters support.
ThinOS password and encryption character length
limitation
AES–256 encryption tool limitation
The AES–256 encryption tool is embedded in the ThinOS admin mode menu. This tool can be enabled by using the INI parameter
AdminMode=yes ShowAESButton=yes. Using this tool, you can encrypt the username and password into encrypted strings.
The following table describes the Input string length and generated encrypted string length limitations:
Input string length
Generated AES encrypted string length
<16 32
<32 64
<48 96
<64 128
<80 160
<96 192
<112 224
<=127 256
8 Getting Started: Learning INI File Basics