Administrator Guide

Table Of Contents
123.123.123.022, ACC&Right($FIP,3) results in a value of ACC022. Using system variables makes it easier to manage groups of
devices that require a unique terminal name or default user.
The following are the ThinOS system variables:
Table 14. ThinOS system variables
Variable Description
$IP IP address
$IPOCT4
The fourth octet of IP Address. For example, if IP is 10.151.120.15, the value is 15.
$UN
Sign-on username
$DN
Sign-on domain name
$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 the Wyse Management Suite server. After the thin client
checks in to the Wyse Management Suite server, check the terminal name in GUI, and
the terminal name is changed to 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 if you
want to use $DHCP(166)/ $DHCP(167).
$MAC MAC address
$CMAC MAC address with colon
$UMAC MAC address with uppercase letters is used.
$TN Terminal name
$SUBNET Subnet notation, the format is {network_address}_{network_mask_bits} For example, if
the ip address is 10.151.120.15, network mask is 255.255.255.0, 10.151.120.0_24 is used.
$FIP IP Address with xxx.xxx.xxx.xxx, for example,123.123.123.022
$SN Serial number
$VN Version number
Right($xx, i) or and Left($xx, i) Specifies that the variable is to be read from left or right. The $xx is any of above
parameters and the parameter i specifies the digits for the offset of right or left.
42 Getting started with ThinOS 9.1