Chapter 2 — Conguring the PB51
34 PB51 Mobile Label and Receipt Printer User’s Guide
To congure the printer to use WEP authentication
1 Send the following commands to login as an admin an d set the
SSID:
run"su -p pass admin"
setup write "wlan","uart1:"
setup "wlan","SSID",
"xxxxx
"
where xxxxx can be from 0 to 32 ASCII characters, not includin g
the double quote.
2 Send the following commands to congure the WEP ke ys. The
following example sets WEP key 1 to 1234 and enables WEP key 1.
setup "wlan","WEP1","0x0001020304"
setup "wlan",".WEP_KEY","1"
setup "wlan","ACTIVE","1"
setup write "wlan","uart1:"
To congure the printer to use WPA-PSK or WPA2-PSK mode
1 Send the following commands to login as an admin an d 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 the following WPA/WPA2 ON commands to t urn on
WPA or WPA2 authentication. Send the WPA-PSK or WPA 2-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 congure the PB51 to use WPA or WPA2 Enterprise mode
1 Send the following commands to login as an admin an d set the
SSID: