Chapter 2 — Configuring the PB21 and PB31
40 PB21 and PB31 Mobile Receipt Printer User Guide
To configure the printer to use WPA-PSK or WPA2-PSK mode
1 Send these commands to login as an admin and set the SSID:
run"su-p pass admin"
setup write "wlan","uart1:"
setup "wlan","SSID","xxxxx"
where xxxxx can be from 0 to 32 alphanumeric characters.
2 Send one of these WPA/WPA2 ON commands to turn on WPA or
WPA2 authentication. Send the WPA-PSK or WPA2-PSK
command to set a pre-shared key:
setup "wlan","WPA","ON"
setup "wlan","WPA2","ON"
setup "wlan","WPA_PSK","xxxxxxxxxx"
setup "wlan","ACTIVE","1"
setup write "wlan","uart1:"
where xxxxxxxxxx is a value between 8 and 64 characters.
To configure the printer to use WPA or WPA2 Enterprise mode
1 Send these commands to login as an admin and set the SSID:
run"su-p pass admin"
setup write "wlan","uart1:"
setup "wlan","SSID","xxxxx"
where xxxxx can be from 0 to 32 alphanumeric characters.
2 Send one of these WPA/WPA2 ON commands to set up WPA-
802.1x or WPA2-802.1x authentication. You should also send the
WPA_PSK command that does not contain a value:
setup "wlan","WPA","ON"
setup "wlan","WPA2","ON"
setup "wlan","WPA_PSK",""
setup write "wlan","uart1:"
3 To view the 802.1x values, send this command:
setup write "8021x","uart1:"