You are not logged in.

#1 2010-09-15 06:18:07

Pontorez
Member
From: New Jersey
Registered: 2010-07-21
Posts: 6
Website

wvdial: unable to connect to GPRS ("The PPP daemon has died")

Hello,
I'm unable to setup the Internet connection... Looks like the problem is in pppd, can you help please?
pppd displays some weird symbols (these symbols are different every time I reconnect) and then dies in 30 seconds:

[user@myhost ~]$ sudo wvdial
--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 S0=0
ATQ0 S0=0
OK
--> Sending: AT+CGATT=1
AT+CGATT=1
OK
--> Sending: AT+CGDCONT=1,"IP","internet.mts.ru"
AT+CGDCONT=1,"IP","internet.mts.ru"
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Wed Sep 15 09:59:19 2010
--> Pid of pppd: 6353
--> Using interface ppp0
--> pppd: ([01] h[01] @[01] H[01] [01] 
--> pppd: ([01] h[01] @[01] H[01] [01] 
--> pppd: ([01] h[01] @[01] H[01] [01] 
--> pppd: ([01] h[01] @[01] H[01] [01] 
--> pppd: ([01] h[01] @[01] H[01] [01] 
--> Disconnecting at Wed Sep 15 09:59:50 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 open /dev/rfcomm0: Input/output error
--> Cannot open /dev/rfcomm0: Connection reset by peer
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
^CCaught signal 2:  Attempting to exit gracefully...
[user@myhost ~]$

pppd error code 16 is:
16     The link was terminated by the modem hanging up.

Looks like pppd have to perform something during 30 seconds after start but it doesn't perform it.

P.S. /var/log/messages:

Sep 15 09:59:19 localhost pppd[6353]: pppd 2.4.5 started by root, uid 0
Sep 15 09:59:19 localhost pppd[6353]: Using interface ppp0
Sep 15 09:59:19 localhost pppd[6353]: Connect: ppp0 <--> /dev/rfcomm0
Sep 15 09:59:49 localhost pppd[6353]: LCP: timeout sending Config-Requests
Sep 15 09:59:49 localhost pppd[6353]: Connection terminated.
Sep 15 09:59:49 localhost pppd[6353]: Modem hangup
Sep 15 09:59:49 localhost pppd[6353]: Exit.

Offline

#2 2010-09-15 07:04:08

codycarey
Member
Registered: 2009-08-21
Posts: 154

Re: wvdial: unable to connect to GPRS ("The PPP daemon has died")

It looks like pppd is fine, but it's trying to use a device that doesn't exist.

--> Cannot open /dev/rfcomm0: Input/output error
--> Cannot open /dev/rfcomm0: Connection reset by peer
--> Cannot get information for serial port.

What is the GPRS device you're using?

Offline

#3 2010-09-15 07:15:15

Pontorez
Member
From: New Jersey
Registered: 2010-07-21
Posts: 6
Website

Re: wvdial: unable to connect to GPRS ("The PPP daemon has died")

codycarey wrote:

It looks like pppd is fine, but it's trying to use a device that doesn't exist.

--> Cannot open /dev/rfcomm0: Input/output error
--> Cannot open /dev/rfcomm0: Connection reset by peer
--> Cannot get information for serial port.

These errors occur on _redial_ attempt.
(I have to execute "/etc/rc.d/bluetooth restart" after every wvdial attempt but I think it's OK).

codycarey wrote:

What is the GPRS device you're using?

Samsung SGH-D830 (via Bluetooth).

Offline

#4 2010-09-15 08:04:50

codycarey
Member
Registered: 2009-08-21
Posts: 154

Re: wvdial: unable to connect to GPRS ("The PPP daemon has died")

I would try enabling the debug option with pppd and take a look at the logs it creates to see what's going on.

Offline

Board footer

Powered by FluxBB