From owner-freebsd-questions@FreeBSD.ORG Mon May 21 06:20:13 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 435B316A421 for ; Mon, 21 May 2007 06:20:13 +0000 (UTC) (envelope-from schneecrash@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.229]) by mx1.freebsd.org (Postfix) with ESMTP id 0090213C455 for ; Mon, 21 May 2007 06:20:12 +0000 (UTC) (envelope-from schneecrash@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1431435wxc for ; Sun, 20 May 2007 23:20:12 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=WrH++wpVwSMmTzm4JJvZYQtrtOpuSACAgJdMrRqWbq0z8Gt8WJgdHLze2qg3xUyFMBpw56xTlYkTBqRE62KG3NxTDiM9dkUX64ounizwXt8qHfNR0vh7iSMCCoFL1lFgb2tpqHKZulgUVJ8PCVCnLM3Bm6fw/w1XjaUM7r64pHs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=B3hdfAIBrri7ypa3QqNtu5CYsB7eFSdQa2UTunPRqvvANv9EbaapoMhL5xyzwLh1JYmFV7IQCnnXMP3OYAGw0VdKvIt2uiZ+uL2zaeTmLfL8bjUmalv52LH3ZiN/d/2FfX/S7xkNN6XFZTCYGyjnJya8+FdGLoIoy8nih2nDZCc= Received: by 10.90.30.20 with SMTP id d20mr3168611agd.1179728412408; Sun, 20 May 2007 23:20:12 -0700 (PDT) Received: by 10.90.96.14 with HTTP; Sun, 20 May 2007 23:20:12 -0700 (PDT) Message-ID: <70f41ba20705202320r58e3e7a7j95d3136c16bbc7df@mail.gmail.com> Date: Sun, 20 May 2007 23:20:12 -0700 From: snowcrash+freebsd Sender: schneecrash@gmail.com To: "Federico Lorenzi" In-Reply-To: <3a386af20705202251v10636696hfc75f17f17f13c42@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <54f1b6eb0705201954r5d66a8b6y5871492a31c2a2ee@mail.gmail.com> <200705210407.l4L47alU000752@smtpclu-4.eunet.yu> <3a386af20705202251v10636696hfc75f17f17f13c42@mail.gmail.com> X-Google-Sender-Auth: c79faf65503cf650 Cc: freebsd-questions@freebsd.org Subject: Re: PPPoE equivalent? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2007 06:20:13 -0000 hi, > I'm not sure there is, I've had a similar problem like this before, > and I got around > it by writing a simple script that would try and ping a local site 4 > times, and if no > responses got back it would killall ppp and delete the default routes > and tell ppp > to reconnect. It worked quite well when put into cron to run at 1 > minute intervals. i'm getting all this set up as well, and following this thread ... (1) are not ppp.linkup & ppp.linkdown supposed to be the 'place' to deal with this? (2) could you share your simple script? thanks!