From owner-freebsd-stable Thu Jul 8 17:17: 0 1999 Delivered-To: freebsd-stable@freebsd.org Received: from awfulhak.org (dynamic-98.max1-du-ws.dialnetwork.pavilion.co.uk [212.74.8.98]) by hub.freebsd.org (Postfix) with ESMTP id D9A06155E7 for ; Thu, 8 Jul 1999 17:16:50 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from dev.lan.awfulhak.org (dev.lan.awfulhak.org [172.16.0.5]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id AAA09793; Fri, 9 Jul 1999 00:59:13 +0100 (BST) (envelope-from brian@lan.awfulhak.org) Received: from dev.lan.awfulhak.org (localhost [127.0.0.1]) by dev.lan.awfulhak.org (8.9.3/8.9.3) with ESMTP id AAA64867; Fri, 9 Jul 1999 00:59:12 +0100 (BST) (envelope-from brian@dev.lan.awfulhak.org) Message-Id: <199907082359.AAA64867@dev.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Mike Tisdell Cc: freebsd-stable@FreeBSD.ORG Subject: Re: VPN question (using ppp and ssh) In-reply-to: Your message of "Thu, 08 Jul 1999 12:51:37 PDT." <4.1.19990708123747.018dfcb0@shuttle.netronix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 09 Jul 1999 00:59:12 +0100 From: Brian Somers Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I have setup a VPN using ppp and ssh, using the device !/etc/ppp/secure > in the ppp.conf. Amost the same as that provided in the ppp.conf.sample in > 2.2.8. I want to use the VPN in the -auto mode because the vpn session is > routed over a standard on demand ppp connection to an ISP. The problem that > I am having is that when anything (including the idle timer) causes the > link to come down and ssh terminates, ppp also terminates with a discripter > 0 error. > > I have tried listing multiple instances of !/etc/ppp/secure in the device > statement in ppp.conf hoping that when ppp sees the failed device it would > try the next, but it doesn't. It appears that when ssh terminates and > closes stdin/stdout it causes a fatal error that ppp cannot recover from. > Does anyone have any ideas on how to get around this? The latest version of ppp handles this sort of error like carrier loss on a tty :-) > mike@netronix.com -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message