From owner-freebsd-questions Mon Mar 11 2: 0:10 2002 Delivered-To: freebsd-questions@freebsd.org Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [171.66.112.163]) by hub.freebsd.org (Postfix) with ESMTP id 5847D37B419 for ; Mon, 11 Mar 2002 02:00:05 -0800 (PST) Received: from localhost (andrsn@localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.9.3/8.9.1) with ESMTP id BAA18352; Mon, 11 Mar 2002 01:55:05 -0800 (PST) Date: Mon, 11 Mar 2002 01:55:05 -0800 (PST) From: Annelise Anderson To: Ivan Carey Cc: freebsd-questions@FreeBSD.ORG Subject: Re: how to hang up a ppp connection In-Reply-To: <00ce01c1c8c7$bd7a23b0$0201a8c0@ivan> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 11 Mar 2002, Ivan Carey wrote: > Hello, > I have setup a connection to the internet from my network using ppp with the help of the Pedantic PPP Primer. > > Although this primer is good at helping setup a connection nothing is mentioned on how to close a connection. > > What I am trying to achieve is: > > A user on a windows operating system connected to the LAN can dial to the internet through my FreeBSD server. > at present this is possible by them simply typing in a URL in their browser. The modem dials when this is done. > > Now when the user wishes to be able to stop browsing they should be able to click on a button or something of the like, similar to the way windows provides a disconnect. > > Has anyone been able to achieve this and if so please how? > > I do not wish the user to be able to dicsonnect by using the FreeBSD Server directly. The idea is that the FreeBSD Server will sit in a corner doing its thing while the users use their windows pc's. > > Thanks, > Ivan > Please wrap lines at ~72 characters or so. Do you really want a user to be able to hang up ppp? Maybe you have another user at another computer still surfing? Perhaps the -auto mode option for ppp is what you want--it establishes a connection when there's traffic to handle. You can set a timeout (the default is, I think, 300 seconds) so it hangs up the connection when there's no traffic. Annelise -- Annelise Anderson Author of: FreeBSD: An Open-Source Operating System for Your PC Available from: BSDmall.com and amazon.com Book Website: http://www.bittreepress.com/FreeBSD/introbook/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message