From owner-freebsd-questions@FreeBSD.ORG Mon May 21 05:51:57 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 7A05A16A400 for ; Mon, 21 May 2007 05:51:57 +0000 (UTC) (envelope-from florenzi@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id 127F813C45A for ; Mon, 21 May 2007 05:51:56 +0000 (UTC) (envelope-from florenzi@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so835153ugh for ; Sun, 20 May 2007 22:51:55 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lxvNc1vK8+0+u1KhlkB1D1jd26rHAOwSGtR8Rff8hg8VeRJnapZspEOIBey5USJg0A7T3eVaOnbEKGA4RAuBAlWXDrxO2/Q82QKvssZwpF61Om770SvhEDNE+XfuMu2HedRZvopz1lgciXu8jvY/aoMYc6Her5MEkciLysHRJfU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=V3s6M+RUiRxIHH2LtpZ6ij7jozgW/XhQHRjmsgnPSEzGwiktPgvpTNOi0F3IgswzIBB0iRFJJ1OyaIC7g5ax9kPb3cu0HQVFyzez09AOpLF/Xjlsxi8k5oxe7IjRFOsGnDBNmHPUuo2DtH2XDaDjmxqpRd80b+a7qvmZ/JH/3jo= Received: by 10.78.172.20 with SMTP id u20mr992736hue.1179726715726; Sun, 20 May 2007 22:51:55 -0700 (PDT) Received: by 10.78.151.5 with HTTP; Sun, 20 May 2007 22:51:55 -0700 (PDT) Message-ID: <3a386af20705202251v10636696hfc75f17f17f13c42@mail.gmail.com> Date: Mon, 21 May 2007 07:51:55 +0200 From: "Federico Lorenzi" To: freebsd-questions@freebsd.org In-Reply-To: <200705210407.l4L47alU000752@smtpclu-4.eunet.yu> 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> Subject: Re: PPPoE equivalent? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2007 05:51:57 -0000 On 5/21/07, Nikola Lecic wrote: > On Mon, 21 May 2007 10:54:48 +0800 > "Brian Walker" wrote: > > > Greetings all, > > > > I regularly find my computer is bumped off the net - on the Windows > > OS I see a regular notification of re-connection. On My linux box I > > need to 'sudo pppoeconf' to reconnect. The FreeBSD handbook deals > > rather scantily with PPPoE, and I can find nothing much on googling. > > Any ideas how best to a) prevent being kicked off and b) > > reconnecting. At the moment I simply do 'sudo ppp -ddial internet' to > > be reassigned and all works well ... for a while. The best response > > is to leave FreeBSD and connect on re-entry into the OS. There has > > to be a better way. 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. You could also try Roaring penguin PPPoE and see if you have any success with that. Cheers Federico