On 15 June 2010 18:43, Ken Heard <k...@heard.name> wrote: > -----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----- >
Hi Ken, I would recommend using straight pppd example: 'pon <provider>' 'poff <provider>' # cat /etc/ppp/peers/provider hide-password /dev/ttyUSB0 460800 crtscts #modem noauth defaultroute noipdefault noccp nobsdcomp novj user "<username>" connect "/usr/sbin/chat -f /etc/ppp/peers/chat-e1762" idle 300 persist demand logfd 6 debug ipcp-accept-local ipcp-accept-remote novjccomp nomagic # cat /etc/ppp/peers/chat-e1762 ABORT BUSY ABORT VOICE ABORT DELAYED ABORT ERROR ABORT 'NO CARRIER' ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' REPORT CONNECT TIMEOUT 10 "" "ATZ" OK AT+CGDCONT=1,"ip","<APN>" OK "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" OK "AT+IPR=115200" OK "ATE1" TIMEOUT 60 SAY "Calling ISP" "" "ATD*99***1#" CONNECT '\d\c' Hope this is some help to you out, also remember to read the pppd man page for more info :-) Regards Dale -- [WWW] http://quail.southernvaleslug.org/ "The significant problems we face cannot be solved at the same level of thinking we were at when we created them" - Albert Einstein -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/aanlktima7osckneb-35yqt6or4nfppnllczkjz9xf...@mail.gmail.com