Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jul 1999 16:13:42 -0700 (PDT)
From:      Doug <doemill@shocking.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   weird pppd behavior
Message-ID:  <Pine.BSI.4.05.9907111609220.25503-100000@fingers.shocking.com>
In-Reply-To: <Pine.BSF.4.10.9907102159390.10141-100000@dns02.arpa-canada.net>

next in thread | previous in thread | raw e-mail | index | archive | help
When I type pppd, i hear it dial and connect, then after a little bit the
connection drops, i see this in /var/log/messages:

Jul 10 11:04:04 unix9 pppd[825]: pppd 2.3.5 started by root, uid 0
Jul 10 11:05:04 unix9 pppd[825]: Connect: ppp0 <--> /dev/cuaa0
Jul 10 11:05:04 unix9 pppd[825]: Modem hangup, connected for 1 minutes
Jul 10 11:05:04 unix9 pppd[825]: Connection terminated, connected for 1
minutes

And here is my /etc/ppp/options file:
modem
user doemill
crtscts
defaultroute
connect /etc/ppp/sconnect
/dev/cuaa0
38400

And here is /etc/ppp/sconnect file:
#!/bin/sh
chat ABORT BUSY ABORT ERROR "" ATZ OK ATDT8924700 "CONNECT 38400 bgnet  
38400\r\r\r\r\r AutoProtocolDetect - Begin protocol or enter 4 returns for 
interactive mode.\r\d\d\d\d\d\d\d\d\d\d"

I know my isp uses pap auth, and i have a /etc/ppp/pap-secrets with
username * password
Is there anything im missing? If you have pppd scripts you use to connect,
would you tell me how to fix mine? Thanks!




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.4.05.9907111609220.25503-100000>