Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Dec 2004 16:02:45 +0000
From:      Scott Mitchell <scott+freebsd@fishballoon.org>
To:        bryan cassidy <linux_kinda_guy@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: DSL Disconnects
Message-ID:  <20041201160245.GA1285@tuatara.fishballoon.org>
In-Reply-To: <20041201153429.53838.qmail@web42106.mail.yahoo.com>
References:  <20041201153429.53838.qmail@web42106.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041201160245.GA1285>