Configuring a GSM () modem on a GW2040 Series Router

Issue 1.5 Date 10 May 2012

Table of contents

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

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

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.

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

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

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 4 of 34 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 © Virtual Access Ltd. Issue: 1.5 Page 5 of 34 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. 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.

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

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.

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 7 of 34 4: Setting up the GSM (3G) modem for a primary WAN link

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.

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.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 -> . 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 For GPRS operation only. An access Set Modem Interface Gsm Point Name) point name is given by a network Apn operator for connection into the GPRS network. Enter your service provider’s Access Point Name (APN). PIN . This may or may Set Modem Interface Gsm not be required, depending on SIM card Pin type. Check with your service provider. PIN2 . This may or Set Modem Interface Gsm may not be required, depending on SIM Pin2 card type. Check with your service provider. PUK . This Set Modem Interface Gsm may or may not be required, depending Puk on SIM card type. Check with your service provider. PUK2 . This Set Modem Interface Gsm Puk2

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 9 of 34 4: Setting up the GSM (3G) modem for a primary WAN link

may or may not be required, depending on SIM card type. Check with your service provider. Radio Access 2G=GSM, 3G=UTMS, Auto sets to 3G. If Set Modem Interface Gsm Technology Mode there is no 3G access, radio access Rat automatically defaults to 2G. Set Radio Access to auto. 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.

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 10 of 34 4: Setting up the GSM (3G) modem for a primary WAN link

Figure 7: The IP default routes entry page

Field name Description Command line Configured Enables or disables the default route. Set Ip Route Default Configured Set Configured to Yes Route Type Indicates whether the route type is Ip Route Default Indexed over a numbered or unnumbered Numbered link. A numbered link is a link that has been assigned an IP address. Set Route Type to unnumbered. Numbered Route If you have set Route Type to Ip Route Default Indexed Next Hop IP numbered, enter the IP address, in Next Hop Ip 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 If you have set Route Type to Ip Route Default Indexed Next Hop Interface unnumbered, select the interface Next Hop 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. Metric Defines the RIP metric for the route. Ip Route Default Indexed Metric Minimum 1 Value Default 1

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 11 of 34 4: Setting up the GSM (3G) modem for a primary WAN link

Value Maximum 15 Value Units Unspecified

Last Resort Specifies that the route is to be used Ip Route Default Indexed only if all others are down. Usually Last Resort used with a route that is slow or expensive, or both. 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 Interface Wan PPP WAN interface. Interface Table 3: The PPP WAN interface field, its description and command line

Click Update. The Configuration Update Result page appears.

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 12 of 34 4: Setting up the GSM (3G) modem for a primary WAN link

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 Set Ip Interface Enabled the selected interface. Set to yes. Type Select one of the following options to Set Ip Interface define the point to point link Unnumbered Link Enabled 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. IP Address Enter the IP address, in dotted Set Ip Interface Address decimal notation, to be assigned to the selected interface. This field and the Mask provide the

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 13 of 34 4: Setting up the GSM (3G) modem for a primary WAN link

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 Set Ip Interface Address decimal notation, to be assigned to Mask 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. Remote IP Enter the IP address of the peer at the Set Ip Interface Remote Address opposite end of the point to point link Address 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. Remote Mask Specify the subnetwork mask, in Set Ip Interface Remote dotted decimal notation, to be Mask associated with the remote end point of an unnumbered IP link. Remote Mask to 255.255.255.0 MTU Enter the size, in bytes, of the largest Set Ip Interface Mtu 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 64 Value Default 1500 Value Maximum 1500 Value Units Bytes Set MTU to 1500 BOOTP enabled This option is used to enable or Set Ip Interface Bootp disable BOOTP on the selected Enabled interface. yes Enables BOOTP no Disables BOOTP Set BOOT enabled to no. Table 4: The IP interface on ppp-2 fields, their descriptions and command lines

Click Update. The Configuration Update Result page appears.

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 14 of 34 4: Setting up the GSM (3G) modem for a primary WAN link

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 Ip Address Translation outgoing IP datagrams on this Interface Enabled interface. Yes Enables translation of outgoing IP datagrams on the selected interface. no Disables translation of outgoing IP datagrams on the selected interface.

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.

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 15 of 34 4: Setting up the GSM (3G) modem for a primary WAN link

Figure 11: The local IP address page

Field name Description Command line Enabled Enables or disables the IP address Set Ppp Interface Local negotiation on the local end of the Option Ipcp Address link. Enabled Set Enabled to yes. Required Specifies whether or not negotiation of Set Ppp Interface Local the local IP address is required. Option Ipcp Address Negotiation Required Set Required to no. Enabled Negotiable Indicates whether the IP address is Ppp Interface Local negotiable or not negotiable. Option Ipcp Address Negotiable Enabled Negotiable to yes. IP Address If negotiation is enabled, enter the IP Ppp Interface Local address to use for local IP address Option Ipcp Address Value negotiation. Enter the IP address in dotted decimal notation. 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. In the Expert View menu, select interfaces ->ppp-1 -> ip -> ipcp options-> local primary dns. The Local Primary DNS page appears.

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 16 of 34 4: Setting up the GSM (3G) modem for a primary WAN link

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

Field name Description Command line Enabled Enables or disables negotiation of the Set Ppp Interface Local primary DNS IP address on the local Option Ipcp Primary Dns end of the link. Address Enabled Set Enabled to yes. Required Enables or disables primary DNS Set Ppp Interface Local negotiation on the local end of the Option Ipcp Primary Dns link. Address Negotiation Required Enabled Set Required to no. Negotiable Indicates whether primary DNS Set Ppp Interface Local negotiation is negotiable or not Option Ipcp Primary Dns negotiable by the local end of the link. Address Negotiable Enabled Negotiable to yes. IP Address Enter the IP address of the primary Set Ppp Interface Local DNS server to be used by the local Option Ipcp Primary Dns end of the link. Setting the IP address Address Value to 0.0.0.0 is an explicit request that the remote end provides the address information. 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. In the Expert View menu, select interfaces ->ppp-2 ->ip->ipcp options->local secondary dns. The Local Secondary DNS Negotiation page appears.

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 17 of 34 4: Setting up the GSM (3G) modem for a primary WAN link

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

Field name Description Command line Enabled Enables or disables negotiation of the Set Ppp Interface Local primary DNS IP address on the local Option Ipcp Secondary Dns end of the link. Address Enabled Set Enabled to yes. Required Enables or disables primary DNS Set Ppp Interface Local negotiation on the local end of the Option Ipcp Secondary Dns link. Address Negotiation Required Enabled Set Required to no. Negotiable Indicates whether primary DNS Set Ppp Interface Local negotiation is negotiable or not Option Ipcp Secondary Dns negotiable by the local end of the link. Address Negotiable Enabled Negotiable to yes. IP Address Enter the IP address of the primary Set Ppp Interface Local DNS server to be used by the local Option Ipcp Secondary Dns end of the link. Setting the IP address Address Value to 0.0.0.0 is an explicit request that the remote end provides the address information. Set Address to 0.0.0.0 Figure 14: The secondary DNS fields, their descriptions and command lines

Click Update. The Configuration Update Result page appears.

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 18 of 34 4: Setting up the GSM (3G) modem for a primary WAN link

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 The SMG sends the MRU to the end Set Ppp Interface Unit (MRU) device or peer to inform it that the Maximum Receive Unit 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. Maximum Remote The peer sends the Maximum Remote Set Ppp Interface Receive Unit Receive Unit (MRRU) to the SMG to Maximum Remote Receive inform it that the remote router can Unit receive larger packets, or to request

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 19 of 34 4: Setting up the GSM (3G) modem for a primary WAN link

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 Indicates the length of time, up to Set Ppp Interface Authentication 3600 seconds, between successive Periodic Authentication Timer attempts to authenticate the PPP peer Timer associated with the selected PPP interface. Maximum Indicates the maximum number of Set Ppp Interface Authentication authentication retries after the first Maximum Number Of Retries authentication attempt fails. When the Authentication Retries 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. IP Enabled Enables IP on the interface. Set Ppp Interface Ip Enabled Bridging Enabled Enables or disables bridging Set Ppp Interface Stp negotiation and operation on the Enabled selected PPP interface. Time to Send LQR Indicates the length of time in seconds Set Ppp Interface Time to send the LQR. The maximum To Send Lqr allowed is 3600 seconds; the default is 0 seconds. Send Time Enables or disables the option to send Set Ppp Interface Send Remaining Enabled a notice indicating the amount of time Time Remaining Enabled remaining for the connection on the selected interface. Send Identifier Enables or disables the option to send Set Ppp Interface Send String Enabled an identifier string on the selected Identifier String interface. When this option is enabled, Enabled enter the identifier string in the Identifier String field. Identifier String Used to enter the identifier string when Set Ppp Interface Send Identifier String Enabled is set to Identifier String yes. Asynchronous Link Enables the interface to communicate Set Ppp Interface Enabled in asynchronous mode. Asynchronous Link Enabled Primary DNS IP Address of the primary DNS server. Set Ppp Interface Dns Ip Address Address Secondary DNS IP Address of the secondary DNS server. Set Ppp Interface Address 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

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 20 of 34 4: Setting up the GSM (3G) modem for a primary WAN link

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 Set Ppp Interface User authentication user name on the Name selected PPP interface. This username is used in PAP and CHAP security. Option Description Minimum 0 length Default Value Unspecified Maximum 63 length Units Unspecified

Local Password Enter an ASCII string for the Set Ppp Interface User authentication user password on the Encrypted Password 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. Local Password Retype the ASCII string for the Confirm authentication user password on the selected PPP interface. Remote Username Option Description Set Ppp Interface Remote User Name Minimum 0 length Default Value Unspecified Maximum 63

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 21 of 34 4: Setting up the GSM (3G) modem for a primary WAN link

length Units Unspecified

Remote Password Enter an ASCII string for the remote Set Ppp Interface Remote authentication user password. User Encrypted Password Remote Password Re-type the ASCII string for the Confirm 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 Ppp Interface Remote password in response to a PAP Option Pap Enabled password validation request on the interface. Option Description yes Enables sending PAP

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 22 of 34 4: Setting up the GSM (3G) modem for a primary WAN link

no Disables sending PAP

Required Specifies whether or not the PAP Ppp Interface Remote password should be sent in response Option Pap Negotiation to a request. Required Enabled Option Description yes Enables sending PAP in response to a request. no Disables sending PAP in response to a request.

Negotiable Specifies whether or not sending the Ppp Interface Remote PAP password is negotiable. Option Pap Negotiable Enabled Option Description yes Enables sending PAP is negotiable. no Disables sending PAP is not negotiable.

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.

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 23 of 34 4: Setting up the GSM (3G) modem for a primary WAN link

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 Enter the ISP number to call to Set Dial Neighbour Destination establish a connection to the Internet. Originate Address Number Normally,*99# string is valid. Check with your ISP to confirm. Outgoing Call Specifies the device’s subaddress, or Set Dial Neighbour Destination extension, if the call destination device Originate Subaddress Subaddress has a subaddress defined. No spaces are allowed. Incoming Call Specifies the number of one of the Set Dial Neighbour Answer Remote Number locations that is allowed to place calls Address on this interface. No spaces are allowed. Incoming Call Specifies the device’s local subaddress, Set Dial Neighbour Local Number or extension, if the call source has a Received Called Address subaddress defined. No spaces are allowed. ISDN Call Type If using ISDN, defines the call type. Set Dial Neighbour Call Type Permissions Assigns the dial permissions to call, Set Dial Neighbour answer, call and answer, call back, or Permission CLI auto answer. Auto Connect Allows the GSM (3G) modem to bring Set Dial Neighbour Call Enabled up the link automatically when the Autoconnect GW2040 is restarted.

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 24 of 34 4: Setting up the GSM (3G) modem for a primary WAN link

Inactivity Timer Period of inactivity elapsed before the Set Dial Neighbour call connection is disconnected. Inactivity Timer Minimum Duration Minimum connection time before the Set Dial Neighbour inactivity timer becomes active. Minimum Duration Maximum Duration Maximum time that the connection Set Dial Neighbour should be maintained. 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.

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 25 of 34 4: Setting up the GSM (3G) modem for a primary WAN link

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 Modem Interface Enabled Set Enabled to yes. Boot Initialisation Defines an initialisation string that is sent to Set Modem Interface String the modem on boot. Boot Initialization String US value Default UK value at+gci=B4; Japan at+gci=00; value Multiple at+gci=B4;+vcid=1;v0w2e0 command example

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.

Configuring a GSM (3G) modem on a GW2040 Series Router © Virtual Access Ltd. Issue: 1.5 Page 26 of 34 4: Setting up the GSM (3G) modem for a primary WAN link

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

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

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.

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

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. Physical channel name – modem-0 is used for GSM (3G) Channel modem. Called ISP phone number (not shown in case of GPRS mode Called No connection). Source IP address of the packet that caused the router to Source IP bring up this call. Destination IP address of the packet that caused the router Destination to bring up call. Protocol carried by the IP packet that caused the router to Protocol 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

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

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.

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

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.

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

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

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

Command Action performed by command ++modem Starts tracing modem events - (minus sign) Stops modem tracing.

Severity Text Description

INFO Modem: Dial () 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 () 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 () 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.

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

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

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