Date: Thu, 9 Nov 2000 18:58:26 -0500 (EST) From: Adam Blake <blake@sba.miami.edu> To: Anthony Rubin <tonyr@generalsearch.net> Cc: freebsd-questions@freebsd.org Subject: Re: pppctl command and usage Message-ID: <Pine.OSF.4.10.10011091850460.30763-100000@homer.bus.miami.edu> In-Reply-To: <00110917304501.06767@tonyr.office.generalsearch.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.10.10011091850460.30763-100000>