From owner-freebsd-current Sun Sep 21 07:04:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA01699 for current-outgoing; Sun, 21 Sep 1997 07:04:30 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA01691 for ; Sun, 21 Sep 1997 07:04:25 -0700 (PDT) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id OAA27879; Sun, 21 Sep 1997 14:55:08 +0100 (BST) Message-Id: <199709211355.OAA27879@awfulhak.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) cc: current@FreeBSD.ORG Subject: Re: Problems with -current ppp In-reply-to: Your message of "Sun, 21 Sep 1997 09:05:49 +0200." <19970921090549.CU01386@uriah.heep.sax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 21 Sep 1997 14:55:08 +0100 From: Brian Somers Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > As Jordan K. Hubbard wrote: > > > > Well, this is a one-user box, so that's not really a concern. In any case, > > > Brian informed me in private mail of a neat little trick to accomplish what > > > I wanted. > > > > Tell me your IP address and the hours when you're generally on and > > surfing. I'll show you how "one user" that box is. ;-) > > Do you also accept the pathname of a local-domain socket, Jordan? :-) The "publishable" bit about the "trick" was to set up a script (say pppcmd) that's not readable/writable by anyone except you that does #! /bin/sh exec pppctl -v -p mypassword 3000 "$@" You can then start ppp -auto, and talk to it with things like $ pppcmd dial $ pppcmd close $ pppcmd set timeout 300 $ pppcmd show ipcp Of course making this a unix domain socket makes it even tighter (although on my LAN, I have many of these scripts that all talk to the gateway, therefore I need the tcp socket). > -- > cheers, J"org > > joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE > Never trust an operating system you don't have sources for. ;-) -- Brian , , Don't _EVER_ lose your sense of humour....