From owner-freebsd-questions Thu Feb 26 22:06:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA28257 for freebsd-questions-outgoing; Thu, 26 Feb 1998 22:06:51 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from uniqsite.uniqsite.com. (uniqsite.com [206.14.149.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA28193 for ; Thu, 26 Feb 1998 22:06:28 -0800 (PST) (envelope-from timm@uniqsite.com) Received: from localhost (timm@localhost) by uniqsite.uniqsite.com. (8.8.7/8.8.7) with SMTP id WAA18368; Thu, 26 Feb 1998 22:05:43 GMT (envelope-from timm@uniqsite.com) Date: Thu, 26 Feb 1998 22:05:43 +0000 (GMT) From: Tim Moony Reply-To: Tim Moony To: spork@cncn.com cc: questions@FreeBSD.ORG Subject: Re: PPP link terminated unexpectedly. (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You claimed: > > My PPP link got terminated unexpectedly just now. I have an X2 > modem, which was causing me some problems, but I have switched ISPs and > now am connecting X2->X2. I connect at 28800/ARQ/V34/LAPM/V42BIS, > and when I was disconnected ppp.log showed the following thing for the > session: > [..snip other ppplogs...] > Feb 25 18:44:14 mental ppp[318]: Phase: Using interface: tun0 > Feb 25 18:44:14 mental ppp[318]: Phase: PPP Started. > Feb 25 18:44:41 mental ppp[318]: Phase: *Connected! > Feb 25 18:44:59 mental ppp[318]: Phase: NewPhase: Authenticate > Feb 25 18:44:59 mental ppp[318]: Phase: NewPhase: Network > Feb 25 18:44:59 mental ppp[318]: Link: myaddr = 207.113.85.106 hisaddr = 207. > 113.85.101 > Feb 25 18:44:59 mental ppp[318]: Link: OsLinkup: 207.113.85.101 > Feb 25 19:30:59 mental ppp[318]: Phase: HDLC errors -> FCS: 5 ADDR: 0 COMD: 0 > PROTO: 0 > Feb 25 19:31:58 mental ppp[318]: Phase: Disconnected! > Feb 25 19:31:58 mental ppp[318]: Phase: Connect time: 2837 secs > Feb 25 19:31:58 mental ppp[318]: Phase: NewPhase: Dead > Feb 25 19:31:58 mental ppp[318]: Link: OsLinkdown: 207.113.85.101 > Feb 25 19:33:19 mental ppp[318]: Phase: PPP Terminated (normal). It's not uncommon for ISPs to terminate the connection when the connection is idle for too long (mine does). What you need is to do a search from the mailing list for "stay connected". There are scripts that work. Usually it involves pinging a nearby site (or address) to tell if the connection is dropped. Call the script every 5 minutes and your connection should stay connected or be restored (either way). I believe it's in one of Mark Plummer's questions (or maybe answers). ^^^^^^^^^^^^^^ Search for mailing list archive using +mark +plummer should locate it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message