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

Haunted PPP daemon.....



	Well, apparently in the spirt of Halloween, pppd has decided to
become haunted and not cooperate at all. I am trying to set up a dialup
internet connection on my laptop running Debian 2.0. I just updated it
from ftp.debian.org this morning, so everything is about as current as it
can get. It is also running kernel 2.0.35, and ppp 2.3.5-2. 
	First let me say I have tried everything to get it to work, both
with and without the use of diald. I know the service provider is
working, as I can dial over the same line from desktop machine running
RH4.2 and ppp 2.2.0 and connect to the ISP fine. It is also not the modem
in the laptop, as it has worked fine in the past with ppp connections when
it was running RH4.2, and when using minicom it gives me no trouble at
all.
	With that said, here is my problem: Whenever the dialup is
complete, and chat is done, control is passed to ppp, which states that it
is starting up ppp, and then all of a sudden shows a SIGHUP and a modem
hangup. This signal is not coming from any other program, or is it due to
an actual hangup. Here is the syslog of a such an attempt via diald (same
behavior when all is done manually): {edited to protect the innocent}

Oct 31 18:37:19 stargazer diald[903]: FIFO: Link up request received.
Oct 31 18:37:20 stargazer diald[903]: Running connect (pid = 933).
Oct 31 18:37:20 stargazer chat[933]: abort on (BUSY)
Oct 31 18:37:20 stargazer chat[933]: abort on (NO CARRIER)
Oct 31 18:37:20 stargazer chat[933]: send (ATZ^M)
Oct 31 18:37:20 stargazer chat[933]: expect (OK)
Oct 31 18:37:21 stargazer chat[933]: ATZ^M^M
Oct 31 18:37:22 stargazer chat[933]: ^M
Oct 31 18:37:22 stargazer chat[933]: OK
Oct 31 18:37:22 stargazer chat[933]:  -- got it 
Oct 31 18:37:22 stargazer chat[933]: send (ATM0^M)
Oct 31 18:37:22 stargazer chat[933]: expect (OK)
Oct 31 18:37:22 stargazer chat[933]: ^M
Oct 31 18:37:22 stargazer chat[933]: ATM0^M^M
Oct 31 18:37:22 stargazer chat[933]: OK
Oct 31 18:37:22 stargazer chat[933]:  -- got it 
Oct 31 18:37:22 stargazer chat[933]: send (ATDTxxx-xxxx^M)
Oct 31 18:37:22 stargazer chat[933]: expect (CONNECT)
Oct 31 18:37:22 stargazer chat[933]: ^M
Oct 31 18:37:43 stargazer chat[933]: ATDTxxx-xxxx^M^M
Oct 31 18:37:43 stargazer chat[933]: CONNECT
Oct 31 18:37:43 stargazer chat[933]:  -- got it 
Oct 31 18:37:43 stargazer chat[933]: send (^M)
Oct 31 18:37:43 stargazer chat[933]: expect (ign)
Oct 31 18:37:43 stargazer chat[933]:  38400^M
Oct 31 18:37:45 stargazer chat[933]: ^M
Oct 31 18:37:45 stargazer chat[933]: STATION ID - {}^M
Oct 31 18:37:45 stargazer chat[933]: ^M
Oct 31 18:37:45 stargazer chat[933]: Welcome ^M
Oct 31 18:37:45 stargazer chat[933]: Please Sign
Oct 31 18:37:45 stargazer chat[933]:  -- got it 
Oct 31 18:37:45 stargazer chat[933]: send (username^M)
Oct 31 18:37:45 stargazer diald[903]: Running pppd (pid = 934).
Oct 31 18:37:45 stargazer diald[934]: Running pppd: /usr/sbin/pppd -detach modem crtscts mtu 1500 mru 1500 netmask 255.255.255.0 
Oct 31 18:37:46 stargazer pppd[934]: pppd 2.3.5 started by root, uid 0
Oct 31 18:37:46 stargazer pppd[934]: Using interface ppp0
Oct 31 18:37:46 stargazer pppd[934]: Connect: ppp0 <--> /dev/ttyS1
Oct 31 18:37:47 stargazer pppd[934]: Hangup (SIGHUP)
Oct 31 18:37:47 stargazer pppd[934]: Modem hangup
Oct 31 18:37:47 stargazer pppd[934]: Connection terminated.
Oct 31 18:37:48 stargazer pppd[934]: Exit.
Oct 31 18:37:51 stargazer diald[903]: Delaying 30 seconds before clear to dial.

	I have stripped the pppd command line all the way back until there
was nothing but the netmask and the device being specified, and got the
same behavior. I saw a similar problem in the email archives for this
list, but no resolution was ever posted. Is there some config option I am
missing? Or is this some sort of known problem with ppp? If the later,
what is the work around? Thanks!

	PS. Or is just because I am trying to do this on Halloween? :(

----------------------------------------------------------------------------
|   "For to me to live is Christ, and to die is gain."                     |
|                                            --- Philippians 1:21 (KJV)    |
----------------------------------------------------------------------------
|  Ryan Kirkpatrick  |  Boulder, Colorado  | rkirkpat@nag.cs.colorado.edu  |
----------------------------------------------------------------------------
|               http://www-ugrad.cs.colorado.edu/~rkirkpat/                |
----------------------------------------------------------------------------


Reply to: