From owner-freebsd-questions Wed May 31 21:13: 2 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mrs-2.smartworld.net (mrs-2.smartworld.net [216.70.64.27]) by hub.freebsd.org (Postfix) with ESMTP id AD3E737BF76 for ; Wed, 31 May 2000 21:12:59 -0700 (PDT) (envelope-from dnormandin@freewwweb.com) Received: from odie (cust270.tnt1.dial.cal1.uunet.ca [209.167.218.144]) by mrs-2.smartworld.net (8.9.1a/8.9.1) with SMTP id AAA86041; Thu, 1 Jun 2000 00:12:02 -0500 (CDT) Message-ID: <000c01bfcb7f$f0267300$90daa7d1@odie> From: "Duke Normandin" To: "Kent Stewart" Cc: Subject: Re: How to close a ppp connection? Date: Wed, 31 May 2000 22:11:52 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tuesday, May 30, 2000 9:02 PM Kent Stewart wrote: >Duke Normandin wrote: >> >> On Tuesday, May 30, 2000 6:49 PM Salvo Bartolotta wrote: >> >> >> Background: 3.3R on a standalone box >> > >> >> ppp / lynx are working great, except that I don't know (read , can't >> >find) >> >> how to shutdown a connection when I'm through. I use >> >`/etc/start_if.tun0` >> >> which contain `ppp -auto my_isp` to bring ppp up at boot-time. As it >> >is, >> >> I have to wait for `set timeout = 300` to kick in, or use `kill -HUP >> >"ppp pid" [snipped for brevity] >Read about pppctl. Then add a local domain socket to your ppp.conf. >Then, all you have to do is tell it to close. You can setup shell >scripts to do the commands. I even have one for "quit all" which shuts >ppp down nicely. Things work well when a person knows what to look for ;) I also searched the archives and found your previous posts re: pppctl to "flesh out" the above hints. I have a further question which concerns using `pppctl` as a normal user. I noticed that I'm not able to "get a status" or "hangup" (I have aliases set up) unless I frist `su`. It seems a long-way around to kill a connection (from lynx, e.g.). Is the the normal way of doing things? I have set myself up in the wheel group (among others), so I thought that I would be able to use `pppctl` as "myself". In ppp.conf I also have: default: allow users dnormandin Am I missing something -- or I should say *what* am I missing? Tia.... -duke Calgary, AB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message