From owner-freebsd-questions Thu Nov 9 15:58:32 2000 Delivered-To: freebsd-questions@freebsd.org Received: from homer.bus.miami.edu (homer.bus.miami.edu [129.171.39.247]) by hub.freebsd.org (Postfix) with ESMTP id 8EF6837B479 for ; Thu, 9 Nov 2000 15:58:28 -0800 (PST) Received: from localhost by homer.bus.miami.edu (8.8.8/1.1.19.2/08Mar98-0513AM) id SAA0000001007; Thu, 9 Nov 2000 18:58:26 -0500 (EST) Date: Thu, 9 Nov 2000 18:58:26 -0500 (EST) From: Adam Blake X-Sender: blake@homer.bus.miami.edu To: Anthony Rubin Cc: freebsd-questions@freebsd.org Subject: Re: pppctl command and usage In-Reply-To: <00110917304501.06767@tonyr.office.generalsearch.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I added the following line to my ppp.conf file to try to get pppctl to work set server +3000 I also tried set server 3000 when I type pppctl 3000 I get the following error pppctl: timeout: cannot connect to socket 3000 any more ideas what I could try or why this would not work? ppp is in -auto mode -Adam On Thu, 9 Nov 2000, Anthony Rubin wrote: On Thursday 09 November 2000 05:26 pm, Adam Blake wrote: > How do you properly use the pppctl command to look at an active ppp > session? It says that you must specify a socket to envoke the command? > How do you find out what this socket is? > > -Adam You need to add a "set server" line to /etc/ppp/ppp.conf. Below are two examples from /usr/share/examples/ppp/ppp.conf.sample. # # Ppp can accept control instructions from the ``pppctl'' program. # First, you must set up your control socket. It's safest to use # a UNIX domain socket, and watch the permissions: # set server /var/tmp/internet MySecretPassword 0177 # # Although a TCP port may be used if you want to allow control # connections from other machines: # set server 6670 MySecretpassword -- Anthony Rubin GeneralSearch.Com, Inc. tonyr@generalsearch.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message