Re: pppd / modem disconnect

Mikkel L. Ellertson (mikkel@execpc.com)
Sat, 19 Jun 1999 23:42:10 -0500 (CDT)


On Sun, 20 Jun 1999, Marc Owen wrote:

> Hi,
>
> It's the first time I write to a mailinglist like this. I usually solve my
> own problems, but this time I really can't find the prob. All I want to do
> is connect to the net through linux, but every time pppd disconnects me when
> I am logged in. I tried 2 different ISP's (all using PAP) and about 4
> different login servers, but every single one gives the same problem.
> Everything goes fine, I call to my ISP, get connected, send my login and
> pass (checked it with minicom), my provider's server starts ppp, I see
> the }'s coming, but then my modem disconnects. My login and password are ok,
> and my ISP's all use PAP. I played around with some pppd-parameters, without
> succes. I reinstalled pppd, reconfigured my kernel, all without succes.
>
> I am using slackware 3.6 kernel 2.0.35 (Hm... I updated some things, but
> basically still that kernel). My modem is a 33.6 standard thinggy (NO
> winmodem :) ). My log says:
>
> May 18 01:43:03 voodoosystem kernel: registered device ppp0
> May 18 01:43:04 voodoosystem pppd[214]: pppd 2.2.0 started by voodoo, uid 0
> May 18 01:43:06 voodoosystem chat[216]: timeout set to 60 seconds
> May 18 01:43:06 voodoosystem chat[216]: abort on (ERROR)
> May 18 01:43:06 voodoosystem chat[216]: abort on (BUSY)
> May 18 01:43:06 voodoosystem chat[216]: abort on (NO CARRIER)
> May 18 01:43:06 voodoosystem chat[216]: abort on (NO DIALTONE)
> May 18 01:43:06 voodoosystem chat[216]: send (AT&FH0^M)
> May 18 01:43:06 voodoosystem chat[216]: expect (OK)
> May 18 01:43:24 voodoosystem chat[216]: AT&FH0^M^M
> May 18 01:43:24 voodoosystem chat[216]: OK -- got it
> May 18 01:43:24 voodoosystem chat[216]: send (atdt*31*2064911#^M)
> May 18 01:43:25 voodoosystem chat[216]: timeout set to 75 seconds
> May 18 01:43:25 voodoosystem chat[216]: expect (CONNECT)
> May 18 01:43:25 voodoosystem chat[216]: ^M
> May 18 01:44:14 voodoosystem pppd[214]: Serial connection established.
> May 18 01:44:14 voodoosystem chat[216]: atdt*31*2064911#^M
> May 18 01:44:14 voodoosystem chat[216]: CONNECT -- got it
> May 18 01:44:15 voodoosystem pppd[214]: Using interface ppp0
> May 18 01:44:15 voodoosystem pppd[214]: Connect: ppp0 <--> /dev/cua2
> May 18 01:44:54 voodoosystem pppd[214]: Modem hangup
> May 18 01:44:54 voodoosystem pppd[214]: Connection terminated.
> May 18 01:44:54 voodoosystem pppd[214]: Exit.
>
>
> Marc Owen
>
Marc,
One posibability is that you have your pap-secrests file
is set up wrong. But I don't see any of the normal handshaking
for setting up the PPP connection using pap in your log. One
way you may be able to get things working untill someone comes
up with a better idea of what is wrong is to modify your chat
script so it gives your user name and password. You said you
can get to the PPP handshake that way using minicom, so it should
work. If you need an example of doing it that way, let me know
and I will send you the files.

Mikkel

--
The email addresses on this site may not be used for commercial 
purposes. Unsolicited commercial e-mail to one of the addresses 
listed on this site is bound to a processing fee of US$1000 per 
message payable by the sender no later than 6 working days after 
posting it. Sending a message consitutes an agreement to these terms.

- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.rutgers.edu