site  contact  subhomenews

Got online with Vodafone

September 30, 2010 — BarryK
Guys, I had given up. Tried everything, thanks for all the suggestions.

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:

[Dialer Defaults]

Modem = /dev/ttyUSB3
#Modem = /dev/ttyUSB2
Baud = 115200
Init1 =
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Carrier Check = no
Dial Command = ATX1DT

[Dialer isp1]
Phone = *99#
Username = <my mobile number>
Password = <password when I registered modem>
Stupid Mode = yes
Auto Reconnect = yes

[Dialer isp1apn]
Init5 = AT+CGDCONT=1,"IP","vfprepaymbb"

[Dialer isp2]
Phone = *99#
Username =
Password =
Auto Reconnect = yes

[Dialer isp2apn]
Init5 = AT+CGDCONT=1,"IP",""

[Dialer pin]
Init1 = AT+CPIN=

[Dialer wireless]
#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

Still other weirdness
Username: BarryK
I'm puzzled though. As I have reported before, the PupDial log does not show the APN being sent: [code]--> Sending: ATZ ATZ OK --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 OK --> Modem initialized. --> Sending: ATX1DT*99# --> Waiting for carrier. ATX1DT*99# CONNECT 3600000[/code] ...yet, it works.

Statefull dongles
Username: 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?

Log file
Username: BarryK
"zygo, Reply next post: http://bkhome.org/archive/blog2/201009/usbmodeswitch-log.html


Tags: woof