
Appendix B – Detailed Examples
Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
57
Using the TCP/IP Stack as a PPP Server in GSM Mode
This example shows how to authenticate a remote PPP client and assign it an IP address through a GSM call.
Description:
A user may want to use a standard PPP client (like MS Dial-up Networking) to access the modem
directly. In this case, the user must configure his or her computer (equipped with a modem) with the
phone number related to the device, instead of the one of a standard ISP.
Once authenticated, a direct PPP link is opened between the modem and the remote computer.
Notes:
•
Active feature in GSM and not in GPRS mode.
•
The embedded PPP server allows the PPP negotiation in the PAP mode only (different from the PPP
client mode with the PAP or CHAP negotiation).
Configuration:
PPP server
activation
When this parameter is set to 1, the modem behaves as a PPP server when an incoming call is
received. For specific requirements, it is also possible to configure the modem as a PPP Server
only (4) or as PPP server when initiating a call (2).
AT#PPPMODE
PPP server
authentication
Defines the login / password required to access the modem internal PPP server. The user must
specify these values when creating the PPP client on his computer (like for a standard ISP).
AT#PPPSERVUN, PPPSERVPW
PPP server IP
address
Once the negotiation is successfully completed, this IP address will be the one assigned to the
modem internal PPP server.
This IP address must be on the same IP network as the PPPPEERIP.
AT#PPPMYIP
PPP client IP
address
Once the negotiation is successfully completed, this IP address will be the one assigned to the
remote PPP client.
This IP address must be on the same IP network as the PPPMYIP
AT#PPPPEERIP
Operation:
Negotiation
Once the call is accepted and the modem modulation negotiation is successful, the modem
automatically behaves as a PPP server.
The ‘Ok_Info_Ppp’ message indicates that the IP link is up.
A ‘#CME ERROR: 37121 or ‘#CME ERROR: 38981 message (or a ‘NO CARRIER’) means that
the PPP negotiation has failed. This can be due to:
•
Incorrect authentication parameters
•
The PPP client doesn't accept the IP address provided by the modem.
•
The PPP client doesn't support the basic set of PPP options managed by the modem.
Troubleshooting:
PPP Error
On the PPP entry on the remote PC the following points must be checked:
•
Valid username, password
•
The IP address must be attributed by the remote PPP server
•
LCP options must be disabled into the dial up configuration
Other AT# Parameters:
PPPMODE – PPPMYIP – PPPPEERIP – PPPSERVPW – PPPSERVUN - ANSWERMODE