From owner-freebsd-questions Mon Mar 16 09:31:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA12550 for freebsd-questions-outgoing; Mon, 16 Mar 1998 09:31:11 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA12403 for ; Mon, 16 Mar 1998 09:31:00 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id JAA26076; Mon, 16 Mar 1998 09:30:47 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Mon, 16 Mar 1998 09:30:47 -0800 (PST) From: Doug White Reply-To: Doug White To: "Vladimir A. Petrov" cc: freebsd-questions@FreeBSD.ORG Subject: Re: Using leased line with dialup line as a reserve In-Reply-To: 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 On Mon, 16 Mar 1998, Vladimir A. Petrov wrote: > > On Sat, 14 Mar 1998, Vladimir A. Petrov wrote: > > > > > Is it possible to use leased and dialup lines simultaneously? > > > > Sure. The trick is routing; when do you know when your permanent > > connection goes down? Once you can determine that, you can enact a script > > to change routing, call ppp, etc... > > > > The common way to do this is to ping the other end periodically through a > > cron task. > > ..so as I can restart usage of the leased line! You could use a flag file that the script drops when it's changed the connection; when the file exists, and the hardwire connection is back, kill the dialup process and change the routes. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message