Gemtek Systems P-560 User Manual page 37

54mb hotspot-in-a-box
Table of Contents

Advertisement

User's Guide
Failed to logoff
Cannot resolve IP
Unknown logoff error
3. Remote user status
Script name: ppstatus.user
Parameters:
secret
ip
username
All parameters are required.
Script call example:
https://P560/ppstatus.user?secret=sharedSecret&username=UserName&ip=<user_I
P_address>
Script produces XML output:
XML output, when some error occurs:
<ppstatus>
<status>No user by IP</status>
<error>122</error>
<description>User with supplied IP address not found.</description>
</ppstatus>
Response statuses and error codes:
status
OK
Not checked
No IP
No username
Disabled
Bad secret
No user by IP
No user by IP and username
XML output when no errors and user statistics got successfully:
<ppstatus>
<status>Ok</status>
<error>0</error>
<description>Got user status.</description>
<entry id="1">g17</entry>
<entry id="2">192.168.2.117</entry>
<entry id="3">200347C92B63</entry>
<entry id="4">00:00:05</entry>
Gemtek Systems
131
132
140
shared secret, to protect page from accidental use
IP address of user to get status.
Username of the user to get status.
error
0
100
101
102
103
104
122
141
Chapter 4 – User Pages
Failed to logoff user.
Cannot resolve user IP.
Unknown logoff error.
description
User status is ok.
Status information not checked.
No user IP address supplied.
No username supplied.
Remote authentication is disabled.
Incorrect shared secret supplied
User with supplied IP address not
found.
User with supplied IP address and
username not found.
Page 37

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the P-560 and is the answer not in the manual?

Table of Contents