User's Manual

CHAPTER3
UsingTerminalCommands
34
42914 GPRSCONNINT 900 0
#
GPRSDNS
D
ESCRIPTION Sets/returns the IP address of the GPRS network operator’s DNS
servers.
Note: You can enter two different DNS servers that are indexed. If the first
DNS server is unreachable, the second one will be contacted.
PARAMETERS None or the IP address followed by the index of the DNS server.
REMARKS GET/SET.
RETURNS If no parameter was entered, the set DNS server IPs are returned.
Otherwise the error code of the operation is shown.
REMOTE No.
EXAMPLE # GPRSDNS "172.17.4.89" 0
42914 GPRSDNS 0
#
# GPRSDNS "172.17.4.90" 1
42914 GPRSDNS 0
#
# GPRSDNS
42914 GPRSDNS
0 172.17.4.89
1 172.17.4.90
0
#
GPRSPING
D
ESCRIPTION Pins a specific host.
Note: You can enter two different DNS servers that are indexed. If the first
DNS server is unreachable, the second one will be contacted.
PARAMETERS The hosts IP the ping count (Range:1 -10), and the ping timeout
(Range: 1 -10).
REMARKS SET only.
The command works only if no GPRS connection has been established.
RETURNS Nothing if failed or the ping number, IP, and response time.
REMOTE No.
EXAMPLE # GPRSPING "172.17.5.99" 3 5
42914 GPRSPING
1: 172.17.5.99 833ms
2: 172.17.5.99 445ms