Vodafone woes

Only able to get online briefly tonight, after getting home late from work, then eating, then playing with trying to get the Vodafone USB modem going for awhile.

I have it essentially setup like smokey01. And I tried the things he suggested.

However, before that, when I started Wary, mysteriously modeswitching started working again, and PupDial recognised /dev/ttyUSB1.

But, I have noticed something very strange in the PupDial log:

This is from smokey01:

--> WvDial: Internet dialer version 1.53

--> 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","VFPREPAYMBB"
AT+CGDCONT=1,"IP","VFPREPAYMBB"
OK
--> Modem initialized.
--> Sending: ATX1DT*99***1#
--> Waiting for carrier.
ATX1DT*99***1#
CONNECT 7200000
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Tue Jan 12 08:01:46 2010
--> pid of pppd: 16817


I also have an APN entered in PupDial, but this is my log:

--> WvDial: Internet dialer version 1.53

--> 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
--> Modem initialized.
--> Sending: ATX3DT*99#
--> Waiting for carrier.
ATX3DT*99#
NO CARRIER
--> No Carrier! Trying again.


...why doesn't it send the APN info, as in smokey01's case?

My wvdial.conf has:

[Dialer isp1apn]

Init5 = AT+CGDCONT=1,"IP","VFPREPAYMBB"




Posted on 25 Sep 2010, 22:53


Comments:

Posted on 25 Sep 2010, 23:00 by 01micko
different numbers
looking at that, smokey has *99***1# whereas you have *99# . ??? (.. and is smokey's log that old?)

Cheers


Posted on 26 Sep 2010, 8:01 by BarryK
Re smokey01 diffs
Smokey01 would be using an older version of PupDial.

'*99#' is what the Vodafone docs say to use. But, I did try '*99***1' made no difference.



Posted on 26 Sep 2010, 8:39 by aarf
missing #
*99***1#
you are still missing the hash# of the end of the number.
try this exact sequence:
firstly always plug in the turn-on phone (usb modem dongle) when you boot not plug-in after you boot.
second if it fails to auto-connect in puppeee1/fluppy4 you need to disconnect the usb cable from the laptop and then reconnect the USB cable (usb mod dongle), then reboot with the cable still connected plugged in.
if the icons show that there is no connection still try the browser because it may be connected but the icons say that it isn't.


Posted on 26 Sep 2010, 8:57 by zygo
missing lines
That's a very small wvdial.conf ! Was it made by Pupdial?



Posted on 26 Sep 2010, 9:29 by ozsouth
pgprs
Try Puppy's PGPRS - I've been using it for a year.


Posted on 26 Sep 2010, 11:39 by Raffy
Huawei E1552
There were noted problems in the use of 3G device in Puppy, so I add my own experience here and hope that it could help diagnose the problem.

Here is the output of pgprs-connect in Quirky 130 (Device works even when plugged in after boot):
Press CTRL-C to close the connection at any stage!

defining PDP context...
AT
OK
AT+CPIN="1234"
ERROR
AT+CGDCONT=1,"IP","Correct-APN-was-here"
OK
ATH
OK
ATE1
OK
AT+CSQ
waiting for connect...

+CSQ: 99,99

OK
ATD*99***1#
NO CARRIER
Connect script failed
Exit status is 0
DISCONNECTED

Press ENTER to quit
Press r ENTER to reconnect/try again

Some notes:

1. Is it proper that the PIN is sent at the beginning? (Anyway, there is an error there-I have not changed any PIN, so there should be no error.)

2. No carrier error: Is the connect script strict as to the protocol used? This ISP offers CHAP while others use PAP. Are there settings in /etc/ppp that should be changed? Or is the error simply in the "ATD" (should it be ATDT instead)?


Posted on 26 Sep 2010, 11:46 by Raffy
wvdial
Related: This guy used successfully wvdial in Slackware.


Posted on 26 Sep 2010, 16:47 by 01micko
re: chap
As Raffy said 2 posts ago, and I needed for my virgin modem, maybe appending -chap (under barney) to /etc/ppp/options would work.? (Even though Virgin say it is pap authentication). I did set up some Vodafone dongles awhile ago, but forget the settings!

Cheers


Posted on 26 Sep 2010, 16:49 by wombat01
Vodafone
Barry, I am unable to do any testing at the moment as my friend has my modem in Katherine. She tells me it is working fine.

My modem is a different model to yours which may make a difference. There is plenty of information in the forums where rerwin and I were testing my modem. I did have trouble with the latest version of puppeee as it would not connect but the previous release did. It sounds like you may be having a similar problem. rerwin (Richard) would be the best person to assist.

Smokey01


Posted on 26 Sep 2010, 19:13 by dogle
just another thought
I notice that the X3 option is included in your Hayes string. I've known this to work miraculously well when trying to connect to ancient, creaky landline systems which were otherwise invariably producing spurious no tone/no carrier messages ... but could it somehow be tripping up a too-clever-by-half Vfone connection? Sorry I can't test this now.


Posted on 27 Sep 2010, 2:52 by alec78
Registration
Barrie,
It is frequently posted on the web that a 3G USB modem needs to be used initially under Windows, I think this is to facilitate registration of the modem with the ISP.
BTW I use *99# when setting up PupDial, and did you tick the Stupid Mode box?
In addition I would suggest using a previous variant of Puppy, i.e. one not using the latest kernel. Things have taken a backward step re 3g USB modems with the latest kernel, I had to go back to running modprobe to get my E169G recognised under lupu-512.


Posted on 27 Sep 2010, 16:09 by ecube
My HowTo
This is my humble "HowTo"

1. Use PupDial to identify the modem.

2. Close PupDial. (If you use it, it will overwrite wvdial.conf)

3. Create the file /etc/wvdial.conf
  [Dialer Defaults]

Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","--- your APN ---"
Password = internet
Phone = *99#
Modem Type = USB Modem
Stupid Mode = 1
Baud = 460800
Dial Command = ATDT
Modem = /dev/ttyUSB0
ISDN = 0
Username = gprs

4. run /usr/bin/wvdialshell.


Posted on 27 Sep 2010, 18:08 by ozsouth
ecube's method works too
With Huawei E1762 & Virgin BB, ecube's wvdial method works in Pup 421 & Quirky 1.2 tests.


Posted on 27 Sep 2010, 21:18 by Raffy
Register User First in Windows
Thanks for the reminder, alec78. (In my case,) Not even the carrier's documentation states that profile registration and selection of network type (under Tools-Options) are needed before the device can be used.



Posted on 27 Sep 2010, 22:42 by Raffy
Success with Quirky Retro 120 (Firefox)
Having registered my profile in Windows and chosen "3G preferred" in the network type, I retried plugging the device (as Grub is booting Quirky retro 120) and had success.

Mysteriously, the dialup number (which worked OK) changed to *99# when I was filling in my profile (in Windows). The menu used to display *99***1#

Bottomline - it's slow (compared to 512kbps broadband).


Posted on 27 Sep 2010, 22:48 by Raffy
Used only PGPRS setup and connect
Sorry, forgot to mention that I used only PGPRS setup and connect (see in the Internet Connection Wizard or in /usr/share/applications).


Posted on 29 Sep 2010, 16:07 by proformix
UMTS wvdial APN vodafone
Hi Barry

Perhaps you should check the APN if it is correct -
try AT+CGDCONT? in e.g. picocom:

My example:

At+cgdcont?
+CGDCONT: 1,"IP","xyz","0.0.0.0",0,0

OK



Posted on 19 Jun 2012, 8:30 by BitcoinAde
T Mobile UK
I'm having similar problems with a TMobile dongle in the UK, worked great on both windows and puppy, then for some reason it stopped, by then I had several versions of Puppy distribution on various DVDS, tried them all, same problem, yet still works fine on windows.
My conclusion is that the modem has 'changed' somehow, either it's firmware has been upgraded remotely, or it is suffering from getting too hot internally. The reason I say that is that occaisionally, it will work again on Puppy. I eithere get the Bad Sim error or it goes through the process of connecting and then repeatedly falls over again Here is the output.

--> Sending: AT+CGDCONT=1,"IP","preconnect"
AT+CGDCONT=1,"IP","preconnect"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Mon Jun 18 23:47:25 2012
--> pid of pppd: 20043
--> Disconnecting at Mon Jun 18 23:47:26 2012
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--> Auto Reconnect will be attempted in 5 seconds
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2
ATQ0 V1 E1 S0=0 &C1 &D2
OK
--> Sending: AT+CGDCONT=1,"IP","preconnect"
AT+CGDCONT=1,"IP","preconnect"
OK
--> Modem initialized.



Posted on 19 Jun 2012, 8:22 by K Godt
Dont overstep the load limit
BitcoinAde,

I have the same problem when i overstepped the 5GB up/down load limit that puts me back into ISDN-64Kb/s-8KB/s mode .

Both pgprs-connect and pupdial .

Both providers .

This did not happened much but i think it happened and was no problem before .

The one modem/provider gives me always no carrier and the other hangs the modem or does not send magics back to me .

I am guessing an AT command would do it, but have not found out for now .

The hints in which pupdial did not work for me to force 2G, mainly because my modem accepts only three variable for AT+COPS=0,1,2 .