But tonight, almost midnight and I'm dead tired, but was just messing around, stumbled upon something that made it work.
I was puzzled, in /var/log/messages, I see:
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
USB Serial support registered for GSM modem (1-port)
option 1-2:1.0: GSM modem (1-port) converter detected
usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0
option 1-2:1.1: GSM modem (1-port) converter detected
usb 1-2: GSM modem (1-port) converter now attached to ttyUSB1
option 1-2:1.2: GSM modem (1-port) converter detected
usb 1-2: GSM modem (1-port) converter now attached to ttyUSB2
option 1-2:1.3: GSM modem (1-port) converter detected
usb 1-2: GSM modem (1-port) converter now attached to ttyUSB3
option 1-2:1.4: GSM modem (1-port) converter detected
usb 1-2: GSM modem (1-port) converter now attached to ttyUSB4
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
PupDial detects nothing on ttyUSB0, but does detect a modem at ttyUSB1 -- however no matter what I tried, always got "no carrier".
So, I tried ttyUSB3. PupDial does not detect a modem on ttyUSB3, however, I found that if I use PupDial to try and connect to ttyUSB1 and get "no carrier", exit from PupDial, edit /etc/wvdial.conf and change "/dev/ttyUSB1" to "/dev/ttyUSB3", then restart PupDial and click "Connect" button -- it connects!
Runny Wary right now. My wvdial.conf is:
Modem = /dev/ttyUSB3
#Modem = /dev/ttyUSB2
Baud = 115200
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Carrier Check = no
Dial Command = ATX1DT
Phone = *99#
Username = <my mobile number>
Password = <password when I registered modem>
Stupid Mode = yes
Auto Reconnect = yes
Init5 = AT+CGDCONT=1,"IP","vfprepaymbb"
Phone = *99#
Auto Reconnect = yes
Init5 = AT+CGDCONT=1,"IP",""
Init1 = AT+CPIN=
#To force only 2G or 3G, uncomment the Init4 line and append 0 (2G) or 2 (3G), and substitute your operator's name for MYOPS.
Init4 = AT+CGDCONT=1,"IP","vfprepaymbb"
#Init6-Init9 lines are available for user purposes; the commented examples can be used as described:
#To force the 3G quality of service level, uncomment the Init6/Init7 line pair and set value two places each, for 384k/144k/64k, omitting the "k" (e.g., =1,4,64,384,64,384).
#To list all the APNs stored in the modem, uncomment the Init8 line; check the Connection status log for lines beginning with +CGDCONT:.
#To list the operator identifier stored in the modem, uncomment the Init9 line; check the Connection status log for a line beginning with +COPS:.
#Init6 = AT+CGEQMIN=1,4,64,384,64,384
#Init7 = AT+CGEQREQ=1,4,64,384,64,384
#Init8 = AT+CGDCONT?
Anyway, have to sleep. Will give this another go in the morning.
Comments:Posted on 29 Sep 2010, 23:55 by BarryK
Still other weirdness
I'm puzzled though. As I have reported before, the PupDial log does not show the APN being sent:
--> Sending: ATZ
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
--> Modem initialized.
--> Sending: ATX1DT*99#
--> Waiting for carrier.
...yet, it works.
Posted on 30 Sep 2010, 2:43 by zygo
ZTE's are wierd from accounts on the forum. Maybe the first attempt sends the APN and it is retained. Or maybe the modem misreports its initial IDs.
The opening post here http://www.murga-linux.com/puppy/viewtopic.php?t=41882 describes priming the modem for ordinary use. Does you modem need the ttyUSB1 attempt every time you reboot? Can you tell us what Hardinfo says the modem's vendor and product IDs are in its 3 states please?
Posted on 30 Sep 2010, 7:56 by BarryK
Reply next post: