Вы находитесь на странице: 1из 38

Configuring a GSM (3G) Modem

on a GW2040 Series Router

Issue

10.2

Date

05 March 2014

1: About this document

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.4

Terminology ........................................................................................... 3

1.5

Prerequisites .......................................................................................... 3

1.5.1

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

1.5.2

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

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

2.4
3

PPP layer structure ................................................................................ 7


Configuring the GSM (3G) modem ........................................................... 8

3.1.1
3.1.2
3.2

Enable the modem interface .................................................................... 8


Configure the GSM (3G) modem APN and behaviour ................................... 8
Configure the PPP interface ................................................................. 10

3.2.1

Bind the modem-0 to the PPP interface ................................................... 11

3.2.2

Configure the IP settings ....................................................................... 11

3.2.3

Configure address translation ................................................................ 13

3.2.4

Configure IPCP options ......................................................................... 14

3.2.5

Select asynchronous PPP operation......................................................... 17

3.2.6

Configure PPP authentication ................................................................. 19

3.2.7

Configure LCP options ........................................................................... 23

3.2.8

Configure the default route.................................................................... 27

3.2.9

Save the configuration .......................................................................... 28

3.2.10

Reload the configuration ....................................................................... 29

Performing GSM (3G) monitoring and diagnostics ................................ 31

4.1

Connection monitor .............................................................................. 31

4.2

3G info ................................................................................................. 31

4.2.1

3G call history ..................................................................................... 33

4.2.2

Active data connections ........................................................................ 35

4.2.3

Trace analyzer ..................................................................................... 36

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


Issue: 10.2

Virtual Access Ltd.


Page 2 of 38

1: About this document

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.
This document covers firmware version 9.09.xx and firmware version 10.00.xx.

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-1 as the assigned interface number. You can
configure any PPP interface number for connections. For example, ppp-2 could be
substituted for each ppp-1 task covered in this document.

1.4 Terminology
Abbreviation

Description

APN

Access Point Name

EDGE

Enhanced Data rates for GSM Evolution, sometimes referred to as Enhanced GPRS
(EGPRS)

GPRS

General Packet Radio Service

GSM

Global System for Mobile communications

HSDPA

High-Speed Downlink Packet Access

UMTS

Universal Mobile Telecommunications System

1.5 Prerequisites
1.5.1

Inserting the SIM card


1. Ensure the unit is powered off.
2. Hold the SIM card with the chip side facing down and the cut corner top left.
3. Gently push the SIM card into SIM slot 1 until it clicks in.
4. To remove the SIM card, gently push the SIM card. The card will click out.
WARNING
The SIM card MUST be inserted into the router before the unit is powered on.
Do not insert or remove the SIM card after the unit has been powered on.

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


Issue: 10.2

Virtual Access Ltd.


Page 3 of 38

1: About this document

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

PIN

PUK, and

Access Point Name

Username and password

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


Issue: 10.2

Virtual Access Ltd.


Page 4 of 38

2: Introduction

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.

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


Issue: 10.2

Virtual Access Ltd.


Page 5 of 38

2: Introduction

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.

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. Setting up the GSM (3G) modem for a primary
WAN link
To configure the GW2040 Series to use the GSM (3G) modem interface, follow the steps
in sections 2.5 to 2.6.8. 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 2.6.9 Save the configuration.
Configuring a GSM (3G) Modem on a GW2040 Series Router
Issue: 10.2

Virtual Access Ltd.


Page 6 of 38

2: Introduction

2.4 PPP layer structure


The figure below shows the PPP layer structure required to configure a primary WAN link.

Figure 3: PPP layer structure

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


Issue: 10.2

Virtual Access Ltd.


Page 7 of 38

3: Configuring the GSM (3G) modem

3 Configuring the GSM (3G) modem


The GW2040 uses the modem-0 interface for the GSM (3G) card.

3.1.1

Enable the modem interface


If you are using 9.09.xx firmware: in the Expert View menu, select interfaces ->
modem-0 -> modem interface. The Modem Interface page appears.
If you are using 10.00.xx firmware: in the Expert View menu, select interfaces >
modem > modem-0 > modem interface. The Modem Interface page appears.

Figure 4: The modem interface page in version 9.09.xx


To ensure that modem-0 is enabled, in the Enabled drop-down menu, select yes.
The remaining parameters are not relevant for GSM modems and can be left at their
default values.
Field name

Description

Enabled

Specifies if the modem interface is


enabled.

Command line
Set Modem Interface Enabled

Set Enabled to yes.

Table 1: The modem interface on modem-0 fields, their descriptions and command lines
Click Update. The Configuration Update Result page appears.

3.1.2

Configure the GSM (3G) modem APN and behaviour


On the Start page, click Advanced.
In the Advanced menu, click Expert View.

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


Issue: 10.2

Virtual Access Ltd.


Page 8 of 38

3: Configuring the GSM (3G) modem

If you are using version 9.09.xx firmware: in the Expert View menu, select interfaces > modem-0 -> gsm. The Modem Interface GSM page appears. Click Advanced to view
advanced options.
If you are using version 10.00.xx firmware: in the Expert View menu, select interfaces
-> modem > modem-0 > gsm. The Modem Interface GSM page appears. Click
Advanced to view advanced options.

Figure 5: The modem interface GSM page in version 9.09.xx


Set Access Point Name, PIN, PIN2, PUK, and PUK2 according to your ISP settings. For
more information on the dual SIM features, read the guide SIM and SMS Operation on
GW2010 and GW2040 Series dual SIM 3G Routers.
Field name

Description

APN (Access Point


Name)

Defines the Access Point Name as given


by network operator for the Main SIM.

Command line
Set Modem Interface Gsm Apn

Enter your service providers Access


Point Name (APN).

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


Issue: 10.2

Virtual Access Ltd.


Page 9 of 38

3: Configuring the GSM (3G) modem

PIN

Defines the GSM Personal Identification


Number as assigned by the network
operator for the Main SIM.

Set Modem Interface Gsm Pin

<SIM PIN number>. This may or may


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

Defines the GSM Personal Identification


Number 2 as assigned by the network
operator for the Main SIM.

Set Modem Interface Gsm Pin2

<SIM PIN2 number>. This may or may


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

Defines the GSM Personal Unlocking


Key as assigned by the network
operator.

Set Modem Interface Gsm Puk

<SIM personal unlock key>. This may


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

Defines the GSM Personal Unlocking


Key 2 as assigned by the network
operator for the Main SIM.

Set Modem Interface Gsm Puk2

<SIM personal unlock key 2>. This may


or may not be required, depending on
SIM card type. Check with your service
provider.
Radio Access
Technology Mode

Auto

Use best available.

GPRS
Preferred

Selects GPRS as
preferred
technology. If not
available then will
use best available.

UMTS
preferred

Selects UMTS as
preferred
technology. If not
available then will
use best available.

GPRS only

Selects GPRS only

UMTS only

Selects UMTS only

Set Modem Interface Gsm Rat

Set Radio Access to auto.

Table 2: 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.

3.2 Configure the PPP interface


The GSM (3G) modem uses the modem-0 interface as the lower layer interface, so you
must configure a PPP interface to send and receive data using the modem-0 interface.
This guide uses ppp-1 but any PPP interface can be used.

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


Issue: 10.2

Virtual Access Ltd.


Page 10 of 38

3: Configuring the GSM (3G) modem

3.2.1

Bind the modem-0 to the PPP interface


If you are using version 9.09.xx firmware: in the Expert View menu, select interfaces > ppp-1-> wan interface. The PPP WAN Interface page appears.
If you are using version 10.00.xx firmware: in the Expert View menu, select interfaces
-> ppp > ppp-1 > wan interface. The PPP WAN interface page appears.

Figure 6: The WAN interface page in version 9.09.xx


On the PPP WAN Interface on ppp-1 page, select Modem -0 from the Wan Interface
drop-down list.
Field name

Description

WAN Interface

Defines the connection type on the


PPP WAN interface.

Command line
Ppp Interface Wan Interface

Table 3: The PPP WAN interface field, its description and command line
Click Update. The Configuration Update Result page appears.

3.2.2

Configure the IP settings


If you are using version 9.09.xx firmware: to configure the IP interface, in the Expert
View menu, select interfaces -> ppp-1-> ip -> ip. The IP Interface page appears.
If you are using version 10.00.xx firmware: to configure the IP interface, in the Expert
View menu, select interfaces -> ppp -> ppp-1 -> ip -> ip. The IP Interface page
appears.

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


Issue: 10.2

Virtual Access Ltd.


Page 11 of 38

3: Configuring the GSM (3G) modem

Figure 7: The IP interface on ppp-1 page in version 9.09.xx


If the GSM link is using a dynamic IP set Enabled to yes, Type to unnumbered, IP
Address to 0.0.0.0, and Mask to 255.255.255.0. All other settings can be left at their
default values.
If the GSM link is using a static IP set Enabled to yes, and Type to unnumbered. Set
the IP address to the static IP, and set the Mask to 255.255.255.255. All other settings
can be left at their default values.
Field name

Description

Enabled

Enables or disables IP operation on


the selected interface.

Command line
Set Ip Interface Enabled

Set to yes.
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.

Set Ip Interface Unnumbered


Link Enabled

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.
IP Address

Enter the IP address, in dotted


decimal notation, to be assigned to
the selected interface.

Set Ip Interface Address

This field and the Mask provide the


network and host identification.
This configuration change does not

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


Issue: 10.2

Virtual Access Ltd.


Page 12 of 38

3: Configuring the GSM (3G) modem

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 Ip Interface Address Mask

Set Mask to 255. 255. 255. 0.


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 Mask

Specify the subnetwork mask, in


dotted decimal notation, to be
associated with the remote end point
of an unnumbered IP link.

Set Ip Interface Remote


Address

Remote IP Address to 0.0.0.0.


Set Ip Interface Remote Mask

Remote Mask to 255.255.255.0.


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 Ip Interface Mtu

Set MTU to 1500.

Table 4: The IP interface on ppp-1 fields, their descriptions and command lines
Click Update. The Configuration Update Result page appears.

3.2.3

Configure address translation


If you are using version 9.09.xx firmware: in the Expert View menu, select interfaces > ppp-1 -> ip -> address translation -> outgoing. The Outgoing Address
Translation page appears.
If you are using version 10.00.xx firmware: in the Expert View menu, select interfaces
-> ppp -> ppp-1 -> ip -> address translation -> outgoing. The Outgoing Address
Translation page appears.

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


Issue: 10.2

Virtual Access Ltd.


Page 13 of 38

3: Configuring the GSM (3G) modem

Figure 8: The outgoing address translation page in version 9.09.xx


Field name

Description

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.

Command line
Ip Address Translation
Interface Enabled

Table 5: The outgoing address translation on ppp-1 field, its description and command line
Click Update. The Configuration Update Result page appears.

3.2.4

Configure IPCP options


The IPCP options to be negotiated during PPP negotiation vary depending on the GSM
provider. However, we recommend enabling the following options.

3.2.4.1

Local IP Address negotiation

Local Primary DNS negotiation

Local Secondary DNS negotiation

Local IP address negotiation


If you are using version 9.09.xx firmware: in the Expert View menu, select interfaces >ppp-1 ->ip->ipcp options->local address. The Local IP Address Negotiation page
appears.
If you are using version 10.00.xx firmware: in the Expert View menu, select interfaces
-> ppp -> ppp-1 -> ppp -> ipcp options -> local address. The Local IP Address
Negotiation page appears.

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


Issue: 10.2

Virtual Access Ltd.


Page 14 of 38

3: Configuring the GSM (3G) modem

Figure 9: The local IP address page in version 9.09.xx


Field name

Description

Command line

Enabled

Enables or disables the IP address


negotiation on the local end of the link.

Set Ppp Interface Local


Option Ipcp Address Enabled

Set Enabled to y.
Required

Defines whether or not negotiation of the


local IP address is required.
Set Required to no.

Negotiable

Defines whether the IP address value is


negotiable or not negotiable.
Negotiable to yes.

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 Ppp Interface Local


Option Ipcp Address
Negotiation Required
Enabled
Ppp Interface Local Option
Ipcp Address Negotiable
Enabled
Ppp Interface Local Option
Ipcp Address Value

Set IP Address to 0.0.0.0.

Table 6: The local IP address fields, their descriptions and command lines
Click Update. The Configuration Update Result page appears.

3.2.4.2

Local primary DNS negotiation


If you are using version 9.09.xx firmware: in the Expert View menu, select interfaces >ppp-1 -> ip -> ipcp options-> local primary dns. The Local Primary DNS page
appears.
If you are using version 10.00.xx firmware: in the Expert View menu, select interfaces
-> ppp -> ppp-1 -> ppp -> ipcp options -> local primary address. The Local
Primary DNS page appears.

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


Issue: 10.2

Virtual Access Ltd.


Page 15 of 38

3: Configuring the GSM (3G) modem

Figure 10: The local primary DNS negotiation page in version 9.09.xx
Field name

Description

Enabled

Enables or disables negotiation of the


primary DNS IP address on the local
end of the link.

Command line
Set Ppp Interface Local
Option Ipcp Primary Dns
Address Enabled

Set Enabled to yes.


Required

Defines whether or not negotiation of


the primary DNS address is required.
Set Required to no.

Negotiable

Defines whether primary DNS value is


negotiable or not negotiable.
Negotiable to yes.

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 Ppp Interface Local


Option Ipcp Primary Dns
Address Negotiation Required
Enabled
Set Ppp Interface Local
Option Ipcp Primary Dns
Address Negotiable Enabled
Set Ppp Interface Local
Option Ipcp Primary Dns
Address Value

Address to 0.0.0.0.

Table 7: The local primary DNS fields, their descriptions and command lines
Click Update. The Configuration Update Result page appears.

3.2.4.3

Local secondary DNS negotiation


If you are using version 9.09.xx firmware: in the Expert View menu, select interfaces >ppp-1 ->ip->ipcp options->local secondary dns. The Local Secondary DNS
Negotiation page appears.
If you are using version 10.00.xx firmware: in the Expert View menu, select interfaces
->ppp -> ppp-1 ->ppp ->ipcp options ->local secondary dns. The Local Secondary
DNS Negotiation page appears.

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


Issue: 10.2

Virtual Access Ltd.


Page 16 of 38

3: Configuring the GSM (3G) modem

Figure 11: The local secondary DNS negotiation page in version 9.09.xx
Field name

Description

Enabled

Enables or disables negotiation of the


secondary DNS IP address on the local
end of the link.

Command line
Set Ppp Interface Local
Option Ipcp Secondary Dns
Address Enabled

Set Enabled to yes.


Required

Defines whether or not negotiation of


the secondary DNS address is
required.
Set Required to no.

Negotiable

Indicates whether secondary DNS IP


address value is negotiable or not
negotiable.

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 Ppp Interface Local


Option Ipcp Secondary Dns
Address Negotiation Required
Enabled
Set Ppp Interface Local
Option Ipcp Secondary Dns
Address Negotiable Enabled

Negotiable to yes.
Set Ppp Interface Local
Option Ipcp Secondary Dns
Address Value

Set Address to 0.0.0.0.

Figure 12: The secondary DNS fields, their descriptions and command lines
Click Update. The Configuration Update Result page appears.

3.2.5

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.
If you are using version 9.09.xx firmware: in the Expert View menu, select interfaces > ppp-1 -> ppp -> ppp. The PPP Interface page appears. Click Advanced to view
advanced options.

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


Issue: 10.2

Virtual Access Ltd.


Page 17 of 38

3: Configuring the GSM (3G) modem

If you are using version 10.00.xx firmware: in the Expert View menu, select interfaces
->ppp -> ppp-1 -> ppp -> ppp. The PPP Interface page appears. Click Advanced to
view advanced options.

Figure 13: The PPP interface page in version 9.09.xx


Set Enabled to yes, and set Asychronous Link Enabled to yes. You can leave all other
settings at their default values.
Field name

Configuration

Enabled

Enables the ppp-1 interface.

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.

Command line
Set Ppp Interface Enabled
Set Ppp Interface Maximum
Receive Unit

Leave as default.
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
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 Maximum


Remote Receive Unit

Leave as default.
Set Ppp Interface Periodic
Authentication Timer

Leave as default.
Maximum
Authentication Retries

Indicates the maximum number of


authentication retries after the first

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


Issue: 10.2

Set Ppp Interface Maximum


Number Of Authentication

Virtual Access Ltd.


Page 18 of 38

3: Configuring the GSM (3G) modem

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.

Retries

Leave as default.
IP Enabled

Enables IP on the interface.


Leave as default.

Bridging Enabled

Enables or disables bridging


negotiation and operation on the
selected PPP interface.

Set Ppp Interface Ip


Enabled
Set Ppp Interface Stp
Enabled

Leave as default.
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

Leave as default.
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

Leave as default.
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

Leave as default.
Identifier String

Used to enter the identifier string when


Send Identifier

Set Ppp Interface


Identifier String

Set String Enabled to yes.


Asynchronous Link
Enabled

Enables the interface to communicate


in asynchronous mode.

Primary DNS IP
Address

Address of the primary DNS server.

Secondary DNS IP
Address

Address of the secondary DNS server.

Set Ppp Interface


Asynchronous Link Enabled

Set Asynchronous Link Enabled to yes.


Leave as default.
Leave as default.

Set Ppp Interface Dns Ip


Address
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.

3.2.6

Configure PPP authentication


A username and password is normally required for a data connection via an APN.

3.2.6.1

Configure the username and password


If you are using version 9.09.xx firmware: in the Expert View menu, select interfaces > ppp-1 -> ppp -> authentication -> name and password. The Username and
Password page appears.

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


Issue: 10.2

Virtual Access Ltd.


Page 19 of 38

3: Configuring the GSM (3G) modem

If you are using version 10.00.xx firmware: in the Expert View menu, select interfaces
-> ppp > ppp-1 -> ppp -> authentication -> name and password. The Username
and Password page appears.

Figure 14: The username and password page in version 9.09.xx


On the name and password page, set the local username and password for the Main SIM
APN.
If you are using a second SIM, to configure the secondary SIM username and password
details click Advanced, and set the Secondary SIM Local Username and Password.
Field name

Description

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

Default Value

Unspecified

Maximum length

63

Units

Unspecified

Command line
Set Ppp Interface User Name

Enter username for APN for Main SIM.


Local Password

Enter an ASCII string for the


authentication user password on the
selected PPP interface.

Set Ppp Interface User


Encrypted Password

To ensure security, the password is


displayed with asterisks (*) replacing
the actual characters. The password is
used in PAP and CHAP security.
Enter password for APN for Main SIM.
Local Password
Confirm

Retype the ASCII string for the


authentication user password on the
selected PPP interface.
Confirm password for APN for Main
SIM.

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

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


Issue: 10.2

Virtual Access Ltd.


Page 20 of 38

3: Configuring the GSM (3G) modem

Click Update. The Configuration Update Result page appears.

3.2.6.2

Configure PAP authentication


Use the Send PAP Password form to indicate whether or not to send the username and
password credentials using Password Authentication Protocol (PAP).
If you are using version 9.09.xx firmware: in the Expert View menu, select interfaces > ppp-1 -> ppp ->authentication ->send PAP. The Send PAP Password page
appears.
If you are using version 10.00.xx firmware: in the Expert View menu, select interfaces
-> ppp -> ppp-1 -> ppp ->authentication ->send PAP. The Send PAP Password
page appears.

Figure 15: The send PAP password page in version 9.09.xx


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

Description

Enabled

Enables or disables sending PAP


credentials.
Option

Description

yes

Enables sending PAP.

No

Disables sending PAP.

Command line
Ppp Interface Remote Option
Pap Enabled

Set to yes.
Required

Defines whether PAP authentication is


required.

Negotiable

Defines whether PAP credentials are


negotiable

Set to no.

Ppp Interface Remote Option


Pap Negotiation Required
Enabled
Ppp Interface Remote Option
Pap Negotiable Enabled

Set to yes.

Table 10: The send PAP password on ppp fields, their descriptions and command lines
Click Update. The Configuration Update Result page appears.

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


Issue: 10.2

Virtual Access Ltd.


Page 21 of 38

3: Configuring the GSM (3G) modem

3.2.6.3

Configure CHAP authentication


The Send CHAP Password form is used to indicate whether or not to send the username
and password credentials using Challenge Handshake Authentication Protocol (CHAP).
If you are using version 9.09.xx firmware: in the Expert View menu, select interfaces > ppp-1 -> ppp ->authentication ->Send CHAP. The Send CHAP Password page
appears.
If you are using version 10.00.xx firmware: in the Expert View menu, select interfaces
-> ppp > ppp-1 -> ppp->authentication->Send CHAP. The Send CHAP Password
page appears.

Figure 16: The send CHAP password page in version 9.09.xx


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

Description

Enabled

Enables or disables sending CHAP


credentials.
Option

Description

yes

Enables sending CHAP.

no

Disables sending CHAP.

Command line
Ppp Interface Remote Option
Pap Enabled

Set to yes.
Required

Defines whether CHAP authentication


is required.

Negotiable

Defines whether CHAP credentials are


negotiable.

Set to no.

Ppp Interface Remote Option


Pap Negotiation Required
Enabled
Ppp Interface Remote Option
Pap Negotiable Enabled

Set to yes.

Table 11: The Send CHAP fields, descriptions and command lines
Click Update. The Configuration Update Result page appears.

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


Issue: 10.2

Virtual Access Ltd.


Page 22 of 38

3: Configuring the GSM (3G) modem

3.2.7

Configure LCP options


The LCP options to be negotiated during PPP negotiation vary depending on the ADSL
service provider. However we recommend enabling the following options.

3.2.7.1

Local MRU (Maximum Receive Unit) negotiation;

Remote MRU negotiation; and

Remote Magic Number negotiation.

Local MRU negotiation


The local MRU Negotiation Option negotiates the largest IP datagram that can be
received by the router.
If you are using version 9.09.xx firmware: to set local MRU select interfaces -> ppp-1
-> ppp -> lcp options -> local MRU. The Local MRU Negotiation page appears.
If you are using version 10.00.xx firmware: to set local MRU select interfaces -> ppp >
ppp-1 -> ppp -> lcp options -> local MRU. The Local MRU Negotiation page appears.

Figure 17: The local MRU negotiation page in version 9.09.xx


Field name

Description

Enabled

Enables or disables local MRU negotiation.

Command line
PPP Interface Local Option LCP
MRU Enabled

Required

Specifies whether the local MRU


authentication option must be negotiated
during LCP negotiation

PPP Interface Local Option LCP


MRU Negotiation Required
Enabled

Negotiable

Specifies whether or not the local MRU value


is negotiable.

Select no.
PPP Interface Local Option LCP
MRU Negotiable Enabled

Select yes.
MRU

Defines the MRU value to be sent in the first


LCP configure request.

PPP Interface Local Option LCP


MRU Value

Leave as default.

Table 12: Descriptions of local MRU negotiation fields

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


Issue: 10.2

Virtual Access Ltd.


Page 23 of 38

3: Configuring the GSM (3G) modem

Click Update.

3.2.7.2

Remote MRU negotiation


The remote MRU Negotiation Option negotiates the largest IP datagram that can be
received by the PPP peer.
If you are using version 9.09.xx firmware: to set the remote MRU select interfaces ->
ppp-1 > ppp -> ppp -> lcp options -> remote MRU. The Remote MRU Negotiation
page appears.
If you are using version 10.00.xx firmware: to set the remote MRU select interfaces ->
ppp -> ppp-1 -> ppp -> ppp -> lcp options -> remote MRU. The Remote MRU
Negotiation page appears.

Figure 18: The remote MRU negotiation page in version 9.09.xx


Field name

Description

Enabled

Enables or disables MRU negotiation on the


remote end of the link.

Command line
PPP Interface Remote Option LCP
MRU Enabled

Select yes.
Required

Specifies whether the remote MRU


authentication option must be negotiated
during LCP negotiation

PPP Interface Remote Option LCP


MRU Negotiable Enabled

Select no.
Negotiable

Specifies whether or not the remote MRU


value is negotiable.
Select yes.

MRU

Defines the MRU option value allowed in


configure requests sent by the PPP peer.
*This value is only relevant if Negotiable is
set to No

PPP Interface Remote Option LCP


MRU Negotiation Required
Enabled
PPP Interface Remote Option LCP
MRU Value

Leave as default.

Table 13: Descriptions of remote MRU negotiation fields


Click Update.

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


Issue: 10.2

Virtual Access Ltd.


Page 24 of 38

3: Configuring the GSM (3G) modem

3.2.7.3

Remote LCP magic number negotiation


If you are using version 9.09.xx firmware: to enable the remote LCP magic number
negotiation, from the ppp-1 folder select ppp -> lcp options -> remote magic
number. The Remote LCP Magic Number on ppp-1 page appears.
If you are using version 10.00.xx firmware: to enable the remote LCP magic number
negotiation, from the ppp-1 folder select ppp -> lcp options -> remote magic
number. The Remote LCP Magic Number on ppp-1 page appears.

Figure 19: The remote LCP magic number page in version 9.09.xx
Field name

Description

Enabled

Enables or disables the remote LCP Magic


Number on the remote side of the link.

Command Line
PPP Interface Remote Option LCP
Magic Number Enabled

Select yes.
Required

Specifies whether the remote LCP Magic


Number option must be negotiated during
LCP negotiation.

PPP Interface Remote Option LCP


Magic Number Negotiation
Required Enabled

Select no.
Negotiable

Specifies whether or the remote Magic


Number value is negotiable.

PPP Interface Remote Option LCP


Magic Number Negotiable Enabled

Select yes.
Value

Enter a unique eight character hexadecimal


value that identifies the link.

PPP Interface Remote Option LCP


Magic Number Value

*This value is only relevant if Negotiable is


set to NO.
Leave as default.

Table 14: Remote LCP magic number field descriptions


Click Update.

3.2.7.4

Set call details for the GSM connection


If you are using version 9.09.xx firmware: in the Expert View menu, select interfaces > ppp-1 -> call control -> call. The Call Details page appears.
Configuring a GSM (3G) Modem on a GW2040 Series Router
Issue: 10.2

Virtual Access Ltd.


Page 25 of 38

3: Configuring the GSM (3G) modem

If you are using version 10.00.xx firmware: in the Expert View menu, select interfaces
> ppp -> ppp-1 -> call control -> call. The Call Details page appears.

Figure 20: The call details page in version 9.09.xx


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.
If the GSM data connection is required to be Always Up, set Auto Connect Enabled to
yes, and the Inactivity Timer to 0.
If the GSM data connection is required to be Dial on Demand, set Auto Connect Enabled
to no, and the Inactivity Timer to the desired disconnect time.
Field name

Configuration

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.

Outgoing Call
Destination
Subaddress

Specifies the devices subaddress, or


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

Command line
Set Dial Neighbour
Originate Address

Set Dial Neighbour


Originate Subaddress

Leave as default.
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.

Incoming Call Local


Number

Specifies the devices local subaddress,


or extension, if the call source has a
subaddress defined. No spaces are
allowed.

Set Dial Neighbour Answer


Address

Leave as default.
Set Dial Neighbour Received
Called Address

Leave as default.
ISDN Call Type

If using ISDN, defines the call type.


Leave as default.

Permissions

Assigns the dial permissions

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


Issue: 10.2

Set Dial Neighbour Call


Type
Set Dial Neighbour
Virtual Access Ltd.
Page 26 of 38

3: Configuring the GSM (3G) modem

Auto Connect
Enabled

Set to call.

Permission

Defines whether to have the GSM


connection to be always up or dial on
demand.

Set Dial Neighbour Call


Autoconnect

yes

Always On. The GSM data


connection will always be reestablished when terminated

no

Dial on demand. The GSM data


connection is brought up only
when there is data to send.

Inactivity Timer

Period of inactivity elapsed before the


call connection is disconnected (0 to
have the call permanently connected).

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 15: The call details fields, their descriptions and command lines
Click Update. The Configuration Update Result page appears.

3.2.8

Configure the default route


If you are using version 9.09.xx firmware: in the Expert View menu, select system ->
ip -> ip routing -> default routes list. The IP Default Routes List page appears.
In the Operation column, click add in the Index 1 row. The IP Default Routes Entry page
appears.
If you are using version 10.00.xx firmware: in the Expert View menu, select system ->
routing -> default routes list. The IP Default Routes List page appears.
In the Operation column, click add in the Index 1 row. The IP Default Routes Entry page
appears.

Figure 21: The IP default routes entry page in version 9.09.xx


Set Configured to yes, Route Type to unnumbered, the Unnumbered Route Next Hop
Interface to ppp-1, and the metric to 1.

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


Issue: 10.2

Virtual Access Ltd.


Page 27 of 38

3: Configuring the GSM (3G) modem

Field name

Description

Configured

Enables or disables the default


route.

Command line
Set Ip Route Default
Configured

Set Configured to yes.


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.

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.

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


Numbered

Set Route Type to unnumbered.


Ip Route Default Indexed Next
Hop Ip

Leave as default.
Ip Route Default Indexed Next
Hop Interface

Set Unnumbered Route Next Hop


Interface to ppp-1.
Metric

Defines the metric for the route. The


metric determines the prioriy of the
route when multiple default routes
are configured.

Ip Route Default Indexed


Metric

Set Metric to
.
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

Leave as default.

Table 16: The IP default route entry page fields, their descriptions and command lines
Click Update. The Configuration Update Result page appears.

3.2.9

Save the configuration


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

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


Issue: 10.2

Virtual Access Ltd.


Page 28 of 38

3: Configuring the GSM (3G) modem

Figure 22: The configuration update results page


The Save Configuration to Flash page appears.

Figure 23: 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.

3.2.10 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.

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


Issue: 10.2

Virtual Access Ltd.


Page 29 of 38

3: Configuring the GSM (3G) modem

Figure 24: The next boot configuration page

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


Issue: 10.2

Virtual Access Ltd.


Page 30 of 38

4: Performing GSM (3G) monitoring and diagnostics

4 Performing GSM (3G) monitoring and diagnostics


The GW2040 Series router supports extensive remote diagnostics, status and device
monitoring capabilities.
The status and diagnostics tools are provided as a series of Java applets.

4.1 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. The following sections are not relevant to this router: PPPoE, ATM VC, ISDN,
ADSL, Serial.

Figure 25: The connection monitor interface

4.2 3G info
The 3G Info page gives information about the GSM connection and a snapshot of
transmit and receive counters
To access 3G Info, in the Status menu, click 3G Info.

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


Issue: 10.2

Virtual Access Ltd.


Page 31 of 38

4: Performing GSM (3G) monitoring and diagnostics

Figure 26: The 3G info page

Command line: show modem interface status modem-0

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


Issue: 10.2

Virtual Access Ltd.


Page 32 of 38

4: Performing GSM (3G) monitoring and diagnostics

Figure 27: Output from the command line show modem interface status modem-0

4.2.1

3G call history
The 3G 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 including minimum, maximum and average signal strength.
In the Status menu, click 3G Call History. The Call History applet appears.

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


Issue: 10.2

Virtual Access Ltd.


Page 33 of 38

4: Performing GSM (3G) monitoring and diagnostics

Figure 28: The 3G info page

Figure 29: The 3G info zoom view

Command line: show line history

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


Issue: 10.2

Virtual Access Ltd.


Page 34 of 38

4: Performing GSM (3G) monitoring and diagnostics

Figure 30: Output from the command line show call history

4.2.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 31: The active data connections applet

Command line: show active connections

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


Issue: 10.2

Virtual Access Ltd.


Page 35 of 38

4: Performing GSM (3G) monitoring and diagnostics

Figure 32: Output from the command line show active connections

4.2.3

Trace analyzer
The Trace Analyzer provides a web interface to event tracing allowing you to quickly
locate and analyse 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.

Figure 33: 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 dialogue box, add Modem to the list of selected
events.

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


Issue: 10.2

Virtual Access Ltd.


Page 36 of 38

4: Performing GSM (3G) monitoring and diagnostics

Figure 34: 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.
The figure below 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 17.

Figure 35: The trace analyzer event log


Command

Action performed by command

++modem

Starts tracing modem events

- (minus sign)

Stops modem tracing.

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


Issue: 10.2

Virtual Access Ltd.


Page 37 of 38

4: Performing GSM (3G) monitoring and diagnostics

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 dialout.

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 17: A list of GSM modem events

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


Issue: 10.2

Virtual Access Ltd.


Page 38 of 38