From owner-freebsd-questions Wed Jul 18 18: 1: 9 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mtiwmhc22.worldnet.att.net (mtiwmhc22.worldnet.att.net [204.127.131.47]) by hub.freebsd.org (Postfix) with ESMTP id 083FC37B405 for ; Wed, 18 Jul 2001 18:01:06 -0700 (PDT) (envelope-from parv@worldnet.att.net) Received: from worldnet.att.net ([32.100.199.37]) by mtiwmhc22.worldnet.att.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20010719010104.TDMK13460.mtiwmhc22.worldnet.att.net@worldnet.att.net>; Thu, 19 Jul 2001 01:01:04 +0000 Received: by worldnet.att.net (Postfix, from userid 1001) id F407950FC0; Wed, 18 Jul 2001 21:04:58 -0400 (EDT) Date: Wed, 18 Jul 2001 21:04:58 -0400 From: parv To: User & Ian Patrick Thomas Cc: Mark Hughes , freebsd-questions@freebsd.org Subject: Re: Closing PPP connection opened using ppp -auto Message-ID: <20010718210458.A74289@moo.holy.cow> Mail-Followup-To: User & Ian Patrick Thomas , Mark Hughes , freebsd-questions@freebsd.org References: <045b01c10fc4$7813ba50$0200a8c0@mark2> <20010718201121.I51074@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010718201121.I51074@localhost>; from ipthomas_77@yahoo.com on Wed, Jul 18, 2001 at 08:11:21PM -0400 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 Jul 18 20:45, i got this from User... > Do a kill -HUP ppp process number. I use sudo which allows me to let > normal users reset this process that is started as root. If you want, I can > send you the steps on how to do this. It beats logging in as root everytime > to kill a connection. > > Ian > > As it was put forth by Mark Hughes on Wed, Jul 18, 2001 at 08:57:05PM +0100... > > If I've opened a PPP connection using the line... > > > > ppp -auto adsl > > > > (where adsl is the profile name) > > > > and the line has come up with usage, as is expected, how do I force a > > disconnect? The only way I can find to do it at the moment is by running ... see sections 'SIGNAL HANDLING' & 'PPP COMMAND LIST' in ppp man page. one can even do away w/ sudo if you have something like this in your /etc/ppp/ppp.conf... ------------ default: . . . allow user ... ------------ ...say, if a user had started ppp, then that user can send INT signal to close the connection but not quit ppp. HUP signal, among others, will make ppp to quit entirely. at the risk of being wrong ... just make sure the user is in 'network' group, then you don't need to be root. -- so, do you like word games or scrabble? - parv To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message