[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Configuring the Huawei E620 dongle to work using wvdial



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have a Lenovo Thinkpad R61 with Lenny and KDE installed.  I am in GB
and would like to go on line using a Vodafone K3565 dongle, which is
really a Huawei E620.

To set up file wvdial.conf I ran command wvdialconf, with the following
result created in that file:

[Dialer Defaults]
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Phone = *99***1#
#ISDN = 0
Username = web
Init1 = ATZ
Password = web
Modem = /dev/ttyUSB0
Baud = 9600
Init3 = AT+CGDCONT=1,"IP","pp.internet"

(The Phone, Username and Password entries I entered myself on the advice
of others who posted their results on the web.)

I then ran command wvdial, which produced the following log:

- --> WvDial: Internet dialer version 1.60
- --> Cannot get information for serial port.
- --> 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","pp.internet"
AT+CGDCONT=1,"IP","pp.internet"
OK
- --> Modem initialized.
- --> Sending: ATDT*99***1#
- --> Waiting for carrier.
ATDT*99***1#
CONNECT
- --> Carrier detected.  Waiting for prompt.
- --> Don't know what to do!  Starting pppd and hoping for the best.
- --> Starting pppd at Mon Jun 14 12:32:40 2010
- --> Pid of pppd: 5183
- --> Using interface ppp0
- --> pppd: ��[06][08]h�[06][08][18]�[06][08]
- --> pppd: ��[06][08]h�[06][08][18]�[06][08]
- --> pppd: ��[06][08]h�[06][08][18]�[06][08]
- --> pppd: ��[06][08]h�[06][08][18]�[06][08]
- --> pppd: ��[06][08]h�[06][08][18]�[06][08]
- --> pppd: ��[06][08]h�[06][08][18]�[06][08]
- --> pppd: ��[06][08]h�[06][08][18]�[06][08]
- --> pppd: ��[06][08]h�[06][08][18]�[06][08]
- --> Disconnecting at Mon Jun 14 12:32:44 2010
- --> 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
- --> Cannot get information for serial port.
- --> Initializing modem.

The second line, "Cannot get information for serial port" seems
irrelevant, as wvdial proceeded to try to connect anyway.

These two lines seem particularly distressing:
- --> Carrier detected.  Waiting for prompt.
- --> Don't know what to do!  Starting pppd and hoping for the best.
Wvdial appears to be waiting for something but cannot get it.  It
consequently disconnected the modem.  As indicated by the last three
lines in the log quoted, wvdial tried repeatedly to connect, with the
same result, until I killed the run with Control-C.

I looked at /var/log/messages.  All it said that was relevant was:

Jun 14 07:32:42 R61 pppd[5183]: pppd 2.4.4 started by root, uid 0
Jun 14 07:32:42 R61 pppd[5183]: Using interface ppp0
Jun 14 07:32:42 R61 pppd[5183]: Connect: ppp0 <--> /dev/ttyUSB0
Jun 14 07:32:42 R61 pppd[5183]: Warning - secret file
/etc/ppp/pap-secrets has world and/or group access
Jun 14 07:32:42 R61 pppd[5183]: Warning - secret file
/etc/ppp/chap-secrets has world and/or group access
Jun 14 07:32:42 R61 pppd[5183]: CHAP authentication succeeded
Jun 14 07:32:42 R61 pppd[5183]: CHAP authentication succeeded
Jun 14 07:32:43 R61 pppd[5183]: Modem hangup
Jun 14 07:32:43 R61 pppd[5183]: Connection terminated.
Jun 14 07:32:43 R61 pppd[5183]: Exit.

I could not find anything in the man files mentioned in the log which
would appear helpful to me.

I am trying to find somebody in Vodafone who might know the answer.
(Vodafone seems to be the only dongle provider in GB which -- rather
than ridiculing Linux -- is actually trying to be helpful.  In fact they
have created three .deb packages, vodaphone-mobile-connect,
usb-modeswitch and ozerocdoff, available from www.betavine.net, which
Vodafone claims work on Ubuntu, but certainly not on Debian Lenny -- or
at least on my installation of Debian Lenny.  I have so reported to
Vodafone.

Can anybody provide me with suggestions of what I should now try so that
I can use this dongle?

Regards, Ken Heard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkwXREQACgkQlNlJzOkJmTeu6QCfRY7CPJl0iulEvdQIbBsQzauv
4iUAniE3Oh2eHsVMyBcX7DeML8jYYx8r
=o5Ba
-----END PGP SIGNATURE-----


Reply to: