Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN...

34
Configuring a GSM (3G) modem on a GW2040 Series Router Issue 1.5 Date 10 May 2012

Transcript of Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN...

Page 1: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

Configuring a GSM (3G) modem on a GW2040 Series Router

Issue 1.5

Date 10 May 2012

Page 2: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

Table of contents

Copyright 2011 Virtual Access (Irl) Ltd. This material is protected by copyright. No part of this material may be reproduced, distributed, or altered without the written consent of Virtual Access. All rights reserved. Third party trademarks are the property of the third parties. Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 2 of 34

1 About this document ............................................................................... 3

1.1 Scope ..................................................................................................... 3

1.2 Readership ............................................................................................. 3

1.3 More information .................................................................................... 3

1.3.1 Assigned interface number ...................................................................... 3

1.3.2 References to GSM (3G) .......................................................................... 3

1.4 Terminology ........................................................................................... 3

1.5 Prerequisites .......................................................................................... 3

1.5.1 Inserting the SIM card ............................................................................ 3

1.5.2 Internet Service Provider details ............................................................... 4

2 Introduction ............................................................................................ 5

2.1 3G overview ........................................................................................... 5

2.2 Typical uses of the GSM (3G) modem ..................................................... 5

2.3 Types of data bearers that the GSM (3G) modem supports .................... 6

2.3.1 GPRS .................................................................................................... 6

2.3.2 HSDPA .................................................................................................. 6

2.3.3 HSUPA .................................................................................................. 6

2.3.4 UMTS .................................................................................................... 6

2.3.5 Edge ..................................................................................................... 6

3 Configuring the GW2040 series ............................................................... 7

4 Setting up the GSM (3G) modem for a primary WAN link ........................ 8

4.1 PPP layer structure ................................................................................ 8

4.2 Configuring the GW2040 series to use the GSM (3G) modem interface .. 8

4.2.1 Configure the GSM (3G) modem and APN .................................................. 9

4.2.2 Configure the IP default route .................................................................10

4.2.3 Configure the PPP interface .....................................................................12

4.2.4 Configure the IP interface .......................................................................13

4.2.5 Configure address translation ..................................................................15

4.2.6 Configure IPCP options ...........................................................................15

4.2.7 Select asynchronous PPP operation ..........................................................19

4.2.8 Configure 3G Username and Password .....................................................20

4.2.9 Set dialling options for GSM only .............................................................24

4.2.10 Configure the modem interface ...............................................................25

4.2.11 Save the configuration ...........................................................................26

4.2.12 Reload the configuration .........................................................................27

5 Performing GSM (3G) monitoring and diagnostics ................................. 28

5.1 View the connection monitor ................................................................ 28

5.1.1 Call history ...........................................................................................28

5.1.2 Active data connections ..........................................................................30

5.1.3 Trace analyzer ......................................................................................30

5.1.4 Modem statistics and signal quality ..........................................................33

Page 3: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

1: About this document

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 3 of 34

1 About this document

1.1 Scope

This configuration guide explains how to set up and configure a primary link using the

GSM (3G) modem on a GW2040 Series router.

1.2 Readership

This document is for engineers who have previous experience configuring and managing

GW Series routers.

1.3 More information

1.3.1 Assigned interface number

Throughout this guide we have used ppp-2 as the assigned interface number. You can

configure any PPP interface number for connections. For example, ppp-1 could be

substituted for each ppp-2 task covered in this document.

1.3.2 References to GSM (3G)

The GW2040 web interface refers to GSM, not 3G, so screen grabs of the web interface

will vary.

1.4 Terminology

Abbreviation Description

APN Access Point Name

GSM Global System for Mobile communications

HSDPA High-Speed Downlink Packet Access

UMTS Universal Mobile Telecommunications System EDGE Enhanced Data rates for GSM Evolution

1.5 Prerequisites

1.5.1 Inserting the SIM card

Ensure the unit is powered off.

Hold the SIM card with the chip side facing down and the cut corner top left.

Gently push the SIM card into SIM slot 1 until it clicks in.

To remove the SIM card, gently push the SIM card. The card will click out.

WARNING

The SIM card MUST be inserted into the SMG before the unit is powered on.

Page 4: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

1: About this document

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 4 of 34

Do not insert or remove the SIM card after the unit has been powered on.

1.5.2 Internet Service Provider details

Before you configure the GSM (3G) modem, check with your Internet Service Provider for

the following information:

Number

Username and password

PIN

PUK, and

Access Point Name

Page 5: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

2: Introduction

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 5 of 34

2 Introduction

2.1 3G overview

3G is the third generation of mobile phone standards and technology. It is based on the

International Telecommunication Union (ITU) family of standards under the International

Mobile Telecommunications programme, IMT-2000.

3G technologies enable network operators to offer users a wider range of more advanced

services while achieving greater network capacity through improved spectral efficiency.

Services include wide-area wireless voice telephony, video calls, and broadband wireless

data, all in a mobile environment.

The GW2040 Series router contains a GSM (Global System for Mobile communications)

3G wireless modem. The modem in connection with a SIM card establishes a WAN

connection to the Internet.

The GW2040 Series router supports a maximum download speed of 7.2 Mbps and a

maximum upload speed of 384 kbps.

2.2 Typical uses of the GSM (3G) modem

You can use the GSM (3G) modem on the GW2040 Series in two ways.

You can create a primary WAN link over the GSM (3G) modem.

Figure 1: A primary WAN link over the 3G modem

You can use the GSM (3G) modem as a backup WAN link. If the primary interface

link fails, the GW2040 Series router uses its GSM (3G) modem to automatically

route traffic across the Internet via its alternative interface. This set up is not

covered in this document. For further information contact Virtual Access.

Page 6: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

2: Introduction

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 6 of 34

Figure 2: A primary link using the 3G modem on the GW2040 series router

2.3 Types of data bearers that the GSM (3G) modem supports

Data bearers are frame protocols that transport data streams. The GSM (3G) modem

supports GPRS, HSDPA, and CSD.

2.3.1 GPRS

GPRS (General Packet Radio Service) uses packet-switched technology to transmit small

bursts of data. The maximum data rate available to the 3G modem depends on

provisioning by the network operator.

2.3.2 HSDPA

HSDPA (High-Speed Downlink Packet Access) uses circuit-switched technology to

transmit data at speeds of up to 7.2Mbps.

2.3.3 HSUPA

HSUPA (High-Speed Uplink Packet Access) is a 3G mobile telephony protocol with up link

speeds of 5.76Mbps.

2.3.4 UMTS

UMTS (Universal Mobile Telecommunications System) is a 3rd generation technology

providing higher transfer rates.

2.3.5 Edge

Edge uses the same frequencies as GPRS but offers better speeds. It is used when the

signal strength for 3G is not sufficient.

Page 7: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

3: Configuring the

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 7 of 34

3 Configuring the GW2040 series

The GW2040 Series contains an internal web server that is used to configure the router.

Before you can access the internal web server and start the configuration, you must

ensure that your PC has the correct networking set up.

When your GW2040 Series router is correctly connected to your PC, type fast.start into

the URL line of your browser to display the start page. Alternatively, you can type in the

IP address of the gateway.

Figure 3: The GW2040 series web interface start page

If a login page appears type in the login password you received from your administrator.

If you have not received a password, contact the Virtual Access Support team.

Access the Fast Start Wizard by clicking the Fast.Start icon on the start page of the

embedded web.

The Fast Start Wizard will guide you through a series of forms that you must complete to

configure your GW2040 Series router.

Page 8: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

4: Setting up the GSM (3G) modem for a primary WAN link

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 8 of 34

4 Setting up the GSM (3G) modem for a primary WAN link

4.1 PPP layer structure

Figure 4 shows the PPP layer structure required to configure a primary WAN link.

Figure 4: PPP layer structure

4.2 Configuring the GW2040 series to use the GSM (3G) modem interface

To configure the GW2040 Series to use the GSM (3G) modem interface, follow the steps

in sections 4.2.1 to 4.2.10. You do not have to save each configuration until you have

updated all your settings. When you have completed all your configuration changes, you

must save the configuration as described in section 4.2.11.

Page 9: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

4: Setting up the GSM (3G) modem for a primary WAN link

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 9 of 34

4.2.1 Configure the GSM (3G) modem and APN

Set up the GSM (3G) modem for a primary WAN link in the Expert View of the Advanced

section of the web of the GW2040 Series router.

On the Start page, click Advanced.

In the Advanced menu, click Expert View.

In the Expert View menu, select interfaces -> modem-0 -> gsm. The Modem

Interface GSM page appears. Click Advanced to view advanced options.

Figure 5: The GSM on modem page

Set Access Point Name, PIN, PIN2, PUK, and PUK2 according to your ISP settings.

Field name Description Command line

APN (Access Point Name)

For GPRS operation only. An access point name is given by a network operator for connection into the GPRS network. Enter your service provider’s

Access Point Name (APN).

Set Modem Interface Gsm

Apn

PIN <SIM PIN number>. This may or may not be required, depending on SIM card type. Check with your service provider.

Set Modem Interface Gsm

Pin

PIN2 <SIM PIN2 number>. This may or

may not be required, depending on SIM card type. Check with your service provider.

Set Modem Interface Gsm

Pin2

PUK <SIM personal unlock key>. This may or may not be required, depending

on SIM card type. Check with your service provider.

Set Modem Interface Gsm

Puk

PUK2 <SIM personal unlock key 2>. This Set Modem Interface Gsm

Puk2

Page 10: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

4: Setting up the GSM (3G) modem for a primary WAN link

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 10 of 34

may or may not be required, depending

on SIM card type. Check with your service provider.

Radio Access Technology Mode

2G=GSM, 3G=UTMS, Auto sets to 3G. If there is no 3G access, radio access automatically defaults to 2G.

Set Radio Access to auto.

Set Modem Interface Gsm

Rat

Table 1: GSM on modem-0 fields, their descriptions and command lines

Click Update. The Configuration Update Result page appears. You do not have to save

your configurations until you have updated all your settings.

4.2.2 Configure the IP default route

In the Expert View menu, select system -> ip -> ip routing -> default routes list.

The IP Default Routes List page appears.

Figure 6: The IP default routes list page

In the Operation column, click add in the Index 1 row. The IP Default Routes Entry page

appears.

Page 11: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

4: Setting up the GSM (3G) modem for a primary WAN link

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 11 of 34

Figure 7: The IP default routes entry page

Field name Description Command line

Configured Enables or disables the default route.

Set Configured to Yes

Set Ip Route Default

Configured

Route Type Indicates whether the route type is over a numbered or unnumbered link. A numbered link is a link that

has been assigned an IP address.

Set Route Type to unnumbered.

Ip Route Default Indexed

Numbered

Numbered Route Next Hop IP

If you have set Route Type to numbered, enter the IP address, in dotted-decimal notation, of an adjacent router to which to send

traffic when a route to a destination is not known by the local device.

Ip Route Default Indexed

Next Hop Ip

Unnumbered Route Next Hop Interface

If you have set Route Type to unnumbered, select the interface

that provides a connection to the

next hop router. Set the Next Hop Interface to one of the options from the drop down list.

Ip Route Default Indexed

Next Hop Interface

Metric Defines the RIP metric for the route.

Minimum

Value

1

Default 1

Ip Route Default Indexed

Metric

Page 12: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

4: Setting up the GSM (3G) modem for a primary WAN link

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 12 of 34

Value

Maximum

Value

15

Units Unspecified

Last Resort Specifies that the route is to be used

only if all others are down. Usually used with a route that is slow or expensive, or both.

Ip Route Default Indexed

Last Resort

Table 2: The IP default route entry page fields, their descriptions and command lines

Click Update. The Configuration Update Result page appears.

4.2.3 Configure the PPP interface

The GSM (3G) modem uses the modem-0 interface, so you must configure ppp-2 to send

and receive data using the modem-0 interface.

In the Expert View menu, select interfaces -> ppp-2 -> wan interface. The PPP WAN

Interface page appears.

Figure 8: The WAN interface page

On the PPP WAN Interface on ppp-2 page, select Modem -0 from the Wan Interface

drop-down list.

Field name Description Command line

WAN Interface Defines the connection type on the PPP WAN interface.

Ppp Interface Wan

Interface

Table 3: The PPP WAN interface field, its description and command line

Click Update. The Configuration Update Result page appears.

Page 13: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

4: Setting up the GSM (3G) modem for a primary WAN link

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 13 of 34

4.2.4 Configure the IP interface

To configure the IP interface, in the Expert View menu, select interfaces -> ppp-2 ->

ip -> ip. The IP Interface page appears.

Figure 9: The IP interface on ppp-2 page

Field name Description Command line

Enabled Enables or disables IP operation on the selected interface.

Set to yes.

Set Ip Interface Enabled

Type Select one of the following options to define the point to point link associated with the PPP interface as

operating in unnumbered IP mode or numbered IP mode.

numbered Configures an IP point to point link for numbered

operation. Default.

unnumbered Configures an IP point to point link for numberless or unnumbered operation.

Note: when an interface is defined as

unnumbered, the IP Address field for the interfaces(s) must be set to 0.0.0.0.

Set to unnumbered.

Set Ip Interface

Unnumbered Link Enabled

IP Address Enter the IP address, in dotted decimal notation, to be assigned to the selected interface.

This field and the Mask provide the

Set Ip Interface Address

Page 14: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

4: Setting up the GSM (3G) modem for a primary WAN link

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 14 of 34

network and host identification.

This configuration change does not take effect until the device reboots. Note: When the interface is defined as

unnumbered, this field must be set to 0.0.0.0

Set IP Address to 0.0.0.0.

Mask Enter the subnet mask, in dotted decimal notation, to be assigned to

the selected interface. The subnet mask is used to determine the network and host ID from the IP address and is based on the network class.

Set Mask to 255. 255. 255. 0.

Set Ip Interface Address

Mask

Remote IP

Address

Enter the IP address of the peer at the

opposite end of the point to point link associated with the selected interface. The IP router process establishes a host route to the end point of each point to point link based on the

remote address.

Remote IP Address to 0.0.0.0.

Set Ip Interface Remote

Address

Remote Mask Specify the subnetwork mask, in dotted decimal notation, to be associated with the remote end point

of an unnumbered IP link.

Remote Mask to 255.255.255.0

Set Ip Interface Remote

Mask

MTU Enter the size, in bytes, of the largest IP datagram that can be sent by the selected interface. The MTU value

includes the data link header, IP

header, and IP data field.

Minimum Value

64

Default

Value

1500

Maximum Value

1500

Units Bytes

Set MTU to 1500

Set Ip Interface Mtu

BOOTP enabled This option is used to enable or disable BOOTP on the selected interface.

yes Enables BOOTP

no Disables BOOTP

Set BOOT enabled to no.

Set Ip Interface Bootp

Enabled

Table 4: The IP interface on ppp-2 fields, their descriptions and command lines

Click Update. The Configuration Update Result page appears.

Page 15: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

4: Setting up the GSM (3G) modem for a primary WAN link

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 15 of 34

4.2.5 Configure address translation

In the Expert View menu, select interfaces -> ppp-2 -> ip -> address translation ->

outgoing. The Outgoing Address Translation page appears.

Figure 10: The outgoing address translation page

Field name Description Command line

Enabled Enables or disables the translation of outgoing IP datagrams on this

interface.

Yes Enables translation of outgoing IP datagrams on the selected interface.

no Disables translation of

outgoing IP datagrams on the selected interface.

Ip Address Translation

Interface Enabled

Table 5: The outgoing address translation on ppp-2 field, its description and command line

On the Outgoing Address Translation page, set Enabled to no when using a routing

protocol such as RIP or BGP.

Click Update. The Configuration Update Result page appears.

4.2.6 Configure IPCP options

In the Expert View menu, select interfaces ->ppp-1 ->ip->ipcp options->local

address. The Local IP Address Negotiation page appears.

Page 16: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

4: Setting up the GSM (3G) modem for a primary WAN link

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 16 of 34

Figure 11: The local IP address page

Field name Description Command line

Enabled Enables or disables the IP address negotiation on the local end of the link.

Set Enabled to yes.

Set Ppp Interface Local

Option Ipcp Address

Enabled

Required Specifies whether or not negotiation of

the local IP address is required.

Set Required to no.

Set Ppp Interface Local

Option Ipcp Address

Negotiation Required

Enabled

Negotiable Indicates whether the IP address is negotiable or not negotiable.

Negotiable to yes.

Ppp Interface Local

Option Ipcp Address

Negotiable Enabled

IP Address If negotiation is enabled, enter the IP address to use for local IP address negotiation. Enter the IP address in

dotted decimal notation.

Set IP Address to 0.0.0.0

Ppp Interface Local

Option Ipcp Address Value

Table 6: The local IP address fields, their descriptions and command lines

Click Update. The Configuration Update Result page appears.

In the Expert View menu, select interfaces ->ppp-1 -> ip -> ipcp options-> local

primary dns. The Local Primary DNS page appears.

Page 17: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

4: Setting up the GSM (3G) modem for a primary WAN link

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 17 of 34

Figure 12: The local primary DNS negotiation on ppp-2 page

Field name Description Command line

Enabled Enables or disables negotiation of the primary DNS IP address on the local end of the link.

Set Enabled to yes.

Set Ppp Interface Local

Option Ipcp Primary Dns

Address Enabled

Required Enables or disables primary DNS

negotiation on the local end of the link.

Set Required to no.

Set Ppp Interface Local

Option Ipcp Primary Dns

Address Negotiation

Required Enabled

Negotiable Indicates whether primary DNS negotiation is negotiable or not negotiable by the local end of the link.

Negotiable to yes.

Set Ppp Interface Local

Option Ipcp Primary Dns

Address Negotiable

Enabled

IP Address Enter the IP address of the primary DNS server to be used by the local end of the link. Setting the IP address to 0.0.0.0 is an explicit request that

the remote end provides the address information.

Address to 0.0.0.0.

Set Ppp Interface Local

Option Ipcp Primary Dns

Address Value

Table 7: The local primary DNS fields, their descriptions and command lines

Click Update. The Configuration Update Result page appears.

In the Expert View menu, select interfaces ->ppp-2 ->ip->ipcp options->local

secondary dns. The Local Secondary DNS Negotiation page appears.

Page 18: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

4: Setting up the GSM (3G) modem for a primary WAN link

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 18 of 34

Figure 13: The local secondary DNS negotiation on ppp-2 page

Field name Description Command line

Enabled Enables or disables negotiation of the primary DNS IP address on the local end of the link.

Set Enabled to yes.

Set Ppp Interface Local

Option Ipcp Secondary Dns

Address Enabled

Required Enables or disables primary DNS

negotiation on the local end of the link.

Set Required to no.

Set Ppp Interface Local

Option Ipcp Secondary Dns

Address Negotiation

Required Enabled

Negotiable Indicates whether primary DNS negotiation is negotiable or not

negotiable by the local end of the link.

Negotiable to yes.

Set Ppp Interface Local

Option Ipcp Secondary Dns

Address Negotiable

Enabled

IP Address Enter the IP address of the primary DNS server to be used by the local end of the link. Setting the IP address

to 0.0.0.0 is an explicit request that

the remote end provides the address information.

Set Address to 0.0.0.0

Set Ppp Interface Local

Option Ipcp Secondary Dns

Address Value

Figure 14: The secondary DNS fields, their descriptions and command lines

Click Update. The Configuration Update Result page appears.

Page 19: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

4: Setting up the GSM (3G) modem for a primary WAN link

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 19 of 34

4.2.7 Select asynchronous PPP operation

All PPP interfaces by default are configured for synchronous data transfer. The GSM (3G)

modem however uses asynchronous data transfer so you must configure the PPP

interface to operate asynchronously.

In the Expert View menu, select interfaces -> ppp-1 -> ppp -> ppp. The PPP Interface

page appears. Click Advanced to view advanced options.

Figure 15: The PPP interface page

Set Enabled to yes, and set Asychronous Link Enabled to yes. You can leave all other

settings at their default values.

Field name Configuration Command line

Enabled Enables the ppp-2 interface. Set Ppp Interface

Enabled

Maximum Receive Unit (MRU)

The SMG sends the MRU to the end device or peer to inform it that the router can receive larger packets, or to

request that the peer send smaller

packets. Enter the MRU for the specified PPP interface. Minimum value is 512 bytes. Default/Maximum value is 1524 bytes.

Set Ppp Interface

Maximum Receive Unit

Maximum Remote

Receive Unit

The peer sends the Maximum Remote

Receive Unit (MRRU) to the SMG to inform it that the remote router can receive larger packets, or to request

Set Ppp Interface

Maximum Remote Receive

Unit

Page 20: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

4: Setting up the GSM (3G) modem for a primary WAN link

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 20 of 34

that the peer send smaller packets.

Enter the MRRU for the specified PPP interface. Minimum value is 512 bytes. Default/Maximum value is 1524 bytes.

Period Authentication Timer

Indicates the length of time, up to 3600 seconds, between successive attempts to authenticate the PPP peer associated with the selected PPP interface.

Set Ppp Interface

Periodic Authentication

Timer

Maximum Authentication Retries

Indicates the maximum number of authentication retries after the first authentication attempt fails. When the maximum number of retries is exceeded, the connection is terminated on the selected PPP interface. The

maximum number of retries allowed is 64; the default is 3. Minimum value is

0 and maximum value is 64.

Set Ppp Interface

Maximum Number Of

Authentication Retries

IP Enabled Enables IP on the interface. Set Ppp Interface Ip

Enabled

Bridging Enabled Enables or disables bridging negotiation and operation on the selected PPP interface.

Set Ppp Interface Stp

Enabled

Time to Send LQR Indicates the length of time in seconds to send the LQR. The maximum allowed is 3600 seconds; the default is 0 seconds.

Set Ppp Interface Time

To Send Lqr

Send Time Remaining Enabled

Enables or disables the option to send a notice indicating the amount of time remaining for the connection on the selected interface.

Set Ppp Interface Send

Time Remaining Enabled

Send Identifier

String Enabled

Enables or disables the option to send

an identifier string on the selected

interface. When this option is enabled, enter the identifier string in the Identifier String field.

Set Ppp Interface Send

Identifier String

Enabled

Identifier String Used to enter the identifier string when Send Identifier String Enabled is set to

yes.

Set Ppp Interface

Identifier String

Asynchronous Link Enabled

Enables the interface to communicate in asynchronous mode.

Set Ppp Interface

Asynchronous Link

Enabled

Primary DNS IP Address

Address of the primary DNS server. Set Ppp Interface Dns Ip

Address

Secondary DNS IP Address

Address of the secondary DNS server. Set Ppp Interface

Secondary Dns Ip Address

Table 8: The PPP Interface fields, their descriptions and command lines

Click Update. The Configuration Update Result page appears.

4.2.8 Configure 3G Username and Password

Access to each PPP interface can be restricted, based on a username and password. The

username and password for the local interface are entered in the Local Username and

Page 21: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

4: Setting up the GSM (3G) modem for a primary WAN link

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 21 of 34

Local Password fields. In some cases, the remote end of the connection may also require

a username and password for authentication. The username and password for the

remote end are entered in the Remote Username and Remote Password fields.

Note: Password validation does not require a minimum length or the use of numeric

characters.

In the Expert View menu, select interfaces -> ppp-2 -> ppp -> authentication

-> name and password. The Username and Password page appears.

Figure 16: The username and password page

On the name and password page, set the local username and password.

Field name Description Command line

Local Username Enter an ASCII string for the

authentication user name on the selected PPP interface. This username is used in PAP and CHAP security.

Option Description

Minimum length

0

Default Value Unspecified

Maximum length

63

Units Unspecified

Set Ppp Interface User

Name

Local Password Enter an ASCII string for the authentication user password on the

selected PPP interface.

To ensure security, the password is displayed with asterisks (*) replacing the actual characters. The password is used in PAP and CHAP security.

Set Ppp Interface User

Encrypted Password

Local Password

Confirm

Retype the ASCII string for the

authentication user password on the selected PPP interface.

Remote Username Option Description

Minimum length

0

Default Value Unspecified

Maximum 63

Set Ppp Interface Remote

User Name

Page 22: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

4: Setting up the GSM (3G) modem for a primary WAN link

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 22 of 34

length

Units Unspecified

Remote Password Enter an ASCII string for the remote authentication user password.

Set Ppp Interface Remote

User Encrypted Password

Remote Password

Confirm

Re-type the ASCII string for the

authentication user password on the selected PPP interface.

Table 9: The username and password fields, their descriptions and command lines

Click Update. The Configuration Update Result page appears.

The Send PAP Password on ppp form is used to indicate whether or not to send the

Password Authentication Protocol (PAP) password in response to a request.

In the Expert View menu, select interfaces -> ppp-2 -> ppp->authentication->send

PAP. The Send PAP Password page appears.

Figure 17: The send PAP password page

On the Send PAP page, set enabled to yes, required to no, and Negotiable to yes.

Field name Description Command line

Enabled Enables or disables sending the PAP

password in response to a PAP password validation request on the interface.

Option Description

yes Enables sending PAP

Ppp Interface Remote

Option Pap Enabled

Page 23: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

4: Setting up the GSM (3G) modem for a primary WAN link

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 23 of 34

no Disables sending PAP

Required Specifies whether or not the PAP password should be sent in response to a request.

Option Description

yes Enables sending PAP in response to a request.

no Disables sending PAP in response to a request.

Ppp Interface Remote

Option Pap Negotiation

Required Enabled

Negotiable Specifies whether or not sending the PAP password is negotiable.

Option Description

yes Enables sending PAP is

negotiable.

no Disables sending PAP is

not negotiable.

Ppp Interface Remote

Option Pap Negotiable

Enabled

Table 10: The send PAP password on ppp fields, their descriptions and command lines

Click Update. The Configuration Update Result page appears.

In the Expert View menu, select interfaces -> ppp-2 -> ppp->authentication-

>Send CHAP. The Send CHAP Password page appears.

Figure 18: The send CHAP password on ppp-2 page

On the Send CHAP page, set enabled to yes, required to no, and Negotiable to yes.

Click Update. The Configuration Update Result page appears.

Page 24: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

4: Setting up the GSM (3G) modem for a primary WAN link

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 24 of 34

4.2.9 Set dialling options for GSM only

In the Expert View menu, select interfaces -> ppp-2 -> call control -> call. The Call

Details page appears.

Figure 19: The call details on ppp-2 page

Field name Configuration Command line

Outgoing Call Destination

Number

Enter the ISP number to call to establish a connection to the Internet.

Normally,*99# string is valid. Check with your ISP to confirm.

Set Dial Neighbour

Originate Address

Outgoing Call Destination Subaddress

Specifies the device’s subaddress, or extension, if the call destination device has a subaddress defined. No spaces are allowed.

Set Dial Neighbour

Originate Subaddress

Incoming Call Remote Number

Specifies the number of one of the locations that is allowed to place calls on this interface. No spaces are allowed.

Set Dial Neighbour Answer

Address

Incoming Call Local Number

Specifies the device’s local subaddress, or extension, if the call source has a subaddress defined. No spaces are allowed.

Set Dial Neighbour

Received Called Address

ISDN Call Type If using ISDN, defines the call type. Set Dial Neighbour Call

Type

Permissions Assigns the dial permissions to call, answer, call and answer, call back, or

CLI auto answer.

Set Dial Neighbour

Permission

Auto Connect Enabled

Allows the GSM (3G) modem to bring up the link automatically when the GW2040 is restarted.

Set Dial Neighbour Call

Autoconnect

Page 25: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

4: Setting up the GSM (3G) modem for a primary WAN link

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 25 of 34

Inactivity Timer Period of inactivity elapsed before the

call connection is disconnected.

Set Dial Neighbour

Inactivity Timer

Minimum Duration Minimum connection time before the

inactivity timer becomes active.

Set Dial Neighbour

Minimum Duration

Maximum Duration Maximum time that the connection should be maintained.

Set Dial Neighbour

Maximum Duration

Table 11: The call details fields, their descriptions and command lines

On the Call Details page, enter the number for the GSM (3G) modem to connect to.

Normally, *99# is a valid string. Ensure that ‘Permissions’ is set to call.

Click Update. The Configuration Update Result page appears.

4.2.10 Configure the modem interface

In the Expert View menu, select interfaces -> modem-0 -> modem interface. The

Modem Interface page appears.

The modem is set to US country code by default. To change the required country code,

on the Modem Interface on modem-0 page, click Advanced.

Figure 20: The modem interface page

Set Enabled to yes.

Page 26: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

4: Setting up the GSM (3G) modem for a primary WAN link

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 26 of 34

To set the appropriate country code, type in boot initialised string using the country code

shown in Table 12.

Use ; (semi-colon) to separate multiple commands.

Field name Description Command line

Enabled Specifies if the modem interface is enabled.

Set Enabled to yes.

Set Modem Interface

Enabled

Boot Initialisation String

Defines an initialisation string that is sent to the modem on boot.

US value Default

UK value at+gci=B4;

Japan value

at+gci=00;

Multiple

command example

at+gci=B4;+vcid=1;v0w2e0

Set Modem Interface

Boot Initialization

String

Full Duplex Enabled or disable full duplex on modem. Set Modem Interface

Fullduplex Enabled

Tone Dial Enabled Enables or disable dial tone. Set Modem Interface

Tone Dial Enabled

Table 12: The modem interface on modem-0 fields, their descriptions and command lines

Click Update. The Configuration Update Result page appears.

4.2.11 Save the configuration

In the Configuration Update Result page, click Save to flash.

Figure 21: The configuration update results page

The Save Configuration to Flash page appears.

Page 27: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

4: Setting up the GSM (3G) modem for a primary WAN link

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 27 of 34

Figure 22: The save configuration to flash page

In the drop-down menu select the Config you want to save changes to and click Save.

There are 3 options to save to:

Config 1

Config 2

Alternate Config

It is good practice to save to Alternate Config in case your committed configurations

are unsuccessful.

If you select a different configuration option to the existing configuration, you will need

to change the Boot Config to reload into the correct configuration.

4.2.12 Reload the configuration

In the Expert View menu, select set boot configuration.

In the drop-down menu, select the Config option you have chosen to save to.

Click Select.

Figure 23: The next boot configuration page

Page 28: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

5: Performing GSM (3G) monitoring and diagnostics

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 28 of 34

5 Performing GSM (3G) monitoring and diagnostics

The GW2040 Series router supports extensive remote diagnostics, status and appliance

monitoring capabilities.

The status and diagnostics tools are provided as a series of Java applets.

5.1 View the connection monitor

To access Monitor, in the Advanced menu, click Connection Monitor.

The GSM (3G) modem interface is shown as MODEM on the Connection Monitor

interface.

Figure 24: The connection monitor interface

5.1.1 Call history

The Call History page gives a history of GSM (3G) connectivity over a number of days.

You can use the zoom facility to view detailed information for any hour during that

period.

In the Status menu, click Call History. The Call History applet appears.

Page 29: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

5: Performing GSM (3G) monitoring and diagnostics

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 29 of 34

Figure 25: The call history applet

Field name Configuration

Interface PPP interface number.

Title Descriptive name of the PPP interface.

Duration Call duration.

Connect Connect time.

Disconnect Disconnect time.

Channel Physical channel name – modem-0 is used for GSM (3G) modem.

Called No Called ISP phone number (not shown in case of GPRS mode connection).

Source IP Source IP address of the packet that caused the router to bring up this call.

Destination

Destination IP address of the packet that caused the router

to bring up call.

Protocol Protocol carried by the IP packet that caused the router to bring up this call.

Data In Number of data bytes and packets received on this call.

Data Out Number of data bytes and packets transmitted on this call.

Table 13: Outgoing data call box fields

Command line: show call history

Figure 26: Output from the command line show call history

Page 30: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

5: Performing GSM (3G) monitoring and diagnostics

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 30 of 34

5.1.2 Active data connections

The Active Data Connection page shows the type of connection IP address and data

uptime duration.

In the Status menu, click Active Data Connections. The Active Data Connections applet

appears.

Figure 27: The active data connections applet

Command line: show active connections

Figure 28: Output from the command line show active connections

5.1.3 Trace analyzer

The Trace Analyzer provides a web interface to event tracing allowing you to quickly

locate and analyze problems.

To view the Trace Analyzer, from the web interface Start page, click Advanced.

In the Advanced menu, click Diagnostics.

On the Diagnostics page, click Trace Analyzer. The Trace Analyzer pop-up window

appears.

Page 31: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

5: Performing GSM (3G) monitoring and diagnostics

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 31 of 34

Figure 29: The trace analyzer page

To trace modem events, check Custom Events and then click Select. The Select Events

to Trace pop-up window appears.

In the Select Event Classes to Trace dialog box, add Modem to the list of selected

events.

Page 32: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

5: Performing GSM (3G) monitoring and diagnostics

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 32 of 34

Figure 30: The select event class pop-up window

Click OK.

In the Trace Analyzer window, click Start Trace.

The modem call events display in the trace analyzer window.

Figure 31 shows the type of events that will display when the GSM (3G) modem

establishes a link with the ISP.

For a full list of GSM modem events, see Table 14.

Figure 31: The trace analyzer event log

Page 33: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

5: Performing GSM (3G) monitoring and diagnostics

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 33 of 34

Command Action performed by command

++modem Starts tracing modem events

- (minus sign) Stops modem tracing.

Severity Text Description

INFO Modem: Dial (<called number>) Outgoing GSM (3G) modem call in progress to called number.

DEBUG Modem: error creating timer Debug messages logged if GSM driver failed to allocate memory for internal

timer.

NOTICE Modem: Dial Failed (outgoing calls not allowed) Call permissions does not allow dial-out.

NOTICE Modem: Dial Failed (no number configured) No destination number is configured.

INFO Modem: Outgoing Call Connected (<speed>) Outgoing GSM connection established.

INFO Modem: Disconnected GSM (3G) modem disconnected.

INFO Modem: SIM READY SIM status is ready for operation, no PIN is necessary.

INFO Modem: SIM PIN2? SIM is present, but PIN2 is required.

INFO Modem: SIM PIN? SIM is present, but PIN is required.

INFO MODEM: SIM PUK2? SIM is present, but PUK2 is required.

INFO MODEM: SIM PUK? SIM is present, but PUK is required.

INFO MODEM: REGISTERED TO NTWK GSM (3G) modem registered to home network.

INFO MODEM: NETWORK NOT FOUND GSM (3G) modem could not find mobile

network.

INFO MODEM: SEARCHING FOR NTWK GSM (3G) modem is searching for mobile network.

INFO MODEM: DENIED NTWK REGISTR. GSM (3G) modem has been denied network registration.

INFO MODEM: NTWK STATUS UNKNOWN The status of network registration is unknown.

INFO MODEM: REGISTERED ROAMING GSM (3G) modem registered and is roaming on one of the networks.

INFO MODEM: Code accepted PIN, PIN2, PUK or PUK2 code accepted.

INFO MODEM: Code rejected PIN, PIN2, PUK or PUK2 code rejected.

INFO MODEM: Attached to GPRS network GSM (3G) modem attached to GPRS

network.

INFO MODEM: Connecting GPRS (<APN>) GSM (3G) modem is connecting to GPRS network.

INFO MODEM: Outgoing Call Local Disconnect GSM (3G) connection is terminated

Table 14: A list of GSM modem events

5.1.4 Modem statistics and signal quality

To view modem statistics, from the Start page, click Advanced.

In the Advanced menu, click Expert View. In the top menu, click Operations.

In the Operations menu, click Performance ->Interface stats -> modem (0). The

Statistics for Interface modem page appears.

Page 34: Configuring a GSM (3G) modem on a GW2040 …...4 Setting up the GSM (3G) modem for a primary WAN link 4.1 PPP layer structure Figure 4 shows the PPP layer structure required to configure

5: Performing GSM (3G) monitoring and diagnostics

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 34 of 34

Figure 25: The statistics for interface modem-0 page

Show modem interface type modem -0

Show modem interface gsm technology modem -0

Show modem interface gsm signal quality modem -0