From owner-freebsd-questions@FreeBSD.ORG Wed Dec 1 16:02:04 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2835716A4CE for ; Wed, 1 Dec 2004 16:02:04 +0000 (GMT) Received: from mta10-winn.mailhost.ntl.com (mailhost.ntl.com [212.250.162.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37FE043D53 for ; Wed, 1 Dec 2004 16:02:03 +0000 (GMT) (envelope-from scott@fishballoon.org) Received: from aamta08-winn.mailhost.ntl.com ([212.250.162.8]) by mta10-winn.mailhost.ntl.com with ESMTP <20041201160202.LTJJ28137.mta10-winn.mailhost.ntl.com@aamta08-winn.mailhost.ntl.com>; Wed, 1 Dec 2004 16:02:02 +0000 Received: from llama.fishballoon.org ([82.4.146.133]) by aamta08-winn.mailhost.ntl.com with ESMTP <20041201160202.YYHZ2279.aamta08-winn.mailhost.ntl.com@llama.fishballoon.org>; Wed, 1 Dec 2004 16:02:02 +0000 Received: from tuatara.fishballoon.org ([192.168.1.6]) by llama.fishballoon.org with esmtp (Exim 4.43 (FreeBSD)) id 1CZWvc-000JNT-JT; Wed, 01 Dec 2004 16:02:04 +0000 Received: (from scott@localhost) by tuatara.fishballoon.org (8.13.1/8.13.1/Submit) id iB1G2jX5001365; Wed, 1 Dec 2004 16:02:45 GMT (envelope-from scott) Date: Wed, 1 Dec 2004 16:02:45 +0000 From: Scott Mitchell To: bryan cassidy Message-ID: <20041201160245.GA1285@tuatara.fishballoon.org> References: <20041201153429.53838.qmail@web42106.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041201153429.53838.qmail@web42106.mail.yahoo.com> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 4.10-STABLE i386 cc: freebsd-questions@freebsd.org Subject: Re: DSL Disconnects X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Dec 2004 16:02:04 -0000 On Wed, Dec 01, 2004 at 07:34:29AM -0800, bryan cassidy wrote: > Hello. My ISP is through Bellsouth FastAccess DSL and > I am trying to get my connection to stay up without > disconnected and having to run /etc/netstart everytime > it disconnects. I am very confused about how > connections are in general. I think it is a PPPoE. I > have to use a user name and password to connect. I > have a static IP address if that matters. This is what [...] > And this in rc.conf > > gateway_enable="YES" > hostname="localhost.localdomain" > portmap_enable="NO" > network_interfaces="auto" > rwhod_enable="YES" > ppp_enable="YES" > ppp_profile="pppoe" > ppp_mode="direct" > pccard_ifconfig="DHCP" > dhcp_program="/sbin/dhclient" It's been a long time since I used PPP, and I've never had to deal with PPPoE, but if you want to reconnect automatically when the link goes down you probably want to run ppp in 'ddial' mode, ie: ppp_mode="ddial" This will bring the link up the first time you try to send any data over it and try to bring it back up again if it ever drops. Hopefully someone else can help you stop the connection from dropping in the first place :-) Cheers, Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott at fishballoon.org | 0xAA775B8B | -- Anon