0

I am trying to get my ZTE USB modem to connect on my Raspberry pi 3B+. here is my lsusb output:

Bus 001 Device 005: ID 1611:2800
Bus 001 Device 007: ID 19d2:0031 ZTE WCDMA Technologies MSM MF110/MF627/MF636
Bus 001 Device 004: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

When i run usbmodem switch i get this output:

pi@raspberrypi:~ $ sudo usb_modeswitch -c /etc/usb_modeswitch.conf
Look for target devices ...
   product ID matched
 Found devices in target mode or class (1)
Look for default devices ...
 No devices in default mode found. Nothing to do. Bye!

So i assume the usb modem is not in modem mode?

When i run the wvdial program, i get this output below:

--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","internet.etisalat"
AT+CGDCONT=1,"IP","internet.etisalat"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
NO CARRIER
--> No Carrier!  Trying again.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
NO CARRIER

My wvdialconf file is this:

Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","internet.etisalat"
Phone = *99#
ISDN = 0
Username = { }
Password = { }
Modem = /dev/ttyUSB1
#Modem = /dev/gsmmodem
Baud = 460800
Stupid Mode = 1
Modem Type = Analog Modem

and my usbmodemswitch config fil looks like this:

Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","internet.etisalat"
Phone = *99#
ISDN = 0
Username = { }
Password = { }
Modem = /dev/ttyUSB1
#Modem = /dev/gsmmodem
Baud = 460800
Stupid Mode = 1
Modem Type = Analog Modem

I also tried sakis3g and that fails as well. The network and SIM is Etisalat i here in EGYPT. The SIM card works. I tried it in two different phones and calling and dialing both work as does internet.

PPPD is installed as well.

What is the correct way to get this working? Please help me understand what i am doing wrong.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.