From owner-freebsd-questions Mon Jul 12 10:48:37 1999 Delivered-To: freebsd-questions@freebsd.org Received: from megamail.megared.net.mx (megamail.megared.com.mx [207.249.162.252]) by hub.freebsd.org (Postfix) with SMTP id 282B41510A for ; Mon, 12 Jul 1999 10:48:25 -0700 (PDT) (envelope-from ales@megared.net.mx) Received: from [207.249.163.252] by megamail.megared.net.mx (NTMail 3.03.0017/4c.ab3r) with ESMTP id ha397417 for ; Mon, 12 Jul 1999 12:47:42 -0500 Message-ID: <025501becc8e$33554080$fca3f9cf@megared.net.mx> From: "Alejandro Ramirez" To: "Doug" , References: Subject: RE: weird pppd behavior Date: Mon, 12 Jul 1999 12:44:33 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Try checking the timeout feature in ppp. Ales ----- Original Message ----- From: Doug To: Sent: Sunday, July 11, 1999 6:13 PM Subject: weird pppd behavior > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message