[Ilugc] WvDial - pppd issues

  • From: arun289@xxxxxxxxx (Arun Venkataswamy)
  • Date: Thu, 21 Apr 2011 18:44:17 +0530

Hi,

I am trying to connect to the internet using an USB modem.
Tried with a Vodafone and Docomo SIMs, both which work in a mobile phone.
After authentication, it fails giving
*PCP: timeout sending Config-Requests*

Any pointers? The details are below...

WVDial output-
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: AT+CGDCONT=1,"IP","portalnmms"
AT+CGDCONT=1,"IP","portalnmms"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT 7200000
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Thu Apr 21 18:39:36 2011
--> Pid of pppd: 4062
--> Using interface ppp0
--> pppd: ?B? X7?
--> pppd: ?B? X7?
--> pppd: ?B? X7?
--> pppd: ?B? X7?
--> pppd: ?B? X7?
--> pppd: ?B? X7?
--> pppd: ?B? X7?
--> Disconnecting at Thu Apr 21 18:40:50 2011
--> 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


I am getting the following in the logs-
Apr 21 18:19:46 localhost pppd[3749]: pppd 2.4.4 started by root, uid 0
Apr 21 18:19:46 localhost pppd[3749]: Using interface ppp0
Apr 21 18:19:46 localhost pppd[3749]: Connect: ppp0 <--> /dev/ttyUSB0
Apr 21 18:19:49 localhost pppd[3749]: CHAP authentication succeeded
Apr 21 18:19:49 localhost pppd[3749]: CHAP authentication succeeded
Apr 21 18:20:57 localhost pppd[3749]: IPCP: timeout sending Config-Requests
Apr 21 18:21:04 localhost pppd[3749]: Connection terminated.
Apr 21 18:21:04 localhost pppd[3749]: Modem hangup
Apr 21 18:21:04 localhost pppd[3749]: Exit.

My wvdial configuaration file is
[Dialer Defaults]
Init1 = ATZ
Init2 = AT+CGDCONT=1,"IP","portalnmms"
Modem Type = USB Modem
Phone = *99#
ISDN = 0
Password = 0
Username = 0
Modem = /dev/ttyUSB0
Baud = 460800
stupid mode = 1
new pppd = yes

regards,
Arun

Other related posts: