Important Notice .................................................................................................................................. 5
Getting started ..................................................................................................................................... 6
A. Glossary ...................................................................................................................................... 170
Index ................................................................................................................................................ 172
B. Revision History .......................................................................................................................... 175
List of Figures
1. Router MG102i UMTS and MG102i LTE ......................................................................................... 6
2.1. MG102i front and terminal panel .................................................................................................. 9
4.1. Dimensions in millimeters ........................................................................................................... 12
4.2. Antenna connectors SMA ........................................................................................................... 12
4.3. Eth RJ45 Plug - pin numbering .................................................................................................. 13
4.4. USB connector ........................................................................................................................... 13
Although every precaution has been taken in preparing this information, RACOM assumes no liability
for errors and omissions, or any damages resulting from the use of this information. This document or
the equipment may be modified without notice, in the interests of improving the product.
Trademark
All trademarks and product names are the property of their respective owners.
Important Notice
•Due to the nature of wireless communications, transmission and reception of data can never be
guaranteed. Data may be delayed, corrupted (i.e. have errors), or be totally lost. Significant delays
or losses of data are rare when wireless devices such as the M!DGE/MG102i are used in an appropriate manner within a well‐constructed network. M!DGE/MG102i should not be used in situations
where failure to transmit or receive data could result in damage of any kind to the user or any other
party, including but not limited to personal injury, death, or loss of property. RACOM accepts no liability for damages of any kind resulting from delays or errors in data transmitted or received using
M!DGE/MG102i, or for the failure of M!DGE/MG102i to transmit or receive such data.
•Under no circumstances is RACOM or any other company or person responsible for incidental,
accidental or related damage arising as a result of the use of this product. RACOM does not provide
the user with any form of guarantee containing assurance of the suitability and fit for purpose.
•RACOM products are not developed, designed or tested for use in applications which may directly
affect health and/or life functions of humans or animals, nor to be a component of similarly important
systems, and RACOM does not provide any guarantee when company products are used in such
applications.
MG102i Wireless Routers will only operate reliably over the cellular network if there is a strong signal.
For many applications a flexible stub antenna would be suitable but in some circumstances it may be
necessary to use a remote antenna with an extension cable to allow the antenna itself to be positioned
so as to provide the best possible signal reception. RACOM can supply a range of suitable antennas.
1.Install the SIM card
Insert a SIM card into the SIM socket. Make sure the SIM is enabled for data transmission.
2.Connect the GSM/UMTS antenna
Fit a GSM/UMTS antenna. If needed, contact RACOM for suitable antennas and other details.
3.Connect the LAN cable
Connect one MG102i Ethernet port to your computer using an Eth cat.5 cable
4.Connect the power supply
Connect the power supply wires to the MG102i screw terminals. Enable the power supply.
5.Setting of IP address of the connected computer
By default the DHCP server is enabled, thus you can allow the Dynamic Host Configuration Protocol
(DHCP) on your computer to lease an IP address from the MG102i. Wait approximately 20 seconds
until your computer has received the parameters (IP address, subnet mask, default gateway, DNS
server).
As an alternative. you can configure a static IP address on your PC (e.g. 192.168.1.2/24) so that
it is operating in the same subnet as the MG102i. The MG102i default IP address for first Eth interface is 192.168.1.1, the subnet mask is 255.255.255.0.
6.Start setting up using web browser
Open a web browser such as Internet Explorer or Firefox. In the address field of the web browser,
enter default IP address of MG102i (i.e. http://192.168.1.1); initial screen will appear. Follow the
instructions and use the MG102i Web Manager to configure the device. For more details see
Chapter 7, Web Configuration.
Although MG102i wireless routers have been specifically designed for SCADA and telemetry, they are
well suited to variety of wireless applications. MG102i HW and SW are ready to maintain reliable and
secure connections from an unlimited number of remote locations to a central server. Both standard
Ethernet/IP and serial interfaces are available. Moreover, two digital inputs and two digital outputs can
be used for direct monitoring and control of application devices.
MG102i versatility is further enhanced by two independent Ethernet ports. These can be configured to
either support two independent LANs (e.g. LAN and WAN settings), or simply connect two devices
within one LAN (effectively replacing an Eth switch). MG102i software is based on proven components,
including an Embedded Linux operating system and standard TCP/IP communication protocols.
Combining MG102i with a M!DGE single-SIM router in one network is quite straightforward because
of fully compatible interface settings and behaviour on all HW interfaces.
MG102i and M!DGE cellular routers are from the same product family, shares the same source code
and setting of many feautres is identical.
M!DGE/MG102i together with RACOM RipEX radio router offers an unrivaled solution for combining
GPRS and UHF/VHF licensed radio in a single network. Even a single RipEX in the center of a MG102i
network allows for efficient use of addressed serial SCADA protocols.
•Services (Section 7.6, “SERVICES” )
○ SDK
○ NTP Server
○ DHCP Server
○ DNS Server
○ Dynamic DNS Client
○ E-mail Client
○ Notification via E-mail and SMS
○ SMS Client
○ SSH/Telnet Server
○ SNMP Agent
○ Web Server
○ Redundancy
○ Modbus TCP
•System Administration (Section 7.7, “SYSTEM”)
○ Configuration via Web Manager
○ Configuration via Command Line Interface (CLI) accessible via Secure Shell (SSH) and telnet
○ Batch configuration with text files
○ User administration
○ Troubleshooting tools
○ Over the air software update
○ Licensing (extra features)
○ Keys and certificates (HTTPS, SSH, OpenVPN, ...)
○ Legal Notice
SCADA equipment with an Ethernet protocol behaves as standard Ethernet equipment from a communications perspective. Thus the communication goes transparently through the GPRS/UMTS/LTE
network. The implementation requires heightened caution to IP addressing and routing. NAPT functionality should be used frequently.
3.2. Serial SCADA protocols
A SCADA serial protocol typically uses simple 8 or 16 bit addressing. The mobile network address
scheme is an IP network, where range is defined by the service provider (sometimes including individual
addresses, even in the case of a private APN). Consequently, a mechanism of translation between
SCADA and the IP addresses is required. To make matters worse, IP addresses may be assigned to
GPRS (EDGE, UMTS, etc.) devices dynamically upon each connection.
Please read Chapter 1 in the application note "SCADA serial protocols over GPRS routers"1which
describes how to efficiently solve this problem using RACOM routers.
3.3. Network center
In every network, the center plays a key role and has to be designed according to customer's requirements. Several possible solutions are described in the application note's Chapter 2 – M!DGE / MG102i
CENTER2.
3.4. VPN tunnels
Customer data security arriving through the mobile network is often very important. Private APN is the
basic security requirement, but not safe enough for such applications.
VPN tunnels solution is closely connected with the center and is also described in the given application
note3.
[1] - If the applied voltage is > 15 V, damage is likely
[2] - If the relay is closed (normally open), the relay is damaged when current > 5 A
[3] - If the relay is closed (normally closed), the relay is damaged when current > 5 A
[4] - If the applied voltage is > 40 V, input circuit damage is likely
4.2.5. Reset button
The Reset button is placed close to the SIM holders and it is labeled
"Reset". Use a blunt tool with 1 mm in diameter (e.g. paper clip) to press
the button.
Keep it pressed for at least 3 seconds for reboot and at least 10 seconds
for a factory reset. The start of the factory reset is confirmed by all LEDs
lighting up for one second. The button can be released afterwards.
Note
If the button is being pressed at least 15 seconds until all
LED diodes blink red, the recovery procedure is started. The recovery image can be provided
on demand and a special procedure utilizing the TFTP transfer from your computer is required. Contact our technical support team for more details.
Before starting to work with the HW please be sure that you have a SIM card enabled for data and you
have all the necessary information from the mobile operator (PIN, APN, login, passwd)
5.1. Connecting the hardware
5.1.1. Install the SIM card
Insert a SIM card into the SIM socket. If the router has two SIM card sockets, use the first one. Make
sure the SIM is enabled for data transmission.
There are two reasons for installing the SIM card as the first task: a) the SIM card could be damaged
when inserted into the powered equipment, b) the information from SIM card are read only after a power
cycle.
5.1.2. Connect the GSM/UMTS antenna
Fit a GSM/UMTS antenna. For details see Section 4.6, “Accessories” or contact RACOM for suitable
antennas.
5.1.3. Connect the LAN cable
Connect one M!DGE/MG102i Ethernet port to your computer using an Eth cat.5 cable.
5.1.4. Connect the power supply
Connect the power supply wires to the M!DGE/MG102i screw terminals, ensuring correct polarity.
Switch on the power supply.
5.2. Powering up your wireless router
Switch on your power supply. The status LED flashes for a few seconds and after 8 seconds it starts
blinking to a green light. After approximately 30 seconds your router will have booted and will be ready;
the Status LED remains shining.
When the Mobile Connection is enabled the Connect LED starts blinking while connecting to the
GPRS/UMTS network – the color (green/orange/red) represents the signal strength (excellent, medium,
weak).
You’ll find the description of the individual LED states in Section 4.3, “Indication LEDs”.
5.3. Connecting MG102i to a programming PC
a.Please connect the Ethernet interfaces of your computer and MG102i.
b.If not yet enabled, please enable the Dynamic Host Configuration Protocol (DHCP) so that your
computer can lease an IP address from MG102i. Wait a moment until your PC has received the
parameters (IP address, subnet mask, default gateway, DNS server).
Alternative: Instead of using the DHCP, configure a static IP address on your PC (e.g.
192.168.1.10 mask 255.255.255.0) so that it is operating in the same subnet as the MG102i.
The default subnet mask is 255.255.255.0 for all interfaces.
c.Start a Web Browser on your PC. Type the MG102i IP address in the address bar:
http://192.168.1.1
d.Please set a password for the admin user account. Choose something that is both easy to remember
and a strong password (such as one that contains numbers, letters and punctuation). The password
shall have a minimum length of 6 characters. It shall contain a minimum of 2 numbers and 2 letters.
Note
For security reasons, there is no default password.
e.Agree to the terms and conditions. The user is now obliged to accept our end user license agree-
ment during the initial MG102i setup.
5.4. Basic setup
The M!DGE/MG102i Web Manager can always be reached via the Ethernet interface. After successful
setup, Web Manager can also be accessed via the mobile interface. Any up to date web browser can
be used. Any web browser supporting JavaScript can be used. By default, the IP address of the Ethernet
interface is 192.168.1.1, the web server runs on port 80.
The minimum configuration steps include:
1.Defining the admin password
2.Entering the PIN code for the SIM card
3.Configuring the Access Point Name (APN)
4.Starting the mobile connection
Note
Router (M!DGE or MG102i) can be safely turned off by unplugging the power supply.
M!DGE/MG102i Wireless Router is designed for a DIN rail mounting or on a panel using flat bracket.
Please consider the safety instructions in Chapter 10, Safety, environment, licensing.
6.2. Antenna mounting
M!DGE/MG102i Wireless Routers will only operate reliably over the GSM network if there is a strong
signal. For many applications the flexible stub antenna provided would be suitable but in some circumstances it may be necessary to use a remote antenna with an extended cable to allow the antenna itself
to be positioned so as to provide the best possible signal reception. RACOM can supply a range of
suitable antennas.
Beware of the deflective effects caused by large metal surfaces (elevators, machine housings, etc.),
close meshed iron constructions and choose the antenna location accordingly. Fit the antenna or
connect the antenna cable to the GSM antenna connector.
In external antennas the surge protection of coaxial connection would be required.
Note
Be sure that the antenna was installed according to the recommendation by the antenna
producer and all parts of the antenna and antenna holder are properly fastened.
6.3. Power supply
MG102i can be powered with an external power source capable of voltages from 10 to 55 Volts DC.
MG102i should be powered using a certified (CSA or equivalent) power supply, which must have a
limited and SELV circuit output.
This page gives you a system overview. It helps you when initially setting up the device and also
functions as a dashboard during normal operation.
The highest priority link which has been established successfully will become the so-called hotlink
which holds the default route for outgoing packets.
Detailed information about status of each WAN interface is available in a separate window.
Details for all physical connections are given in Section 4.2, “Connectors”.
7.2.1. WAN
Link Management
Each available item in the WAN Link Manager matches with the particular WAN interface - for adding
an item, the respective WAN interface must be set (e.g. LAN, WWAN).
In case a WAN link goes down, the system will automatically switch over to the next link in order of
priority (the priorities can be changed using the arrows on the right side of the window). A link can be
either established when the switch occurs or permanently to minimize link downtime.
1st priority:This link will be used whenever possible.
2nd priority:The first fallback technology.
Up to four priorities can be used.
Outgoing traffic can also be distributed over multiple links on a per IP session basis. Choose the option
"distributed" as an Operation Mode with the appropriate Weight.
In the following example, the outgoing traffic will be distributed between LAN2 (80 %) and WWAN1 (20
%) links.
Note
This option is general and applies to all outgoing traffic. See section 7.3.3 Multiple Routes
for more detailed configuration.
We recommend using the permanent option for WAN links. However, in case of time-limited mobile
tariffs, the switchover option should be used.
After clicking on the WWAN "Edit" button, you can additionally set the "IP passthrough" option for the
LAN2 interface. The result is that the connected device over the LAN2 port will obtain M!DGE's/MG102i's
mobile IP address via DHCP. In another words, M!DGE/MG102i will be transparent for the connected
device and will only serve for the mobile connectivity. Typically, such connected device (e.g. firewall)
will not need any special configuration facing M!DGE/MG102i, it will just use its mobile IP address
(usually the public IP address).
Once established, a small subnet containing the cellular IP is created, by default the netmask is
255.255.255.248. This small subnet consists of a network and broadcast address as a regular subnet.
In some situations it may lead to unreachability of several remote hosts due to IP address overlapping.
If this is the case, user can manually configure the APN network, e.g. 10.203.0.0/255.255.128.0.
In any case, the M!DGE unit is reachable via the default gateway automatically obtained from
M!DGE/MG102i by DHCP. The gateway IP address is set as the first available IP address after the
specified APN address range. If not specified, it is the first usable IP within the /29 subnet.
Example: If the APN network is 10.203.0.0/25, the default gateway is set to 10.203.128.0. The web
interface is reachable via this IP address over the LAN2 interface.
Note
This option is configurable within WWAN links only. Remember that LAN1 cannot be
•
used as the port for the IP passthrough functionality.
•LAN10 is not usable within M!DGE/MG102i routers. Do not select it.
Network outage detection can be used for switching between available WAN links and can be performed
by sending pings on each link to authoritative hosts. A link will be declared as down if all trials have
failed. The link will be considered up again if at least one host is reachable.
You may further specify an emergency action if no uplink can be established at all.
Link:The WAN link to be monitored (can be ANY for all configured links).
Mode:Specifies whether the link is monitored during the connection estab-
lishment or only when it is already up.
Primary host:Reference host one which will be used for checking IP connectivity
(via ICMP pings).
Secondary host:Reference host two which will be used for checking IP connectivity
(via ICMP pings). The test is considered successful if either the
primary or the secondary host answers.
Ping timeout:Time for which the system is waiting for the ping response. With
mobile networks the response time can be quite long (several
seconds) in special cases. You can check the typical response using
SYSTEM – Troubleshooting – Network Debugging – Ping. The first
response typically takes a longer time than the following ones in
GPRS/UMTS networks, the Ping timeout should be set to the longer
time than with the first response.
Ping interval:Time to wait before sending the next probe.
Retry interval (if ping failed):If the first trial fails, ping hosts in this modified interval until the ping
is successful or the maximum number of failed trials is reached.
Max. number of failed trials:The maximum number of failed ping trials until the ping check will
be declared as failed.
Emergency action:Configure the Emergency action which should be taken after the
maximum downtime is reached. Using "reboot" perfoms the system
reboot. The option "restart services" restarts all link-related applications including the modem reset. No action is done if the "none"
option is set. Configure the maximum amount of downtime in minutes
for which the link could not be established.
Settings
The maximum segment size defines the largest amount of data of TCP packets (usually MTU minus
40). You may decrease the value in case of fragmentation issues or link-based limits.
MSS adjustmentEnable or disable MSS adjustment on WAN interfaces.
Maximum segment sizeMaximum number of bytes in a TCP data segment.
7.2.2. Ethernet
M!DGE/MG102i routers ship with 2 (MG102i has 5) dedicated Ethernet ports (ETH1 and ETH2) which
can be linked via RJ45 connectors.
ETH1 usually forms the LAN1 interface which should be used for LAN purposes. Other interfaces can
be used to connect other LAN segments or for configuring a WAN link. The LAN10 interface will be
available as soon as a pre-configured USB Ethernet device has been plugged in (e.g. X5 Ethernet/USB
adapter).
Port Setup - Port Assignment
This menu can be used to individual assigning of Ethernet ports to LAN interfaces if you want to have
different subnets per port or to use one port as the WAN inteface.
If it is desired to have both ports in the same LAN you may assign them to the same interface. Please
note that the ports will be bridged by software and operated by running the Spanning Tree Protocol.