From owner-freebsd-questions Mon Oct 4 8:23:45 1999 Delivered-To: freebsd-questions@freebsd.org Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.128.198]) by hub.freebsd.org (Postfix) with ESMTP id D02F71521A for ; Mon, 4 Oct 1999 08:23:05 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id QAA27176; Mon, 4 Oct 1999 16:22:54 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id QAA02813; Mon, 4 Oct 1999 16:23:30 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <199910041523.QAA02813@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Richard Morte Cc: "freebsd-questions@FreeBSD.ORG" Subject: Re: pppctl configuration In-reply-to: Your message of "Tue, 28 Sep 1999 08:37:09 BST." <37F07024.9AC82224@sinclairassoc.force9.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 04 Oct 1999 16:23:30 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi, > > I would like to be able to control ppp running in -auto mode by using > pppctl, but I cannot get it to work properly. > > The appropriate entries in ppp.conf appear to be: > > set server /var/run/internet "" 0177 # (taken from the FreeBSD Boook) > > or, with a password: > > set server /var/tmp/internet "MySecretPassWord 0177 There's a quote missing.... > to close the connection the following can be issued via a shell script: > > #!/bin/sh > exec pppctl /var/run/internet set timeout 300\;close > > But all I get is the message "Socket operation on non-socket". Any ideas > what else I need to do? Try ``ls -l /var/run/internet''. Do you mean /var/tmp/internet ? Is said file a named socket ? Did the ``set server'' command complain about anything ? > Cheers > > ric -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message