Table of Contents Introduction ............................1-1 Overview ............................1-2 Package Checklist ..........................1-2 Product Features ..........................1-2 Product Specifications ......................... 1-3 Getting Started ..........................2-1 Panel Layout ............................2-2 OnCell G3111/G3151-HSPA ......................2-2 Connecting the Hardware ........................2-3 Wiring Requirements ........................2-3 SIM Card Installation ........................
Page 4
S Registers ..........................7-18 SMS Tunnel Mode ..........................7-19 Disabled Mode ..........................7-20 Additional Serial Port Settings ......................8-1 Communication Parameters ......................... 8-2 Serial Parameters ........................8-2 Data Buffering/Log ..........................8-3 System Management Settings ......................9-1 Misc. Network Settings ........................9-2 Accessible IP List .........................
Page 5
Moxa OnCell Linux Real TTY Driver...................... B-18 Basic Procedure ........................B-18 Hardware Setup ........................B-18 Installing Linux Real TTY Driver Files ................... B-18 Mapping TTY Ports ........................B-19 Removing Mapped TTY Ports ....................... B-20 Removing Linux Driver Files ......................B-20 Moxa OnCell UNIX Fixed TTY Driver ....................
This 3G IP gateway is focusing on the Ethernet to Cellular communication and only offers 2 models for different serial interfaces – OnCell G3111-HSPA (RS-232) and OnCell G3151-HSPA (RS-232/422/485). With 3G technologies, users can now transmit even more data in between and is bringing the WWAN communication to a whole new level.
OnCell G3111/G3151-HSPA Series Introduction Overview The OnCell G3111/G3151-HSPA series of IP gateway aims to give users a simple and yet robust way to bring their remote Ethernet or serial devices to a 3G network. With the build-in TCP/IP protocol and PPP operation, the IP gateway simplifies the remote site setup by handling all the base-station negotiation and connection control automatically.
OnCell G3111/G3151-HSPA Series Introduction Product Specifications Cellular Interface Standards GSM/GPRS/EDGE/UMTS/HSPA Band Options: Five-band UMTS/HSPA 850/800, 900, 1900 and 2100 MHz Quad-band GSM/GPRS/EDGE 850/900/1800/1900 MHz HSPA Data Rate HSDPA Cat. 10 / HSUPA Cat.6 DL: max. 14.4 Mbps, UL: max. 5.76 Mbps EDGE Data Rate EDGE Class 12 DL: max.
Page 9
OnCell G3111/G3151-HSPA Series Introduction Physical Characteristics Housing Aluminum, providing IP30 protection Weight 165±5 g Dimensions 111 x 77 x 26 mm (4.37 x 3.03 x 1.02 in) Environmental Limits Operating Temperature -30 to 55°C (-22 to 131°F) Storage Temperature -40 to 75°C (-40 to 167°F) Ambient Relative Humidity 5 to 95% (30°C, non-condensing) Power Requirements...
Getting Started This chapter covers the hardware installation of the OnCell G3111/G3151-HSPA. Software installation is covered in the next chapter. The following topics are covered in this chapter: Panel Layout OnCell G3111/G3151-HSPA Connecting the Hardware Wiring Requirements ...
OnCell G3111/G3151-HSPA Series Getting Started Connecting the Hardware This section describes how to connect the OnCell G3111/G3151-HSPA cellular IP gateway to a host PC or serial device for the first time. We cover topics such as: Wiring Requirements, SIM Installation, Wall and DIN-Rail Mounting, Connecting the Power, Connecting to the Ethernet, Connecting to a Serial Device, Adjustable Pull High/Low Resistors for the RS-485 Port, and LED Indicators.
OnCell G3111/G3151-HSPA Series Getting Started Device Mounting There are two ways to mount the OnCell G3111/G3151-HSPA IP gateways – wall mounting and din-rail mounting. For wall mount, using the built-in “ears” to attach the device to a wall or the inside of a cabinet.
The Ethernet LED flashes when Ethernet packets are being transmitted or received. Connecting to a Serial Device The OnCell G3111-HSPA supports one RS-232 port that connects through a DB9 male connector on the bottom panel. The OnCell G3151-HSPA supports one RS-232/RS-422/RS-485-4w/RS-485-2w port that connects through a DB9 male connector on the bottom panel.
OnCell G3111/G3151-HSPA Series Getting Started LED Indicators The LED indicators on the front panel of the OnCell G3111/G3151-HSPA are described in the following table. Type Color LED Function Green Activation of DC Power. Power is off, or power error condition exists. Steady on: Software Ready.
Initial IP Address Configuration When setting up the OnCell G3111/G3151-HSPA for the first time, the first thing you should do is configure its Chapter 5, Basic IP address. This chapter introduces the different methods that can be used. Refer to Settings and Network Settings, for more details about network settings.
OnCell G3111/G3151-HSPA Series Initial IP Address Configuration Static and Dynamic IP Addresses Determine whether your OnCell G3111/G3151-HSPA needs to use a static IP address or dynamic IP address (either DHCP or BOOTP application). • If your OnCell G3111/G3151-HSPA is used in a static IP environment, you must assign a specific IP address using one of the tools described in this chapter.
OnCell G3111/G3151-HSPA Series Initial IP Address Configuration You may use the ARP (Address Resolution Protocol) command to set up an IP address for your OnCell G3111/G3151-HSPA. The ARP command tells your computer to associate the OnCell G3111/G3151-HSPA’s MAC address with an IP address. Afterwards, use Telnet to access the OnCell G3111/G3151-HSPA and its IP address will be reconfigured.
OnCell G3111/G3151-HSPA Series Initial IP Address Configuration Telnet Console Depending on how your computer and network are configured, you may find it convenient to use network access to set up your OnCell G3111/G3151-HSPA’s IP address. This can be done using Telnet. ATTENTION Figures in this section were taken from the OnCell G3111/G3151-HSPA’s Telnet console.
Page 20
OnCell G3111/G3151-HSPA Series Initial IP Address Configuration 5. Use the arrow keys to move the cursor to IP address. Use the DELETE, BACKSPACE, or SPACE keys to erase the current IP address, and then type in the new IP address and press ENTER. Note that if you are using a dynamic IP configuration (BOOTP, DHCP, etc.), you will need to go to the IP configuration field and press ENTER to select the appropriate configuration.
OnCell G3111/G3151-HSPA Series Initial IP Address Configuration 9. Press R or use the arrow keys to select Restart and then press ENTER. 10. Press S or use the arrow keys to select System and then press ENTER to restart the OnCell G3111/G3151-HSPA.
Page 22
OnCell G3111/G3151-HSPA Series Initial IP Address Configuration 4. The Property window opens automatically. Select the Communication Parameter tab, and then select the appropriate COM port for the connection (COM4 in this example). Configure the parameters for 115200, 8, N, 1 (115200 for Baudrate, 8 for Data Bits, None for Parity, and 1 for Stop Bits). 5.
Page 23
OnCell G3111/G3151-HSPA Series Initial IP Address Configuration 8. The main menu should appear. Once you are in the console, you may configure the IP address through the Network menu item, just as with the Telnet console. Refer to steps 4 to 11 in the Telnet Console section to complete the initial IP configuration.
Using the Web Console The web console is the most user-friendly method available to configure the OnCell G3111/G3151-HSPA. With a standard web browser, you have easy and intuitive access to all settings and options. In this chapter, we introduce the web console and go through the basic configuration options. The same configuration options are also available through the Telnet and serial console.
OnCell G3111/G3151-HSPA Series Using the Web Console Using Your Web Browser Browser Cookie Settings Verify that cookies are enabled for your browser. If the cookies are disabled, you will not be able to use the web console. (Cookies are only used for password transmission.) 1.
OnCell G3111/G3151-HSPA Series Using the Web Console Trusted Site Settings Windows Servers users may need to add the OnCell G3111/G3151-HSPA’s IP address to their browser’s list of trusted sites. 1. If you see the following window while attempting to view the web console, click on Add to modify the list of trusted sites.
OnCell G3111/G3151-HSPA Series Using the Web Console 2. In either case, the window below should appear, showing the list of sites that you have configured Internet Explorer to trust. Add the IP address of your OnCell G3111/G3151-HSPA here (the factory default IP address is 192.168.127.254).
OnCell G3111/G3151-HSPA Series Using the Web Console ATTENTION If you forget your password, the ONLY way to configure the OnCell G3111/G3151-HSPA is by using the reset button to reset all settings and load the factory defaults. If you have disabled the reset button in your OnCell G3111/G3151-HSPA configuration, you may still use it to load the factory defaults within the first 60 seconds that the OnCell G3111/G3151-HSPA is powered on.
Basic Settings and Network Settings The following topics are covered in this chapter: Basic Settings Server Settings Time Settings Network Settings Basic Network Settings DNS Settings Advanced Network Settings Auto IP Report Settings ...
OnCell G3111/G3151-HSPA Series Basic Settings and Network Settings Basic Settings The Basic Settings screen can be accessed from the navigation panel. Server Settings Server name: This is an optional free text field for your own use; it does not affect the operation of the OnCell G3111/G3151-HSPA, and can be used to help differentiate one OnCell G3111/G3151-HSPA server from another.
OnCell G3111/G3151-HSPA Series Basic Settings and Network Settings Time server: The OnCell G3111/G3151-HSPA uses SNTP (RFC-1769) for auto time calibration. You may enter a time server IP address or domain name in this optional field. Once the OnCell G3111/G3151-HSPA is configured with the correct time server address, it will request time information from the time server every 10 minutes.
Page 32
OnCell G3111/G3151-HSPA Series Basic Settings and Network Settings the network, the OnCell G3111/G3151-HSPA will use the subnet mask to check whether the desired TCP/IP host specified in the packet is on the local network segment. If the address is on the same network segment as the OnCell G3111/G3151-HSPA, a connection is established directly from the OnCell G3111/G3151-HSPA.
OnCell G3111/G3151-HSPA Series Basic Settings and Network Settings DNS Settings You can access DNS Settings by expanding the Network Settings item in the navigation panel. DNS server 1: This is an optional field. If your network has access to a DNS server, you may enter the DNS server’s IP address in this field.
OnCell G3111/G3151-HSPA Series Basic Settings and Network Settings OnCell G3111/G3151-HSPA products help out by periodically reporting their IP address to the IP location server, in case the dynamic IP has changed. The parameters shown below are used to configure the Auto IP report function.
OnCell G3111/G3151-HSPA Series Basic Settings and Network Settings GuaranLink Settings You can access GuaranLink Settings by expanding the Network Settings item in the navigation panel. Common Settings GuaranLink (default=Disable): Enable this setting to start the GuaranLink function. Register to network timeout (min) (default=10): This setting specifies how long GuaranLink should wait to register to the network before the OnCell reboots itself.
OnCell G3111/G3151-HSPA Series Basic Settings and Network Settings remote host 2. If the check action fails after the retry count number specified in “Packet-level connection check retry count.” the OnCell will re-establish a connection with ISP. Packet-level connection check action (default=DNS and PING): This setting specifies whether the check action is successful when both of the DNS lookup and the ping action succeed, or if it is successful even if only one of them succeed.
Page 37
OnCell G3111/G3151-HSPA Series Basic Settings and Network Settings OP mode data port 1 (default=63211): This is the operation mode TCP port number assignment for the serial port on the OnCell device. It is the port number that the serial port uses to listen for connections. To avoid conflicts with well known TCP ports, the default is set to 63211.
Cellular Network Settings In this chapter, we describe how to set up cellular networks, including GSM, GPRS, EDGE, UMTS, HSPA and SMS. The configuration options discussed here are also available from the Telnet and serial consoles. The following topics are covered in this chapter: ...
OnCell G3111/G3151-HSPA Series Cellular Network Settings Cellular Settings From the left navigation panel, click Network Settings Cellular Settings to configure the cellular operation settings. The various configuration items are described below: Type: The OnCell G3111/G3151-HSPA supports 3 types of operation modes. You may choose from GSM (CSD), GPRS/EDGE/UMTS/HSDPA/HSPA (PSD, 2G/3G), and SMS.
OnCell G3111/G3151-HSPA Series Cellular Network Settings Option Description Local Verify the ID against the OnCell G3111/G3151-HSPA password. The user name for the OnCell G3111/G3151-HSPA is fixed to “admin.” None Authentication is not required. Phone number: Use this field to configure the number used to dial out. Connection control Connect Rule Disconnect Rule...
OnCell G3111/G3151-HSPA Series Cellular Network Settings Username: This is the user ID account. Password: This is the user password. APN: Before using the GPRS/UMTS/HSDPA also need APN (Access Point Name) must be added as an IP gateway initialization command. Detailed instructions are shown below. Connection control Connect Rule Disconnect Rule...
Configuring Serial Port Operation Modes In this chapter, we explain how to configure the individual serial port modes. The following topics are covered in this chapter: Port Setting Basics Device Control Applications Real COM Mode Reverse Real COM Mode ...
OnCell G3111/G3151-HSPA Series Configuring Serial Port Operation Modes Port Setting Basics To configure the operation mode and settings for a port, expand Serial Port Settings in the navigation panel, and then expand the port that you would like to configure. Individual port settings are grouped into three categories in the navigation panel: Operation Modes, Communication Parameters, and Data Buffering/Log.
Page 44
OnCell G3111/G3151-HSPA Series Configuring Serial Port Operation Modes Max connection (default=1): This field is used if you need to receive data from different hosts simultaneously. When set to 1, only one specific host can access this port of the OnCell G3111/G3151-HSPA, and the OnCell COM driver on that host will have full control over the port.
Page 45
OnCell G3111/G3151-HSPA Series Configuring Serial Port Operation Modes Delimiter process (default=Do Nothing): The Delimiter process field determines how the data is handled when a delimiter is received. Delimiter 1 must be enabled for this field to have effect. If Delimiters 1 and 2 are both enabled, both characters must be received for the delimiter process to take place.
OnCell G3111/G3151-HSPA Series Configuring Serial Port Operation Modes Reverse Real COM Mode TCP alive check time (default=7 min): This field specifies how long the OnCell G3111/G3151-HSPA will wait for a response to “keep alive” packets before closing the TCP connection. The OnCell G3111/G3151-HSPA checks the connection status by sending periodic “keep alive”...
Page 47
OnCell G3111/G3151-HSPA Series Configuring Serial Port Operation Modes Ignore jammed IP (default=Disable): This option determines how the port will proceed if multiple hosts are connected and one or more of the hosts stops responding as the port is transmitting data. If you select Disable, the port will wait until the data has been transmitted successfully to all hosts before transmitting the next group of data.
Page 48
OnCell G3111/G3151-HSPA Series Configuring Serial Port Operation Modes ATTENTION In order to enable a delimiter, packet length must be set to 0. Delimiter 2 should only be enabled in conjunction with Delimiter 1 and never on its own; otherwise there may be data errors. Even when a delimiter is enabled, the OnCell G3111/G3151-HSPA will still pack and send the data when the amount of data exceeds 1 KB.
OnCell G3111/G3151-HSPA Series Configuring Serial Port Operation Modes RFC2217 Mode TCP alive check time (default=7 min): This field specifies how long the OnCell G3111/G3151-HSPA will wait for a response to “keep alive” packets before closing the TCP connection. The OnCell G3111/G3151-HSPA checks connection status by sending periodic “keep alive”...
OnCell G3111/G3151-HSPA Series Configuring Serial Port Operation Modes Force transmit (default=0 ms): This parameter defines how large a gap in serial communication the OnCell G3111/G3151-HSPA will allow before packing the serial data in its internal buffer for network transmission. As data is received through the serial port, it is stored by the OnCell G3111/G3151-HSPA in the internal buffer. The OnCell G3111/G3151-HSPA transmits data stored in the buffer via TCP/IP, but only when the internal buffer is full or as specified by the force transmit time.
Page 51
OnCell G3111/G3151-HSPA Series Configuring Serial Port Operation Modes ATTENTION You should make sure the inactivity time value used here is less than the inactivity time value on the GSM/GPRS configuration page. The GSM/GPRS connection must be maintained in order to achieve the inactivity time behavior of the TCP connection.
Page 52
OnCell G3111/G3151-HSPA Series Configuring Serial Port Operation Modes ATTENTION In order to enable a delimiter, packet length must be set to 0. Delimiter 2 should only be enabled in conjunction with Delimiter 1 and never on its own; otherwise there may be data errors. Even when a delimiter is enabled, the OnCell G3111/G3151-HSPA will still pack and send the data when the amount of data exceeds 1 KB.
OnCell G3111/G3151-HSPA Series Configuring Serial Port Operation Modes TCP Client Mode TCP alive check time (default=7 min): This field specifies how long the OnCell G3111/G3151-HSPA will wait for a response to “keep alive” packets before closing the TCP connection. The OnCell G3111/G3151-HSPA checks connection status by sending periodic “keep alive”...
Page 54
OnCell G3111/G3151-HSPA Series Configuring Serial Port Operation Modes Ignore jammed IP (default=Disable): This option determines how the port will proceed if multiple hosts are connected and one or more of the hosts stops responding as the port is transmitting data. If you select Disable, the port will wait until the data has been transmitted successfully to all hosts before transmitting the next group of data.
Page 55
OnCell G3111/G3151-HSPA Series Configuring Serial Port Operation Modes ATTENTION In order to enable a delimiter, packet length must be set to 0. Delimiter 2 should only be enabled in conjunction with Delimiter 1 and never on its own; otherwise there may be data errors. Even when a delimiter is enabled, the OnCell G3111/G3151-HSPA will still pack and send the data when the amount of data exceeds 1 KB.
OnCell G3111/G3151-HSPA Series Configuring Serial Port Operation Modes UDP Mode Destination address 1 through 4 (default=None): In UDP mode, you may specify up to 4 ranges of IP addresses for the serial port to connect to. At least one destination range must be provided. ATTENTION The maximum selectable IP address range is 64 addresses.
OnCell G3111/G3151-HSPA Series Configuring Serial Port Operation Modes • Delimiter + 2: Data in the buffer will be transmitted after 2 additional bytes are received following the delimiter. • Strip Delimiter: Data in the buffer is first stripped of the delimiter before being transmitted. Force transmit (default=0 ms): This parameter defines how large a gap in serial communication the OnCell G3111/G3151-HSPA will allow before packing the serial data in its internal buffer for network transmission.
OnCell G3111/G3151-HSPA Series Configuring Serial Port Operation Modes Dial-in The OnCell G3111/G3151-HSPA listens for a TCP/IP connection request from the remote Ethernet modem or host. The OnCell G3111/G3151-HSPA’s response depends on the ATS0 value, as follows. ATS0=0: The OnCell G3111/G3151-HSPA will temporarily accept the TCP connection and then send the RING signal out through the serial port.
OnCell G3111/G3151-HSPA Series Configuring Serial Port Operation Modes AT command Description Remarks On line command ATP, ATT Set Pulse/Tone Dialing mode reply “OK” only ATQ0, ATQ1 Quiet command (default=ATQ0) ATSr=n Change the contents of S register See “S registers” ATSr? Read the contents of S register See “S registers”...
OnCell G3111/G3151-HSPA Series Configuring Serial Port Operation Modes SMS Tunnel Mode SMS IN enable (default=Disable): To allow forwarding incoming short message to the OnCell G3111/G3151-HSPA’s serial port as data. Auth type (default=none): To allow Caller ID Authentication Caller ID (1 through 4): Phone number should be specified. SMS OUT enable (default=Disable): To allow data received from the attached serial devices to be transmitted as short messages.
OnCell G3111/G3151-HSPA Series Configuring Serial Port Operation Modes Delimiter 1 and Delimiter 2 (default=None): When Delimiter 1 is enabled, the serial port will queue the data in the buffer and send the data to the Cellular or Ethernet port when a specific character, entered in hex format, is received.
Additional Serial Port Settings In this chapter, we describe additional serial port settings for the OnCell G3111/G3151-HSPA. The same configuration options are also available through the Telnet and serial consoles. The following topics are covered in this chapter: Communication Parameters ...
OnCell G3111/G3151-HSPA Series Additional Serial Port Settings Communication Parameters Port alias: This optional field allows you to assign an alias to a port for easier identification. Serial Parameters ATTENTION The serial parameters for the each serial port on the OnCell G3111/G3151-HSPA should match the parameters used by the connected serial device.
OnCell G3111/G3151-HSPA Series Additional Serial Port Settings Data Buffering/Log The OnCell G3111/G3151-HSPA supports port buffering to prevent the loss of serial data when the Cellular or Ethernet connection is down. Port buffering can be used in Real COM, Reverse Real COM, RFC2217, TCP Server, TCP Client, and SMS Tunnel modes.
System Management Settings In this chapter, we describe additional server settings on the OnCell G3111/G3151-HSPA. The same configuration options are also available through the Telnet and serial console. The following topics are covered in this chapter: Misc. Network Settings ...
OnCell G3111/G3151-HSPA Series System Management Settings Misc. Network Settings Accessible IP List The OnCell G3111/G3151-HSPA uses an IP address-based filtering method to control access to its serial ports. The Accessible IP list allows you restrict network access to the OnCell G3111/G3151-HSPA. Access is controlled by IP address.
OnCell G3111/G3151-HSPA Series System Management Settings SNMP Agent Settings SNMP: To enable the SNMP Agent function, select the Enable option, and enter a community name (e.g., public). Read community string (default=public): This is a text password mechanism that is used to weakly authenticate queries to agents of managed network devices.
OnCell G3111/G3151-HSPA Series System Management Settings DDNS Refer to Appendix C, Dynamic Domain Name Server, for information on setting up DDNS on your OnCell G3111/G3151-HSPA. Host Table The Host Table can be used to simplify IP address entry in the OnCell G3111/G3151-HSPA console by assigning a Host Name to a Host IP Address.
OnCell G3111/G3151-HSPA Series System Management Settings System Log Settings System Log Settings allows the administrator to customize which network events are logged by the OnCell G3111/G3151-HSPA. Events are grouped into five categories, known as event groups, and the administrator selects which groups to log under Local Log. The actual system events that would be logged for each system group are listed under summary.
OnCell G3111/G3151-HSPA Series System Management Settings Public Port: The public port is the port seen from the Internet side. Public ports cannot be set to ports used by OP modes (950, 966, 4001...etc) Internal IP: Enter the IP address of the host on your local network that you want to allow the incoming service Internal Port: The internal port is the port being used by the application on the host within your local network.
OnCell G3111/G3151-HSPA Series System Management Settings Auto Warning Settings Event Settings On the Event Settings page, you may configure how administrators are notified of certain system, network, configuration, and cellular module events. Depending on the event, different options for automatic notification are available, as shown above.
OnCell G3111/G3151-HSPA Series System Management Settings Serial Event Settings On the Serial Event Settings page, you may configure how administrators are notified of each serial port’s DCD and DSR changes. Mail refers to sending an e-mail to a specified address. Trap refers to sending an SNMP Trap. Dout refers to changing the status of the relay output.
OnCell G3111/G3151-HSPA Series System Management Settings ATTENTION Consult your Network Administrator or ISP for the proper mail server settings. The Auto warning function may not work properly if it is not configured correctly. The OnCell G3111/G3151-HSPA’s SMTP AUTH supports LOGIN, PLAIN, and CRAM-MD5 (RFC 2554). Mail server: This field is for your mail server’s domain name or IP address.
OnCell G3111/G3151-HSPA Series System Management Settings Maintenance Console Setting On this screen, access to different OnCell G3111/G3151-HSPA configuration console options (HTTP, HTTPS, Telnet, SSH) can be enabled or disabled. Refer to Change Password later in this chapter for more information on passwords.
OnCell G3111/G3151-HSPA Series System Management Settings Firmware Upgrade The OnCell G3111/G3151-HSPA’s firmware can be upgraded though the web console, serial console, or through OnCell Search Utility. If you have made any changes to your configuration, remember to save the configuration first before upgrading the firmware. Refer to Save Configuration later in this chapter for more information.
OnCell G3111/G3151-HSPA Series System Management Settings Change Password For all changes to the OnCell G3111/G3151-HSPA’s password protection settings, you will first need to enter the old password. Leave this blank if you are setting up password protection for the first time. To set up a new password or change the existing password, enter your desired password under both New password and Confirm password.
OnCell G3111/G3151-HSPA Series System Management Settings restart: When receiving the SMS message [@password@restart], the device will reboot. Ex. If Password=12345, then sending an SMS notification that reads @12345@restart to the OnCell will reboot the OnCell. cell. report: When receiving the SMS message [@password@cell.report], the device will reply with the current cellular status.
OnCell G3111/G3151-HSPA Series System Management Settings System Monitoring Serial Status Serial to Network Connections Go to Serial to Network Connections under Serial Status to view the operation mode and status of each connection for each serial port. All monitor functions will refresh automatically every 15 seconds. Serial Port Status Go to Serial Port Status under Serial Status to view the current status of each serial port.
OnCell G3111/G3151-HSPA Series System Management Settings System Log This option displays the system log. You may click Select all to select the entire log if you wish to copy and paste the contents into a text file. Network Status Network Connections Go to Network Connections under System Status to view network connection information.
OnCell G3111/G3151-HSPA Series System Management Settings Network Statistics Go to Network Statistics under System Status to view network statistics. Routing Go to Routing under System Status to display the routing information. Possible flags include: U: route is up D: route is down G: use gateway +: default gateway T: static route...
OnCell G3111/G3151-HSPA Series System Management Settings Internet Sessions List The Internet Sessions page displays full details of active Internet sessions through your gateway. An Internet session is a conversation between a program or application on a LAN-side computer and a program or application on a WAN-side computer or device.
Page 82
OnCell G3111/G3151-HSPA Series System Management Settings 9-18...
OnCell G3111/G3151-HSPA Series System Management Settings Restart Ports Go to Restart Ports under Restart and then select the ports to be restarted. Click Select All to select all the ports. Click Submit to restart the selected ports. 9-19...
Introduction to Serial Port Operation Modes In this chapter, we describe the various operation modes of the OnCell G3111/G3151-HSPA. The OnCell G3111/G3151-HSPA modes are grouped by type of application, such as Device Control. The options include an operation mode that relies on a driver installed on the host computer, and operation modes that rely on TCP/IP Chapter 7, Serial socket programming concepts.
OnCell G3111/G3151-HSPA Series Introduction to Serial Port Operation Modes Device Control Applications The OnCell G3111/G3151-HSPA offers the following modes for device control applications: Real COM, Reverse Real COM, and RFC2217 modes. Real COM Modes The OnCell G3111/G3151-HSPA comes bundled with Moxa drivers for Windows NT/2000/XP/2003/2008/Vista/7 systems and TTY drivers for Linux and Unix systems.
OnCell G3111/G3151-HSPA Series Introduction to Serial Port Operation Modes of the OnCell G3111/G3151-HSPA is changed each time it is connected to the cellular network, the host IP can be notified of the change by an Auto IP Report message sent from the OnCell G3111/G3151-HSPA. Refer to Appendix E to see the format of the Auto IP Report Protocol.
OnCell G3111/G3151-HSPA Series Introduction to Serial Port Operation Modes Types of Reverse Real COM Connection 1. Reverse Real COM to PC’s IP address. Most cellular service providers only provide customers with a dynamic private IP address, which means that the OnCell G3111/G3151-HSPA will only obtain an IP address once it is connected to the cellular network. Reverse Real COM is a great feature that allows a PC host to access an OnCell G3111/G3151-HSPA configured with a private IP address.
OnCell G3111/G3151-HSPA Series Introduction to Serial Port Operation Modes Types of TCP Server Connection 1. Fixed Public IP for the OnCell. If your cellular service provider offers a fixed public IP address after you connect to the cellular network, you can access the OnCell G3111/G3151-HSPA from a host PC using either a private IP or public IP. 2.
OnCell G3111/G3151-HSPA Series Introduction to Serial Port Operation Modes 4. Connecting TCP client and TCP server within the same cellular service provider. In order to connect properly, the IP addresses of the two OnCell devices must belong to the same subnetwork.
OnCell G3111/G3151-HSPA Series Introduction to Serial Port Operation Modes 2. TCP Client to PC’s domain name. To connect to a host PC, the host PC must be configured with public IP address. If it is using a dynamic public IP, then the OnCell G3111/G3151-HSPA can connect to it using the host’s domain name. Refer to Appendix C for more information.
OnCell G3111/G3151-HSPA Series Introduction to Serial Port Operation Modes Types of UDP Connection 1. Fixed Public IPs for both OnCell and Host PC. If your cellular service provider offers a fixed public IP address after you connect to the cellular network, you can access the OnCell G3111/G3151-HSPA from a host PC that has a fixed public IP.
OnCell G3111/G3151-HSPA Series Introduction to Serial Port Operation Modes Ethernet Modem Mode Ethernet Modem mode is designed for use with legacy operating systems, such as MS-DOS, that do not support TCP/IP networks. By connecting a properly configured OnCell G3111/G3151-HSPA serial port to the MS-DOS computer’s serial port, it is possible to use legacy software to transmit data over the cellular network, even if the software was originally designed to transmit data through a modem.
Software Installation/Configuration Overview The Documentation & Software CD included with your OnCell G3111/G3151-HSPA is designed to make the installation and configuration procedure easy and straightforward. This auto-run CD includes OnCell Windows Driver Manager (for COM mapping), OnCell Search Utility (to broadcast search for all OnCell G3111/G3151-HSPA gateways accessible over the network), the OnCell G3111/G3151-HSPA User’s Manual, and the OnCell firmware upgrade utility.
Page 94
OnCell G3111/G3151-HSPA Series Software Installation/Configuration Click Next to install program files to the default directory, or click Browse to select an alternate location. 3. Click Next to install the program’s shortcuts in the appropriate Start Menu folder. 4. Click Next to proceed with the installation. The installer then displays a summary of the installation options.
Page 95
OnCell G3111/G3151-HSPA Series Software Installation/Configuration 5. Click Install to begin the installation. The setup window will report the progress of the installation. To change the installation settings, click Back and navigate to the previous screen. On Windows XP, the installer will display a message that the software has not passed Windows Logo testing. This is shown as follows: Click Continue Anyway to finish the installation.
OnCell G3111/G3151-HSPA Series Software Installation/Configuration Using OnCell Windows Driver Manager After you install OnCell Windows Driver Manager, you can set up the OnCell G3111/G3151-HSPA’s serial ports as remote COM ports for your PC host. Make sure that the serial port(s) on your OnCell G3111/G3151-HSPA are set to Real COM mode when mapping COM ports with OnCell Windows Driver Manager.
Page 97
OnCell G3111/G3151-HSPA Series Software Installation/Configuration OnCell page supports FQDN (Fully Qualified Domain Name), in which case the IP address will be filled in automatically. If you select “WAN IP or Host name,” you must configure the 1st Data Port, 1st Command Port, and Total Ports for the COM ports that will be mapped to.
Page 98
OnCell G3111/G3151-HSPA Series Software Installation/Configuration You can also select Enable Auto IP Report. Refer to the MAC address on the device label and type in the MAC address in the MAC address line to update the IP address for this mapping entry automatically whenever the IP address of the OnCell G3111/G3151-HSPA is changed.
Page 99
OnCell G3111/G3151-HSPA Series Software Installation/Configuration 5. When using Windows XP, a message is displayed during the activation of each port, indicating that the software has not passed Windows Logo certification. Click Continue Anyway to proceed. 6. Ports that have been activated will appear in black.
Page 100
OnCell G3111/G3151-HSPA Series Software Installation/Configuration For Reverse Real COM mode, you can select Input Manually and then manually enter the LAN MAC address for OnCell G3111/G3151-HSPA. Click OK to proceed to the next step. To re-configure the settings for a particular serial port on the OnCell G3111/G3151-HSPA, select the row corresponding to the desired port, and then click the Setting icon.
Page 101
OnCell G3111/G3151-HSPA Series Software Installation/Configuration 7. On the Basic Setting page, use the COM Number drop-down list to select a COM number to be assigned to the OnCell G3111/G3151-HSPA’s serial port that is being configured. Note that ports that are “in use” will be labeled accordingly.
Page 102
OnCell G3111/G3151-HSPA Series Software Installation/Configuration FIFO If FIFO is Disabled, the OnCell G3111/G3151-HSPA will transmit one byte each time the Tx FIFO becomes empty, and an Rx interrupt will be generated for each incoming byte. This will result in a faster response and lower throughput.
Page 103
OnCell G3111/G3151-HSPA Series Software Installation/Configuration 9. The Serial Parameters tab in the following figure show the default settings when the OnCell G3111/G3151-HSPA is powered on. However, the program can redefine the serial parameters to different values after the program opens the port with Win32 API. 10.
OnCell G3111/G3151-HSPA Series Software Installation/Configuration 11. To save the configuration to a text file, select Export from the COM Mapping menu. You will then be able to import this configuration file to another host and use the same COM Mapping settings in the other host. OnCell Search Utility Installing OnCell Search Utility 1.
Page 105
OnCell G3111/G3151-HSPA Series Software Installation/Configuration 3. Click Next to install program files to the default directory, or click Browse to select an alternate location. 4. Click Next to select additional tasks. B-13...
OnCell G3111/G3151-HSPA Series Software Installation/Configuration 5. Click Next to proceed with the installation. The installer then displays a summary of the installation options. 6. Click Install to begin the installation. The setup window will report the progress of the installation. To change the installation settings, click Back and navigate to the previous screen.
Page 107
OnCell G3111/G3151-HSPA Series Software Installation/Configuration 1. Open OnCell Search Utility and then click the Search icon. The Searching window indicates the progress of the search. 2. When the search is complete, all OnCell G3111/G3151-HSPA servers that were located will be displayed in the OnCell Search Utility window.
Page 108
OnCell G3111/G3151-HSPA Series Software Installation/Configuration Click Locate to cause the selected device to beep. To modify the configuration of the highlighted OnCell G3111/G3151-HSPA, click on the Console icon to open the web console. This will take you to the web console, where you can make all configuration changes. Refer Chapter 4, Using the Web Console, for information on how to use the web console.
Page 109
OnCell G3111/G3151-HSPA Series Software Installation/Configuration 3. Select IP Address Report for monitoring the status of IP Address, and click Go. 4. To change the configuration of the IP Address Report, click on the Settings icon to open the IP Location Settings.
OnCell G3111/G3151-HSPA Series Software Installation/Configuration 5. Click the Go icon to complete the configuration. Refer to Chapter 4, Using the Web Console, for information on how to use the IP Address Report. Moxa OnCell Linux Real TTY Driver Basic Procedure To map an OnCell G3111/G3151-HSPA serial port to a Linux host’s tty port, follow these instructions: 1.
OnCell G3111/G3151-HSPA Series Software Installation/Configuration 6. Execute /tmp/oncell_realtty/mxinst. For RedHat AS/ES/WS and Fedora Core1, append an extra argument as follows: # /tmp/oncell_realtty/mxinst SP1 The shell script will install the driver files automatically. 7. After installing the driver, you will be able to see several files in the /usr/lib/oncell_realtty/driver folder: >...
OnCell G3111/G3151-HSPA Series Software Installation/Configuration Removing Mapped TTY Ports After logging in as root, enter the directory /usr/lib/oncell_realtty/driver and then execute mxdelsvr to delete a server. The syntax of mxdelsvr is: mxdelsvr [IP Address] Example: # cd /usr/lib/oncell_realtty/driver # ./mxdelsvr 192.168.3.4 The following actions are performed when executing mxdelsvr: 1.
OnCell G3111/G3151-HSPA Series Software Installation/Configuration 4. Compile and Link For SCO UNIX: # make sco For UnixWare 7: # make svr5 For UnixWare 2.1.x, SVR4.2: # make svr42 Configuring the UNIX Driver Modify the configuration: The configuration used by the oncellttyd program is defined in the text file oncellttyd.cf, which is in the same directory that contains the program oncellttyd.
OnCell G3111/G3151-HSPA Series Pinouts and Cable Wiring Cable Wiring Diagrams Serial Cables Female DB9 to Male DB9 Female DB9 to Male DB25 Pin Assignments for DB9 and DB25 Connectors Pin Assignments for DB9 Male and Female Connectors...
Page 116
OnCell G3111/G3151-HSPA Series Pinouts and Cable Wiring Pin Assignments for DB25 Male and Female Connectors...
RFC2217 This appendix explains how to set up the environment to use RFC-2217 mode. RFC2217 defines general COM port control options based on the Telnet protocol and is used to allow the mapping of virtual COM ports to network ports. Any third party driver that supports RFC-2217 can be used to implement the virtual COM port on the OnCell G3111/G3151-HSPA.
Dynamic Domain Name Server This appendix explains how to use the OnCell G3111/G3151-HSPA with DDNS. When the OnCell G3111/G3151-HSPA receive its IP address from a DHCP (Dynamic Host Configuration Protocol) server, remote servers will be unable to access it using a fixed IP address. With DDNS (Dynamic Domain Name Server), a remote server can access the OnCell G3111/G3151-HSPA using its domain name instead of its IP address.
OnCell G3111/G3151-HSPA Series Dynamic Domain Name Server The above screenshot shows how DHCP can be set up to update the DNS. Currently, the OnCell G3111/G3151-HSPA supports DNS service as provided by DynDNS. For detailed information on this option, visit https://www.dyndns.com. Configuration DDNS (default=Disable): Use this field to enable or disable DDNS.
Well Known Port Numbers In this appendix, we provide a list of well known port numbers that may cause network problems if you set the OnCell G3111/G3151-HSPA to one of these ports. Refer to RFC 1700 for well known port numbers or to the following introduction from the IANA: The port numbers are divided into three ranges: the Well Known Ports, the Registered Ports, and the Dynamic and/or Private Ports.
Page 121
OnCell G3111/G3151-HSPA Series Well Known Port Numbers UDP Socket Application Service Reserved Management Utility Echo Discard Active Users (systat) Daytime Any private printer server Resource Location Protocol Host name server (names server) Whois (nickname) Login Host Protocol (login) Domain Name Server (domain) Trivial Transfer Protocol (TETP) Gopher Protocol Finger Protocol...
Auto IP Report Protocol OnCell Series provides several ways to configure Ethernet IP addresses. One of them is DHCP Client. When you set up the OnCell to use DHCP Client to configure Ethernet IP addresses, it will automatically send a DHCP request over the Ethernet to find the DHCP Server.
Page 123
OnCell G3111/G3151-HSPA Series Auto IP Report Protocol AP ID & Device ID Mapping Table AP ID Hardware ID Product 0x80003620 0x3522 OnCell G3111-HSPA 0x80003620 0x3562 OnCell G3151-HSPA...
Page 124
GSM Alphabet Standard SMS can contain 160 characters. However, the characters typed must be part of the so-called 7-bit default alphabet as specified by GSM 3.38. As shown in the table below, this alphabet contains all ASCII characters and some accented characters. For example, u umlaut (ü) and e with grave (è) are in this set.
Page 125
OnCell G3111/G3151-HSPA Series GSM Alphabet Character Name Character ISO-8859-1 DEC 0x1B28 27 40 LEFT CURLY BRACKET 0x1B29 27 41 RIGHT CURLY BRACKET 0x1B2F 27 47 REVERSE SOLIDUS (BACKSLASH) 0x1B3C 27 60 LEFT SQUARE BRACKET 0x1B3D 27 61 TILDE 0x1B3E 27 62 RIGHT SQUARE BRACKET 0x1B40 27 64...
Page 126
OnCell G3111/G3151-HSPA Series GSM Alphabet Character Name Character ISO-8859-1 DEC 0x47 LATIN CAPITAL LETTER G 0x48 LATIN CAPITAL LETTER H 0x49 LATIN CAPITAL LETTER I 0x4A LATIN CAPITAL LETTER J 0x4B LATIN CAPITAL LETTER K 0x4C LATIN CAPITAL LETTER L 0x4D LATIN CAPITAL LETTER M 0x4E...
OnCell G3111/G3151-HSPA Series GSM Alphabet Character Name Character ISO-8859-1 DEC 0x7B LATIN SMALL LETTER A WITH DIAERESIS ä 0x7C LATIN SMALL LETTER O WITH DIAERESIS ö 0x7D LATIN SMALL LETTER N WITH TILDE ñ 0x7E LATIN SMALL LETTER U WITH DIAERESIS ü...
Need help?
Do you have a question about the OnCell G3111-HSPA and is the answer not in the manual?
Questions and answers