Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 24 of 25

Maximus Reference Manual: GSM/GPRS Setup

Pages 199 to 206 of 214, from Maximus Reference Manual

The original document is the PDF (18 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Ceridian MXS2100 and Accu-Time MXS2100

Page 199

GSM/GPRS Setup

D Appendix

About this Appendix This Appendix describes details about setting up a GSM/GPRS Modem.

Appendix Contents This Appendix contains the following topics: Introduction ..................................................................................................................... D-2 Hardware .............................................................................................................. D-2 Software ............................................................................................................... D-2 Manually Configuring a GSM Terminal ............................................................................. D-4 Enable PPP ............................................................................................................ D-4 Set up a Provider Peer Configuration File ............................................................... D-4 Set up a New Provider ........................................................................................... D-5 Creating a Peer File ............................................................................................... D-5 Editing the PPP Password File ................................................................................ D-6 Editing a Chat File ................................................................................................. D-7 Communication Speed .......................................................................................... D-7 Verifying Wireless Connectivity ........................................................................................ D-8

MANU-MAXIMUS-02 Revision-02

Maximus Reference Manual

D-1

Page 200

Introduction

Appendix D: GSM/GPRS Setup

Introduction This Appendix describes to ATS VARs how to set up a GSM modem on Global series terminals. Currently, GSM modems are available for use with T-Mobile in the USA and a variety of carriers in Europe and Asia, including O2. Check with your strategic account manager (SAM) for the latest list of carriers supported.

Hardware Using a GSM modem on a Global terminal requires these items: •

SIM card (subscriber identity module) enabled for use with a supported carrier at GPRS modem speeds (approximately 50 kbps – faster speeds are unsupported)

•

Antenna to plug into the GSM modem

•

GSM modem that plugs into the terminal’s serial port

Installing the Hardware Install the hardware: 1.

Insert the SIM into the socket in the GSM modem.

2.

Open the terminal and plug the GSM modem into the serial connection.

3.

Feed the antenna cable from the outside of the terminal case through the antenna hole into the interior of the terminal case.

4.

Plug the antenna cable into the receptacle on the GSM modem board.

5.

Secure the antenna on the outside of the terminal case using double-sided tape.

6.

Close the terminal.

Software GSM modems require version 2.03 or later of the ATS operating system (UCS, Java, etc.). After you make sure that version 2.03 is installed, configure the terminal for use with the GSM modem.

Using the Setup Menu on the Terminal If the terminal is preconfigured with your wireless service provider, you can select PPP and the provider using the terminal’s menus. To select a terminal’s menu mode, press the Clear and Enter keys together on a terminal’s keypad. (For more information on Setup Mode and Test Mode, see the terminal’s datastation manual or user guide.)

D-2

1.

Enable Ethernet instead of serial communication.

2.

Enable PPP.

Maximus Reference Manual

MANU-MAXIMUS-02 Revision-02

Page 201

Appendix D: GSM/GPRS Setup

3.

Introduction

Select your wireless service provider in the Provider or Service Provider menu.

The host computer needs to have an Internet-facing IP address and any firewall needs to permit communication on the port selected for the terminal, which is 2500 by default. 4.

MANU-MAXIMUS-02 Revision-02

Set the Host IP to the IP address of the host computer with which your terminal will communicate.

Maximus Reference Manual

D-3

Page 202

Manually Configuring a GSM Terminal

Appendix D: GSM/GPRS Setup

Manually Configuring a GSM Terminal If your provider is not preconfigured in the terminal, you must configure the GSM terminal. •

Enable PPP

•

Set up a provider peer configuration file

•

Set up provider authentication

Enable PPP PPP can be selected from the terminal’s setup menu as well as enabled at the command-line level. The underlying networking system that manages a cellular data connection is the Point-toPoint Protocol (PPP). This system handles connection dialing, authentication, data rate negotiation, and the core data exchange process. The PPP system needs some basic information in order to interact with the hardware and communicate with the end server. This information is stored in peer files and chat scripts in these directories on your terminal: •

/etc/ppp/peers

•

/etc/ppp directories

To enable PPP, log on to the terminal and use the following command: / # echo pppEnabled = 1 > /dev/atsconfig To disable PPP, log on to the terminal and use the following command: / # echo pppEnabled = 0 > /dev/atsconfig You can also enable and disable PPP using the setup menu on the terminal.

Set up a Provider Peer Configuration File When PPP is enabled it automatically loads the peer configuration file located in the /etc/ppp/ peers/peer directory. This file is actually just a symbolic link pointing to the intended PPP peer. To configure the PPP for a new service provider, modify by modifying this link. For example, to set up a clock to use T-Mobile as the provider we see the following in our peers directory, go to the peers directory: / # cd /etc/ppp/peers Then, run the –sf option to the ln (link command) that identifies T-Mobile as the provider. Note that you can also set the provider using the Setup Menu on the terminal. /etc/ppp/peers # ln -sf t-mobile peer

D-4

Maximus Reference Manual

MANU-MAXIMUS-02 Revision-02

Page 203

Appendix D: GSM/GPRS Setup

Manually Configuring a GSM Terminal

If you list the peer configurations, notice that T-Mobile is set as the current provider but other links are defined. For example, in this case ATT could be set as the provider by using the –sf switch because a link for ATT is defined. /etc/ppp/peers # ls -l -rw-r--r-- 1 500 500 215 Jan 12 21:16 att -rw-r--r-- 1 500 500 198 Jan 12 21:16 o2 lrwxrwxrwx 1 root root 8 Feb 3 20:23 peer -> t-mobile -rw-r--r-- 1 500 500 195 Jan 12 21:16 proximus -rw-r--r-- 1 500 500 202 Jan 12 21:16 t-mobile -rw-r--r-- 1 500 500 207 Jan 12 21:16 t-mobile-uk

Set up a New Provider If the provider you want isn’t already a link, you can set up the new provider. There are three components that make up a complete provider configuration: the peer file, the chat script, and the authentication information. In order to create these files you will need to obtain this essential information from your service provider: •

Username and password

•

Connection endpoint or access point name (APN)

•

Frequency band of operation

Then, you will need to create and modify three files: •

Peer file

•

PPP password file

•

Chat file

Creating a Peer File Peer files are in the /etc/ppp/peers directory. Copy an existing one then modify the first two lines to create a new peer file. •

Modify the first line to set the username, such as “t-mobile.”

•

Modify the second line to use the name of your new chat script.

/etc/ppp/peers # cat nameofpeerfile user "enter-a-username-here" connect "/usr/sbin/chat -v -f /etc/ppp/connect-yourchatfilename" /dev/ttyS2 115200 persist maxfail 0

MANU-MAXIMUS-02 Revision-02

Maximus Reference Manual

D-5

Page 204

Manually Configuring a GSM Terminal

Appendix D: GSM/GPRS Setup modem #noipdefault usepeerdns defaultroute ipcp-accept-local ipcp-accept-remote lock crtscts debug

Editing the PPP Password File The PPP password file is found here: /etc/ppp/pap-secrets. Open and modify this file to include the username and password combination you want for your connection. The username is the same one you set in the first line of the peer file. /etc/ppp # cat pap-secrets # Secrets for authentication using PAP # client server secret IP addresses * * "" * "tm" * "tm"* "user" * "one2one" * "isp@cingulargprs.com" "CINGULAR1" * "mobileweb" *"password"* "enter-a-username-here" * "enter-password" *

D-6

Maximus Reference Manual

MANU-MAXIMUS-02 Revision-02

Page 205

Appendix D: GSM/GPRS Setup

Manually Configuring a GSM Terminal

Editing a Chat File The chat files are found here: /etc/ppp. Open and modify an existing chat file. You need to provide the endpoint information, or access point name (APN), which is provided by your service provider, as well as the frequency of the signal. •

The endpoint is placed in the second set of quotes in the AT+CGDCONT command. In this case, the endpoint begins with wap but does not have to.

•

Frequency is set in the AT+WMBS command based on the provider frequency. •

A value of 850MHz or 1900MHz requires you enter 4,1

•

900MHz or 1800MHz requires you enter 5,1

/etc/ppp # cat connect-yourchatfilename ABORT 'BUSY' ABORT 'NO CARRIER' ABORT 'ERROR' "" ATV1 OK AT+WOPEN=0 OK AT+WMBS=5,1 OK AT+CGDCONT=1,"IP","wap.endpoint.somewhere" OK ATD*99***1# CONNECT ""

Communication Speed It takes about one second to transmit one line of an ATS UCS download. You can speed up your transmission of downloads by compacting the download. Compact downloads have these features: •

Up to 1500 characters in one line

•

Each command must begin with this string (where ➲ is a group separator) •

•

Each command must end with a record separator (where ^ is a record separator) •

MANU-MAXIMUS-02 Revision-02

\A!➲

\A!➲ON00A^

•

Each line up to 1500 characters must end with an end-of-transmission character (where EOT represents that end-of-transmission character)

•

Use of EOT must be enabled in the terminal’s Setup menu

Maximus Reference Manual

D-7

Page 206

Verifying Wireless Connectivity

Appendix D: GSM/GPRS Setup

Verifying Wireless Connectivity To verify wireless connectivity, use the setup menu on the terminal to test for signal strength. This tells you how strong the wireless signal is for the terminal in its current location. Signal strength needs to be a value of 10 or higher for connectivity and better connectivity - 15 or higher - is required for troubleshooting connections. To test for signal strength and wireless connectivity:

NOTE:

D-8

1.

Make sure PPP is enabled for the terminal.

2.

Make sure a configured provider has been selected for the terminal.

You do not need to install a SIM card to test signal strength. A SIM card can be installed later for communication. 3.

Select Test Mode on the terminal.

4.

In Test Mode, select GSM Signal Strength. GSM Signal Strength displays a number, from 0 to 32, that displays the signal strength of the wireless connection with the terminal’s antenna in its current location.

5.

Move the antenna (and the terminal, if necessary) to achieve a signal strength of at least 10. If you are going to troubleshoot a connection, a signal strength of at least 15 is required.

Maximus Reference Manual

MANU-MAXIMUS-02 Revision-02