D-Link DWM-221 4G USB modem on CentOS

Issues related to hardware problems
Post Reply
odysseus
Posts: 69
Joined: 2014/09/14 16:55:22

D-Link DWM-221 4G USB modem on CentOS

Post by odysseus » 2017/06/08 09:25:29

This is supposed to be supported on Linux, but I don't know how to make it work.

Here's the output of usb_modeswitch:

[root@macbook-air mnt]# usb_modeswitch -v 2001 -p 7e19 -d 1
Look for default devices ...
product ID matched
Found devices in default mode (1)
Access device 003 on bus 001
Get the current device configuration ...
Current configuration number is 1
Use interface number 0

USB description data (for identification)
-------------------------
Manufacturer: Mobile Connect
Product: Mobile Connect
Serial No.: 0123456789ABCDEF
-------------------------
Detach storage driver as switching method ...
Looking for active driver ...
No active driver found. Detached before or never attached
-> Run lsusb to note any changes. Bye!



Here is lsusb:
[root@macbook-air mnt]# lsusb
Bus 002 Device 003: ID 05ac:8406 Apple, Inc.
Bus 002 Device 005: ID 1058:07a8 Western Digital Technologies, Inc. My Passport (WDBBEP), My Passport for Mac (WDBLUZ)
Bus 002 Device 004: ID 08e4:017a Pioneer Corp.
Bus 002 Device 002: ID 050d:0073 Belkin Components
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 05ac:0291 Apple, Inc.
Bus 001 Device 010: ID 05ac:828f Apple, Inc.
Bus 001 Device 005: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 001 Device 011: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
Bus 001 Device 006: ID 046d:082d Logitech, Inc. HD Pro Webcam C920
Bus 001 Device 004: ID 050d:2812 Belkin Components
Bus 001 Device 003: ID 2001:7e19 D-Link Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



The LED on the modem lights green, which means it should be initialised. I don't know what to do further, to dial the modem. I can't find any device in network settings on Gnome.

odysseus
Posts: 69
Joined: 2014/09/14 16:55:22

Re: D-Link DWM-221 4G USB modem on CentOS

Post by odysseus » 2017/06/17 23:01:36

I got the USB modem to work with the Sakis3g script package which is found on GitHub. Now Internet works with this modem.

odysseus
Posts: 69
Joined: 2014/09/14 16:55:22

Re: D-Link DWM-221 4G USB modem on CentOS

Post by odysseus » 2018/12/13 17:34:03

To save time, here it is already compiled and ready for use: https://ufile.io/hnw4l

Post Reply