From owner-freebsd-questions Wed Aug 9 17:29:38 2000 Delivered-To: freebsd-questions@freebsd.org Received: from turtle.looksharp.net (cc360882-a.strhg1.mi.home.com [24.2.221.22]) by hub.freebsd.org (Postfix) with ESMTP id 6C39137B7F0; Wed, 9 Aug 2000 17:29:25 -0700 (PDT) (envelope-from bandix@looksharp.net) Received: from localhost (bandix@localhost) by turtle.looksharp.net (8.9.3/8.9.3) with ESMTP id UAA00732; Wed, 9 Aug 2000 20:29:51 -0400 (EDT) (envelope-from bandix@looksharp.net) Date: Wed, 9 Aug 2000 20:29:50 -0400 (EDT) From: "Brandon D. Valentine" To: justin Cc: freebsd-current@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: USER PPP In-Reply-To: <000801c00260$657d4b80$668df9d0@hernandez> 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 [Wrap text at 72 columns.] On Wed, 9 Aug 2000, justin wrote: > What I would like to do right now, however, is guarantee that anytime, anyday, barring a problem with my ISP, that my box is connected to the internet. I have it currently setup to dial the internet when it boots and that seems, so far to work ok. My problem you ask? My ISP implements a 5 minute no transfer policy, they disconnect my connection after 5 minutes of 'idling'. What I would like to do is have some kind of check to verify if I am still connected to the internet and if not, execute it. I was thinking some type of script running from crontab every 5 minutes. If I am not connected, then automatically reconnect to the internet. Read the ppp(8) manpage and you will discover the -ddial flag which implements the functionality you have discussed. It would probably be more advisable to use the -auto flag though, but that's your own decision to make. Read the manpage. This is really a -questions issue. Now you know, don't ask questions like this here again, it's the wrong place for it. Read the mailing list charters at: http://www.freebsd.org/handbook/eresources.html#ERESOURCES-MAIL for more information. Brandon D. Valentine -- bandix at looksharp.net | bandix at structbio.vanderbilt.edu "Truth suffers from too much analysis." -- Ancient Fremen Saying To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message