WM Systems M2M Router PRO4 User manual

M2M Router PRO4®
User Manual
OpenWrt®user interface settings
v1.4
_________________________________________
2019-07-18

Document specifications
This document was made for the M2M Router PRO 4®
router
device
and it contains the detailed
description of OpenWrt®configuration possibilities for the proper operation of the device.
Document category:
User Manual
Document subject:
M2M Router PRO 4
®
Author:
WM Systems LLC
Document version No.:
REV 1.40
Number of pages:
66
Linux Kernel:
4.14.23
OpenWRT software version:
201905271
Document status:
FINAL
Last modified:
18 July, 2019
Approval date:
18 July, 2019

Table of contents
1. ROUTER CONFIGURATION (OPENWRT USER INTERFACE) ............................. 5
1.1 Web user interface ............................................................................................................. 5
1.2 Dashboard (Main page) ..................................................................................................... 7
1.3 Menu overview .................................................................................................................. 8
1.4 Status menu ...................................................................................................................... 9
1.5 System menu .................................................................................................................... 9
1.6 Services menu .................................................................................................................. 10
1.7 Users menu ...................................................................................................................... 10
1.8 Network menu .................................................................................................................. 11
1.9 Statistics menu ................................................................................................................. 11
1.10 Lougout menu ................................................................................................................ 11
2. IMPORTANT NOTES ..................................................................................... 12
3. NETWORK CONFIGURATION OF THE ROUTER .............................................. 14
3.1 Quick internet module and SIM settings (Modem settings) ................................................... 14
3.2 Interface settings .............................................................................................................. 15
3.3 Cellular internet settings .................................................................................................... 16
3.4 USB settings (USBLAN interface) ........................................................................................ 19
3.5 Ethernet settings (LAN1, LAN2, LAN3, LAN4 interfaces)........................................................ 20
3.6 DHCP and DNS .................................................................................................................. 24
3.7 Defining the route rules (Static route) ................................................................................. 25
3.8 Firewall settings ................................................................................................................ 27
3.9 Port Forward settings ........................................................................................................ 31
3.10 NAT settings .................................................................................................................... 32
4. ADVANCED SERVICES ................................................................................. 33
4.1 Ping IP address / checking IP ............................................................................................ 33
4.2 Network Time Service (NTP) .............................................................................................. 35
4.3 TFTP settings .................................................................................................................... 36
4.4 Identifiying and connecting computers ................................................................................ 37
4.5 RS232 & RS485 Settings (Serial Proxy) ............................................................................... 38
4.6 Voice Call config ................................................................................................................ 40
4.7 LED configuration .............................................................................................................. 40

5. MAINTENANCE ........................................................................................... 43
5.1 Firmware Flashing ............................................................................................................. 43
5.2 Restarting the router ......................................................................................................... 45
5.3 Backup of router settings ................................................................................................... 46
5.4 Restore of router settings .................................................................................................. 48
6. ADMINISTRATION ....................................................................................... 51
6.1 Password change .............................................................................................................. 51
6.2 Logging ............................................................................................................................ 52
6.3 Language settings ............................................................................................................. 53
6.4 User management ............................................................................................................. 53
6.5 Installing 3rd party applications ......................................................................................... 56
6.6 Mounting points (uSD card storage, Flash) ......................................................................... 58
6.7 Statistics............................................................................................................................ 59
6.8 Remote access .................................................................................................................. 62
7. ADVANCED LINUX-SIDE DAEMONS AND SERVICES ....................................... 64
7.1 Using the UCI Command Line Interface .............................................................................. 64
7.2 IPSec (Strongswan) settings ............................................................................................... 64
8. SUPPORT..................................................................................................... 65
9. LEGAL NOTICE ............................................................................................ 66

1. Router configuration (OpenWrt user interface)
1.1 Web user interface
Important!
The router software contains a pre-configured system. Please check the configuration, and if
the settings are not match with your expectations, change the configuration settings and save
them.
1. The router’s local web user interface (LuCi®) is reachable through the Ethernet or
the USB interface –on their default addresses.
2. Enter the router default web user interface URL.
The Ethernet interface default URL is: https://192.168.1.1
The micro USB interface’s default URL is: https://192.168.10.1
3. In the Mozilla browser you will get a security risk message, its not important to take care,
but choose the Advanced option.
Attention!
For accessing the web user interface we recommend to use the Mozilla Firefox®web browser.

4. Then click on the Accept the Risk and Continue button to access the router webpage.
5. The OpenWRT®system’s LuCi®web interface has loaded into your browser. Now fill the
Username and Password fields and click on the Login button for the entry.
Username:
root
Password:
wmrpwdM2M

1.2 Dashboard (Main page)
After you have logged in to the web interface, a startup screen appears with all relevant information
and the current status of the router.
At the System part, you can check the installed software build (M2M Software version) at Local
Time the current time. The Uptime shows the spent time interval since the last bootup (or reboot).
At the Network part, first you can check the wireless modem availability at IPv4 WAN Status or
IPv6 WAN Status part, as the module’s IMEI identifier and the SIM ID identifier of the used SIM
card.
The wireless network access’ current status and health, properties can be checked at Modem RSSI
(cellular network signal strength), Network Name, Network Code and Cell ID is getting from
the mobile operator.
The modem’s wireless network address can be seen at IPv4 WAN or IPv6 status. There the Type
value will show you the connection type as
2G
,
3G
or
4G
LTE.

1.3 Menu overview
By the menu you can access the following features:
-Status –Status data, operation Logs (system, kernel, event log), monitoring the operation
(at Processes and Realtime graphs)
-System –System settings and administration, software installation (3rd party tools), startup
settings and scheduled tasks, time synch, mount points (optional for uSD card and Flash file
system), LED configuration, Firmware flashing, Backup/Restore of the configuration settings,
Custom commands, Reboot of the system)
-Services –DNS, OpenVPN settings
-Users –add/delete users
-Network –Network interface settings (Ethernet/USB LAN/Wireless module/USB Phone
connection), DHCP, DNS, Static route rules, Firewall settings, Serial proxy (RS232 and RS485)
settings, Bandwith Diagnostics, Diagnostics)
-Statistics –system graphs and statistics settings
-Logout –logout and login with a different user

1.4 Status menu
In the Status you can check the current status (Overview).
At the Firewall item, you can see the firewall events and information.
At the Routes item the valid/active static route settings.
Check system messages and event log (System Log, Kernel Log).
Check the activities of the router (Processes).
You can find monitoring features of the realtime operation at the Realtime Graphs.
You also can check or download the Event Log here.
1.5 System menu
You will found several system settings in the System and the Administration menu items.
Installation of further Software (3rd party tools, applications for the Linux distribution).
You can define the Startup applicatons
Initialization of programs can be configured during the operation and the Scheduled Tasks.
Setup the NTP server for Time Synchronisation.

The Mount Points are showing the available (mounted) shares and drives of the uSD card
or connected USB driver and the Linux file system (flash).
The LED Configuration is also configurable for custom needs.
You also can Backup and restore your system configuration, applying Flash firmware
updates
Custom Commands for defining some connads to execute.
Reboot menu is for restarting your router.
1.6 Services menu
Here you can define settings for
DynDNS service
OpenVPN tunnel settings for the system
1.7 Users menu
You can define or modify, delete Users for allowing to access the system
Define periodic ping (for QoS check) or periodic reboot (for industrial standard or
safety reasons).
1.8 Network menu
Here you can configure the settings of each network Interfaces
You can change the SIM PIN settings here.
You can define the Modem settings here for the wireless LTE connection.
You can modify the DHCP and DNS settings.
Define Hostnames for the router.
The Static route paths can be also defined.

At the Bandwith Diagnostics item, you can configure a diagnostic address for testing the
communication health.
At the Diagnostics menu, you can check network access (ping, traceroute, nslookup).
The Firewall rules can be declared here as the following submenu items: Port forward, IP
router, NAT settings.
Also you can configure the RS232 and RS485 port communication settings at the Serial
Proxy menu.
The Voice Call Config menu is usable for remote control of the router (e.g. remote restart).
1.9 Statistics menu
And check the statistics Graphs - you can test the network operation and connection health
by the ping an IP address for the interfaces.
Here you can Setup the system Statistics
1.10 Logout menu
This menu item will allow you to log out from the OpenWrt® environment in your computer
browser.

2.
Important notes
By security reasons, we do recommend to change the web user inteface login and
password as soon as you can.
The DUAL SIM mode is currently inactive (feature is under development).
The IPv6 protocol is disabled for the LAN interfaces by default, change it if you want to
use it instead of the IPv4 protocol. Use the Network / Interfaces menu LAN1..LAN4 interface
and the IPv6 relevant fields.
The DHCP service is active for all interfaces, therefore the router will giving IP addresses for
the LAN1..LAN4 connected devices, but the protocol which is used, configured for static IP
addresses for the ethernet interfaces. If you want to use and distribute IP addresses by
DHCP, change its protocol to DHCP client. You can change its settings in the Network / DHCP
and DNS settings menu or in the Network / Interfaces menu, LAN interface and DHCP
section.
The Firewall service is active by default (by security reasons), therefore all communication
is disabled excluding the used ethernet, DHCP, DNS and WAN channels, web port and the
necessary services and ports for normal operation for the router.
We recommend you to disable all ports and protocols in the firewall which you are not using
actively or which are not necessary to the connection and data transmitting by respecting
the ports which are necessary for the general operation. Use to check Status / Firewall menu
to check the data throughput and the Network / Firewall to configure new roles.
The firewall is not protecting the router against external network or DoS attacks,
if you just enable the firewall feature. For a massive and advanced safety, you have to
customize the settings by harmonized with you used current network and connection
settings.
We offer to check the network traffic on your router frequently by the Status / Firewall
menu option to be ensured that all of your connections and active communication channels
(port number, incoming IP) are using only the wanted paths and routes and listening the
defined incoming activities and consequently occuring the estimated output traffic.
We offer to measure your throughput data and network traffic (by minutes, hours) –
use the Status / Realtime Graphs or Statistics / Graphs and calculate the estimable
data transmitting amount according your expectations and the data limits of the used SIM
card.
If you need, you can choose dedicated wireless service type or automatic mode (using which
is accessible). Therefore you can limit your data transmitting for 3G instead of 4G –for

example. Use the Network / Interfaces menu, WAN interface,
Edit
button and
Service
Type
field.
The available APN settings will be assured by the SIM card provider mobile operator or
your mobile internet service provider. Ask them about APN, password, SIM PIN and further
necessary information. You can configure these in the Network /Modem settings menu.
When configuring the SIM or APN settings, after the saving the router, it will not restart the
modem automatically with the new settings. You need to restart the modem by the Restart
WAN button in the OpenWrt®menu at Network / Modem settings.
In case of network outage, the wireless and cabled network connections, sessions will be
reconnected soon, data will be received and transmitted automatically (by the settings) as
the power source was estabilished. RS232, RS485 data will be received automatically again.
You can configure RS485 data speed rate betweeen 300 baud and 115 200 baud, but pls.
consider that max. 19 200 baud is guaranteed to receive. We offer to use 9 600 or 19 200
bps (as they are standards also), because some connected systems can cause loss of
characters/data in higher data transmitting speed rage.
If you want to use the router without the wireless option, as cabled Ethernet router with
RS485 extension, you can do it, by removing the WAN interface by the
Delete
button from
the Network / Interfaces menu.
The router has service modes by its Reset button –for stop, restart and applying the
default configuration. You will found further information in the
Installation Guide
document.

3. Network configuration of the router
3.1 Quick internet module / SIM settings (Modem settings)
The quick settings of the SIM card and wireless modem / cellular network settings of the router can
be configured at the Network menu, Modem settings menu item.
Here you must define the APN account name which is supported by the SIM card and your mobile
operator. (APN is the Internet access point name, it can be public or enclosed according to the used
mobile SIM data service).
When you will not set any value for the APN, the router will restart the modem sequentially in
every 10 minutes until it is not configured properly.
Here you can define the SIM card’s PIN code if it is necessary for the connection.
Note, that the PIN code which is already configured here, it cannot be seen here due to the security
rules –the characters are placed by asterix signs.
Configure the PIN code if you would like to change.
The PAP/CHAP username and PAP/CHAP password settings can be also configured here (as
authentication method) –if it is required for the connection.
Click to the Save & Apply button for saving the settings.

Important! Note that the router, it will not restart the modem automatically with the new settings.
You need to restart the modem by the Restart WAN button. Then the device attempts connecting
the router to the mobile network.
3.2 Interface settings
The list of the available network interfaces can be found at the Network / Interfaces menu item.
The USBLAN interface is assigning the microUSB connection (
usb0
interface).
The LAN interface is assigning the Ethernet port connections (LAN1, LAN2, LAN3, LAN4 physical
interfaces, which are bridged to the
br-lan
logical
interface - at Linux side).
The WAN interface means the wireless Internet connection (as
lte-wan
) the physical 4G module.
Modifying the interface settings
At the interfaces, at right you can modify the settings with the button.
The Stop button stops the communication on the current interface, the button
reconnects the related interface connection.

3.3 Cellular internet settings
The wireless module / cellular network settings of the router can be configured at the Network
menu, Interfaces menu item. Open the WAN item from the interface list by the
Edit
button.
(You can also use the Network / Modem settings –if you want to configure only the
APN
settings).
The wireless connection can be operated through the dynamic and static IP address (IPv4)
assignment also - which is provided by your mobile operator.
At the General Setup tab, you can see the current status of the interface with transmitted data
amount.
Configure the module here to the wireless internet and for the 4G LTE network connection (by the
network type you want to use) for the WAN (
lte-wan
) interface.

The value of the Protocol can be used for Internet module - leave it on
UMTS/GPRS/LTE
value.
The Modem Device is
/dev/ttyACM3
–you should not change this setting.
You can define the Service Type for the mboile
network selection.
The
LTE (4G) / UMTS (3G) /
GPRS (2G) –
means
Auto
mode
. You need to choose this if you would like to
guarantee the operation in every way. By this always
the best speed and quality network will be used and a fallback network will be used if the
highest cellular network service is not available (e.g. if 4G is not available, the 3G will be
used).
When you must use a dedicated network type, choose the network type you need (for example if
you neet to use the 3G, choose the
UMTS (3G)
. Take consider, that the fallback mode will be
inactive in this mode –if you choose the
LTE (4G)
and it the network will be not available, there
will be no 3G or 2G fallback (if the choosen network is not available, the router won’t get mobile
network access).
Here you have to define the APN account name.
When you will not set any value for the APN, the router will restart the modem sequentially in
every 10 minutes until it is not configured properly.
Here you can define SIM card PIN code if it is necessary for the connection.
Note, that the PIN code which is already configured here, it cannot be seen here due to the security
rules –the characters are placed by asterix signs. Just modify the PIN if you would like to change.
Authentication methods:
The PAP/CHAP username and PAP/CHAP password settings can be also configured
here –if it is required for the connection.
If you need dialup connection for using the Internet service at your provider, set the Dial
number value (format: *99***1# ).
Click to the Save & Apply button for saving the settings, while the device is restarting the modem
with the new settings and will connecting to the cellular network.

Then, you can check the data transmitting at the the Network / Interfaces menu, when check
the WAN interface status at the Interfaces part.
The router is already connected to the cellular network, it has active data traffic and the RX
(received data), TX (transmitted data) at Packets and KB (KBytes) values are growing.
At the Advanced Settings tab you will found further settings for the wireless module.
By default we do not offer to change these settings, only if you are special requirements at operating
the mobile network communication by the router (these are the LCP Echo settings, the Bring up
on boot and the use built-in IPv6 management parameters mainly).
If you have had changed some values here, please click upon the Save & Apply button for saving
the settings. Then the device will reconnecting the module to the mobile network.
3.4 USB settings (USBLAN interface)
The router has an alternative LAN interface through the USB connection. The usage of this port is
ideal for configuration purposes, while you can use active data communication throught your LAN
interfaces.
The USBLAN interface settings for the USB
Ethernet connection, which can be performed by
Network / Interfaces menu item at the USBLAN part, where you need to choose the
button. Then choose the General Setup tab.
Here you can define Protocol
(Static address
or
DHCP client
) for getting IP address from a
connected network device (another local router).
You can define the IPv4 address of you
static
connection.
The IPv6 addresses can be also used, but by default the setting of the router it is disabled by the
IPv6 assignment length (
disabled
). You can allow this and add the IPv6 settings too.

You can make the USBLAN settings according to the Ethernet (LAN1..LAN4) configuration
parameters which are similar.
If you have had changed some values here, please click upon the Save & Apply button for saving
the settings.
3.5 Ethernet (LAN) settings
The detailed interface settings for the
LAN1
,
LAN2, LAN3,
LAN4
Ethernet ports can be performed
by selecting the Network / Interfaces menu item.

At the LAN interface’s button, choose the General Setup tab.
By default the Ethernet IP address is
static
, the default IP address is: 192.168.1.1.). If you wand to
switch the BR-LAN interface to
dynamic
(at Protocol field), then the router will waiting for an IP
address on the network.
Define a new IPv4 address, check the IPv4 netmask (subnet mask), IPv4 gateway values for
your devices according to your needs –to be able to serve your connecting devices.
When changing the Protocol field, youu need to push the button.
If you want to use the local
DHCP server
–to allow to add IP addresses by the router for the
connecting external ethernet devices –then the right setting is the
Static Address
, and the IP
Table of contents
Other WM Systems Network Router manuals

WM Systems
WM Systems M2M Industrial Router User manual

WM Systems
WM Systems M2M PRO4 DCU User manual

WM Systems
WM Systems M2M Router PRO 4 User manual

WM Systems
WM Systems M2M Router PRO 4 User manual

WM Systems
WM Systems M2M Router PRO 4 User manual

WM Systems
WM Systems M2M PRO4 MODEM User manual

WM Systems
WM Systems M2M PRO4 MODEM User manual

WM Systems
WM Systems M2M Industrial Router 2 SECURE User manual

WM Systems
WM Systems M2M Router NB User manual

WM Systems
WM Systems M2M Router PRO 4 User manual