5. Bench test / Step-by-Step guide ....................22 5.1. Connecting the hardware ....................22 5.2. Powering up your wireless router ..................22 5.3. Connecting MG102i to a programming PC ................ 22 5.4. Basic setup ......................... 23 6. Installation ............................. 24 6.1.
Page 4
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.
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 appro- priate 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.
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 inter- face is 192.168.1.1, the subnet mask is 255.255.255.0.
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.
MG102i in detail 2. MG102i in detail Fig. 2.1: MG102i front and terminal panel All MG102i Wireless Routers run MG102i Software. Software offers the following key features: • Interfaces and Connection Management (Section 7.2, “INTERFACES”) ○ Dial-out (permanent, on switchover, distributed) ○...
3.3. Network center In every network, the center plays a key role and has to be designed according to customer's require- ments. Several possible solutions are described in the application note's Chapter 2 – M!DGE / MG102i CENTER 3.4. VPN tunnels Customer data security arriving through the mobile network is often very important.
4.2. Connectors 4.2.1. Antenna SMA Fig. 4.2: Antenna connectors SMA MG102i uses SMA antenna connectors: • Mob 1, Mob 2 for GSM/UMTS/LTE antenna connection (Mob 1 for 1st UMTS module, Mob 2 for LTE as auxiliary second connector or for 2nd UMTS), •...
100BaseT) signal TX− Fig. 4.3: Eth RJ45 Plug - pin numbering RX− 4.2.3. USB MG102i uses USB 1.1, Host A interface. USB interface is wired as standard: Tab. 4.2: USB pin description USB pin signal wire +5 V Data (−)
– basic model (no HW module) – Wifi (Wireless Local Area Network) internal module (Part No. MG102i-HW-WLAN) Note: The WLAN module for MG102i-2U or MG102i-L has to be always ordered together with the GPS SW feature key. zzz – SW feature keys empty –...
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).
192.168.5.1 for Eth5 The default subnet mask is 255.255.255.0 for all interfaces. Start a Web Browser on your PC. Type the MG102i IP address in the address bar: http://192.168.1.1 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).
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.
Page 27
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.
Page 30
Maximum 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.
Page 32
Web Configuration VLAN Management M!DGE/MG102i routers support Virtual LAN according to IEEE 802.1Q which can be used to create virtual interfaces on top of the Ethernet interface. The VLAN protocol inserts an additional header to Ethernet frames carrying a VLAN Identifier (VLAN ID) which is used for distributing the packets to the associated virtual interface.
Page 33
Web Configuration Static configuration of M!DGE's/MG102i's own IP address and Subnet mask is available for the LAN mode. The Alias IP address enables configuring the LAN inteface with a second IP address/subnet. Note Setting of the IP address is interconnected with the DHCP Server (if enabled) - menu the SERVICES - DHCP Server menu.
Page 46
The keys are made up of your admin password. They can be generated and downloaded. You may also define multiple keys in this file (line-after-line) in case your admin password differs if applied to multiple M!DGE/MG102i routers. 7.2.6. Serial Port The serial protocol can function in various ways, configure it using the Edit button on the right.
Page 47
(XOFF) or start (XON) character to the other end to control the rate of incoming data. Hardware flow While 3 wired connection is used with M!DGE/MG102i control: hardware flow control is not available. Server Configuration: Protocol on IP port: “Telnet”...
Page 49
Routing table. When the UDP datagram reaches its final IP destination, it should be in a M!DGE/MG102i or RipEX router again. It is processed further according to its UDP port. It can be delivered to the Protocol server where where the datagram is decapsulated and the data received on the serial interface of the source unit are forwarded to COM.
Page 51
Note Broadcasts in the GPRS/UMTS network are not possible, thus setting of broadcast functionality is not allowed with M!DGE/MG102i units. If On, the address for broadcast packets in the SCADA protocol has to be defined: ■ Broadcast address format - List box Hex, Dec - format in which the broadcast address is defined.
Page 52
Messages from the serial interface are processed in a similar way as the Master site, i.e. they are encapsulated in UDP datagrams, processed by the router inside the M!DGE/MG102i unit and for- warded to the respective interface, typically to the mobile network.
Page 55
Each frame in the DNP3 protocol contains the source and destination addresses in its header, so there is no difference between Master and Slave in terms of the M!DGE/MG102i configuration. The DNP3 allows both Master–Slave polling as well as spontaneous communication from remote units.
Page 56
○ Address mode Even if IEC 870-5-101 is the standard, there are some users who have customized this standard according to their needs. If addressed byte has been moved, M!DGE/MG102i/RipEX has to read it at the correct frame position. ■ IEC101 Address byte location according to IEC 870-5-101 standard.
Page 57
RipEX supports Profibus DP (Process Field Bus, Decentralized Periphery) the widest-spread version of Profibus. The Profibus DP is supported even by M!DGE/MG102i, but it will work satisfactorily only with mobile networks with very short transport delays, like LTE or UMTS. The Profibus protocol config- uration uses all parameters described in Common parameters.
Page 58
Slave. • RB Net period [s] Default = 10 The M!DGE/MG102i/RipEX responds to the RB packets locally and in the set RB period the RB packets are transferred over the network. • RB Net timeout [s] Default = 10 (maximum=8190) Whenever an RB packet is sent over the network, the set RB Net timeout starts.
Page 59
Unit does not respond to the RB packet from the Master, which it receives over the mobile networks. • RB Request period [ms] Default = 200 (maximum=8190) M!DGE/MG102i/RipEX sends locally RB packets to the connected RTU in the set period. • RB Response timeout [ms] Default = 500 (maximum=8190) The Unit expects a response to the RB packet within the set timeout.
Page 60
DLE timeout [ms] Default = 1000 (min. 300, max. 8190) M!DGE/MG102i/RipEX expects a response (DLE) from the connected device (RTU) within the set timeout. If it is not received, the Unit repeats the frame according to the “Retries” setting. •...
Page 61
Unit and appended to the received data. UNI is the "Universal" protocol utility designed by RACOM. It is supposed to be used when the applic- ation protocol is not in the Unit list. The key condition is that messages generated by the Master applic- ation device always contain the respective Slave address and that address (or its relevant part) position, relative to the beginning of the message (packet, frame), is always the same (Address position).
Page 72
7.3.4. Multicast Multicast routing (MCR) can be configured and managed by a daemon. Only one MCR daemon can be used at a time. M!DGE/MG102i routers ship with two different MCR daemons to select from, depending on your de- pendencies: IGMP proxy Forwarding of multicast messages that are dynamically detected on a given interface to another interface.
Page 73
Interface to listen on for messages of given group and source. Outgoing interface Interface to forward the messages to. 7.3.5. BGP The BGP tab allows to set up peerings of the M!DGE/MG102i router with other Border Gateway Protocol enabled routers. BGP status Specifies whether the BGP routing protocol is active.
Page 75
Redistribute connected routes Redistribute routes to networks which are directly connected to the M!DGE/MG102i router. Redistribute local routes Redistribute routes from the M!DGE/MG102i router’s own routing table. Redistribute BGP routes Redistribute routes learned via the BGP routing protocol. Redistribute default route Redistribute the routers default route.
Page 76
Our implementation supports RFC 3344, 5177, 3024 and 3519 and interoperability with Cisco has been verified. However, M!DGE/MG102i routers can run as node and home agent which makes them able to replace expensive kits in the backbone for smaller scenarios.
Page 79
Web Configuration 7.3.8. Quality of Service (QoS) M!DGE/MG102i routers are able to prioritize and shape certain kinds of IP traffic. This is currently limited on egress, which means that only outgoing traffic can be stipulated. The current QoS solution is using Stochastic Fairness Queueing (SFQ) classes in combination with Hierarchy Token Bucket (HTB) qdiscs.
Page 83
Transparent Firewall M!DGE/MG102i can be configured with its Ethernet interfaces being bridged. In this case, the transparent firewall functionality can be configured to limit reachability of individual hosts connected to M!DGE/MG102i based on their MAC addresses, i.e. units connected to ETH1 cannot communicate to units connected to ETH2.
Page 93
Web Configuration IKE Proposal RACOM routers support IKEv1 or IKEv2 authentication via the pre-shared keys (PSK) or certificates within a public key infrastructure. Using PSK requires the following settings: PSK: The pre-shared key used Local ID Type: The identification type for the local router which can be FQDN,...
Page 99
GSM only. Naturally, a concurrent use of mobile Dial-Out and Dial-In connection is not possible. Note The Dial-in Server is not supported by the M!DGE/MG102i LTE hardware. Administrative status Enabled/disabled - incoming call shall be /shall not be answered...
7.6. SERVICES 7.6.1. SDK RACOM routers are shipping with a Software Development Kit (SDK) which offers a simple and fast way to implement customer-specific functions and applications. It consists of: An SDK host which defines the runtime environment (a so-called sandbox), that is, controlling access to system resources (such as memory, storage and CPU) and, by doing so, catering for the right scalability.
Page 111
TSIG key The TSIG key encoded in base64. Please note that your RACOM router can operate as DynDNS service as well, provided that you hold a valid SERVER license and have your hosts pointed to the DNS service of the router.
Page 115
This page lets you turn on the SMS event notification service and enable remote control via SMS. Administration On RACOM routers it is possible to receive or send short messages (SMS) over each mounted modem (depending on the assembly options). Messages are received by querying the SIM card over a modem, so prior to that, the required assignment of a SIM card to a modem needs to be specified on the SIMs page.
Page 119
You can manually upload the authorized keys. 7.6.10. SNMP Agent M!DGE/MG102i is equipped with an SNMP daemon, supporting basic MIB tables (such as ifTable), plus additional enterprise MIBs to manage multiple systems. M!DGE/MG102i OID starts with 1.3.6.1.4.1.33555.10 prefix. The corresponding VENDOR MIB can be downloaded from the router.
Page 120
NBDioTable .1.3.6.1.4.1.33555.10.53 NBWlanTable .1.3.6.1.4.1.33555.10.60 NBWanTable .1.3.6.1.4.1.33555.10.22 Note GNSS and WLAN are accessible only in MG102i units. M!DGE/MG102i extensions contain support for: • Rebooting the device • Updating to a new system software via FTP/TFTP/HTTP • Updating to a new system configuration via FTP/TFTP/HTTP •...
Page 124
Web Configuration Note M!DGE/MG102i assigns a priority of 100 to the master and 1 to the backup router. Please adapt the priority of your third-party device appropriately. Administrative status: Enable or disable Redundancy Role: Role of this system (either master or backup)
Page 125
Modbus TCP on the remote M!DGE/MG102i (not a unit locally connected via Ethernet) causing the TCP session to be between a local device and remote M!DGE/MG102i instead of UDP. The final conversion from TCP to UDP so the Protocol server listening on the UDP port 8882 by default is done at the remote unit afterwards.
Page 127
They are usually divided into two banks - left (M!DGE) or upper (MG102i) for the digital IO port status or right (M!DGE) or lower (MG102i) for the connection status indication. You may configure toggle mode, so that the LEDs periodically show both bank states.
Page 132
Status: Enable/disable automatic software update Time of day: Every day at this time M!DGE/MG102i will do a check for updates URL: The server URL where the software update package should be downloaded from. Supported protocols are TFTP, HTTP(s), and FTP Firmware Update This menu can be used to perform a firmware update of a specific module.
Page 133
Web Configuration 7.7.4. Configuration Configuration via the Web Manager becomes tedious for large volumes of devices. M!DGE/MG102i therefore offers automatic and manual file-based configuration to automate things. Once you have successfully set up the system you can back up the configuration and restore the system with it after- wards.
Page 142
For each certificate section it is possible to perform the following operations: generate locally: Generate key and certificate locally on M!DGE/MG102i upload files: Key and certificate will be uploaded. We support files in PKCS12, PKCS7, PEM/DER format as well as RSA/DSS keys in OpenSSH or Dropbear format.
Page 146
"licensed" is displayed in the respective line. 7.7.8. Legal Notice A dedicated GUI page under SYSTEM is pointing out that M!DGE/MG102i contains in part open source software that may be licensed under GPL, LGPL or other open source licenses. It further provides de- tailed information for each package, including the relevant license text and the corresponding source URL.
(Command Line Utility) Usage: [-ilvh] <command> ~ $ cli -i MIDGE Command Line Interface (version 0.2) (C) Copyright RACOM s.r.o, Czech Republic Enter 'help' for a list of available commands or hit the TAB key for auto-completion. Ready to serve. >...
Connection from the M!DGE/MG102i router can be checked using the built-in pinger available in the SYSTEM → Troubleshooting → Network Debugging menu. The traceroute command is available in the same menu for tracing the packets from the M!DGE/MG102i router to the Host.
The M!DGE/MG102i Wireless Routers must not be opened. Only the replacement of the SIM card is permitted. Voltage at all connectors of the communication module is limited to SELV (Safety Extra Low Voltage) and must not be exceeded.
Safety, environment, licensing 10.2. RoHS and WEEE compliance The M!DGE/MG102i is fully compliant with the European Commission‟s RoHS (Restriction of Certain Hazardous Substances in Electrical and Electronic Equipment) and WEEE (Waste Electrical and Electronic Equipment) environmental directives). Restriction of hazardous substances (RoHS)
Signed for and on behalf of the manufacturer: Nove Mesto na Morave, 10 of September 2017 Jiri Hruska, CEO RACOM s.r.o. | Mirova 1283 | 592 31 Nove Mesto na Morave | Czech Republic www.racom.eu Tel.: +420 565 659 511 | E-mail: racom@racom.eu...
Nove Mesto na Morave, 1 of March 2014 Jiri Hruska, CEO RACOM s.r.o. • Mirova 1283 • 592 31 Nove Mesto na Morave • Czech Republic www.racom.eu Tel.: +420 565 659 511 • Fax: +420 565 659 512 • E-mail: racom@racom.eu ver.
The serviced equipment shall be returned by RACOM to the customer by prepaid freight. If circumstances do not permit the equipment to be returned to RACOM, then the customer is liable and agrees to reim- burse RACOM for expenses incurred by RACOM during servicing the equipment on site. When equipment does not qualify for servicing under warranty, RACOM shall charge the customer and be reimbursed for costs incurred for parts and labour at prevailing rates.
Need help?
Do you have a question about the MG102i and is the answer not in the manual?
Questions and answers