Difference between revisions of "Mikrotik: D-Link DWM-222"

From Luky-Wiki
Jump to: navigation, search
(Modem capabilities)
(General configuration)
Line 31: Line 31:
 
=== Configuration ===
 
=== Configuration ===
 
==== General configuration ====
 
==== General configuration ====
 +
This configuration is optional but I recommend to set port name. This will make configuration easier to read.
 +
 +
* Switch to port menu and list connected devices. Identify device by id or just by comparing output before and after connecting USB modem:
 +
<pre>
 +
> /port print
 +
</pre>
 +
 +
* Set name on identified port (replace "0" with actual port number):
 +
<pre>
 +
> /port set 0 name=Orange
 +
</pre>
 +
 +
* List configured ppp client interfaces:
 +
<pre>
 +
> /interface ppp-client print
 +
</pre>
 +
 +
* Remove auto-configured interface (adjust name / number if necessary):
 +
<pre>
 +
/interface ppp-client remove ppp-out1
 +
</pre>
 +
 +
* Add new ppp client interface:
 +
<pre>
 +
/interface ppp-client add dial-on-demand=no disabled=no apn=internet data-channel=1 info-channel=2 name=ppp-wan port=Orange
 +
</pre>
 +
'''Note1:''' You may add <code>use-peer-dns=no</code> and <code>modem-init="<AT command>"</code> depending on configuration.
 +
 +
'''Note2:''' APN depend on internet provided (cell operator).
 +
 +
'''Note3:''' This modem is enabled by default. Option <code>modem-init="AT+CFUN=1"</code> is not necessary.

Revision as of 23:16, 15 September 2017

Overview

DWM-222 is 4G/LTE USB modem by D-Link. This article contain configuration details and test results. USB modem was tested connected to Mikrotik RB951G-2HnD with RouterOS version v6.40.1 (stable).

Modem capabilities

  • Broadband Wireless Support:
    • LTE/DC-HSPA+/HSPA/WCDMA
    • GSM/GPRS/EDGE
  • Radio Frequency Bands:
    • LTE @ 2600/1800/800 MHz
    • UMTS @ 2100/900 MHh
    • Quadband GSM/GPRS/EDGE
  • Data Rate:
    • LTE: 3GPP Rel-9 FDD-LTE Cat.4
      • Downlink: Up to 150 Mbps
      • Uplink: Up to 50 Mbps
    • DC-HSPA+
      • Downlink: Up to 42 Mbps
      • Uplink: Up to 5.76 Mbps

Visual indication (Status LED)

  • Red (blinking): No SIM Card / No Service (or searching for service) / General Error condition
  • Purple (blinking): Connected to 2G (GPRS/EDGE) network
  • Blue (blinking): Connected to 3G (UTMS/HSPA/HSPA+)network
  • Green (blinking): Connected to 4G (LTE) network

Note: Apparently keep alive of modem is indicated by blinking of status LED. When this status LED turn solid then it was most of the time host disconnect or firmware error/crash. Color remain as "last used" and did not switch to red. You can get modem out of this state for example by power cycling power -> /system routerboard usb power-reset duration=10s

Configuration

General configuration

This configuration is optional but I recommend to set port name. This will make configuration easier to read.

  • Switch to port menu and list connected devices. Identify device by id or just by comparing output before and after connecting USB modem:
> /port print
  • Set name on identified port (replace "0" with actual port number):
> /port set 0 name=Orange
  • List configured ppp client interfaces:
> /interface ppp-client print
  • Remove auto-configured interface (adjust name / number if necessary):
/interface ppp-client remove ppp-out1
  • Add new ppp client interface:
/interface ppp-client add dial-on-demand=no disabled=no apn=internet data-channel=1 info-channel=2 name=ppp-wan port=Orange

Note1: You may add use-peer-dns=no and modem-init="<AT command>" depending on configuration.

Note2: APN depend on internet provided (cell operator).

Note3: This modem is enabled by default. Option modem-init="AT+CFUN=1" is not necessary.