Quick Start
---Apply to WL-R220 Series OpenWrt Router
V1.3
http://www.wlink-tech.com
April, 2016
WL- R220 OpenWrt Router Quickstart
Shenzhen WLINK Technology Company Limited
3F, Yiben Building, Chaguang Rd., Xili, Nanshan Dist., China, 518000
http://www.wlink-tech.com
Copyright © Shenzhen WLINK Technology Company Limited 2012 ~ 2016
Without our written approval, Anyone can’t extract, copy whole or part of content of this file and
can’t spread out in any format.
Caution
Due to product updates or functional upgrading, we may renew the content of this file, and this
file only for reference. All statement, information, suggestion.etc in this file does not compose
any form of guarantee and we WLINK reserves the right of final explanation.
WL- R220 OpenWrt Router Quickstart
Contents
Product Introduction......................................................................................................................
1
4
1.1 Product overview
1.2 Model Introduction
1.3 Typical Application Diagram
1.4 Hardware Features
Hardware Installation....................................................................................................................
2
2.1 Panel
2.2 Dimension
2.3 How to Install
OpenWrt Instruction....................................................................................................................
3
3.1 GPIO and LED Indicators
3.2 Interface(8PINs) indication
....................................................................................................................................
............................................................................................................................
................................................................................................................
.............................................................................................................
.............................................................................................
............................................................................................................
......................................................................................................................
...............................................................................................
.............................................................................................
4
4
5
6
7
7
8
9
10
10
12
3.3 OpenWrt Configuration
3.3.1 OpenWrt Source Code Libraries
3.3.2 OpenWrt Edit Tool
3.4 VLAN Configuration
3.5 GPIO Debugging
3.6 4G/3G dial-up
3.7 NAND Flash
...................................................................................................................
......................................................................................................................
...................................................................................................
................................................................................
........................................................................................................
.........................................................................................................
..............................................................................................................
15
15
15
22
23
23
28
WL- R220 OpenWrt Router Quickstart
.8 GPIO Operation................................................................................................................
3
30
WL- R220 OpenWrt Router Quickstart
WL-R220 4G/3G OpenWrt industrial router is the internet of thing mobile broadband
router and a machine to machine (M2M) industrial cellular router, which can optional
works on 4G/3G cellular network to provide reliable, secure and high speed wireless
connectivity. It is powerful and programmable industrial mobile router with high
performance and harden casing design for remote management, telemetry, condition
monitoring, CCTV, ATMs, vending machine and other M2M applications.
WLINK WL-R220 4G/3G OpenWrt industrial router is based on the OpenWrt trunk system,
which is configured using a web interface (LuCI). Customers can be allowed to customize
WL-R220 series router to fit any application from the selection and configuration by
WLINK provided . It’ll be used for anything that an embedded Linux system can be used
for, including functions as SNMP, SSH, VPN, traffic-shaping system, and so on.
WLINK industrial grade router OpenWrt Series have single module / single SIM card,
single module / double SIM card, double module / double SIM card design, support
multi-band frequency WCDMA, HSPA+,4G FDD/TDD etc., mobile wide-band, backward
compatibility with GPRS、 EDGE、 CDMA 1x, etc., mobile narrow-band, optional built-in
Wi-Fi module to build WLAN network, optional GPS module Expansion positioning
function, to suit different requirement and different network environment of different
operators, our OpenWrt Series router have many available models for option, please
consult WLINK sales manager for details.
WL- R220 OpenWrt Router Quickstart
1.3 Typical Application Diagram
WLINK 4G/3G Router are widely used in Telecom, economic, advertisement, traffic,
environment protection business area.
For example, in economic area, WL-R220 OpenWrt Series Router connect server by IPSec &
GRE to ensure data security, tiny design makes it easily installed into ATM machine. All these
technology ensure safe and reliable data transmission, and minimize the probability of
network disconnection, and maximize the usability of economic business like ATM,
POS .etc.
WL- R220 OpenWrt Router Quickstart
Figure 1-1 Network Topology
CPU: Atheros AR9344, 533MHz
Mini PCIe Adapter USB2.0 3G/4G Module, 4G/HSPA+/WCDMA module
1*USIM Slot/2*USIM Slot Optional
Wi-Fi: IEEE 802.11n 300Mbps
optional
WL- R220 OpenWrt Router Quickstart
Table 2-1 WL-R220 Structure
This chapter is mainly for installation introduction, there would be some difference
between the scheme and real object. But the difference won’t have any influence to
products performance.
There are some difference on Antenna interface and indicator light for the device
with extended GPS features.
WL- R220 OpenWrt Router Quickstart
Table 2-2 Router Interface
Plug type SIM Slot, support 1.8/3V/5V automatic
detection.
3G/LTE antenna, SMA connector, 50Ω.
Optional for LTE MIMO antenna or GPS
antenna ,SMA connector, 50Ω.
Wi-Fi antenna, SMA connector,
Wi-Fi antenna, SMA connector,
10/100Base-TX, MDI/MDIX self-adaption.
10/100Base-TX, MDI/MDIX self-adaption.
10/100Base-TX, MDI/MDIX self-adaption.
Reset button,(press on button at least 5 seconds)
I/O1 and I/O2 is digital input, and I/O3 is digital
output.
WL- R220 OpenWrt Router Quickstart
Step 1 Check the antenna connection.
Step 2 Check SIM/UIM card, confirm SIM/UIM card is available.
Step 3 Power on the industrial Router
2.3.1 SIM/UIM card install
If use dual SIM/UIM card router, you need insert dual SIM before configure it. After
inserting, please follow below steps to connect the router.
Before connecting, please disconnect any power resource of router
2.3.2 Ethernet Cable Connection
Use an Ethernet cable to connect the cellular Router with computer directly, or transit by a
switch.
2.3.3 Serial Port Connection
If you want to connect the router via serial port to laptop or other devices, you should
prepare a serial port or RJ45 cable, this cable is optional available from WLINK. One end
connect to computer serial port, the other end connects to the console port of the router
Before connecting, please disconnect any power resource.
2.3.4 Power Supply
In order to get high reliability, WLINK OpenWrt Series Router power adapt supports wide
voltage input range from +5V to +36VDC, support hot plug and complex application
environment.
2.3.5 Review
After insert the SIM/UIM card and connect Ethernet cable and antenna, connect power
supply adaptor or power cable.
Please connect the antenna before power on, otherwise the signal maybe poor
because of impedance mismatching.
Notice:
----END
WL- R220 OpenWrt Router Quickstart
3.1 GPIO and LED Indicators
Digit signal input check: Low level as default
Digit input check: Low level as default
SIM control: Low level for SIM1, and high level
for SIM2. Low level as default.
Watchdog heartbeat check: 500ms pulse signal
Error LED indication: Not find 3G/4G module or
SIM card. LED on at low level and LED off at
high level.
Output
module_PWR_Control
4G/3G module power control: Low level mode
enable power for module. High level mode
disable power for module.
Note: reset module when module is abnormal.
Wi-Fi LED indication. On at low level and off at
high level.
3G/4G signal strength indication(weak): On at
low level and off at high level.
3G/4G signal strength indication(Normal): On at