New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

D-Link DWM-157 C1 not working #395

CyberFoundry opened this Issue Mar 15, 2018 · 1 comment


None yet
1 participant

CyberFoundry commented Mar 15, 2018

I got a new D-Link DWM-157 C1 - identified as 2001:a407 D-Link Corp. in the default setting. After usb_modeswitch it becomes 2001:7d0e D-Link Corp. and creates four interfaces /dev/ttyUSB0 ...3

I can unlock the sim card (gammu --entersecuritycode) and identify the device (gammu --identify):
Device : /dev/ttyUSB0
Manufacturer : MTK1
Model : MTK2 (MTK2)
Firmware : 0.3.9
IMEI : xxxxxxxxxxxxxx
SIM IMSI : xxxxxxxxxxxxxxxxxxx

But I cannot query the network (gammu --networkinfo):
Network state : unknown
Packet network state : unknown
GPRS : detached

or send a sms:
Sending SMS 1/1....waiting for network answer..error -1, message reference=-1
Unknown error.

Logs are attached.


Is there anything I can do about it?
Thanks for your help!


This comment has been minimized.

CyberFoundry commented Mar 16, 2018

I have located the culprit - the modem always starts with
+CFUN: 4
It has to be set to AT+CFUN=1.

More info:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment