Support for D-link DWM-222 with new firmware does not create lte interface

Hi,
I’ve got used D-link DWM-222, rev A1, sticker says FW Ver. 2.1.2EU.

after connecting it to Hex refresh (E50UG), RouterOS version 7.20.4, it does not create LTE interface, or serial port.

On mikrotik help I found “H/W ver: A1 - supported as config-less LTE interface from v6.38“

in /system/resource/hardware i see:

1   location="1-1" parent=1-0 type=usb vendor="Mobile Connect" name="Mobile Connect"
serial-number="dacf919d23ff" vendor-id="0x2001" device-id="0xab00" speed="480" usb-version=" 2.01"
irq=0 device-path=bus/usb/001/00

From what I could find and my speculation:

after updating to version higher than 2.0.1, the device changed it's USB ID and is no longer exposing the same interface and starts supporting RNDIS.

Downgrading the device to older firmware fails (the script does not see the device).

On windows, this device shows as empty SD-card reader. After ejecting, this device shows as different device. (This actually allows the downgrade to see the device, but it fails anywas later)
the device after ejecting is D-Link USB Composite Device 2001.
before eject:

idVendor:                        0x2001
idProduct:                       0xAB00

after eject:

idVendor:                        0x2001
idProduct:                       0x7E35

Any ideas on how to:

  • Connect the device in current mode.
  • Try "ejecting" the device on Hex? (it does not appear in /disk)
  • Downgrading the firmware?

Thanks everyone,
Jan

Have you contacted D-Link?

Why would it be a MikroTik problem if updates to another manufacturer's device stop it from working with MikroTik?

Should MikroTik be the one to deal with problems with other manufacturers' devices?

You have to switch it back to modem mode it is currently in storage mode.

It is one of those "smart" devices (in the intention of the developers) the flip-flops between two settings, mass storage vs. actual modem.

You can read something about it here (but the program is Linux only):
https://www.draisberghof.de/usb_modeswitch/

You won't like this (risky):

https://forum.openwrt.org/t/setup-d-link-dwm-222/92360/9

Followup from another angle:

I purchased a brand new original packaged but still old D-Link DWM-222. Hardware rev A1 and firmware 2.1.2EU. This device with this firmware uses a proprietary software on Windows that will configure it as I believe to be an PPP device. Theoretically a setup as PPP client should therefore be possible. I did not go that route further, as RouterOS reported “could not aquire serial port”.

D-Link provides a newer firmware 2.1.4EU and 2.1.5EU via their FTP:

https://ftp.dlink.de/dwm/dwm-222/archive/driver_software/DWM-222_fw_reva1_214eu_win_multi_20210524.zip

https://ftp.dlink.de/dwm/dwm-222/driver_software/DWM-222_fw_reva1_215eu_win_multi_20211228.zip

These newer firmwares will change the DWM-222 to an RNDIS device compatible with RouterOS “config-less LTE” providing the lte1 interface without any further configuration. The configuration interface of the dongle resides at http://192.168.0.1/ and can be routed and reached via the MikroTik device.

Edit, another finding:

After the firmware update to 2.1.4EU or 2.1.5EU, RouterOS did not pick up the config-less LTE interface right away. In fact it was required to connect with the dongle one time using Windows. On 2.1.4EU I had to start the “StartModem.exe” in the storage area of the dongle.

Edit, another finding regarding the stability:

I noticed that the following things work/dont work:

  • disconnecting the USB and replugging it while powered on - SOMETIMES crashes the connection until the MIkroTik is rebooted (no more DHCP answers from the stick, only discovers visible in logs)
  • disabling lte1 and reenabling it - works fine
  • doing dhcp renewals - works fine
  • booting with the stick attached - works mostly fine
  • storage part of the DWM-222 with an sd card inserted - works fine (in parallel with the modem function)

Edit, conclusion:

I conclude that OPs solution may be to actually push the firmware to the latest available option. The RNDIS interface is actually most likely what you want with current RouterOS versions and hardware. Correct me if wrong.

About a year ago i was testing DWM-222 on a different brand of router. Started as a cd rom, but the router managed to perform the switch on its own to lte modem.

Afterwards i was able to use it as a secondary WAN and more importantly to send SMS notifications from Home Assistant via console commands.

Newer fimware changed it to RNDIS as mentioed in post above, but I was unable to access the modem via AT commands. I managed to downgrade it back to original fimware. It took several attempts, and trying multiple fw versions.

Original fw allows more options for tinkering. Its not the most reliable lte dongle - when router is rebooted, i have to manually replug the modem.