From owner-freebsd-questions Tue May 30 17:49:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from aragorn.neomedia.it (aragorn.neomedia.it [195.103.207.6]) by hub.freebsd.org (Postfix) with ESMTP id DEE4437B6F5 for ; Tue, 30 May 2000 17:49:10 -0700 (PDT) (envelope-from bartequi@neomedia.it) Received: from bartequi.ottodomain.org (ppp1-pa5.neomedia.it [195.103.207.113]) by aragorn.neomedia.it (8.9.3/8.9.3) with SMTP id CAA07121; Wed, 31 May 2000 02:40:20 +0200 (CEST) From: Salvo Bartolotta Date: Wed, 31 May 2000 01:41:25 GMT Message-ID: <20000531.1412500@bartequi.ottodomain.org> Subject: Re: How to close a ppp connection? To: "Duke Normandin" Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <000701bfca91$599a0d00$6bdba7d1@odie> References: <000701bfca91$599a0d00$6bdba7d1@odie> X-Mailer: SuperCalifragilis X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 5/31/00, 12:45:34 AM, "Duke Normandin" =20 wrote regarding How to close a ppp connection?: > Background: 3.3R on a standalone box > ppp / lynx are working great, except that I don't know (read , can't=20 find) > how to shutdown a connection when I'm through. I use=20 `/etc/start_if.tun0` > which contain `ppp -auto my_isp` to bring ppp up at boot-time. As it=20 is, > I have to wait for `set timeout =3D 300` to kick in, or use `kill -HUP= =20 "ppp pid" > `. > -sidebar- > Buried somewhere deep in /usr/ are html-type docs etc in languages=20 other > than English which are of no use to me. It is safe to nuke these dir /= =20 files? > -duke Hello Duke, use ``ps ax'' & ``awk'' to feed the kill command ... before reading=20 the next line :-)) For the impatient: ps ax | awk '$5 =3D=3D "ppp" { system("kill " $1)}' = =20 Regards, Salvo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message